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

xUnit JEP-200 incompatibility

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • xunit-plugin
    • Jenkins v 2.107.3 running on Windows server 2012 R2 standard

      xUnit plugin will not parse Gherkin xml output because of JEP-200 issue

      [xUnit] [INFO] - [NUnit-2 (default)] - 6 test report file(s) were found with the pattern 'tests\results_LATEST_\GherkinTest*\TestResult.xml' relative to 'd:\Jenkins\workspace\Test_xUnitPlugin' for the testing framework 'NUnit-2 (default)'.
      [xUnit] [ERROR] - Conversion error Error to convert the input XML document
       ERROR: Step 'Publish xUnit test result report' aborted due to exception: 
       java.lang.SecurityException: Rejected: net.sf.saxon.expr.CardinalityChecker; see [https://jenkins.io/redirect/class-filter/]
       at hudson.remoting.ClassFilter.check(ClassFilter.java:76)
       at hudson.remoting.MultiClassLoaderSerializer$Input.resolveClass(MultiClassLoaderSerializer.java:129)
       at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
       at java.io.ObjectInputStream.readClassDesc(Unknown Source)
       at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
       at java.io.ObjectInputStream.readObject0(Unknown Source)
       at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
       at java.io.ObjectInputStream.readSerialData(Unknown Source)
       at java.io.ObjectInputStream.readOrdinaryObject(Unknown Sorce)
       at java.io.ObjectInputStream.readObject0(Unknown Source)
       at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
       at java.io.ObjectInputStream.defaultReadObject(Unknown Source)
       at java.lang.Throwable.readObject(Unknown Source)
       at sun.reflect.GeneratedMethodAccessor157.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at java.io.ObjectStreamClass.invokeReadObject(Unknown Source)
       at java.io.ObjectInputStream.readSerialData(Unknown Source)
       at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
       at java.io.ObjectInputStream.readObject0(Unknown Source)
       at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
       at java.io.ObjectInputStream.defaultReadObject(Unknown Source)
       at java.lang.Throwable.readObject(Unknown Source)
       at sun.reflect.GeneratedMethodAccessor157.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at java.io.ObjectStreamClass.invokeReadObject(Unknown Source)
       at java.io.ObjectInputStream.readSerialData(Unknown Source)
       at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
       at java.io.ObjectInputStream.readObject0(Unknown Source)
       at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
       at java.io.ObjectInputStream.defaultReadObject(Unknown Source)
       at java.lang.Throwable.readObject(Unknown Source)
       at sun.reflect.GeneratedMethodAccessor157.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at java.io.ObjectStreamClass.invokeReadObject(Unknown Source)
       at java.io.ObjectInputStream.readSerialData(Unknown Source)
       at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
       at java.io.ObjectInputStream.readObject0(Unknown Source)
       at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
       at java.io.ObjectInputStream.defaultReadObject(Unknown Source)
       at java.lang.Throwable.readObject(Unknown Source)
       at sun.reflect.GeneratedMethodAccessor157.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at java.io.ObjectStreamClass.invokeReadObject(Unknown Source)
       at java.io.ObjectInputStream.readSerialData(Unknown Source)
       at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
       at java.io.ObjectInputStream.readObject0(Unknown Source)
       at java.io.ObjectInputStream.readObject(Unknown Source)
       at hudson.remoting.UserRequest.deserialize(UserRequest.java:277)
       at hudson.remoting.UserResponse.retrieve(UserRequest.java:310)
       at hudson.remoting.Channel.call(Channel.java:952)
       Caused: java.io.IOException: Failed to deserialize response to UserRequest:org.jenkinsci.plugins.xunit.service.XUnitTransformer@267de652
       at hudson.remoting.Channel.call(Channel.java:960)
       at hudson.FilePath.act(FilePath.java:1009)
       Caused: java.io.IOException: remote file operation failed: d:\Jenkins\workspace\Test_xUnitPlugin at hudson.remoting.Channel@7e088e6e:JNLP4-connect connection from fr1pswbld11.misys.global.ad/10.21.22.129:61724
       at hudson.FilePath.act(FilePath.java:1016)
       at hudson.FilePath.act(FilePath.java:998)
       at org.jenkinsci.plugins.xunit.XUnitProcessor.performTests(XUnitProcessor.java:207)
       at org.jenkinsci.plugins.xunit.XUnitProcessor.performXUnit(XUnitProcessor.java:150)
       at org.jenkinsci.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:129)
       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:744)
       at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
       at hudson.model.Build$BuildExecution.post2(Build.java:186)
       at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
       at hudson.model.Run.execute(Run.java:1752)
       at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
       at hudson.model.ResourceController.execute(ResourceController.java:97)
       at hudson.model.Executor.run(Executor.java:429)
       [BFA] Scanning build for known causes...
       [BFA] No failure causes found
       [BFA] Done. 0s
       Finished: FAILURE
      

            nfalco Nikolas Falco
            jkg20 Jason Gibbons
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: