Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: isolate journeys with context #314

Merged
merged 1 commit into from Jun 21, 2021

Conversation

vigneshshanmugam
Copy link
Member

@apmmachine
Copy link
Collaborator

❕ Build Aborted

Either there was a build timeout or someone aborted the build.'}

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts

Expand to view the summary

Build stats

  • Build Cause: Pull request #314 opened

  • Start Time: 2021-06-21T19:00:31.718+0000

  • Duration: 29 min 44 sec

  • Commit: 1bfd2b8

Test stats 🧪

Test Results
Failed 0
Passed 107
Skipped 0
Total 107

Trends 🧪

Image of Build Times

Image of Tests

Log output

Expand to view the last 100 lines of log output

[2021-06-21T19:14:39.512Z]  > git config core.sparsecheckout # timeout=10
[2021-06-21T19:14:39.519Z]  > git checkout -f 1bfd2b87e4b6797b0b67f68e7282f6e28f251762 # timeout=15
[2021-06-21T19:14:43.033Z] Commit message: "fix: isolate journeys with context"
[2021-06-21T19:14:43.033Z] Cleaning workspace
[2021-06-21T19:14:43.088Z]  > git --version # timeout=10
[2021-06-21T19:14:43.092Z]  > git --version # 'git version 2.17.1'
[2021-06-21T19:14:43.096Z] fatal: bad object bbed8ab717206e63fa6cc1cef7d35f4a13f717ab
[2021-06-21T19:14:43.035Z]  > git rev-parse --verify HEAD # timeout=10
[2021-06-21T19:14:43.039Z] Resetting working tree
[2021-06-21T19:14:43.040Z]  > git reset --hard # timeout=10
[2021-06-21T19:14:43.055Z]  > git clean -fdx # timeout=10
[2021-06-21T19:14:44.777Z] Running in /var/lib/jenkins/workspace/nt-rum_elastic-synthetics_PR-314/src/github.com/elastic/synthetics
[2021-06-21T19:14:59.631Z] + set +x
[2021-06-21T19:14:59.631Z] => Downloading nvm from git to '/var/lib/jenkins/workspace/nt-rum_elastic-synthetics_PR-314/.nvm'
[2021-06-21T19:14:59.631Z] 
=> Initialized empty Git repository in /var/lib/jenkins/workspace/nt-rum_elastic-synthetics_PR-314/.nvm/.git/
[2021-06-21T19:15:00.201Z] From https://github.com/nvm-sh/nvm
[2021-06-21T19:15:00.201Z]  * [new tag]         v0.37.1    -> v0.37.1
[2021-06-21T19:15:00.201Z] => Compressing and cleaning up git repository
[2021-06-21T19:15:00.201Z] 
[2021-06-21T19:15:00.201Z] => Profile not found. Tried ~/.bashrc, ~/.bash_profile, ~/.zshrc, and ~/.profile.
[2021-06-21T19:15:00.201Z] => Create one of them and run this script again
[2021-06-21T19:15:00.201Z]    OR
[2021-06-21T19:15:00.201Z] => Append the following lines to the correct file yourself:
[2021-06-21T19:15:00.201Z] 
[2021-06-21T19:15:00.201Z] export NVM_DIR="$HOME/.nvm"
[2021-06-21T19:15:00.201Z] [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
[2021-06-21T19:15:00.201Z] 
[2021-06-21T19:15:02.111Z] => Close and reopen your terminal to start using nvm or run the following to use it now:
[2021-06-21T19:15:02.111Z] 
[2021-06-21T19:15:02.111Z] export NVM_DIR="$HOME/.nvm"
[2021-06-21T19:15:02.111Z] [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
[2021-06-21T19:15:02.111Z] Installing latest LTS version.
[2021-06-21T19:15:02.370Z] v14.17.1 is already installed.
[2021-06-21T19:15:02.630Z] Now using node v14.17.1 (npm v6.14.13)
[2021-06-21T19:15:02.741Z] Running in /var/lib/jenkins/workspace/nt-rum_elastic-synthetics_PR-314/src/github.com/elastic/synthetics
[2021-06-21T19:15:03.058Z] + chmod -R ugo+rw examples
[2021-06-21T19:15:03.085Z] Running in /var/lib/jenkins/workspace/nt-rum_elastic-synthetics_PR-314/src/github.com/elastic/synthetics/__tests__/e2e
[2021-06-21T19:15:03.402Z] + npm run test
[2021-06-21T19:15:03.402Z] 
[2021-06-21T19:15:03.402Z] > e2e-synthetics@ test /var/lib/jenkins/workspace/nt-rum_elastic-synthetics_PR-314/src/github.com/elastic/synthetics/__tests__/e2e
[2021-06-21T19:15:03.402Z] > npm i && npm run setup &&  bash scripts/test.sh
[2021-06-21T19:15:03.402Z] 
[2021-06-21T19:15:06.693Z] added 3 packages from 4 contributors and audited 178 packages in 2.508s
[2021-06-21T19:15:08.600Z] 
[2021-06-21T19:15:08.600Z] 66 packages are looking for funding
[2021-06-21T19:15:08.600Z]   run `npm fund` for details
[2021-06-21T19:15:08.600Z] 
[2021-06-21T19:15:08.600Z] found 1 moderate severity vulnerability
[2021-06-21T19:15:08.600Z]   run `npm audit fix` to fix them, or `npm audit` for details
[2021-06-21T19:15:08.860Z] 
[2021-06-21T19:15:08.860Z] > e2e-synthetics@ setup /var/lib/jenkins/workspace/nt-rum_elastic-synthetics_PR-314/src/github.com/elastic/synthetics/__tests__/e2e
[2021-06-21T19:15:08.860Z] > bash scripts/setup.sh
[2021-06-21T19:15:08.860Z] 
[2021-06-21T19:15:09.120Z] 
[2021-06-21T19:15:09.120Z] Temporary folder
[2021-06-21T19:15:09.120Z] Temporary files will be stored in: ./tmp
[2021-06-21T19:15:09.120Z] 
[2021-06-21T19:15:09.120Z] Starting elasticsearch , kibana and synthetics docker
[2021-06-21T19:15:09.120Z] 
[2021-06-21T19:15:09.120Z] 
[2021-06-21T19:15:09.120Z] Waiting for synthetics docker to start...
[2021-06-21T19:15:09.120Z] Error: No such object: synthetics
[2021-06-21T19:15:19.109Z] Error: No such object: synthetics
[2021-06-21T19:15:31.328Z] Error: No such object: synthetics
[2021-06-21T19:15:39.450Z] Error: No such object: synthetics
[2021-06-21T19:15:49.434Z] Error: No such object: synthetics
[2021-06-21T19:15:59.420Z] Error: No such object: synthetics
[2021-06-21T19:16:11.646Z] ✅ Setup completed successfully. Running e2e tests...
[2021-06-21T19:16:11.646Z] Waiting for Elastic Search  to start
[2021-06-21T19:16:50.536Z] Waiting for Synthetics to send data to ES for test monitor
[2021-06-21T19:28:54.160Z] Cancelling nested steps due to timeout
[2021-06-21T19:28:54.164Z] Sending interrupt signal to process
[2021-06-21T19:29:12.654Z] scripts/test.sh: line 26:  5054 Terminated              SYNTHETICS_JUNIT_FILE='junit.xml' npx @elastic/synthetics uptime.journey.ts --reporter junit
[2021-06-21T19:29:12.654Z] npm ERR! code ELIFECYCLE
[2021-06-21T19:29:12.654Z] npm ERR! errno 143
[2021-06-21T19:29:12.654Z] npm ERR! e2e-synthetics@ test: `npm i && npm run setup &&  bash scripts/test.sh`
[2021-06-21T19:29:12.654Z] npm ERR! Exit status 143
[2021-06-21T19:29:12.654Z] npm ERR! 
[2021-06-21T19:29:12.654Z] npm ERR! Failed at the e2e-synthetics@ test script.
[2021-06-21T19:29:12.654Z] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
[2021-06-21T19:29:12.654Z] 
[2021-06-21T19:29:12.654Z] npm ERR! A complete log of this run can be found in:
[2021-06-21T19:29:12.654Z] npm ERR!     /var/lib/jenkins/workspace/nt-rum_elastic-synthetics_PR-314/.npm/_logs/2021-06-21T19_28_59_652Z-debug.log
[2021-06-21T19:29:12.662Z] script returned exit code 143
[2021-06-21T19:29:13.778Z] Post stage
[2021-06-21T19:29:13.810Z] Archiving artifacts
[2021-06-21T19:29:13.955Z] Recording test results
[2021-06-21T19:29:14.062Z] None of the test reports contained any result
[2021-06-21T19:29:14.071Z] [Checks API] No suitable checks publisher found.
[2021-06-21T19:29:14.309Z] Stage "Release" skipped due to earlier failure(s)
[2021-06-21T19:29:14.342Z] Stage "Release" skipped due to earlier failure(s)
[2021-06-21T19:29:14.412Z] Stage "Release" skipped due to earlier failure(s)
[2021-06-21T19:29:14.722Z] Running on Jenkins in /var/lib/jenkins/workspace/nt-rum_elastic-synthetics_PR-314
[2021-06-21T19:29:14.799Z] [INFO] getVaultSecret: Getting secrets
[2021-06-21T19:29:14.845Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-06-21T19:29:15.663Z] + chmod 755 generate-build-data.sh
[2021-06-21T19:29:15.663Z] + ./generate-build-data.sh https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-rum/elastic-synthetics/PR-314/ https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-rum/elastic-synthetics/PR-314/runs/1 ABORTED 1723674
[2021-06-21T19:29:15.663Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-rum/elastic-synthetics/PR-314/runs/1/steps/?limit=10000 -o steps-info.json
[2021-06-21T19:29:15.663Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-rum/elastic-synthetics/PR-314/runs/1/tests/?status=FAILED -o tests-errors.json
[2021-06-21T19:29:15.663Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-rum/elastic-synthetics/PR-314/runs/1/log/ -o pipeline-log.txt

@vigneshshanmugam vigneshshanmugam merged commit a53a29d into elastic:master Jun 21, 2021
@vigneshshanmugam vigneshshanmugam deleted the isolate-journey branch June 21, 2021 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants