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

Jenkins master throwing java.io.IOException when running pipeline in swarm client

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: swarm-plugin
    • Labels:
    • Environment:
      Master:
      Jenkins Version : 2.32.2
      Running on Windows Server 2012 R2
      Pipeline: Nodes and Processes 2.10 (works fine in 2.8)

      Client:
      Swarm Client 3.3 on AIX 7.1 / JDK 8
    • Similar Issues:

      Description

      Im trying to run a pipeline job in an agent which is using swarm client. The job runs fine but im getting a lot of error messages in the log like below:

      Cannot contact tst_db2: java.io.IOException: Remote call on Channel to /XX.XX.XX.XXX failed
      

      (actual IP address replaced with XX)

      In my observation the master is throwing this errors while waiting for the script that is running in the client. Again, the pipeline job run perfectly except that im getting this error on the pipeline logs.

      Below is my pipeline script:

      pipeline {
          agent none
          stages {
              stage('Recreate DB') {
                  agent { label 'tst_db2'}
                  steps {
                      checkout([$class: 'SubversionSCM', 
                        additionalCredentials: [], 
                        excludedCommitMessages: '', 
                        excludedRegions: '', 
                        excludedRevprop: '', 
                        excludedUsers: '', 
                        filterChangelog: false, 
                        ignoreDirPropChanges: false, 
                        includedRegions: '', 
                        locations: [[credentialsId: 'a84f7197-929a-437e-9aac-ca09fcd4c63a', 
                                     depthOption: 'infinity', 
                                     ignoreExternalsOption: true, 
                                     local: '', 
                                     remote: 'svn://XXXXX/XXX/tags/CR/Rebuild_VCRDWD01']], 
                        workspaceUpdater: [$class: 'CheckoutUpdater']])  
      
                       sh 'Rebuild_VCRDWD01/recreate_db.sh'
                  }
              }       
          }
      }   
      

      Is there anyway we can get rid of this errors?

        Attachments

          Issue Links

            Activity

            mcenita Marlon Cenita created issue -
            oleg_nenashev Oleg Nenashev made changes -
            Field Original Value New Value
            Labels jenkins pipeline swarm jenkins pipeline regression swarm
            oleg_nenashev Oleg Nenashev made changes -
            Assignee Kohsuke Kawaguchi [ kohsuke ]
            oleg_nenashev Oleg Nenashev made changes -
            Environment Master:
            Jenkins Version : 2.32.2
            Running on Windows Server 2012 R2

            Client:
            Swarm Client 3.3 on AIX 7.1 / JDK 8
            Master:
            Jenkins Version : 2.32.2
            Running on Windows Server 2012 R2
            Pipeline: Nodes and Processes 2.10 (works fine in 2.8)

            Client:
            Swarm Client 3.3 on AIX 7.1 / JDK 8
            oleg_nenashev Oleg Nenashev made changes -
            Component/s workflow-durable-task-step-plugin [ 21715 ]
            Component/s pipeline [ 21692 ]
            oleg_nenashev Oleg Nenashev made changes -
            Assignee Kohsuke Kawaguchi [ kohsuke ]
            oleg_nenashev Oleg Nenashev made changes -
            Assignee Kohsuke Kawaguchi [ kohsuke ] CloudBees Inc. [ cloudbees ]
            jglick Jesse Glick made changes -
            Component/s workflow-durable-task-step-plugin [ 21715 ]
            Labels jenkins pipeline regression swarm pipeline
            Assignee CloudBees Inc. [ cloudbees ] Kohsuke Kawaguchi [ kohsuke ]
            jglick Jesse Glick made changes -
            Assignee Kohsuke Kawaguchi [ kohsuke ]
            alec_m Alec Matschiner made changes -
            Link This issue is duplicated by JENKINS-43543 [ JENKINS-43543 ]
            samba161 sambasiva rao made changes -
            Priority Minor [ 4 ] Major [ 3 ]

              People

              • Assignee:
                Unassigned
                Reporter:
                mcenita Marlon Cenita
              • Votes:
                15 Vote for this issue
                Watchers:
                26 Start watching this issue

                Dates

                • Created:
                  Updated: