Error on test summary

When I try to add test output to my Test Summary I get this error:

“The following errors were encountered parsing test results:
xunit/output-test.xml. ParseError at [row,col]:[1,1] Message: Content is not allowed in prolog”.

Another info:

  • I am using xunit.
  • I see my xml output on Artifacts.


I’m getting the exact same error. I am using nunit with a xslt transformation of the test results to junit format.

Did you ever solve this problem?

i do have the same problem. Did any of you figure this one out?


Same problem here!

I don’t know what might be affecting everyone in particular here, but I had a similar problem with ruby/rspec. The problem was the command to run the tests was trying to output to a file. Normally, the tests would generate some kind of XML to a file for circle to read.

However, my tests were not just generating XML, but the ascii output that the test created, things like progress indicators, color codes, and meta information. Anyway, I fixed this for rspec by removing --format progress from my test command. Obviously this will be different for each testing program. I found this by running the same command that circle is running and inspecting the output. What you want is pure XML with nothing else around it.

1 Like