[JIRA] (JENKINS-51556) xUnit JEP-200 incompatibility

2018-05-28 Thread jason.gibb...@misys.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jason Gibbons commented on  JENKINS-51556  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: xUnit JEP-200 incompatibility   
 

  
 
 
 
 

 
 Yes -seems to be very closely related. However, at least one of the slaves on which the problem was manifesting for us had no pipeline jobs running on it at all. However, I did notice the following: Using test files which previously failed to be parsed (causing above error) - and using the same jenkins job and same jenkins slave: Uncheck the "Stop and set the build to 'failed' status if there are errors when processing a result file*"* option (or set to false in the pipeline) then run the job, and it passes okay. Recheck the "Stop and set the build to 'failed' status if there are errors when processing a result file*"* option again, and this time the nunit parser works okay.   Not sure if this work around is always going to be replicable or if I made some other manipulation somewhere along the way that explains the fix - I'm going to try with our latest test result files (when the full integration build has finished) to see if I can get a failure.    
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-51556) xUnit JEP-200 incompatibility

2018-05-28 Thread o.v.nenas...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Oleg Nenashev commented on  JENKINS-51556  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: xUnit JEP-200 incompatibility   
 

  
 
 
 
 

 
 AFAICT it duplicates JENKINS-51465  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-51556) xUnit JEP-200 incompatibility

2018-05-27 Thread jason.gibb...@misys.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jason Gibbons commented on  JENKINS-51556  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: xUnit JEP-200 incompatibility   
 

  
 
 
 
 

 
 Thanks - is there a way to wild card the whitelist check exclusion? I've tried adding net.sf.saxon classes block by block, but each time I add a set, another class gets caught as an exception    
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-51556) xUnit JEP-200 incompatibility

2018-05-27 Thread nfalc...@hotmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nikolas Falco commented on  JENKINS-51556  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: xUnit JEP-200 incompatibility   
 

  
 
 
 
 

 
 I have to test locally with a slave node and understand why there is this serialisation issue.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-51556) xUnit JEP-200 incompatibility

2018-05-27 Thread jason.gibb...@misys.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jason Gibbons commented on  JENKINS-51556  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: xUnit JEP-200 incompatibility   
 

  
 
 
 
 

 
 Issue is with net.sf.saxon.* classes Can these be added to the white list?    
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-51556) xUnit JEP-200 incompatibility

2018-05-27 Thread scm_issue_l...@java.net (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 SCM/JIRA link daemon commented on  JENKINS-51556  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: xUnit JEP-200 incompatibility   
 

  
 
 
 
 

 
 Code changed in jenkins User: Nikolas Falco Path: src/test/java/org/jenkinsci/plugins/xunit/types/AbstractTest.java src/test/java/org/jenkinsci/plugins/xunit/types/NUnitTest.java src/test/resources/org/jenkinsci/plugins/xunit/types/nunit/testcase11/input.xml src/test/resources/org/jenkinsci/plugins/xunit/types/nunit/testcase11/result.xml src/test/resources/org/jenkinsci/plugins/xunit/types/nunit/testcase12/input.xml src/test/resources/org/jenkinsci/plugins/xunit/types/nunit/testcase12/result.xml http://jenkins-ci.org/commit/xunit-plugin/3bacce0a7ce13897e2cb4c99ab8e0c028708ee91 Log: JENKINS-51556 xUnit JEP-200 incompatibility A parse error on slave cause JEP-200 when exception is serialised and sent back to master node.  *NOTE:* This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/  Functionality will be removed from GitHub.com on January 31st, 2019.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-51556) xUnit JEP-200 incompatibility

2018-05-27 Thread nfalc...@hotmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nikolas Falco updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-51556  
 
 
  xUnit JEP-200 incompatibility   
 

  
 
 
 
 

 
Change By: 
 Nikolas Falco  
 

  
 
 
 
 

 
 xUnit plugin will not parse Gherkin xml output because of JEP-200 issue{noformat}  *17:33:49*  [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)'. *17:33:49*   [xUnit] [ERROR] - Conversion error Error to convert the input XML document *17:33:49*   ERROR: Step 'Publish xUnit test result report' aborted due to exception:  *17:33:49*java.lang.SecurityException: Rejected: net.sf.saxon.expr.CardinalityChecker; see[https://jenkins.io/redirect/class-filter/]  *17:33:49*  at hudson.remoting.ClassFilter.check(ClassFilter.java:76) *17:33:49*   at hudson.remoting.MultiClassLoaderSerializer$Input.resolveClass(MultiClassLoaderSerializer.java:129) *17:33:49*   at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source) *17:33:49*   at java.io.ObjectInputStream.readClassDesc(Unknown Source) *17:33:49*   at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) *17:33:49*   at java.io.ObjectInputStream.readObject0(Unknown Source) *17:33:49*   at java.io.ObjectInputStream.defaultReadFields(Unknown Source) *17:33:49*   at java.io.ObjectInputStream.readSerialData(Unknown Source) *17:33:49*   at java.io.ObjectInputStream.readOrdinaryObject(Unknown  Source  Sorce ) *17:33:49*   at java.io.ObjectInputStream.readObject0(Unknown Source) *17:33:49*   at java.io.ObjectInputStream.defaultReadFields(Unknown Source) *17:33:49*   at java.io.ObjectInputStream.defaultReadObject(Unknown Source) *17:33:49*   at java.lang.Throwable.readObject(Unknown Source) *17:33:49*   at sun.reflect.GeneratedMethodAccessor157.invoke(Unknown Source) *17:33:49*   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) *17:33:49*   at java.lang.reflect.Method.invoke(Unknown Source) *17:33:49*   at java.io.ObjectStreamClass.invokeReadObject(Unknown Source) *17:33:49*   at java.io.ObjectInputStream.readSerialData(Unknown Source) *17:33:49*   at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) *17:33:49*   at java.io.ObjectInputStream.readObject0(Unknown Source) *17:33:49*   at java.io.ObjectInputStream.defaultReadFields(Unknown Source) *17:33:49*   at java.io.ObjectInputStream.defaultReadObject(Unknown Source) *17:33:49*   at java.lang.Throwable.readObject(Unknown Source) *17:33:49*   at sun.reflect.GeneratedMethodAccessor157.invoke(Unknown Source) *17:33:49*   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) *17:33:49*   at java.lang.reflect.Method.invoke(Unknown Source) *17:33:49*   at java.io.ObjectStreamClass.invokeReadObject(Unknown Source) *17:33:49*   at java.io.ObjectInputStream.readSerialData(Unknown Source) *17:33:49*   at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) *17:33:49*   at java.io.ObjectInputStream.readObject0(Unknown Source) *17:33:49*   

[JIRA] (JENKINS-51556) xUnit JEP-200 incompatibility

2018-05-27 Thread nfalc...@hotmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nikolas Falco updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-51556  
 
 
  xUnit JEP-200 incompatibility   
 

  
 
 
 
 

 
Change By: 
 Nikolas Falco  
 

  
 
 
 
 

 
 xUnit plugin will not parse Gherkin xml output because of JEP-200 issue {noformat} *17:33:49* [xUnit] [INFO] - [NUnit-2 (default)] - 6 test report file(s) were found with the pattern 'tests\ results results_LATEST_ \ _LATEST_\ GherkinTest \ *\TestResult.xml' relative to 'd:\Jenkins\workspace\Test_xUnitPlugin' for the testing framework 'NUnit-2 (default)'.*17:33:49* [xUnit] [ERROR] - Conversion error Error to convert the input XML document*17:33:49* ERROR: Step 'Publish xUnit test result report' aborted due to exception: *17:33:49* java.lang.SecurityException: Rejected: net.sf.saxon.expr.CardinalityChecker; see [https://jenkins.io/redirect/class-filter/]*17:33:49*  at hudson.remoting.ClassFilter.check(ClassFilter.java:76)*17:33:49*  at hudson.remoting.MultiClassLoaderSerializer$Input.resolveClass(MultiClassLoaderSerializer.java:129)*17:33:49*  at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)*17:33:49*  at java.io.ObjectInputStream.readClassDesc(Unknown Source)*17:33:49*  at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)*17:33:49*  at java.io.ObjectInputStream.readObject0(Unknown Source)*17:33:49*  at java.io.ObjectInputStream.defaultReadFields(Unknown Source)*17:33:49*  at java.io.ObjectInputStream.readSerialData(Unknown Source)*17:33:49*  at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)*17:33:49*  at java.io.ObjectInputStream.readObject0(Unknown Source)*17:33:49*  at java.io.ObjectInputStream.defaultReadFields(Unknown Source)*17:33:49*  at java.io.ObjectInputStream.defaultReadObject(Unknown Source)*17:33:49*  at java.lang.Throwable.readObject(Unknown Source)*17:33:49*  at sun.reflect.GeneratedMethodAccessor157.invoke(Unknown Source)*17:33:49*  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)*17:33:49*  at java.lang.reflect.Method.invoke(Unknown Source)*17:33:49*  at java.io.ObjectStreamClass.invokeReadObject(Unknown Source)*17:33:49*  at java.io.ObjectInputStream.readSerialData(Unknown Source)*17:33:49*  at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)*17:33:49*  at java.io.ObjectInputStream.readObject0(Unknown Source)*17:33:49*  at java.io.ObjectInputStream.defaultReadFields(Unknown Source)*17:33:49*  at java.io.ObjectInputStream.defaultReadObject(Unknown Source)*17:33:49*  at java.lang.Throwable.readObject(Unknown Source)*17:33:49*  at sun.reflect.GeneratedMethodAccessor157.invoke(Unknown Source)*17:33:49*  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)*17:33:49*  at java.lang.reflect.Method.invoke(Unknown Source)*17:33:49*  at java.io.ObjectStreamClass.invokeReadObject(Unknown Source)*17:33:49*  at java.io.ObjectInputStream.readSerialData(Unknown Source)*17:33:49*  at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)*17:33:49*  at java.io.ObjectInputStream.readObject0(Unknown Source)*17:33:49*  at java.io.ObjectInputStream.defaultReadFields(Unknown 

[JIRA] (JENKINS-51556) xUnit JEP-200 incompatibility

2018-05-27 Thread jason.gibb...@misys.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jason Gibbons updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-51556  
 
 
  xUnit JEP-200 incompatibility   
 

  
 
 
 
 

 
 After some brief investigation, please find attached two xml files produced by our tests using the Gherkin framework.  The one with  extension .works is parse without a problem by the plugin, the one with JEP-200error extension fails.    
 

  
 
 
 
 

 
Change By: 
 Jason Gibbons  
 
 
Attachment: 
 TestResult.xml.works  
 
 
Attachment: 
 TestResult.xml.JEP200error  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins 

[JIRA] (JENKINS-51556) xUnit JEP-200 incompatibility

2018-05-27 Thread jason.gibb...@misys.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jason Gibbons created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-51556  
 
 
  xUnit JEP-200 incompatibility   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Nikolas Falco  
 
 
Components: 
 xunit-plugin  
 
 
Created: 
 2018-05-27 15:48  
 
 
Environment: 
 Jenkins v 2.107.3 running on Windows server 2012 R2 standard  
 
 
Labels: 
 JEP-200  
 
 
Priority: 
  Critical  
 
 
Reporter: 
 Jason Gibbons  
 

  
 
 
 
 

 
 xUnit plugin will not parse Gherkin xml output because of JEP-200 issue 17:33:49 [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)'.17:33:49 [xUnit] [ERROR] - Conversion error Error to convert the input XML document*17:33:49* ERROR: Step 'Publish xUnit test result report' aborted due to exception: 17:33:49 java.lang.SecurityException: Rejected: net.sf.saxon.expr.CardinalityChecker; see  https://jenkins.io/redirect/class-filter/ 17:33:49 at hudson.remoting.ClassFilter.check(ClassFilter.java:76)17:33:49 at hudson.remoting.MultiClassLoaderSerializer$Input.resolveClass(MultiClassLoaderSerializer.java:129)17:33:49 at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)17:33:49 at java.io.ObjectInputStream.readClassDesc(Unknown Source)17:33:49 at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)17:33:49 at java.io.ObjectInputStream.readObject0(Unknown Source)17:33:49 at java.io.ObjectInputStream.defaultReadFields(Unknown Source)17:33:49 at java.io.ObjectInputStream.readSerialData(Unknown Source)17:33:49 at