Hi,
we have a Jenkins installation and some projects which are tested by NUnit.
This works fine and it writes an NUnit results XML file.
Then we have a '*Publish NUnit test result report*' post-build step. But
since friday it produces 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@205d5d5c: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
The XML file is present in the working directory. I mentioned that the first
line of this file looks like this:
<?xml version="1.0" encoding="UTF-8"?><testsuite errors="0" failures="0"
name="DbCopyTool_Tests.TestsWithRealServers.TestWithTwoLocals" skipped="6"
tests="6" time="">
So I guess it fails because the time attribe is empty.
Does anyone how I can fix this or why this error occurs?
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/df06d9bd-a038-4bdb-bedc-e8a5499c93e1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.