ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Buildfarm pull request test fails without its reason indicated

asked 2017-05-30 18:55:26 -0600

130s gravatar image

A pull request test (for this PR) keeps failing on buildfarm. Looking at its full log I can't find the reason -- tests seem to be passing. I appreciate if someone could take a look at the full log and spot the cause of the error (once this question is resolved I'll update the question title to describe better).

One thing I have no idea is the section at the very end of the job, 15. Clean up to save disk space on slaves where some errors are recorded that look like from Jenkins.

16:00:01 [xUnit] [ERROR] - Conversion error Error to convert - A file not found
16:00:01 ERROR: Step ‘Publish xUnit test result report’ aborted due to exception: 
16:00:01 org.xml.sax.SAXParseException; lineNumber: 2; columnNumber: 1; Premature end of file.
edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2017-06-13 18:44:56 -0600

tfoote gravatar image

It appears to have crashed while trying to parse the xunit test results. From the error they're likely truncated at line 2.

I browsed the workspace and found:

image description

It appears that those 39B files looks like this:

<?xml version="1.0" encoding="utf-8"?>

Which is not valid xunit. Possibly those unit tests are crashing before they finish writing the output?

edit flag offensive delete link more


Sounds like you're right. I found there are errors happening while testcase still moved on despite them (tracking here).

130s gravatar image 130s  ( 2017-06-14 16:54:02 -0600 )edit

Question Tools



Asked: 2017-05-30 18:55:26 -0600

Seen: 219 times

Last updated: Jun 13 '17