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

[2.x] test: add missing APM Server API Scheme file cloud.json (#1738) #1739

Closed
wants to merge 1 commit into from

Conversation

watson
Copy link
Member

@watson watson commented May 7, 2020

Backports the following commits to 2.x:

@watson watson added the backport label May 7, 2020
@apmmachine
Copy link
Collaborator

💔 Build Failed

Pipeline View Test View Changes Artifacts preview stats

Expand to view the summary

Build stats

Test stats 🧪

Test Results
Failed 3
Passed 122136
Skipped 0
Total 122139

Test errors

Expand to view the tests failures

Steps errors

Expand to view the steps failures

  • Name: Run Tests

    • Description:

    • Result: FAILURE

    • Duration: 3 min 14 sec<

    • Start Time: 2020-05-07T14:27:43.943+0000

  • Name: Run Tests

    • Description:

    • Result: FAILURE

    • Duration: 1 min 57 sec<

    • Start Time: 2020-05-07T14:31:09.643+0000

  • Name: Error signal

    • Description: hudson.AbortException: script returned exit code 1

    • Result: FAILURE

    • Duration: 0 min 0 sec<

    • Start Time: 2020-05-07T14:32:07.132+0000

  • Name: Run Tests

    • Description:

    • Result: FAILURE

    • Duration: 3 min 5 sec<

    • Start Time: 2020-05-07T14:27:40.252+0000

  • Name: Run Tests

    • Description:

    • Result: FAILURE

    • Duration: 1 min 45 sec<

    • Start Time: 2020-05-07T14:30:58.239+0000

  • Name: Error signal

    • Description: hudson.AbortException: script returned exit code 1

    • Result: FAILURE

    • Duration: 0 min 0 sec<

    • Start Time: 2020-05-07T14:31:43.645+0000

  • Name: Run Tests

    • Description:

    • Result: FAILURE

    • Duration: 4 min 54 sec<

    • Start Time: 2020-05-07T14:28:12.091+0000

  • Name: Run Tests

    • Description:

    • Result: FAILURE

    • Duration: 0 min 23 sec<

    • Start Time: 2020-05-07T14:32:20.645+0000

  • Name: Error signal

    • Description: hudson.AbortException: script returned exit code 1

    • Result: FAILURE

    • Duration: 0 min 0 sec<

    • Start Time: 2020-05-07T14:32:43.534+0000

  • Name: Windows Batch Script

    • Description: node test/test.js

    • Result: FAILURE

    • Duration: 2 min 59 sec<

    • Start Time: 2020-05-07T14:30:53.381+0000

  • Name: Error signal

    • Description: hudson.AbortException: script returned exit code 1

    • Result: FAILURE

    • Duration: 0 min 0 sec<

    • Start Time: 2020-05-07T14:32:52.820+0000

Log output

Expand to view the last 100 lines of log output

[2020-05-07T14:37:18.962Z] Removing docker_postgres_1      ... done
[2020-05-07T14:37:19.538Z] Removing docker_node_tests_1    ... done
[2020-05-07T14:37:20.247Z] + docker inspect -f . node:12
[2020-05-07T14:37:20.247Z] .
[2020-05-07T14:37:20.364Z] apm-ci-immutable-ubuntu-1804-1588861503040152544 does not seem to be running inside a container
[2020-05-07T14:37:20.428Z] $ docker run -t -d -u 1157:1158 -v /var/lib/jenkins/workspace/ejs_apm-agent-nodejs-mbp_PR-1739/src/github.com/elastic/apm-agent-nodejs:/app -w /var/lib/jenkins/workspace/ejs_apm-agent-nodejs-mbp_PR-1739 -v /var/lib/jenkins/workspace/ejs_apm-agent-nodejs-mbp_PR-1739:/var/lib/jenkins/workspace/ejs_apm-agent-nodejs-mbp_PR-1739:rw,z -v /var/lib/jenkins/workspace/ejs_apm-agent-nodejs-mbp_PR-1739@tmp:/var/lib/jenkins/workspace/ejs_apm-agent-nodejs-mbp_PR-1739@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** node:12 cat
[2020-05-07T14:37:21.268Z] $ docker top b190b21a5185fa2ab8b8abbcef55ac01a8feaca2e2f0bca819e74189c0d6c1bf -eo pid,comm
[2020-05-07T14:37:22.002Z] + cd /app
[2020-05-07T14:37:22.002Z] + .ci/scripts/convert_tap_to_junit.sh
[2020-05-07T14:37:22.002Z] + HOME=/tmp
[2020-05-07T14:37:22.002Z] ++ pwd
[2020-05-07T14:37:22.002Z] + PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/app/node_modules/.bin:/tmp/.npm-global/bin
[2020-05-07T14:37:22.002Z] + export NPM_CONFIG_PREFIX=/tmp/.npm-global
[2020-05-07T14:37:22.002Z] + NPM_CONFIG_PREFIX=/tmp/.npm-global
[2020-05-07T14:37:22.002Z] + npm install -g tap-junit
[2020-05-07T14:37:25.319Z] /tmp/.npm-global/bin/tap-junit -> /tmp/.npm-global/lib/node_modules/tap-junit/bin/tap-junit
[2020-05-07T14:37:25.319Z] + tap-junit@3.1.2
[2020-05-07T14:37:25.319Z] added 17 packages from 12 contributors in 1.222s
[2020-05-07T14:37:25.319Z] ++ ls test-suite-output.tap
[2020-05-07T14:37:25.319Z] + for tf in $(ls *-output.tap)
[2020-05-07T14:37:25.319Z] ++ basename test-suite-output.tap output.tap
[2020-05-07T14:37:25.319Z] + filename=test-suite-
[2020-05-07T14:37:25.319Z] + '[' -s test-suite-output.tap ']'
[2020-05-07T14:37:25.319Z] + cat test-suite-output.tap
[2020-05-07T14:37:25.319Z] + tap-junit '--package=Agent Node.js'
[2020-05-07T14:37:25.319Z] ++ ls junit-test-suite--report.xml
[2020-05-07T14:37:25.319Z] + for jf in $(ls junit-*-report.xml)
[2020-05-07T14:37:25.319Z] + '[' -f junit-test-suite--report.xml ']'
[2020-05-07T14:37:25.319Z] + '[' '!' -s junit-test-suite--report.xml ']'
[2020-05-07T14:37:25.319Z] + exit 0
[2020-05-07T14:37:25.342Z] $ docker stop --time=1 b190b21a5185fa2ab8b8abbcef55ac01a8feaca2e2f0bca819e74189c0d6c1bf
[2020-05-07T14:37:26.717Z] $ docker rm -f b190b21a5185fa2ab8b8abbcef55ac01a8feaca2e2f0bca819e74189c0d6c1bf
[2020-05-07T14:37:26.870Z] Recording test results
[2020-05-07T14:37:33.462Z] Running in /var/lib/jenkins/workspace/ejs_apm-agent-nodejs-mbp_PR-1739/src/github.com/elastic/apm-agent-nodejs
[2020-05-07T14:37:33.500Z] [INFO] Codecov: Getting branch ref...
[2020-05-07T14:37:33.530Z] Masking supported pattern matches of $GITHUB_TOKEN
[2020-05-07T14:37:33.721Z] [INFO] Codecov: Sending data...
[2020-05-07T14:37:34.167Z] + curl -s -o codecov.sh https://codecov.io/bash
[2020-05-07T14:37:34.167Z] + bash codecov.sh
[2020-05-07T14:37:34.167Z] 
[2020-05-07T14:37:34.167Z]   _____          _
[2020-05-07T14:37:34.167Z]  / ____|        | |
[2020-05-07T14:37:34.167Z] | |     ___   __| | ___  ___ _____   __
[2020-05-07T14:37:34.167Z] | |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
[2020-05-07T14:37:34.167Z] | |___| (_) | (_| |  __/ (_| (_) \ V /
[2020-05-07T14:37:34.167Z]  \_____\___/ \__,_|\___|\___\___/ \_/
[2020-05-07T14:37:34.167Z]                               Bash-tbd
[2020-05-07T14:37:34.167Z] 
[2020-05-07T14:37:34.167Z] 
[2020-05-07T14:37:34.167Z] ==> Jenkins CI detected.
[2020-05-07T14:37:34.432Z]     project root: .
[2020-05-07T14:37:34.432Z] --> token set from env
[2020-05-07T14:37:34.432Z]     Yaml found at: .codecov.yml
[2020-05-07T14:37:34.432Z] ==> Running gcov in . (disable via -X gcov)
[2020-05-07T14:37:34.433Z] ==> Python coveragepy not found
[2020-05-07T14:37:34.433Z] ==> Searching for coverage reports in:
[2020-05-07T14:37:34.433Z]     + .
[2020-05-07T14:37:34.433Z]     -> Found 2 reports
[2020-05-07T14:37:34.433Z] ==> Detecting git/mercurial file structure
[2020-05-07T14:37:34.433Z] ==> Reading reports
[2020-05-07T14:37:34.433Z]     + ./coverage/lcov.info bytes=78538
[2020-05-07T14:37:34.433Z]     - Skipping empty file ./coverage.lcov
[2020-05-07T14:37:34.433Z] ==> Appending adjustments
[2020-05-07T14:37:34.433Z]     http://docs.codecov.io/docs/fixing-reports
[2020-05-07T14:37:35.006Z]     + Found adjustments
[2020-05-07T14:37:35.007Z] ==> Gzipping contents
[2020-05-07T14:37:35.007Z] ==> Uploading reports
[2020-05-07T14:37:35.007Z]     url: https://codecov.io
[2020-05-07T14:37:35.007Z]     query: branch=watson%2Fbackport%2F2.x%2Fpr-1738&commit=77678cd6c3d51e2ca14eae05a3f231bbeff7872e&build=1&build_url=https%3A%2F%2Fapm-ci.elastic.co%2Fjob%2Fapm-agent-nodejs%2Fjob%2Fapm-agent-nodejs-mbp%2Fjob%2FPR-1739%2F1%2F&name=&tag=&slug=elastic%2Fapm-agent-nodejs&service=jenkins&flags=&pr=1739&job=
[2020-05-07T14:37:35.007Z]     -> Pinging Codecov
[2020-05-07T14:37:35.007Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=watson%2Fbackport%2F2.x%2Fpr-1738&commit=77678cd6c3d51e2ca14eae05a3f231bbeff7872e&build=1&build_url=https%3A%2F%2Fapm-ci.elastic.co%2Fjob%2Fapm-agent-nodejs%2Fjob%2Fapm-agent-nodejs-mbp%2Fjob%2FPR-1739%2F1%2F&name=&tag=&slug=elastic%2Fapm-agent-nodejs&service=jenkins&flags=&pr=1739&job=
[2020-05-07T14:37:35.269Z]     -> Uploading
[2020-05-07T14:37:35.843Z]     -> View reports at https://codecov.io/github/elastic/apm-agent-nodejs/commit/77678cd6c3d51e2ca14eae05a3f231bbeff7872e
[2020-05-07T14:37:56.230Z]     -> Uploading
[2020-05-07T14:37:56.230Z]     X> Failed to upload
[2020-05-07T14:37:56.230Z]     -> Sleeping for 30s and trying again...
[2020-05-07T14:38:14.360Z]     -> Pinging Codecov
[2020-05-07T14:38:14.360Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=watson%2Fbackport%2F2.x%2Fpr-1738&commit=77678cd6c3d51e2ca14eae05a3f231bbeff7872e&build=1&build_url=https%3A%2F%2Fapm-ci.elastic.co%2Fjob%2Fapm-agent-nodejs%2Fjob%2Fapm-agent-nodejs-mbp%2Fjob%2FPR-1739%2F1%2F&name=&tag=&slug=elastic%2Fapm-agent-nodejs&service=jenkins&flags=&pr=1739&job=
[2020-05-07T14:38:14.360Z]     -> Uploading
[2020-05-07T14:38:14.621Z]     -> View reports at https://codecov.io/github/elastic/apm-agent-nodejs/commit/77678cd6c3d51e2ca14eae05a3f231bbeff7872e
[2020-05-07T14:38:16.650Z] Stage "TAV Test" skipped due to earlier failure(s)
[2020-05-07T14:38:16.743Z] Stage "Edge Test" skipped due to earlier failure(s)
[2020-05-07T14:38:16.902Z] Stage "Nightly Test" skipped due to earlier failure(s)
[2020-05-07T14:38:16.917Z] Stage "Nightly Test - No async hooks" skipped due to earlier failure(s)
[2020-05-07T14:38:16.930Z] Stage "RC Test" skipped due to earlier failure(s)
[2020-05-07T14:38:16.943Z] Stage "RC Test - No async hooks" skipped due to earlier failure(s)
[2020-05-07T14:38:17.105Z] Failed in branch Nightly Test
[2020-05-07T14:38:17.117Z] Failed in branch Nightly Test - No async hooks
[2020-05-07T14:38:17.129Z] Failed in branch RC Test
[2020-05-07T14:38:17.141Z] Failed in branch RC Test - No async hooks
[2020-05-07T14:38:17.376Z] Stage "Integration Tests" skipped due to earlier failure(s)
[2020-05-07T14:38:17.472Z] Stage "Benchmarks" skipped due to earlier failure(s)
[2020-05-07T14:38:18.755Z] Running on worker-1095690 in /var/lib/jenkins/workspace/ejs_apm-agent-nodejs-mbp_PR-1739
[2020-05-07T14:38:18.824Z] [INFO] getVaultSecret: Getting secrets
[2020-05-07T14:38:18.890Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-05-07T14:38:21.041Z] + chmod 755 generate-build-data.sh
[2020-05-07T14:38:21.041Z] + ./generate-build-data.sh https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-nodejs/apm-agent-nodejs-mbp/PR-1739/ https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-nodejs/apm-agent-nodejs-mbp/PR-1739/runs/1 FAILURE 1142360
[2020-05-07T14:38:21.041Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-nodejs/apm-agent-nodejs-mbp/PR-1739/runs/1/steps/?limit=10000 -o steps-info.json
[2020-05-07T14:38:21.739Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-nodejs/apm-agent-nodejs-mbp/PR-1739/runs/1/tests/?status=FAILED -o tests-errors.json
[2020-05-07T14:38:23.189Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-nodejs/apm-agent-nodejs-mbp/PR-1739/runs/1/log/ -o pipeline-log.txt

@watson watson closed this May 11, 2020
@watson watson deleted the backport/2.x/pr-1738 branch May 11, 2020 06:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants