[JIRA] Created: (HUDSON-7072) NUnit plugin throws java.io.FileNotFoundException

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[JIRA] Created: (HUDSON-7072) NUnit plugin throws java.io.FileNotFoundException

Hudson issues mailing list
NUnit plugin throws java.io.FileNotFoundException
-------------------------------------------------

                 Key: HUDSON-7072
                 URL: http://issues.hudson-ci.org/browse/HUDSON-7072
             Project: Hudson
          Issue Type: Bug
          Components: nunit
    Affects Versions: current
         Environment: Hudson ver. 1.368
NUnit ver. 2.5.2
NUnit Plugin ver. 0.10

Runtime Environment -
   OS Version: Microsoft Windows NT 5.1.2600 Service Pack 3
   CLR Version: 2.0.50727.3603 ( Net 2.0.50727.3603 )

            Reporter: funzel123
            Assignee: redsolo


I tried to test the nunit plugin by simply running the unit tests that are included in the NUnit v2.5.2 release. The TestResult.xml file is created appropriately in the workspace folder. Unfortunately the nunit plugin isn't able to publish the test results.


Command invoked as a build step:
================================
"C:\Program Files\NUnit 2.5.2\bin\net-2.0\nunit-console.exe" "C:\Program Files\NUnit 2.5.2\bin\net-2.0\NUnitTests.nunit"


Hudson log:
===========
[...]
Recording NUnit tests results
ERROR: Publisher hudson.plugins.nunit.NUnitPublisher aborted due to exception
java.io.FileNotFoundException: C:\Documents and Settings\user\.hudson\jobs\Run Unit Tests\workspace\temporary-junit-reports\TEST-NUnit.Core.Tests.Generic.DeduceTypeArgsFromArgs`2[[System.Double, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TestMyArgTypes.xml (The filename, directory name, or volume label syntax is incorrect)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(Unknown Source)
        at java.io.FileOutputStream.<init>(Unknown Source)
        at hudson.plugins.nunit.NUnitReportTransformer.splitJUnitFile(NUnitReportTransformer.java:108)
        at hudson.plugins.nunit.NUnitReportTransformer.transform(NUnitReportTransformer.java:71)
        at hudson.plugins.nunit.NUnitArchiver.invoke(NUnitArchiver.java:55)
        at hudson.plugins.nunit.NUnitArchiver.invoke(NUnitArchiver.java:26)
        at hudson.FilePath.act(FilePath.java:753)
        at hudson.FilePath.act(FilePath.java:735)
        at hudson.plugins.nunit.NUnitPublisher.perform(NUnitPublisher.java:102)
        at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
        at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601)
        at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:580)
        at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:558)
        at hudson.model.Build$RunnerImpl.post2(Build.java:158)
        at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528)
        at hudson.model.Run.run(Run.java:1280)
        at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
        at hudson.model.ResourceController.execute(ResourceController.java:88)
        at hudson.model.Executor.run(Executor.java:129)


--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]