apm-agent-nodejs
apm-agent-nodejs copied to clipboard
feat: ignore internal errors
This should prevent internal errors from being reported, prevent infinite error reporting loops.
Fixes elastic/apm-agent-nodejs#31
Checklist
- [x] Implement code
- [ ] Add tests
- [ ] Update documentation
jenkins run the tests please
:grey_exclamation: Build Aborted
The PR is not allowed to run in the CI yet
the below badges are clickable and redirect to their specific view in the CI or DOCS
![]()
![]()
![]()
Expand to view the summary
Build stats
-
Build Cause:
Branch indexing -
Reason:
The PR is not allowed to run in the CI yet -
Start Time: 2020-12-10T00:59:36.903+0000
-
Duration: 3 min 37 sec
-
Commit: 0d9669c780b7f4cc80c95b6b15946df9f7491caf
Steps errors 
Expand to view the steps failures
Error signal
- Took 0 min 0 sec . View more details on here
- Description:
githubPrCheckApproved: The PR is not allowed to run in the CI yet. (Only users with write permission
Log output
Expand to view the last 100 lines of log output
[2020-12-10T01:01:48.658Z] Pruning obsolete local branches
[2020-12-10T01:01:49.331Z] Merging remotes/origin/master commit 32c385d0b553d6759576becd71c1b81fef9ad32e into PR head commit 0d9669c780b7f4cc80c95b6b15946df9f7491caf
[2020-12-10T01:01:49.584Z] Merge succeeded, producing 30e7f8362a561ed394c5c0b82c581a3c530f10f2
[2020-12-10T01:01:49.584Z] Checking out Revision 30e7f8362a561ed394c5c0b82c581a3c530f10f2 (PR-796)
[2020-12-10T01:01:48.593Z] > git config remote.origin.url [email protected]:elastic/apm-agent-nodejs.git # timeout=10
[2020-12-10T01:01:48.608Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
[2020-12-10T01:01:48.620Z] > git config remote.origin.url [email protected]:elastic/apm-agent-nodejs.git # timeout=10
[2020-12-10T01:01:48.634Z] > git rev-parse --verify HEAD # timeout=10
[2020-12-10T01:01:48.650Z] No valid HEAD. Skipping the resetting
[2020-12-10T01:01:48.650Z] > git clean -fdx # timeout=10
[2020-12-10T01:01:48.666Z] Fetching upstream changes from [email protected]:elastic/apm-agent-nodejs.git
[2020-12-10T01:01:48.667Z] using GIT_SSH to set credentials GitHub user @elasticmachine SSH key
[2020-12-10T01:01:48.673Z] > git fetch --no-tags --progress --prune -- [email protected]:elastic/apm-agent-nodejs.git +refs/pull/796/head:refs/remotes/origin/PR-796 +refs/heads/master:refs/remotes/origin/master # timeout=15
[2020-12-10T01:01:49.341Z] > git config core.sparsecheckout # timeout=10
[2020-12-10T01:01:49.365Z] > git checkout -f 0d9669c780b7f4cc80c95b6b15946df9f7491caf # timeout=15
[2020-12-10T01:01:49.418Z] > git remote # timeout=10
[2020-12-10T01:01:49.432Z] > git config --get remote.origin.url # timeout=10
[2020-12-10T01:01:49.444Z] using GIT_SSH to set credentials GitHub user @elasticmachine SSH key
[2020-12-10T01:01:49.449Z] > git merge 32c385d0b553d6759576becd71c1b81fef9ad32e # timeout=10
[2020-12-10T01:01:49.574Z] > git rev-parse HEAD^{commit} # timeout=10
[2020-12-10T01:01:49.589Z] > git config core.sparsecheckout # timeout=10
[2020-12-10T01:01:49.594Z] > git checkout -f 30e7f8362a561ed394c5c0b82c581a3c530f10f2 # timeout=15
[2020-12-10T01:01:53.295Z] Commit message: "Merge commit '32c385d0b553d6759576becd71c1b81fef9ad32e' into HEAD"
[2020-12-10T01:01:53.314Z] First time build. Skipping changelog.
[2020-12-10T01:01:53.314Z] Cleaning workspace
[2020-12-10T01:01:53.300Z] > git rev-list --no-walk 5f2bdef90554a1f7af885250344419ec4abd3bd0 # timeout=10
[2020-12-10T01:01:53.318Z] > git rev-parse --verify HEAD # timeout=10
[2020-12-10T01:01:53.331Z] Resetting working tree
[2020-12-10T01:01:53.332Z] > git reset --hard # timeout=10
[2020-12-10T01:01:53.365Z] > git clean -fdx # timeout=10
[2020-12-10T01:01:54.142Z] Masking supported pattern matches of $JOB_GCS_BUCKET or $NOTIFY_TO
[2020-12-10T01:01:54.176Z] Timeout set to expire in 3 hr 0 min
[2020-12-10T01:01:54.187Z] The timestamps step is unnecessary when timestamps are enabled for all Pipeline builds.
[2020-12-10T01:01:54.334Z] [INFO] Number of builds to be searched 10
[2020-12-10T01:01:54.488Z] [INFO] 'shallow' is forced to be disabled when running on PullRequests
[2020-12-10T01:01:54.500Z] Running in /var/lib/jenkins/workspace/dejs_apm-agent-nodejs-mbp_PR-796/src/github.com/elastic/apm-agent-nodejs
[2020-12-10T01:01:54.514Z] [INFO] gitCheckout: Checkout SCM PR-796 with some customisation.
[2020-12-10T01:01:54.538Z] [INFO] Override default checkout
[2020-12-10T01:01:54.576Z] Sleeping for 10 sec
[2020-12-10T01:02:04.716Z] using credential f6c7695a-671e-4f4f-a331-acdce44ff9ba
[2020-12-10T01:02:04.819Z] Cloning the remote Git repository
[2020-12-10T01:02:04.835Z] Cloning repository [email protected]:elastic/apm-agent-nodejs.git
[2020-12-10T01:02:04.858Z] > git init /var/lib/jenkins/workspace/dejs_apm-agent-nodejs-mbp_PR-796/src/github.com/elastic/apm-agent-nodejs # timeout=10
[2020-12-10T01:02:04.868Z] Using reference repository: /var/lib/jenkins/.git-references/apm-agent-nodejs.git
[2020-12-10T01:02:04.869Z] Fetching upstream changes from [email protected]:elastic/apm-agent-nodejs.git
[2020-12-10T01:02:04.869Z] > git --version # timeout=10
[2020-12-10T01:02:04.874Z] > git --version # 'git version 2.17.1'
[2020-12-10T01:02:04.874Z] using GIT_SSH to set credentials GitHub user @elasticmachine SSH key
[2020-12-10T01:02:04.879Z] > git fetch --tags --progress -- [email protected]:elastic/apm-agent-nodejs.git +refs/heads/*:refs/remotes/origin/* # timeout=10
[2020-12-10T01:02:06.355Z] Checking out Revision 0d9669c780b7f4cc80c95b6b15946df9f7491caf (origin/PR-796)
[2020-12-10T01:02:06.396Z] Commit message: "feat: ignore internal errors"
[2020-12-10T01:02:06.396Z] First time build. Skipping changelog.
[2020-12-10T01:02:05.716Z] > git config remote.origin.url [email protected]:elastic/apm-agent-nodejs.git # timeout=10
[2020-12-10T01:02:05.719Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
[2020-12-10T01:02:05.727Z] > git config remote.origin.url [email protected]:elastic/apm-agent-nodejs.git # timeout=10
[2020-12-10T01:02:05.734Z] Fetching upstream changes from [email protected]:elastic/apm-agent-nodejs.git
[2020-12-10T01:02:05.735Z] using GIT_SSH to set credentials GitHub user @elasticmachine SSH key
[2020-12-10T01:02:05.738Z] > git fetch --tags --progress -- [email protected]:elastic/apm-agent-nodejs.git +refs/pull/796/head:refs/remotes/origin/PR-796 +refs/heads/master:refs/remotes/origin/master # timeout=10
[2020-12-10T01:02:06.349Z] > git rev-parse origin/PR-796^{commit} # timeout=10
[2020-12-10T01:02:06.359Z] > git config core.sparsecheckout # timeout=10
[2020-12-10T01:02:06.362Z] > git checkout -f 0d9669c780b7f4cc80c95b6b15946df9f7491caf # timeout=10
[2020-12-10T01:02:07.392Z] Masking supported pattern matches of $GIT_USERNAME or $GIT_PASSWORD
[2020-12-10T01:02:08.000Z] + git fetch https://****:****@github.com/elastic/apm-agent-nodejs.git +refs/pull/*/head:refs/remotes/origin/pr/*
[2020-12-10T01:02:08.633Z] Running in /var/lib/jenkins/workspace/dejs_apm-agent-nodejs-mbp_PR-796/src/github.com/elastic/apm-agent-nodejs/.git
[2020-12-10T01:02:08.654Z] Archiving artifacts
[2020-12-10T01:02:09.300Z] + git rev-parse HEAD
[2020-12-10T01:02:09.661Z] + git rev-parse HEAD
[2020-12-10T01:02:09.965Z] + git rev-parse origin/pr/796
[2020-12-10T01:02:10.006Z] [INFO] githubEnv: Found Git Build Cause: pr
[2020-12-10T01:02:10.361Z] Masking supported pattern matches of $GITHUB_TOKEN
[2020-12-10T01:02:11.449Z] [INFO] githubPrCheckApproved: Title: feat: ignore internal errors - User: Qard - Author Association: CONTRIBUTOR
[2020-12-10T01:02:11.737Z] ERROR: githubPrCheckApproved: The PR is not allowed to run in the CI yet
[2020-12-10T01:02:11.737Z] ERROR: githubPrCheckApproved: The PR is not allowed to run in the CI yet. (Only users with write permissions can do so.)
[2020-12-10T01:02:11.767Z] [INFO] Let's stop build #150. The PR is not allowed to run in the CI yet
[2020-12-10T01:02:11.778Z] Sleeping for 5 sec
[2020-12-10T01:02:12.843Z] Stage "Test" skipped due to earlier failure(s)
[2020-12-10T01:02:12.889Z] Stage "TAV Test" skipped due to earlier failure(s)
[2020-12-10T01:02:12.936Z] Stage "Edge Test" skipped due to earlier failure(s)
[2020-12-10T01:02:12.992Z] Stage "Nightly Test" skipped due to earlier failure(s)
[2020-12-10T01:02:12.993Z] Stage "Nightly Test - No async hooks" skipped due to earlier failure(s)
[2020-12-10T01:02:12.994Z] Stage "RC Test" skipped due to earlier failure(s)
[2020-12-10T01:02:12.995Z] Stage "RC Test - No async hooks" skipped due to earlier failure(s)
[2020-12-10T01:02:13.051Z] Failed in branch Nightly Test
[2020-12-10T01:02:13.052Z] Failed in branch Nightly Test - No async hooks
[2020-12-10T01:02:13.053Z] Failed in branch RC Test
[2020-12-10T01:02:13.053Z] Failed in branch RC Test - No async hooks
[2020-12-10T01:02:13.111Z] Stage "Integration Tests" skipped due to earlier failure(s)
[2020-12-10T01:02:13.153Z] Stage "Release" skipped due to earlier failure(s)
[2020-12-10T01:02:13.171Z] Stage "Release" skipped due to earlier failure(s)
[2020-12-10T01:02:13.230Z] Stage "Benchmarks" skipped due to earlier failure(s)
[2020-12-10T01:02:13.464Z] Running on Jenkins in /var/lib/jenkins/workspace/dejs_apm-agent-nodejs-mbp_PR-796
[2020-12-10T01:02:13.556Z] [INFO] getVaultSecret: Getting secrets
[2020-12-10T01:02:13.759Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-12-10T01:02:14.409Z] + chmod 755 generate-build-data.sh
[2020-12-10T01:02:14.409Z] + ./generate-build-data.sh https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-nodejs/apm-agent-nodejs-mbp/PR-796/ https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-nodejs/apm-agent-nodejs-mbp/PR-796/runs/150 ABORTED 157248
[2020-12-10T01:02:14.960Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-nodejs/apm-agent-nodejs-mbp/PR-796/runs/150/steps/?limit=10000 -o steps-info.json
[2020-12-10T01:02:15.511Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-nodejs/apm-agent-nodejs-mbp/PR-796/runs/150/tests/?status=FAILED -o tests-errors.json
[2020-12-10T01:02:15.511Z] Retry 1/3 exited 22, retrying in 1 seconds...
[2020-12-10T01:02:16.854Z] Retry 2/3 exited 22, retrying in 2 seconds...
[2020-12-10T01:02:18.715Z] Retry 3/3 exited 22, no more retries left.