PosixException thrown while changing file mode

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      A user previously encountering JENKINS-14962 now reported an exception:

      hudson.os.PosixException: /…JENKINS_HOME…/jobs/…/builds/…/archive/…path… ENOENT 
      at hudson.os.PosixAPI$1.error(PosixAPI.java:43) 
      at org.jruby.ext.posix.LinuxPOSIX.stat(LinuxPOSIX.java:89) 
      at hudson.util.IOUtils.mode(IOUtils.java:125) 
      at hudson.FilePath$24.invoke(FilePath.java:1369) 
      at hudson.FilePath$24.invoke(FilePath.java:1367) 
      at hudson.FilePath.act(FilePath.java:851) 
      at hudson.FilePath.act(FilePath.java:824) 
      at hudson.FilePath.mode(FilePath.java:1367) 
      at hudson.plugins.copyartifact.FingerprintingCopyMethod.copyOne(FingerprintingCopyMethod.java:79) 
      at hudson.plugins.copyartifact.FingerprintingCopyMethod.copyAll(FingerprintingCopyMethod.java:64) 
      at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:243) 
      at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:215)
      

      Not clear what the cause is, since this call to FilePath.mode follows the actual copying of the file, which presumably succeeded. Nonetheless, can at least catch this exception and just log it, since changing file mode is not critical.

            Assignee:
            Jesse Glick
            Reporter:
            Jesse Glick
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: