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

xUnit failed to parse a JUnit .xml report

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • xunit-plugin
    • None
    • xunit plugn: 1.102

      In my regression I test sample file contains 10000 cases. The log file is too big.
      "publish xUnit test report" post-build step constantly fails with such output: (look at the interval in times)

      How can I record only the failures if exists?
      **

      04:42:55 [xUnit] [INFO] - Starting to record.
      04:42:55 [xUnit] [INFO] - Processing JBehave-3.x
      04:42:55 [xUnit] [INFO] - [JBehave-3.x] - 4 test report file(s) were found with the pattern 'target/jbehave/*.xml' relative to '/ci-slave-home/jenkins_slave/EROS-CI/workspace/Item Composition Identification Service' for the testing framework 'JBehave-3.x'.
      23:21:07 [xUnit] [WARNING] - Caught exception of unexpected type class java.lang.InterruptedException, rethrowing
      23:21:07 ERROR: Publisher org.jenkinsci.plugins.xunit.XUnitPublisher aborted due to exception
      23:21:07 java.lang.InterruptedException 
      23:21:07 at java.lang.Object.wait(Native Method)
      23:21:07 at hudson.remoting.Request.call(Request.java:146)
      23:21:07 at hudson.remoting.Channel.call(Channel.java:752)
      23:21:07 at hudson.FilePath.act(FilePath.java:980)
      23:21:07 at hudson.FilePath.act(FilePath.java:969)
      23:21:07 at org.jenkinsci.plugins.xunit.XUnitProcessor.performTests(XUnitProcessor.java:145)
      23:21:07 at org.jenkinsci.plugins.xunit.XUnitProcessor.performXUnit(XUnitProcessor.java:88)
      23:21:07 at org.jenkinsci.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:142)
      23:21:07 at org.jenkinsci.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:134)
      23:21:07 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      23:21:07 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:764)
      23:21:07 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:724)
      23:21:07 at hudson.model.Build$BuildExecution.post2(Build.java:185)
      23:21:07 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:671)
      23:21:07 at hudson.model.Run.execute(Run.java:1769)
      23:21:07 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      23:21:07 at hudson.model.ResourceController.execute(ResourceController.java:98)
      23:21:07 at hudson.model.Executor.run(Executor.java:374)

            nfalco Nikolas Falco
            userit1985 Johana Is
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: