Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-13727

FileNotFoundException "Can't stat file" with slave projects

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • ivy-plugin
    • Jenkins war running in Tomcat 6.0.29 on RHEL.
      Jenkins ver: 1.463
      Ivy Plugin: 1.21

      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)

            tbingaman Timothy Bingaman
            josht Joshua Tharp
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: