org.jenkinsci.plugins.fstrigger.FSTriggerException: java.io.FileNotFoundException: /view/foo/vobs/bar/nasty/path.c (No such file or directory)

Jenkins JIRA | Greg Moncreaff | 5 years ago
  1. 0

    Due to SCM change polling not working (log error) on CC Dynamic views, I'm using the FS trigger instead. On startup, as Jenkins looks through jobs, see a few of these in the log SEVERE: Error on trigger startup java.io.FileNotFoundException: /view/foo/vobs/bar/nasty/path.c (No such file or directory) org.jenkinsci.plugins.fstrigger.FSTriggerException: java.io.FileNotFoundException: /view/foo/vobs/bar/nasty/path.c (No such file or directory) at org.jenkinsci.plugins.fstrigger.triggers.FolderContentTrigger.getFileInfo(FolderContentTrigger.java:213) at org.jenkinsci.plugins.fstrigger.triggers.FolderContentTrigger.getFileInfoMaster(FolderContentTrigger.java:146) at org.jenkinsci.plugins.fstrigger.triggers.FolderContentTrigger.getMd5Map(FolderContentTrigger.java:124) at org.jenkinsci.plugins.fstrigger.triggers.FolderContentTrigger.refreshMemoryInfo(FolderContentTrigger.java:100) at org.jenkinsci.plugins.fstrigger.triggers.FolderContentTrigger.start(FolderContentTrigger.java:340) at org.jenkinsci.plugins.fstrigger.triggers.FolderContentTrigger.start(FolderContentTrigger.java:30) at hudson.model.AbstractProject.onLoad(AbstractProject.java:266) at hudson.model.Project.onLoad(Project.java:88) at hudson.model.Items.load(Items.java:115) at jenkins.model.Jenkins$14.run(Jenkins.java:2346) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$5.runTask(Jenkins.java:797) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Is this a case where the FS trigger should just catch the FNF and log a complaint to its polling log? Also, should the FS triggered jobs fire as early as they do in Jenkins startup, or should Jenkins get far up enough to service the web before activating polling?

    Jenkins JIRA | 5 years ago | Greg Moncreaff
    org.jenkinsci.plugins.fstrigger.FSTriggerException: java.io.FileNotFoundException: /view/foo/vobs/bar/nasty/path.c (No such file or directory)
  2. 0

    Due to SCM change polling not working (log error) on CC Dynamic views, I'm using the FS trigger instead. On startup, as Jenkins looks through jobs, see a few of these in the log SEVERE: Error on trigger startup java.io.FileNotFoundException: /view/foo/vobs/bar/nasty/path.c (No such file or directory) org.jenkinsci.plugins.fstrigger.FSTriggerException: java.io.FileNotFoundException: /view/foo/vobs/bar/nasty/path.c (No such file or directory) at org.jenkinsci.plugins.fstrigger.triggers.FolderContentTrigger.getFileInfo(FolderContentTrigger.java:213) at org.jenkinsci.plugins.fstrigger.triggers.FolderContentTrigger.getFileInfoMaster(FolderContentTrigger.java:146) at org.jenkinsci.plugins.fstrigger.triggers.FolderContentTrigger.getMd5Map(FolderContentTrigger.java:124) at org.jenkinsci.plugins.fstrigger.triggers.FolderContentTrigger.refreshMemoryInfo(FolderContentTrigger.java:100) at org.jenkinsci.plugins.fstrigger.triggers.FolderContentTrigger.start(FolderContentTrigger.java:340) at org.jenkinsci.plugins.fstrigger.triggers.FolderContentTrigger.start(FolderContentTrigger.java:30) at hudson.model.AbstractProject.onLoad(AbstractProject.java:266) at hudson.model.Project.onLoad(Project.java:88) at hudson.model.Items.load(Items.java:115) at jenkins.model.Jenkins$14.run(Jenkins.java:2346) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$5.runTask(Jenkins.java:797) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Is this a case where the FS trigger should just catch the FNF and log a complaint to its polling log? Also, should the FS triggered jobs fire as early as they do in Jenkins startup, or should Jenkins get far up enough to service the web before activating polling?

    Jenkins JIRA | 5 years ago | Greg Moncreaff
    org.jenkinsci.plugins.fstrigger.FSTriggerException: java.io.FileNotFoundException: /view/foo/vobs/bar/nasty/path.c (No such file or directory)

    Root Cause Analysis

    1. org.jenkinsci.plugins.fstrigger.FSTriggerException

      java.io.FileNotFoundException: /view/foo/vobs/bar/nasty/path.c (No such file or directory)

      at org.jenkinsci.plugins.fstrigger.triggers.FolderContentTrigger.getFileInfo()
    2. org.jenkinsci.plugins
      FolderContentTrigger.start
      1. org.jenkinsci.plugins.fstrigger.triggers.FolderContentTrigger.getFileInfo(FolderContentTrigger.java:213)
      2. org.jenkinsci.plugins.fstrigger.triggers.FolderContentTrigger.getFileInfoMaster(FolderContentTrigger.java:146)
      3. org.jenkinsci.plugins.fstrigger.triggers.FolderContentTrigger.getMd5Map(FolderContentTrigger.java:124)
      4. org.jenkinsci.plugins.fstrigger.triggers.FolderContentTrigger.refreshMemoryInfo(FolderContentTrigger.java:100)
      5. org.jenkinsci.plugins.fstrigger.triggers.FolderContentTrigger.start(FolderContentTrigger.java:340)
      6. org.jenkinsci.plugins.fstrigger.triggers.FolderContentTrigger.start(FolderContentTrigger.java:30)
      6 frames
    3. Hudson
      Items.load
      1. hudson.model.AbstractProject.onLoad(AbstractProject.java:266)
      2. hudson.model.Project.onLoad(Project.java:88)
      3. hudson.model.Items.load(Items.java:115)
      3 frames
    4. jenkins.model
      Jenkins$14.run
      1. jenkins.model.Jenkins$14.run(Jenkins.java:2346)
      1 frame
    5. init
      Reactor.runTask
      1. org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146)
      2. org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259)
      2 frames
    6. jenkins.model
      Jenkins$5.runTask
      1. jenkins.model.Jenkins$5.runTask(Jenkins.java:797)
      1 frame
    7. init
      Reactor$Node.run
      1. org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187)
      2. org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94)
      2 frames
    8. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      3. java.lang.Thread.run(Thread.java:662)
      3 frames