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

Jenkins JIRA | Joshua Tharp | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  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

    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