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

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

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • swarm-plugin
    • 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

      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?

          [JENKINS-42428] Jenkins master throwing java.io.IOException when running pipeline in swarm client

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

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

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

              Created:
              Updated: