java.io.FileNotFoundException: Can't stat file /home/hudson/hudson/jobs/testutils/workspace/ivy.xml

Jenkins JIRA | Joshua Tharp | 5 years ago
  1. 0

    I run a build cluster with most of my build jobs occurring on Jenkins Slaves. I have the SVN local module directory set to ".". I get these stack traces in the log. On the build master there is an ivy.xml file at /home/hudson/hudson/jobs/testutils/ivy.xml, but not one at /home/hudson/hudson/jobs/testutils/workspace/ivy.xml as the error indicates. May 9, 2012 12:38:39 PM hudson.ivy.IvyMessageImpl log INFO: :: loading settings :: url = jar:file:/home/hudson/hudson/plugins/ivy/WEB- INF/lib/ivy-2.2.0.jar!/org/apache/ivy/core/settings/ivysettings.xml May 9, 2012 12:38:39 PM hudson.ivy.IvyBuildTrigger getIvy INFO: Configured Ivy using default 2.1 settings May 9, 2012 12:38:39 PM hudson.ivy.IvyBuildTrigger recomputeModuleDescriptor WARNING: Failed to access the workspace ivy file 'ivy.xml' java.io.FileNotFoundException: Can't stat file /home/hudson/hudson/jobs/testutils/workspace/ivy.xml at hudson.ivy.IvyBuildTrigger.copyFileFromWorkspaceIfNecessary(IvyBuildTrigger.java:289) at hudson.ivy.IvyBuildTrigger.recomputeModuleDescriptor(IvyBuildTrigger.java:352) at hudson.ivy.IvyBuildTrigger.getModuleDescriptor(IvyBuildTrigger.java:264) at hudson.ivy.IvyBuildTrigger.buildDependencyGraph(IvyBuildTrigger.java:449) at hudson.util.DescribableList.buildDependencyGraph(DescribableList.java:194) at hudson.model.Project.buildDependencyGraph(Project.java:174) at hudson.model.DependencyGraph.build(DependencyGraph.java:91) at jenkins.model.Jenkins.rebuildDependencyGraph(Jenkins.java:3420) at hudson.model.AbstractItem.delete(AbstractItem.java:515) at hudson.model.AbstractProject.doDoDelete(AbstractProject.java:1678) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    Jenkins JIRA | 5 years ago | Joshua Tharp
    java.io.FileNotFoundException: Can't stat file /home/hudson/hudson/jobs/testutils/workspace/ivy.xml
  2. 0

    I run a build cluster with most of my build jobs occurring on Jenkins Slaves. I have the SVN local module directory set to ".". I get these stack traces in the log. On the build master there is an ivy.xml file at /home/hudson/hudson/jobs/testutils/ivy.xml, but not one at /home/hudson/hudson/jobs/testutils/workspace/ivy.xml as the error indicates. May 9, 2012 12:38:39 PM hudson.ivy.IvyMessageImpl log INFO: :: loading settings :: url = jar:file:/home/hudson/hudson/plugins/ivy/WEB- INF/lib/ivy-2.2.0.jar!/org/apache/ivy/core/settings/ivysettings.xml May 9, 2012 12:38:39 PM hudson.ivy.IvyBuildTrigger getIvy INFO: Configured Ivy using default 2.1 settings May 9, 2012 12:38:39 PM hudson.ivy.IvyBuildTrigger recomputeModuleDescriptor WARNING: Failed to access the workspace ivy file 'ivy.xml' java.io.FileNotFoundException: Can't stat file /home/hudson/hudson/jobs/testutils/workspace/ivy.xml at hudson.ivy.IvyBuildTrigger.copyFileFromWorkspaceIfNecessary(IvyBuildTrigger.java:289) at hudson.ivy.IvyBuildTrigger.recomputeModuleDescriptor(IvyBuildTrigger.java:352) at hudson.ivy.IvyBuildTrigger.getModuleDescriptor(IvyBuildTrigger.java:264) at hudson.ivy.IvyBuildTrigger.buildDependencyGraph(IvyBuildTrigger.java:449) at hudson.util.DescribableList.buildDependencyGraph(DescribableList.java:194) at hudson.model.Project.buildDependencyGraph(Project.java:174) at hudson.model.DependencyGraph.build(DependencyGraph.java:91) at jenkins.model.Jenkins.rebuildDependencyGraph(Jenkins.java:3420) at hudson.model.AbstractItem.delete(AbstractItem.java:515) at hudson.model.AbstractProject.doDoDelete(AbstractProject.java:1678) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    Jenkins JIRA | 5 years ago | Joshua Tharp
    java.io.FileNotFoundException: Can't stat file /home/hudson/hudson/jobs/testutils/workspace/ivy.xml
  3. 0

    I checked and the pylint result file is located at alfa/test/pylint.txt and I configured the Violations Plugin to use **/alfa/test/pylint.txt as pyling xml file. When you run the job it will fail with the error below. I have to mention that "ZenALF.py" is a file from the root of the workspace, but really don't know how the violations plugin managed to create this horrible path, that looks like a concatenation of at least 3 different things. ERROR: Publisher hudson.plugins.violations.ViolationsPublisher aborted due to exception java.io.FileNotFoundException: C:\.hudson\jobs\alf-ps\builds\2010-09-10_19-28-30\violations\file\C:\.hudson\jobs\alf-ps\workspace\ZenALF.py.xml (The filename, directory name, or volume label syntax is incorrect) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:179) at java.io.FileOutputStream.<init>(FileOutputStream.java:131) at hudson.FilePath.write(FilePath.java:1241) at hudson.plugins.violations.generate.ExecuteFilePath.execute(ExecuteFilePath.java:40) at hudson.plugins.violations.generate.GenerateXML.execute(GenerateXML.java:47) at hudson.plugins.violations.ViolationsCollector.invoke(ViolationsCollector.java:124) at hudson.plugins.violations.ViolationsCollector.invoke(ViolationsCollector.java:27) at hudson.FilePath.act(FilePath.java:753) at hudson.FilePath.act(FilePath.java:735) at hudson.plugins.violations.ViolationsPublisher.perform(ViolationsPublisher.java:74) 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:1276) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:124) Finished: FAILURE

    Jenkins JIRA | 6 years ago | Sorin Sbarnea
    java.io.FileNotFoundException: C:\.hudson\jobs\alf-ps\builds\2010-09-10_19-28-30\violations\file\C:\.hudson\jobs\alf-ps\workspace\ZenALF.py.xml (The filename, directory name, or volume label syntax is incorrect)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I have the same Problem as described in http://issues.jenkins-ci.org/browse/JENKINS-3529 My Exception is: ERROR: Publisher hudson.plugins.violations.ViolationsPublisher aborted due to exception java.io.FileNotFoundException: C:\hudson\jobs\Test .Net Project\builds\2010-04-23_13-33-16\violations\file\RegExSearch\C:\hudson\jobs\Test .Net Project\workspace\RegExSearch\RegExSearch\Program.cs.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.FilePath.write(FilePath.java:1235) at hudson.plugins.violations.generate.ExecuteFilePath.execute(ExecuteFilePath.java:40) at hudson.plugins.violations.generate.GenerateXML.execute(GenerateXML.java:47) at hudson.plugins.violations.ViolationsCollector.invoke(ViolationsCollector.java:124) at hudson.plugins.violations.ViolationsCollector.invoke(ViolationsCollector.java:27) at hudson.FilePath.act(FilePath.java:747) at hudson.FilePath.act(FilePath.java:729) at hudson.plugins.violations.ViolationsPublisher.perform(ViolationsPublisher.java:74) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:584) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:564) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:550) 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:1267) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:122)

    Jenkins JIRA | 7 years ago | broec
    java.io.FileNotFoundException: C:\hudson\jobs\Test .Net Project\builds\2010-04-23_13-33-16\violations\file\RegExSearch\C:\hudson\jobs\Test .Net Project\workspace\RegExSearch\RegExSearch\Program.cs.xml (The filename, directory name, or volume label syntax is incorrect)
  6. 0

    Jenkins users - doxygen-plugin: why does this plugin not start doygen?

    nabble.com | 1 year ago
    java.io.FileNotFoundException: D:\Programme\Hudson\.hudson\jobs\gateguardian\workspace\gateguardian-0.9.6\Doxygen.cfg (Das System kann die angegebene Datei nicht finden)

    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

      Can't stat file /home/hudson/hudson/jobs/testutils/workspace/ivy.xml

      at hudson.ivy.IvyBuildTrigger.copyFileFromWorkspaceIfNecessary()
    2. hudson.ivy
      IvyBuildTrigger.buildDependencyGraph
      1. hudson.ivy.IvyBuildTrigger.copyFileFromWorkspaceIfNecessary(IvyBuildTrigger.java:289)
      2. hudson.ivy.IvyBuildTrigger.recomputeModuleDescriptor(IvyBuildTrigger.java:352)
      3. hudson.ivy.IvyBuildTrigger.getModuleDescriptor(IvyBuildTrigger.java:264)
      4. hudson.ivy.IvyBuildTrigger.buildDependencyGraph(IvyBuildTrigger.java:449)
      4 frames
    3. Hudson
      DependencyGraph.build
      1. hudson.util.DescribableList.buildDependencyGraph(DescribableList.java:194)
      2. hudson.model.Project.buildDependencyGraph(Project.java:174)
      3. hudson.model.DependencyGraph.build(DependencyGraph.java:91)
      3 frames
    4. jenkins.model
      Jenkins.rebuildDependencyGraph
      1. jenkins.model.Jenkins.rebuildDependencyGraph(Jenkins.java:3420)
      1 frame
    5. Hudson
      AbstractProject.doDoDelete
      1. hudson.model.AbstractItem.delete(AbstractItem.java:515)
      2. hudson.model.AbstractProject.doDoDelete(AbstractProject.java:1678)
      2 frames
    6. Java RT
      NativeMethodAccessorImpl.invoke0
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      1 frame