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

JEP-200 with new 2.0.0 version on nunit test import

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • xunit-plugin
    • Jenkins ver. 2.107.3
      xunit 2.0.0

       
      When trying to Show test results using xunit (result format is nunit 2) getting following exception. Downgraded to 1.104. Works fine then.

      Stack trace:

      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(ObjectInputStream.java:1866)
      	at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1749)
      	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2040)
      	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1571)
      	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2285)
      	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2209)
      	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2067)
      	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1571)
      	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2285)
      	at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:561)
      	at java.lang.Throwable.readObject(Throwable.java:914)
      	at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1158)
      	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2176)
      	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2067)
      	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1571)
      	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2285)
      	at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:561)
      	at java.lang.Throwable.readObject(Throwable.java:914)
      	at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1158)
      	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2176)
      	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2067)
      	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1571)
      	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2285)
      	at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:561)
      	at java.lang.Throwable.readObject(Throwable.java:914)
      	at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1158)
      	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2176)
      	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2067)
      	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1571)
      	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2285)
      	at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:561)
      	at java.lang.Throwable.readObject(Throwable.java:914)
      	at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1158)
      	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2176)
      	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2067)
      	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1571)
      	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:431)
      	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@19b909dc
      	at hudson.remoting.Channel.call(Channel.java:960)
      	at hudson.FilePath.act(FilePath.java:1009)
      Caused: java.io.IOException: remote file operation failed: <edited> at hudson.remoting.Channel@5b40d1b7:jbuild03_docker
      	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 org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:80)
      	at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:67)
      	at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution$1$1.call(SynchronousNonBlockingStepExecution.java:49)
      	at hudson.security.ACL.impersonate(ACL.java:290)
      	at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution$1.run(SynchronousNonBlockingStepExecution.java:46)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	at java.lang.Thread.run(Thread.java:748)
      

            nfalco Nikolas Falco
            tomaxsas Tomas Zaleniakas
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: