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: support --json flag for heartbeat 7.13 #333

Merged
merged 1 commit into from Jul 1, 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 #333 opened

  • Start Time: 2021-07-01T03:31:39.744+0000

  • Duration: 28 min 34 sec

  • Commit: c7fc40b

Test stats 🧪

Test Results
Failed 0
Passed 113
Skipped 0
Total 113

Trends 🧪

Image of Build Times

Image of Tests

Log output

Expand to view the last 100 lines of log output

[2021-07-01T03:41:34.239Z]  > git checkout -f 811e48cf923519952b6454bf330b429cd766355b # timeout=15
[2021-07-01T03:41:37.792Z] Commit message: "Merge commit '08fb67fa7295398f3b95b3ed8f6347b0931636a8' into HEAD"
[2021-07-01T03:41:37.792Z] First time build. Skipping changelog.
[2021-07-01T03:41:37.792Z] Cleaning workspace
[2021-07-01T03:41:37.854Z]  > git --version # timeout=10
[2021-07-01T03:41:37.863Z]  > git --version # 'git version 2.17.1'
[2021-07-01T03:41:37.873Z] fatal: bad object f9f89c7688f920e3ef655b7e4e87fec857123e29
[2021-07-01T03:41:37.794Z]  > git rev-parse --verify HEAD # timeout=10
[2021-07-01T03:41:37.798Z] Resetting working tree
[2021-07-01T03:41:37.798Z]  > git reset --hard # timeout=10
[2021-07-01T03:41:37.819Z]  > git clean -fdx # timeout=10
[2021-07-01T03:41:39.861Z] Running in /var/lib/jenkins/workspace/nt-rum_elastic-synthetics_PR-333/src/github.com/elastic/synthetics
[2021-07-01T03:41:54.218Z] + set +x
[2021-07-01T03:41:54.219Z] => Downloading nvm from git to '/var/lib/jenkins/workspace/nt-rum_elastic-synthetics_PR-333/.nvm'
[2021-07-01T03:41:54.219Z] 
=> Initialized empty Git repository in /var/lib/jenkins/workspace/nt-rum_elastic-synthetics_PR-333/.nvm/.git/
[2021-07-01T03:41:54.788Z] From https://github.com/nvm-sh/nvm
[2021-07-01T03:41:54.788Z]  * [new tag]         v0.37.1    -> v0.37.1
[2021-07-01T03:41:54.788Z] => Compressing and cleaning up git repository
[2021-07-01T03:41:54.788Z] 
[2021-07-01T03:41:54.788Z] => Profile not found. Tried ~/.bashrc, ~/.bash_profile, ~/.zshrc, and ~/.profile.
[2021-07-01T03:41:54.788Z] => Create one of them and run this script again
[2021-07-01T03:41:54.788Z]    OR
[2021-07-01T03:41:54.788Z] => Append the following lines to the correct file yourself:
[2021-07-01T03:41:54.788Z] 
[2021-07-01T03:41:54.788Z] export NVM_DIR="$HOME/.nvm"
[2021-07-01T03:41:54.788Z] [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
[2021-07-01T03:41:54.788Z] 
[2021-07-01T03:41:56.695Z] => Close and reopen your terminal to start using nvm or run the following to use it now:
[2021-07-01T03:41:56.695Z] 
[2021-07-01T03:41:56.695Z] export NVM_DIR="$HOME/.nvm"
[2021-07-01T03:41:56.695Z] [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
[2021-07-01T03:41:56.695Z] Found '/var/lib/jenkins/workspace/nt-rum_elastic-synthetics_PR-333/src/github.com/elastic/synthetics/.nvmrc' with version <12.18.4>
[2021-07-01T03:41:56.955Z] v12.18.4 is already installed.
[2021-07-01T03:41:57.215Z] Now using node v12.18.4 (npm v6.14.6)
[2021-07-01T03:41:57.215Z] /var/lib/jenkins/workspace/nt-rum_elastic-synthetics_PR-333
[2021-07-01T03:41:57.332Z] Running in /var/lib/jenkins/workspace/nt-rum_elastic-synthetics_PR-333/src/github.com/elastic/synthetics
[2021-07-01T03:41:57.647Z] + chmod -R ugo+rw examples
[2021-07-01T03:41:57.676Z] Running in /var/lib/jenkins/workspace/nt-rum_elastic-synthetics_PR-333/src/github.com/elastic/synthetics/__tests__/e2e
[2021-07-01T03:41:57.993Z] + npm run test
[2021-07-01T03:41:57.993Z] 
[2021-07-01T03:41:57.993Z] > e2e-synthetics@ test /var/lib/jenkins/workspace/nt-rum_elastic-synthetics_PR-333/src/github.com/elastic/synthetics/__tests__/e2e
[2021-07-01T03:41:57.993Z] > npm i && npm run setup &&  bash scripts/test.sh
[2021-07-01T03:41:57.993Z] 
[2021-07-01T03:42:01.292Z] added 3 packages from 4 contributors and audited 178 packages in 2.553s
[2021-07-01T03:42:03.827Z] 
[2021-07-01T03:42:03.827Z] 68 packages are looking for funding
[2021-07-01T03:42:03.827Z]   run `npm fund` for details
[2021-07-01T03:42:03.827Z] 
[2021-07-01T03:42:03.827Z] found 0 vulnerabilities
[2021-07-01T03:42:03.827Z] 
[2021-07-01T03:42:03.827Z] 
[2021-07-01T03:42:03.827Z] > e2e-synthetics@ setup /var/lib/jenkins/workspace/nt-rum_elastic-synthetics_PR-333/src/github.com/elastic/synthetics/__tests__/e2e
[2021-07-01T03:42:03.827Z] > bash scripts/setup.sh
[2021-07-01T03:42:03.827Z] 
[2021-07-01T03:42:03.827Z] 
[2021-07-01T03:42:03.827Z] Temporary folder
[2021-07-01T03:42:03.827Z] Temporary files will be stored in: ./tmp
[2021-07-01T03:42:03.827Z] 
[2021-07-01T03:42:03.827Z] Starting elasticsearch , kibana and synthetics docker
[2021-07-01T03:42:03.827Z] 
[2021-07-01T03:42:03.827Z] 
[2021-07-01T03:42:03.827Z] Waiting for synthetics docker to start...
[2021-07-01T03:42:03.827Z] Error: No such object: synthetics
[2021-07-01T03:42:16.046Z] Error: No such object: synthetics
[2021-07-01T03:42:24.169Z] Error: No such object: synthetics
[2021-07-01T03:42:34.144Z] Error: No such object: synthetics
[2021-07-01T03:42:44.123Z] Error: No such object: synthetics
[2021-07-01T03:42:56.336Z] Error: No such object: synthetics
[2021-07-01T03:43:06.316Z] ✅ Setup completed successfully. Running e2e tests...
[2021-07-01T03:43:06.584Z] Waiting for Elastic Search  to start
[2021-07-01T03:44:03.020Z] Waiting for Synthetics to send data to ES for test monitor
[2021-07-01T03:58:58.174Z] Cancelling nested steps due to timeout
[2021-07-01T03:58:58.186Z] Sending interrupt signal to process
[2021-07-01T03:59:10.460Z] scripts/test.sh: line 26:  4741 Terminated              SYNTHETICS_JUNIT_FILE='junit.xml' npx @elastic/synthetics uptime.journey.ts --reporter junit
[2021-07-01T03:59:10.460Z] npm ERR! code ELIFECYCLE
[2021-07-01T03:59:10.460Z] npm ERR! errno 143
[2021-07-01T03:59:10.460Z] npm ERR! e2e-synthetics@ test: `npm i && npm run setup &&  bash scripts/test.sh`
[2021-07-01T03:59:10.460Z] npm ERR! Exit status 143
[2021-07-01T03:59:10.460Z] npm ERR! 
[2021-07-01T03:59:10.460Z] npm ERR! Failed at the e2e-synthetics@ test script.
[2021-07-01T03:59:10.460Z] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
[2021-07-01T03:59:10.460Z] 
[2021-07-01T03:59:10.460Z] npm ERR! A complete log of this run can be found in:
[2021-07-01T03:59:10.460Z] npm ERR!     /var/lib/jenkins/workspace/nt-rum_elastic-synthetics_PR-333/.npm/_logs/2021-07-01T03_58_58_338Z-debug.log
[2021-07-01T03:59:10.467Z] script returned exit code 143
[2021-07-01T03:59:11.695Z] Post stage
[2021-07-01T03:59:11.732Z] Archiving artifacts
[2021-07-01T03:59:11.901Z] Recording test results
[2021-07-01T03:59:12.034Z] None of the test reports contained any result
[2021-07-01T03:59:12.044Z] [Checks API] No suitable checks publisher found.
[2021-07-01T03:59:12.306Z] Stage "Release" skipped due to earlier failure(s)
[2021-07-01T03:59:12.346Z] Stage "Release" skipped due to earlier failure(s)
[2021-07-01T03:59:12.429Z] Stage "Release" skipped due to earlier failure(s)
[2021-07-01T03:59:13.103Z] Running on Jenkins in /var/lib/jenkins/workspace/nt-rum_elastic-synthetics_PR-333
[2021-07-01T03:59:13.189Z] [INFO] getVaultSecret: Getting secrets
[2021-07-01T03:59:13.241Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-07-01T03:59:14.208Z] + chmod 755 generate-build-data.sh
[2021-07-01T03:59:14.209Z] + ./generate-build-data.sh https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-rum/elastic-synthetics/PR-333/ https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-rum/elastic-synthetics/PR-333/runs/1 ABORTED 1654193
[2021-07-01T03:59:14.209Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-rum/elastic-synthetics/PR-333/runs/1/steps/?limit=10000 -o steps-info.json
[2021-07-01T03:59:14.209Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-rum/elastic-synthetics/PR-333/runs/1/tests/?status=FAILED -o tests-errors.json

@vigneshshanmugam vigneshshanmugam merged commit d8059eb into elastic:master Jul 1, 2021
@vigneshshanmugam vigneshshanmugam deleted the keep-json branch July 1, 2021 05:50
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.

Journeys not being called
2 participants