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

updating Dependency Graph View Plugin to version 0.10 causes failures in reading Jenkins jobs

XMLWordPrintable

      I'm running Jenkins 1.492. Version 0.9 of the Dependency Graph View Plugin works fine but when I upgrade it to version 0.10 several jobs (AFAICS randomly) fail to load on Jenkins startup. In the log I noticed:

      Dec 9 12:32:15 jenkins jenkins: SEVERE: Failed Loading job foobar
      Dec 9 12:32:15 jenkins jenkins: hudson.util.IOException2: Unable to read /var/lib/jenkins/jobs/foobar/config.xml
      Dec 9 12:32:15 jenkins jenkins: #011at hudson.XmlFile.read(XmlFile.java:141)
      Dec 9 12:32:15 jenkins jenkins: #011at hudson.model.Items.load(Items.java:220)
      Dec 9 12:32:15 jenkins jenkins: #011at jenkins.model.Jenkins$17.run(Jenkins.java:2507)
      Dec 9 12:32:15 jenkins jenkins: #011at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146)
      Dec 9 12:32:15 jenkins jenkins: #011at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259)
      Dec 9 12:32:15 jenkins jenkins: #011at jenkins.model.Jenkins$7.runTask(Jenkins.java:883)
      Dec 9 12:32:15 jenkins jenkins: #011at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187)
      Dec 9 12:32:15 jenkins jenkins: #011at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94)
      Dec 9 12:32:15 jenkins jenkins: #011at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      Dec 9 12:32:15 jenkins jenkins: #011at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      Dec 9 12:32:15 jenkins jenkins: #011at java.lang.Thread.run(Thread.java:636)
      Dec 9 12:32:15 jenkins jenkins: Caused by: com.thoughtworks.xstream.converters.ConversionException: null : null
      Dec 9 12:32:15 jenkins jenkins: ---- Debugging information ----
      Dec 9 12:32:15 jenkins jenkins: cause-exception : java.util.ConcurrentModificationException
      Dec 9 12:32:15 jenkins jenkins: cause-message : null
      Dec 9 12:32:15 jenkins jenkins: class : hudson.model.FreeStyleProject
      Dec 9 12:32:15 jenkins jenkins: required-type : hudson.model.FreeStyleProject
      Dec 9 12:32:15 jenkins jenkins: path : /project/scm
      Dec 9 12:32:15 jenkins jenkins: line number : 25
      Dec 9 12:32:15 jenkins jenkins: -------------------------------
      [...]

      Seeing the line with TaskGraphBuilder I tried downgrading the plugin to the 0.9 version and all the jobs work fine again. Tried upgrading to 0.10 again and jobs start failing to load, so AFAICT the Dependency Graph View Plugin seem to be involved in the "Jenkins fails to load jobs" problem I'm stumbling upon.

      If you need any further information please let me know.

            wolfs Stefan Wolf
            mika Michael Prokop
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: