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

“Could not initialize class ProcessLiveness$LibC” running sh on Windows

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Minor
    • Resolution: Duplicate
    • durable-task-plugin
    • Jenkins 2.32.2
      Linux master, Windows slave
      Pipeline 2.5
      Pipeline Groovy 2.27
      Pipeline Job 2.10
      Pipeline Nodes and Processes 2.9
      Pipeline Stage 2.2

    Description

      I have two Windows slaves. When I run pipeline jobs on these slaves I get tons of error messages

      Cannot contact Windows7: java.io.IOException: Remote call on Channel to /172.17.xxx.xxx failed
      

      Yet the job finishes successfully. A minimal example to reproduce is

      node('windows') {
          stage('Test') {
              sh '''
                  for ((i=0; i < 100; i++)); do
                      echo $i
                      sleep 1
                  done
              '''
          }
      }
      

      Executing the same shell script via a freestyle job on the same Windows slave works without any error messages therefore it's very likely that this is a bug in the pipeline implementation.
      Restarting slaves and master doesn't change anything. I also couldn't find any more information in log files (or I am looking at the wrong place)

      Attachments

        Issue Links

          Activity

            sithmein Thorsten Meinl created issue -
            sithmein Thorsten Meinl made changes -
            Field Original Value New Value
            Labels regression
            jglick Jesse Glick made changes -
            Component/s durable-task-plugin [ 18622 ]
            Component/s pipeline [ 21692 ]
            Labels regression windows
            Summary Lots of remote channel errors with pipelines and Windows slaves “Could not initialize class ProcessLiveness$LibC” running sh on Windows
            oleg_nenashev Oleg Nenashev made changes -
            Link This issue duplicates JENKINS-38682 [ JENKINS-38682 ]
            oleg_nenashev Oleg Nenashev made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            oleg_nenashev Oleg Nenashev made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            jglick Jesse Glick made changes -
            Link This issue duplicates JENKINS-47791 [ JENKINS-47791 ]
            jglick Jesse Glick made changes -
            Resolution Duplicate [ 3 ]
            Status In Review [ 10005 ] Resolved [ 5 ]

            People

              Unassigned Unassigned
              sithmein Thorsten Meinl
              Votes:
              8 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: