[SWS-993] Numerous test failures when testing against Spring IO Platform Cairo Created: 26/Sep/17  Updated: 03/Oct/17  Resolved: 03/Oct/17

Status: Closed
Project: Spring Web Services
Component/s: None
Affects Version/s: 2.4.1
Fix Version/s: 2.4.1

Type: Bug Priority: Major
Reporter: Andy Wilkinson Assignee: Greg Turnquist
Resolution: Complete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Reference URL: https://build.spring.io/browse/PLATFORM-COM-JOB1-507/test


The current head of master has numerous failures when testing its compatibility against Spring IO Platform Cairo. Details of the test failures can be found here: https://build.spring.io/browse/PLATFORM-COM-JOB1-507/test. It should also be possible to reproduce them locally by running the following (modified as necessary to match your JDK installation):

./gradlew springIoCheck -PJDK8_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_141.jdk/Contents/Home -PplatformVersion=Cairo-BUILD-SNAPSHOT --continue

Comment by Greg Turnquist [ 26/Sep/17 ]

So far, it appears to be failing purely by upgrading to 8u141. When I run things against 8u131, it passes those checks just fine.

Comment by Andy Wilkinson [ 27/Sep/17 ]

I don't have 8u131 installed, but with 8u121 I see the same failures as with 8u141.

Comment by Andy Wilkinson [ 03/Oct/17 ]

Any news on this?

Comment by Greg Turnquist [ 03/Oct/17 ]

It appears to purely be an XML namespace issue which isn't even the scope of the breaking unit tests. I could change the expected test namespaces but I'd rather have XmlUnit instructed to ignore namespaces when asserting.

Comment by Greg Turnquist [ 03/Oct/17 ]

https://stackoverflow.com/questions/13358305/how-to-compare-two-xml-with-the-same-namespace-but-different-prefixes-using-java Appears like a solution.

Comment by Greg Turnquist [ 03/Oct/17 ]

Resolved by implementing XMLUnit "similar" check for impacted test cases.

Comment by Greg Turnquist [ 03/Oct/17 ]

Resolved via https://github.com/spring-projects/spring-ws/commit/049b86dd23cc078c7319e5c558cad1567808f265 and https://github.com/spring-projects/spring-ws/commit/208dda4635635406104fae576e332008a6cfd5c9

Generated at Sat Nov 17 15:11:53 UTC 2018 using JIRA 7.9.2#79002-sha1:3bb15b68ecd99a30eb364c4c1a393359bcad6278.