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

Maven builds hang intermittently with a remoting error

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • maven-plugin
    • Jenkins Version: `2.46.2.1`
      * maven-plugin:2.14 'Maven Integration plugin'
      * Jenkins Slave version 3.7

      Related to: https://issues.jenkins-ci.org/browse/JENKINS-23271

       

      Executing Maven builds, we get errors like the one listed below:

       

      $ ssh-agent -k
      [WARNING] Failed to notify spy hudson.maven.Maven3Builder$JenkinsEventSpy: java.util.concurrent.ExecutionException: Invalid object ID 29 iota=49channel stopped
      
      
      $ ssh-agent -k
      channel stopped
      [WARNING] Failed to notify spy hudson.maven.Maven3Builder$JenkinsEventSpy: java.util.concurrent.ExecutionException: Invalid object ID 29 iota=49
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary:
      [INFO] 
      unset SSH_AUTH_SOCK;
      unset SSH_AGENT_PID;
      echo Agent pid 107664 kil

          [JENKINS-47161] Maven builds hang intermittently with a remoting error

          Oleg Nenashev added a comment -

          out full logs it's hard to say something. My guess is that one of the remote operations uses the start().join() construct like we had in the Jenkins core (JENKINS-23271). First candidates: https://github.com/jenkinsci/maven-plugin/search?utf8=%E2%9C%93&q=%22join%28%29%22&type=

          Oleg Nenashev added a comment - out full logs it's hard to say something. My guess is that one of the remote operations uses the start().join() construct like we had in the Jenkins core ( JENKINS-23271 ). First candidates:  https://github.com/jenkinsci/maven-plugin/search?utf8=%E2%9C%93&q=%22join%28%29%22&type=

          Oleg Nenashev added a comment -

          Somebody needs to dive into the code of JenkinsEventSpy in order to understand what it calls remotely.

          mcardenasblanco is there a chance you could provide logs from the agent side in order to simplify the investigation? 

          Oleg Nenashev added a comment - Somebody needs to dive into the code of JenkinsEventSpy in order to understand what it calls remotely. mcardenasblanco is there a chance you could provide logs from the agent side in order to simplify the investigation? 

          As soon as I can get access to them I'll attach them to the ticket oleg_nenashev

          Manuel Cardenas added a comment - As soon as I can get access to them I'll attach them to the ticket oleg_nenashev

          Oleg Nenashev added a comment -

          Oleg Nenashev added a comment - mcardenasblanco ping

          oleg_nenashev we did not get any additional information, thus we do not have further data to troubleshoot the issue. Maybe we can close it now for the time being and wait for the issue to reproduce.

          Manuel Cardenas added a comment - oleg_nenashev we did not get any additional information, thus we do not have further data to troubleshoot the issue. Maybe we can close it now for the time being and wait for the issue to reproduce.

          Oleg Nenashev added a comment -

          Let's keep it open. I have an idea where it happens in the Maven plugin though I cannot say it is a root cause

          Oleg Nenashev added a comment - Let's keep it open. I have an idea where it happens in the Maven plugin though I cannot say it is a root cause

          I just hit this error. Anything particular I should look for in the logs? I wouldn't want to upload all of it

          Jakub Bochenski added a comment - I just hit this error. Anything particular I should look for in the logs? I wouldn't want to upload all of it

            mcardenasblanco Manuel Cardenas
            mcardenasblanco Manuel Cardenas
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: