Incompatible JVM versions in the jenkins log
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
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)
The installer gradles may also need attention if the default JDKs move up to JDK21. Currently they run with JDK17
Related: Jenkins next LTS requires java 17: https://github.com/adoptium/infrastructure/issues/3741
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.
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.