Hi!
We regularly get this error: Failed to read test report file /builds/workspace/roassal2/Roassal2GT-Test.xml org.dom4j.DocumentException: Error on line 27 of document file:///builds/workspace/roassal2/Roassal2GT-Test.xml : XML document structures must start and end within the same entity. Nested exception: XML document structures must start and end within the same entity. at org.dom4j.io.SAXReader.read(SAXReader.java:482) at org.dom4j.io.SAXReader.read(SAXReader.java:264) at hudson.tasks.junit.SuiteResult.parse(SuiteResult.java:123) at hudson.tasks.junit.TestResult.parse(TestResult.java:286) at hudson.tasks.junit.TestResult.parsePossiblyEmpty(TestResult.java:232) at hudson.tasks.junit.TestResult.parse(TestResult.java:167) at hudson.tasks.junit.TestResult.parse(TestResult.java:150) at hudson.tasks.junit.TestResult.<init>(TestResult.java:126) at hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:132) at hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:107) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2691) at hudson.remoting.UserRequest.perform(UserRequest.java:120) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) Any idea why? Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. |
Hi Alex,
Could you provide the link to the job providing this output? Le 26 févr. 2016 à 09:57, Alexandre Bergel a écrit : > Hi! > > We regularly get this error: > > Failed to read test report file /builds/workspace/roassal2/Roassal2GT-Test.xml > org.dom4j.DocumentException: Error on line 27 of document file:///builds/workspace/roassal2/Roassal2GT-Test.xml : XML document structures must start and end within the same entity. Nested exception: XML document structures must start and end within the same entity. > at org.dom4j.io.SAXReader.read(SAXReader.java:482) > at org.dom4j.io.SAXReader.read(SAXReader.java:264) > at hudson.tasks.junit.SuiteResult.parse(SuiteResult.java:123) > at hudson.tasks.junit.TestResult.parse(TestResult.java:286) > at hudson.tasks.junit.TestResult.parsePossiblyEmpty(TestResult.java:232) > at hudson.tasks.junit.TestResult.parse(TestResult.java:167) > at hudson.tasks.junit.TestResult.parse(TestResult.java:150) > at hudson.tasks.junit.TestResult.<init>(TestResult.java:126) > at hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:132) > at hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:107) > at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2691) > at hudson.remoting.UserRequest.perform(UserRequest.java:120) > at hudson.remoting.UserRequest.perform(UserRequest.java:48) > at hudson.remoting.Request$2.run(Request.java:326) > > Any idea why? > > Alexandre > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > Alexandre Bergel http://www.bergel.eu > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > > |
It is because image crashed without saving logs. More likely slave used to build has no cairo installed. Cheers, Alex On Fri, Feb 26, 2016 at 2:47 PM, Christophe Demarey <[hidden email]> wrote: Hi Alex, |
In reply to this post by demarey
Hi Chris, On Fri, Feb 26, 2016 at 2:47 PM, Christophe Demarey <[hidden email]> wrote: Hi Alex, |
In reply to this post by Aliaksei Syrel
Thanks for the link.
The ugly java stack trace is because the junit result publisher jenkins plugin tries to parse a file that is not well generated. It happens when the image crashes during tests: the xml output does not contain end tags. As Aliaksei sait, probably dut to the cairo lib missing. I will check. Le 26 févr. 2016 à 15:14, Aliaksei Syrel a écrit :
|
For this job, the image crashes because of an OutOfMemory as you can check here: https://ci.inria.fr/moose/job/roassal2/2253/console
Le 26 févr. 2016 à 16:01, Christophe Demarey a écrit :
|
How that could be… All the tests are okay on my machine
Alexandre > On Feb 26, 2016, at 4:03 PM, Christophe Demarey <[hidden email]> wrote: > > For this job, the image crashes because of an OutOfMemory as you can check here: https://ci.inria.fr/moose/job/roassal2/2253/console > > Le 26 févr. 2016 à 16:01, Christophe Demarey a écrit : > >> Thanks for the link. >> >> The ugly java stack trace is because the junit result publisher jenkins plugin tries to parse a file that is not well generated. >> It happens when the image crashes during tests: the xml output does not contain end tags. >> As Aliaksei sait, probably dut to the cairo lib missing. I will check. >> >> >> Le 26 févr. 2016 à 15:14, Aliaksei Syrel a écrit : >> >>> It is because image crashed without saving logs. More likely slave used to build has no cairo installed. >>> >>> Cheers, >>> Alex >>> >>> On Fri, Feb 26, 2016 at 2:47 PM, Christophe Demarey <[hidden email]> wrote: >>> Hi Alex, >>> >>> Could you provide the link to the job providing this output? >>> >>> Le 26 févr. 2016 à 09:57, Alexandre Bergel a écrit : >>> >>> > Hi! >>> > >>> > We regularly get this error: >>> > >>> > Failed to read test report file /builds/workspace/roassal2/Roassal2GT-Test.xml >>> > org.dom4j.DocumentException: Error on line 27 of document file:///builds/workspace/roassal2/Roassal2GT-Test.xml : XML document structures must start and end within the same entity. Nested exception: XML document structures must start and end within the same entity. >>> > at org.dom4j.io.SAXReader.read(SAXReader.java:482) >>> > at org.dom4j.io.SAXReader.read(SAXReader.java:264) >>> > at hudson.tasks.junit.SuiteResult.parse(SuiteResult.java:123) >>> > at hudson.tasks.junit.TestResult.parse(TestResult.java:286) >>> > at hudson.tasks.junit.TestResult.parsePossiblyEmpty(TestResult.java:232) >>> > at hudson.tasks.junit.TestResult.parse(TestResult.java:167) >>> > at hudson.tasks.junit.TestResult.parse(TestResult.java:150) >>> > at hudson.tasks.junit.TestResult.<init>(TestResult.java:126) >>> > at hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:132) >>> > at hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:107) >>> > at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2691) >>> > at hudson.remoting.UserRequest.perform(UserRequest.java:120) >>> > at hudson.remoting.UserRequest.perform(UserRequest.java:48) >>> > at hudson.remoting.Request$2.run(Request.java:326) >>> > >>> > Any idea why? >>> > >>> > Alexandre >>> > -- >>> > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: >>> > Alexandre Bergel http://www.bergel.eu >>> > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. >>> > >>> > >>> > >>> > >>> >>> >>> >> > -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. |
Free forum by Nabble | Edit this page |