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)

Jenkins JIRA | funzel123 | 6 years ago
  1. 0

    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)

    Jenkins JIRA | 6 years ago | funzel123
    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)
  2. 0

    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)

    Jenkins JIRA | 6 years ago | funzel123
    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)
  3. 0

    Given this test class definition: {code} [TestFixture(typeof(UnicodeEncoding))] public class TestByteStringParser<T> where T : Encoding, new() { //... } {code} you will get the following error: {code} ERROR: Publisher hudson.plugins.nunit.NUnitPublisher aborted due to exception hudson.util.IOException2: remote file operation failed: c:\build\workspace\dotnet-vizrt-win32 at hudson.remoting.Channel@1cd1d94:bgohudsontest at hudson.FilePath.act(FilePath.java:690) at hudson.FilePath.act(FilePath.java:676) 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:582) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:563) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:550) at hudson.model.Build$RunnerImpl.post2(Build.java:152) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528) at hudson.model.Run.run(Run.java:1221) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:122) Caused by: java.io.FileNotFoundException: c:\build\workspace\dotnet-vizrt-win32\temporary-junit-reports\TEST-Vizrt.Utilities.Tests.TestByteStringParser<UnicodeEncoding>.TestMultipleStringsInOneBlock.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:105) at hudson.plugins.nunit.NUnitReportTransformer.transform(NUnitReportTransformer.java:69) at hudson.plugins.nunit.NUnitArchiver.invoke(NUnitArchiver.java:55) at hudson.plugins.nunit.NUnitArchiver.invoke(NUnitArchiver.java:26) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1962) at hudson.remoting.UserRequest.perform(UserRequest.java:114) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at hudson.remoting.Engine$1$1.run(Engine.java:58) at java.lang.Thread.run(Unknown Source) {code} The part to note here is that it tries to write to the filename "TEST-Vizrt.Utilities.Tests.TestByteStringParser<UnicodeEncoding>.TestMultipleStringsInOneBlock.xml" which contains illegal characters. I did a little bit of digging and it seems like the characters come from NUnitReportTransformer.java line 104 which uses element.getAttribute("name") as a part of the filename without sanitizing any illegal characters.

    Jenkins JIRA | 7 years ago | dagvl
    hudson.util.IOException2: remote file operation failed: c:\build\workspace\dotnet-vizrt-win32 at hudson.remoting.Channel@1cd1d94:bgohudsontest
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Erro ao startar tomcat pela IDE? - Front-end - GUJ

    com.br | 12 months ago
    java.io.FileNotFoundException: C:\Program Files\apache-tomcat-6.0.29\conf\Catalina\localhost\host-manager.xml (The system cannot find the path specified)
  6. 0

    FilenotFoundException @ 1.3.13-dev-b1077

    GitHub | 4 years ago | Elharter
    java.io.FileNotFoundException: .\world\mcmmo_data\92\59\0 (Das System kann den angegebenen Pfad nicht finden)

  1. tvrmsmith 1 times, last 1 week ago
  2. eti22 3 times, last 3 weeks ago
  3. tyson925 49 times, last 2 weeks ago
  4. MoYapro 1 times, last 1 month ago
  5. musketyr 3 times, last 1 month ago
24 more registered users
71 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. 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()
  2. Java RT
    FileOutputStream.<init>
    1. java.io.FileOutputStream.open(Native Method)
    2. java.io.FileOutputStream.<init>(Unknown Source)
    3. java.io.FileOutputStream.<init>(Unknown Source)
    3 frames
  3. hudson.plugins.nunit
    NUnitArchiver.invoke
    1. hudson.plugins.nunit.NUnitReportTransformer.splitJUnitFile(NUnitReportTransformer.java:108)
    2. hudson.plugins.nunit.NUnitReportTransformer.transform(NUnitReportTransformer.java:71)
    3. hudson.plugins.nunit.NUnitArchiver.invoke(NUnitArchiver.java:55)
    4. hudson.plugins.nunit.NUnitArchiver.invoke(NUnitArchiver.java:26)
    4 frames
  4. Hudson
    FilePath.act
    1. hudson.FilePath.act(FilePath.java:753)
    2. hudson.FilePath.act(FilePath.java:735)
    2 frames
  5. hudson.plugins.nunit
    NUnitPublisher.perform
    1. hudson.plugins.nunit.NUnitPublisher.perform(NUnitPublisher.java:102)
    1 frame
  6. Hudson
    Executor.run
    1. hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
    2. hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601)
    3. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:580)
    4. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:558)
    5. hudson.model.Build$RunnerImpl.post2(Build.java:158)
    6. hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528)
    7. hudson.model.Run.run(Run.java:1280)
    8. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
    9. hudson.model.ResourceController.execute(ResourceController.java:88)
    10. hudson.model.Executor.run(Executor.java:129)
    10 frames