Skip to content

Test if we support more recent java versions #1361

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

Closed

Conversation

samilAyoub
Copy link

@samilAyoub samilAyoub commented Aug 28, 2020

relates to #1335

@cla-checker-service
Copy link

cla-checker-service bot commented Aug 28, 2020

💚 CLA has been signed

@apmmachine
Copy link
Contributor

apmmachine commented Aug 28, 2020

❕ 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
Pipeline View Test View Changes Artifacts

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: 2021-03-01T08:39:57.099+0000

  • Duration: 3 min 1 sec

  • Commit: 2d97fdb

Trends 🧪

Image of Build Times

Steps errors 2

Expand to view the steps failures

Load a resource file from a shared library
  • Took 0 min 0 sec . View more details on here
  • Description: approval-list/elastic/apm-agent-java.yml
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 permissions can do so.)

Log output

Expand to view the last 100 lines of log output

[2021-03-01T08:42:29.330Z]  > git init /var/lib/jenkins/workspace/_java_apm-agent-java-mbp_PR-1361 # timeout=10
[2021-03-01T08:42:29.393Z] Using reference repository: /var/lib/jenkins/.git-references/apm-agent-java.git
[2021-03-01T08:42:29.399Z] Fetching upstream changes from https://github.com/elastic/apm-agent-java.git
[2021-03-01T08:42:29.400Z]  > git --version # timeout=10
[2021-03-01T08:42:29.412Z]  > git --version # 'git version 2.17.1'
[2021-03-01T08:42:29.412Z] using GIT_ASKPASS to set credentials GitHub user @apmmachine User + Personal Access Token
[2021-03-01T08:42:29.414Z]  > git fetch --no-tags --progress -- https://github.com/elastic/apm-agent-java.git +refs/heads/*:refs/remotes/origin/* # timeout=15
[2021-03-01T08:42:30.279Z] Pruning obsolete local branches
[2021-03-01T08:42:30.597Z] Merging remotes/origin/master commit 6234f6f49c56a80d26e94b748791da6e30822c89 into PR head commit 2d97fdbd6520b6e495396a4095029e3ee5c0bd38
[2021-03-01T08:42:30.237Z]  > git config remote.origin.url https://github.com/elastic/apm-agent-java.git # timeout=10
[2021-03-01T08:42:30.250Z]  > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
[2021-03-01T08:42:30.266Z]  > git config remote.origin.url https://github.com/elastic/apm-agent-java.git # timeout=10
[2021-03-01T08:42:30.287Z] Fetching upstream changes from https://github.com/elastic/apm-agent-java.git
[2021-03-01T08:42:30.287Z] using GIT_ASKPASS to set credentials GitHub user @apmmachine User + Personal Access Token
[2021-03-01T08:42:30.288Z]  > git fetch --no-tags --progress --prune -- https://github.com/elastic/apm-agent-java.git +refs/pull/1361/head:refs/remotes/origin/PR-1361 +refs/heads/master:refs/remotes/origin/master # timeout=15
[2021-03-01T08:42:30.609Z]  > git config core.sparsecheckout # timeout=10
[2021-03-01T08:42:30.617Z]  > git checkout -f 2d97fdbd6520b6e495396a4095029e3ee5c0bd38 # timeout=15
[2021-03-01T08:42:31.631Z] Merge succeeded, producing c0f3fd601438fa40b0187c3cc18e38c16de37a56
[2021-03-01T08:42:31.631Z] Checking out Revision c0f3fd601438fa40b0187c3cc18e38c16de37a56 (PR-1361)
[2021-03-01T08:42:30.883Z]  > git remote # timeout=10
[2021-03-01T08:42:30.894Z]  > git config --get remote.origin.url # timeout=10
[2021-03-01T08:42:30.903Z] using GIT_ASKPASS to set credentials GitHub user @apmmachine User + Personal Access Token
[2021-03-01T08:42:30.905Z]  > git merge 6234f6f49c56a80d26e94b748791da6e30822c89 # timeout=10
[2021-03-01T08:42:31.611Z]  > git rev-parse HEAD^{commit} # timeout=10
[2021-03-01T08:42:31.636Z]  > git config core.sparsecheckout # timeout=10
[2021-03-01T08:42:31.644Z]  > git checkout -f c0f3fd601438fa40b0187c3cc18e38c16de37a56 # timeout=15
[2021-03-01T08:42:35.708Z] Commit message: "Merge commit '6234f6f49c56a80d26e94b748791da6e30822c89' into HEAD"
[2021-03-01T08:42:35.724Z] First time build. Skipping changelog.
[2021-03-01T08:42:35.712Z]  > git rev-list --no-walk 695dae8c042286dac2ca21442e25c2652fbc8752 # timeout=10
[2021-03-01T08:42:36.435Z] Masking supported pattern matches of $JOB_GCS_BUCKET or $NOTIFY_TO
[2021-03-01T08:42:36.483Z] Timeout set to expire in 1 hr 0 min
[2021-03-01T08:42:36.509Z] The timestamps step is unnecessary when timestamps are enabled for all Pipeline builds.
[2021-03-01T08:42:36.786Z] [INFO] Number of builds to be searched 10
[2021-03-01T08:42:37.133Z] [INFO] 'shallow' is forced to be disabled when running on PullRequests
[2021-03-01T08:42:37.150Z] Running in /var/lib/jenkins/workspace/_java_apm-agent-java-mbp_PR-1361/src/github.com/elastic/apm-agent-java
[2021-03-01T08:42:37.178Z] [INFO] gitCheckout: Checkout SCM PR-1361 with some customisation.
[2021-03-01T08:42:37.211Z] [INFO] Override default checkout
[2021-03-01T08:42:37.260Z] Sleeping for 10 sec
[2021-03-01T08:42:47.269Z] The recommended git tool is: git
[2021-03-01T08:42:47.467Z] using credential 2a9602aa-ab9f-4e52-baf3-b71ca88469c7-UserAndToken
[2021-03-01T08:42:47.589Z] Cloning the remote Git repository
[2021-03-01T08:42:47.614Z] Cloning repository https://github.com/elastic/apm-agent-java.git
[2021-03-01T08:42:47.653Z]  > git init /var/lib/jenkins/workspace/_java_apm-agent-java-mbp_PR-1361/src/github.com/elastic/apm-agent-java # timeout=10
[2021-03-01T08:42:47.664Z] Using reference repository: /var/lib/jenkins/.git-references/apm-agent-java.git
[2021-03-01T08:42:47.664Z] Fetching upstream changes from https://github.com/elastic/apm-agent-java.git
[2021-03-01T08:42:47.664Z]  > git --version # timeout=10
[2021-03-01T08:42:47.673Z]  > git --version # 'git version 2.17.1'
[2021-03-01T08:42:47.674Z] using GIT_ASKPASS to set credentials GitHub user @apmmachine User + Personal Access Token
[2021-03-01T08:42:47.675Z]  > git fetch --tags --progress -- https://github.com/elastic/apm-agent-java.git +refs/heads/*:refs/remotes/origin/* # timeout=10
[2021-03-01T08:42:48.678Z] Checking out Revision 2d97fdbd6520b6e495396a4095029e3ee5c0bd38 (origin/PR-1361)
[2021-03-01T08:42:48.904Z] Commit message: "Test if we support JDK 14"
[2021-03-01T08:42:48.904Z] First time build. Skipping changelog.
[2021-03-01T08:42:48.311Z]  > git config remote.origin.url https://github.com/elastic/apm-agent-java.git # timeout=10
[2021-03-01T08:42:48.323Z]  > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
[2021-03-01T08:42:48.335Z]  > git config remote.origin.url https://github.com/elastic/apm-agent-java.git # timeout=10
[2021-03-01T08:42:48.347Z] Fetching upstream changes from https://github.com/elastic/apm-agent-java.git
[2021-03-01T08:42:48.348Z] using GIT_ASKPASS to set credentials GitHub user @apmmachine User + Personal Access Token
[2021-03-01T08:42:48.349Z]  > git fetch --tags --progress -- https://github.com/elastic/apm-agent-java.git +refs/pull/1361/head:refs/remotes/origin/PR-1361 +refs/heads/master:refs/remotes/origin/master # timeout=10
[2021-03-01T08:42:48.669Z]  > git rev-parse origin/PR-1361^{commit} # timeout=10
[2021-03-01T08:42:48.682Z]  > git config core.sparsecheckout # timeout=10
[2021-03-01T08:42:48.688Z]  > git checkout -f 2d97fdbd6520b6e495396a4095029e3ee5c0bd38 # timeout=10
[2021-03-01T08:42:49.851Z] Masking supported pattern matches of $GIT_USERNAME or $GIT_PASSWORD
[2021-03-01T08:42:50.586Z] + git fetch https://****:****@github.com/elastic/apm-agent-java.git +refs/pull/*/head:refs/remotes/origin/pr/*
[2021-03-01T08:42:51.647Z] Running in /var/lib/jenkins/workspace/_java_apm-agent-java-mbp_PR-1361/src/github.com/elastic/apm-agent-java/.git
[2021-03-01T08:42:51.768Z] Archiving artifacts
[2021-03-01T08:42:52.770Z] + git rev-parse HEAD
[2021-03-01T08:42:53.131Z] + git rev-parse HEAD
[2021-03-01T08:42:53.476Z] + git rev-parse origin/pr/1361
[2021-03-01T08:42:53.538Z] [INFO] githubEnv: Found Git Build Cause: pr
[2021-03-01T08:42:53.916Z] Masking supported pattern matches of $GITHUB_TOKEN
[2021-03-01T08:42:54.823Z] [WARN] githubApiCall: The REST API call https://github.com/api/repos/elastic/apm-agent-java/pulls/1361/reviews return 0 elements
[2021-03-01T08:42:54.868Z] [INFO] githubPrCheckApproved: Title: Test if we support more recent java versions - User: samilAyoub - Author Association: FIRST_TIME_CONTRIBUTOR
[2021-03-01T08:42:55.167Z] ERROR: githubPrCheckApproved: The PR is not allowed to run in the CI yet
[2021-03-01T08:42:55.167Z] ERROR: githubPrCheckApproved: The PR is not allowed to run in the CI yet. (Only users with write permissions can do so.)
[2021-03-01T08:42:55.223Z] [INFO] Let's stop build #66. The PR is not allowed to run in the CI yet
[2021-03-01T08:42:55.242Z] Sleeping for 5 sec
[2021-03-01T08:42:56.245Z] Stage "Build" skipped due to earlier failure(s)
[2021-03-01T08:42:56.357Z] Stage "Tests" skipped due to earlier failure(s)
[2021-03-01T08:42:56.437Z] Stage "Unit Tests" skipped due to earlier failure(s)
[2021-03-01T08:42:56.438Z] Stage "Smoke Tests 01" skipped due to earlier failure(s)
[2021-03-01T08:42:56.439Z] Stage "Smoke Tests 02" skipped due to earlier failure(s)
[2021-03-01T08:42:56.440Z] Stage "Benchmarks" skipped due to earlier failure(s)
[2021-03-01T08:42:56.441Z] Stage "Javadoc" skipped due to earlier failure(s)
[2021-03-01T08:42:56.526Z] Failed in branch Unit Tests
[2021-03-01T08:42:56.527Z] Failed in branch Smoke Tests 01
[2021-03-01T08:42:56.528Z] Failed in branch Smoke Tests 02
[2021-03-01T08:42:56.529Z] Failed in branch Benchmarks
[2021-03-01T08:42:56.529Z] Failed in branch Javadoc
[2021-03-01T08:42:56.607Z] Stage "Integration Tests" skipped due to earlier failure(s)
[2021-03-01T08:42:56.657Z] Stage "AfterRelease" skipped due to earlier failure(s)
[2021-03-01T08:42:56.681Z] Stage "AfterRelease" skipped due to earlier failure(s)
[2021-03-01T08:42:57.116Z] Running on Jenkins in /var/lib/jenkins/workspace/_java_apm-agent-java-mbp_PR-1361
[2021-03-01T08:42:57.253Z] [INFO] getVaultSecret: Getting secrets
[2021-03-01T08:42:57.559Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-03-01T08:42:58.430Z] + chmod 755 generate-build-data.sh
[2021-03-01T08:42:58.430Z] + ./generate-build-data.sh https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-java/apm-agent-java-mbp/PR-1361/ https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-java/apm-agent-java-mbp/PR-1361/runs/66 ABORTED 181063
[2021-03-01T08:42:58.681Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-java/apm-agent-java-mbp/PR-1361/runs/66/steps/?limit=10000 -o steps-info.json
[2021-03-01T08:42:59.592Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-java/apm-agent-java-mbp/PR-1361/runs/66/tests/?status=FAILED -o tests-errors.json
[2021-03-01T08:42:59.592Z] Retry 1/3 exited 22, retrying in 1 seconds...
[2021-03-01T08:43:00.503Z] Retry 2/3 exited 22, retrying in 2 seconds...

@samilAyoub
Copy link
Author

@felixbarny I need your help here, I added a test for JDK14, but i dont know why I get this error?, Is that mean APM agent java doesn't support JDK14?

@felixbarny
Copy link
Member

It fails trying to deploy jsf-http-get.war with a java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener. Strange. But doesn't seem to be jdk 14 related.

@AlexanderWert
Copy link
Member

Closed in favour of #1542
Relates to #1543

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants