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

PostBuildAction: Publish NUnit TestResult report fails

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Fixed but Unreleased (View Workflow)
    • Priority: Critical
    • Resolution: Cannot Reproduce
    • Component/s: nunit-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      When running Post Build Action: Publish Nunit TestResult report nunit*.xml, Jenkins freezes on the line:

      C:\Jenkins\workspace\nunit_test>exit 0
      Recording NUnit tests results 

      The version of applications:

      Jenkins: 2.79

      Junit Plugin = 1.22.2

      Nunit Plugin = 0.22

      Struts Plugin = 1.9

       

       

        Attachments

        1. image-2018-02-07-14-10-33-755.png
          image-2018-02-07-14-10-33-755.png
          28 kB
        2. image-2018-02-07-14-12-33-233.png
          image-2018-02-07-14-12-33-233.png
          28 kB
        3. image-2018-02-09-10-14-40-675.png
          image-2018-02-09-10-14-40-675.png
          81 kB
        4. image-2018-02-09-10-15-45-541.png
          image-2018-02-09-10-15-45-541.png
          96 kB
        5. jenkins.zip
          500 kB
        6. nunit_test.zip
          22 kB
        7. nunit-result-QA183.xml
          22 kB

          Activity

          Hide
          hema_bhaskar Hema Bhaskar added a comment - - edited

          problem happening on a slave jenkins box: uk-lc13-qa171: attaching more info. 

          This is the Slave Console - with time information:

          Show
          hema_bhaskar Hema Bhaskar added a comment - - edited problem happening on a slave jenkins box: uk-lc13-qa171: attaching more info.  This is the Slave Console - with time information:
          Hide
          hema_bhaskar Hema Bhaskar added a comment -

          Jenkins Console log:

          Show
          hema_bhaskar Hema Bhaskar added a comment - Jenkins Console log:
          Hide
          hema_bhaskar Hema Bhaskar added a comment - - edited

          Attaching jenkins.log from master jenkins, along with the xml files

          Show
          hema_bhaskar Hema Bhaskar added a comment - - edited Attaching jenkins.log from master jenkins, along with the xml files
          Hide
          hema_bhaskar Hema Bhaskar added a comment -

          Please let me know if you want more information. If more debug needs to be generated, please let me know how to do it.

          Show
          hema_bhaskar Hema Bhaskar added a comment - Please let me know if you want more information. If more debug needs to be generated, please let me know how to do it.
          Hide
          slide_o_mix Alex Earl added a comment -

          Based on this log output:

           

          java.lang.InterruptedException
          	at java.lang.Object.wait(Native Method)
          	at hudson.remoting.Request.call(Request.java:165)
          	at hudson.remoting.Channel.call(Channel.java:903)
          	at hudson.FilePath.act(FilePath.java:1082)
          	at hudson.plugins.nunit.NUnitPublisher.perform(NUnitPublisher.java:276)
          	at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81)
          	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
          	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:736)
          	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:682)
          	at hudson.model.Build$BuildExecution.post2(Build.java:186)
          	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:627)
          	at hudson.model.Run.execute(Run.java:1749)
          	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
          	at hudson.model.ResourceController.execute(ResourceController.java:97)
          	at hudson.model.Executor.run(Executor.java:419)
          

          It seems like there is a problem in the communication between the master and agents. The FilePath.act is where the master is trying to do file operations on the agent side. How are your agents configured?

          Show
          slide_o_mix Alex Earl added a comment - Based on this log output:   java.lang.InterruptedException at java.lang. Object .wait(Native Method) at hudson.remoting.Request.call(Request.java:165) at hudson.remoting.Channel.call(Channel.java:903) at hudson.FilePath.act(FilePath.java:1082) at hudson.plugins.nunit.NUnitPublisher.perform(NUnitPublisher.java:276) at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:736) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:682) at hudson.model.Build$BuildExecution.post2(Build.java:186) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:627) at hudson.model.Run.execute(Run.java:1749) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:419) It seems like there is a problem in the communication between the master and agents. The FilePath.act is where the master is trying to do file operations on the agent side. How are your agents configured?

            People

            Assignee:
            slide_o_mix Alex Earl
            Reporter:
            hema_bhaskar Hema Bhaskar
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: