Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-75229

Getting IOException when Jenkins is trying to connect to Slaves in Google Cloud

      After updating Jenkins 2.479.3, exceptions occur when initializing a Jenkins slave using the Google compute engine plugin version 4.580.v005441dfeea_d

       

      I updated the version and tried to initialize a pipeline and encountered this error.

      Attached is the evidence, in version 2.479.3 the error appears when trying to start the slave.

      The latest evidence shows that version 2.462.3 does not have the error.

       

       

          [JENKINS-75229] Getting IOException when Jenkins is trying to connect to Slaves in Google Cloud

          vitor added a comment -

          I updated the version of Jenkins and the Compute Engine plugin to the latest available version to perform the test and still returned an error.

          Jenkins: 2.492.1
          Google Compute Engine: 4.681.v9020cf2b_7453

          vitor added a comment - I updated the version of Jenkins and the Compute Engine plugin to the latest available version to perform the test and still returned an error. Jenkins: 2.492.1 Google Compute Engine: 4.681.v9020cf2b_7453

          vitor added a comment -

          vitor added a comment - Created Issue on github.com   https://github.com/jenkinsci/google-compute-engine-plugin/issues/515

          vitor added a comment - - edited

          I updated the jenkins slave version from openjdk 11 to openjdk 17 and it worked.

           

          https://github.com/jenkinsci/google-compute-engine-plugin/issues/515

          vitor added a comment - - edited I updated the jenkins slave version from openjdk 11 to openjdk 17 and it worked.   https://github.com/jenkinsci/google-compute-engine-plugin/issues/515

          Mark Waite added a comment - - edited

          Jenkins 2.479.3 does not support agents that run the agent with Java 11. It requires either Java 17 or Java 21.

          Once the agent is running with either Java 17 or Java 21, then jobs can use older JDK versions freely. We do that with ci.jenkins.io where the agent runs Java 17 and then compiles older code with Java 8 when needed.

          Mark Waite added a comment - - edited Jenkins 2.479.3 does not support agents that run the agent with Java 11. It requires either Java 17 or Java 21. Once the agent is running with either Java 17 or Java 21, then jobs can use older JDK versions freely. We do that with ci.jenkins.io where the agent runs Java 17 and then compiles older code with Java 8 when needed.

            vitors vitor
            vitors vitor
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: