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

Maven builds hang intermittently with a remoting error

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • maven-plugin
    • Jenkins Version: `2.46.2.1`
      * maven-plugin:2.14 'Maven Integration plugin'
      * Jenkins Slave version 3.7

    Description

      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

      Attachments

        Issue Links

          Activity

            oleg_nenashev 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 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 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 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

            mcardenasblanco 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 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.

            mcardenasblanco 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 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 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

            jbochenski 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

            People

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

              Dates

                Created:
                Updated: