Hi,
since friday we have a problem with our Jenkins.
We have some projects which are tested by NUnit. This works and writes the
results into an XML file.
As a post-build step we have a "Publish NUnit test result report" and
that's what causes this error:
Recording NUnit tests results
ERROR: Step ‘Publish NUnit test result report’ aborted due to exception:
java.io.IOException: remote file operation failed:
C:\Jenkins\workspace\DbCopyTool at hudson.remoting.Channel@342c4238:CIAgent:
java.io.IOException: Failed to read
C:\Jenkins\workspace\DbCopyTool\temporary-junit-reports\TEST-DbCopyTool_Tests.TestsWithRealServers.TestWithTwoLocals_1_2.xml
at hudson.FilePath.act(FilePath.java:986)
at hudson.FilePath.act(FilePath.java:968)
at
hudson.plugins.nunit.NUnitPublisher.getTestResult(NUnitPublisher.java:226)
[...]
Caused by: java.io.IOException: Failed to read
C:\Jenkins\workspace\DbCopyTool\temporary-junit-reports\TEST-DbCopyTool_Tests.TestsWithRealServers.TestWithTwoLocals_1_2.xml
at hudson.tasks.junit.TestResult.parse(TestResult.java:306)
at hudson.tasks.junit.TestResult.parsePossiblyEmpty(TestResult.java:244)
at hudson.tasks.junit.TestResult.parse(TestResult.java:175)
[...]
... 13 more
Caused by: java.lang.NumberFormatException: empty String
at sun.misc.FloatingDecimal.readJavaFormatString(Unknown Source)
at sun.misc.FloatingDecimal.parseFloat(Unknown Source)
at java.lang.Float.parseFloat(Unknown Source)
[...]
Archiving artifacts
Finished: FAILURE
When looking into the agent's directory the file is present and can be opened.
But I mentioned that the first line of the XML is:
<?xml version="1.0" encoding="UTF-8"?><testsuite errors="0" failures="0"
name="DbCopyTool_Tests.TestsWithRealServers.TestWithTwoLocals" skipped="6"
tests="6" time="">
The time attribute is empty and I guess this is what causes the
NumberFormatException.
Does anybody know how to fix that or what is goint wrong?
Thanks!
--
You received this message because you are subscribed to the Google Groups
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-dev/6d4a2b3b-bad7-4f7f-a108-7d15b7d71abc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.