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

Jenkins 2.361 built with JDK 11.0.14 instead of 11.0.15 or 11.0.16 #3073

Closed
MarkEWaite opened this issue Jul 26, 2022 · 3 comments
Closed

Jenkins 2.361 built with JDK 11.0.14 instead of 11.0.15 or 11.0.16 #3073

MarkEWaite opened this issue Jul 26, 2022 · 3 comments

Comments

@MarkEWaite
Copy link

Service(s)

release.ci.jenkins.io

Summary

The Jenkins 2.361 weekly build log on release.ci.jenkins.io reports that the build is being performed by JDK 11.0.14 rather than the more common 11.0.15 or the recently released 11.0.16.

It is not harmful that we built with a slightly older JDK, but it is surprising and may be worth investigating the configuration of the agents or the build job to understand why they are running a JDK that is older than most other agents in the Jenkins infrastructure.

Reproduction steps

  1. Open the Jenkins 2.361 weekly build log
  2. Search for 11.0.14 and confirm that is the version used
  3. Open ci.jenkins.io most recent successful build and note that it is using 11.0.15 for most of its uses, though there are a few references to 11.0.13 in the log file as well

Actual result

Weekly release is built with JDK 11.0.14

Expected result

Weekly release is built with JDK 11.0.15 or JDK 11.0.16

@MarkEWaite MarkEWaite added the triage Incoming issues that need review label Jul 26, 2022
@dduportal dduportal added this to the infra-team-sync-2022-07-26 milestone Jul 26, 2022
@dduportal dduportal self-assigned this Jul 26, 2022
@dduportal dduportal removed the triage Incoming issues that need review label Jul 26, 2022
@dduportal
Copy link
Contributor

Quick diagnostics:

=> I assume that 4.13(.0)-2 is the image with the 11.0.14 JDK within. Another argument for the "all in one" definition (jenkins-infra/packer-images#282 for Linux and jenkins-infra/packer-images#285 for Windows)

@smerle33 smerle33 modified the milestones: infra-team-sync-2022-07-26, infra-team-sync-2022-08-02, infra-team-sync-2022-08-09 Jul 27, 2022
@smerle33
Copy link
Contributor

smerle33 commented Aug 2, 2022

I did jenkins-infra/docker-packaging@488a7c7 that provide an updatecli stream of update, and this PR jenkins-infra/docker-packaging#46 should update the docker image and provide the correct JDK version.

@dduportal
Copy link
Contributor

Thanks @smerle33 . Now that jenkins-infra/release#276, the image is specified in the pipeline with the 2.1.54 tag.

And as expected:

docker run --rm --entrypoint=java jenkinsciinfra/packaging:2.1.54 -ve
rsion
openjdk version "11.0.15" 2022-04-19
OpenJDK Runtime Environment Temurin-11.0.15+10 (build 11.0.15+10)
OpenJDK 64-Bit Server VM Temurin-11.0.15+10 (build 11.0.15+10, mixed mode)

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

No branches or pull requests

3 participants