infrastructure icon indicating copy to clipboard operation
infrastructure copied to clipboard

Incompatible JVM versions in the jenkins log

Open sxa opened this issue 1 year ago • 2 comments

While some of the machines, such as Solaris10, cannot have a later JVM installed, there are a number of agent systems in our jenkins which are still running pre-17 JREs for the jenkins agent. During the most recent jenkins upgrade the Versions Node Plugin took them all offline. While we have now changed the configuration so that it won't do this (Set Don't mark agents temporarily offline in the configuration) we should use this opportunity to look at updating the versions for anything not on 17 which can be updated.

List of affected machines

jenkins@jenkins-hetzner-ubuntu2004:/var/log/jenkins$ grep incompatible.JVM jenkins.log | cut -d: -f4 | sort | uniq Making build-azure-solaris10-x64-1 offline temporarily due to using an incompatible JVM version between agent and controller (controller=17.0.10+7, agent=11.0.18+10-LTS) Making build-equinix_esxi-solaris10-x64-1 offline temporarily due to using an incompatible JVM version between agent and controller (controller=17.0.10+7, agent=11.0.17+7-LTS) Making build-osuosl-aix72-ppc64-1 offline temporarily due to using an incompatible JVM version between agent and controller (controller=17.0.10+7, agent=11.0.15+10) Making build-siteox-solaris10u11-sparcv9-1 offline temporarily due to using an incompatible JVM version between agent and controller (controller=17.0.10+7, agent=11.0.17+7-LTS) Making dockerhost-equinix-ubuntu2004-x64-1 offline temporarily due to using an incompatible JVM version between agent and controller (controller=17.0.10+7, agent=11.0.16.1+1) Making dockerhost-equinix-ubuntu2204-armv8-1 offline temporarily due to using an incompatible JVM version between agent and controller (controller=17.0.10+7, agent=11.0.16.1+1) Making dockerhost-equinix-ubuntu2204-x64-1 offline temporarily due to using an incompatible JVM version between agent and controller (controller=17.0.10+7, agent=11.0.16.1+1) Making dockerhost-marist-ubuntu2204-s390x-1 offline temporarily due to using an incompatible JVM version between agent and controller (controller=17.0.10+7, agent=11.0.16+8) Making dockerhost-osuosl-ubuntu2004-ppc64le-1 offline temporarily due to using an incompatible JVM version between agent and controller (controller=17.0.10+7, agent=11.0.10+9) Making dockerhost-osuosl-ubuntu2204-aarch64-1 offline temporarily due to using an incompatible JVM version between agent and controller (controller=17.0.10+7, agent=11.0.16.1+1) Making dockerhost-skytap-ubuntu2004-ppc64le-1 offline temporarily due to using an incompatible JVM version between agent and controller (controller=17.0.10+7, agent=11.0.11+9) Making eclipse-codesign-machine offline temporarily due to using an incompatible JVM version between agent and controller (controller=17.0.10+7, agent=11.0.18+10) Making test-azure-win2019-x64-1 offline temporarily due to using an incompatible JVM version between agent and controller (controller=17.0.10+7, agent=11.0.10+9) Making test-equinix_esxi-solaris10-x64-1 offline temporarily due to using an incompatible JVM version between agent and controller (controller=17.0.10+7, agent=11.0.17+7-LTS) Making test-ibmcloud-win2012r2-x64-1 offline temporarily due to using an incompatible JVM version between agent and controller (controller=17.0.10+7, agent=11.0.8+10) Making test-ibmcloud-win2012r2-x64-2 offline temporarily due to using an incompatible JVM version between agent and controller (controller=17.0.10+7, agent=11.0.8+10) Making test-marist-rhel7-s390x-2 offline temporarily due to using an incompatible JVM version between agent and controller (controller=17.0.10+7, agent=11.0.16+8) Making test-marist-rhel8-s390x-2 offline temporarily due to using an incompatible JVM version between agent and controller (controller=17.0.10+7, agent=11.0.16.1+1) Making test-marist-sles12-s390x-2 offline temporarily due to using an incompatible JVM version between agent and controller (controller=17.0.10+7, agent=11.0.16.1+1) Making test-marist-sles15-s390x-2 offline temporarily due to using an incompatible JVM version between agent and controller (controller=17.0.10+7, agent=11.0.16.1+1) Making test-marist-ubuntu2004-s390x-1 offline temporarily due to using an incompatible JVM version between agent and controller (controller=17.0.10+7, agent=11.0.16+8) Making test-marist-ubuntu2204-s390x-1 offline temporarily due to using an incompatible JVM version between agent and controller (controller=17.0.10+7, agent=11.0.16.1+1) Making test-siteox-solaris10u11-sparcv9-1 offline temporarily due to using an incompatible JVM version between agent and controller (controller=17.0.10+7, agent=11.0.17+7-LTS) jenkins@jenkins-hetzner-ubuntu2004:/var/log/jenkins$

Found during the latest jenkins update

sxa avatar Mar 05 '24 10:03 sxa

With the merging of https://github.com/adoptium/infrastructure/pull/3073 we should be able to get these all (other than Solaris) updated to the latest LTS (JDK21)

sxa avatar Mar 13 '24 12:03 sxa

The installer gradles may also need attention if the default JDKs move up to JDK21. Currently they run with JDK17

steelhead31 avatar Mar 25 '24 17:03 steelhead31

Related: Jenkins next LTS requires java 17: https://github.com/adoptium/infrastructure/issues/3741

sxa avatar Nov 07 '24 10:11 sxa

All systems are now up to JDK17 (which is why we cant' run Solaris jobs directly any more. Don't mark agents temporarily offline has already been unchecked. I'll keep this open for now while we look at the gradle issue mentioned above although that should be a separate issue if there is one already.

sxa avatar Jul 28 '25 13:07 sxa

Gradle will now work as it has been updated to a version which works with JDK21 in https://github.com/adoptium/installer/pull/1242 - closing.

sxa avatar Sep 02 '25 10:09 sxa