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

Maven builds hang intermittently with a remoting error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: maven-plugin
    • Labels:
    • Environment:
      Jenkins Version: `2.46.2.1`
      * maven-plugin:2.14 'Maven Integration plugin'
      * Jenkins Slave version 3.7
    • Similar Issues:

      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

            Hide
            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=

            Show
            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=
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

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

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

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

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

            Show
            mcardenasblanco Manuel Cardenas added a comment - As soon as I can get access to them I'll attach them to the ticket Oleg Nenashev
            Hide
            oleg_nenashev Oleg Nenashev added a comment -
            Show
            oleg_nenashev Oleg Nenashev added a comment - Manuel Cardenas ping
            Hide
            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.

            Show
            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.
            Hide
            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

            Show
            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
            Hide
            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

            Show
            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

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

                Dates

                • Created:
                  Updated: