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

Core 1.520 breaks nodeofflinenotification plugin

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • None
    • Jenkins 1.520
      Node Offline Notification Plugin 1.0.3

      Update core 1.517 --> 1.520 appears to break this plugin.

      From /log/all

      Jun 28, 2013 1:51:08 PM jenkins.InitReactorRunner$1 onTaskFailed
      SEVERE: Failed Loading plugin nodeofflinenotification
      hudson.util.IOException2: Failed to initialize
      	at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:379)
      	at hudson.PluginManager$2$1$1.run(PluginManager.java:334)
      	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$7.runTask(Jenkins.java:893)
      	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:619)
      Caused by: java.lang.Exception: unable to locate gem bundle for nodeofflinenotification at /localdev/bl/jenkins/plugins/nodeofflinenotification/WEB-INF/classes/vendor/gems
      	at ruby.RubyPlugin.initRubyLoadPaths(RubyPlugin.java:202)
      	at ruby.RubyPlugin.start(RubyPlugin.java:158)
      	at hudson.ClassicPluginStrategy.startPlugin(ClassicPluginStrategy.java:387)
      	at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:376)
      	... 9 more
      

      More info: indeed the path

      /localdev/bl/jenkins/plugins/nodeofflinenotification/WEB-INF/classes/vendor/gems

      does not exist.

      These are the only files in the plugin directory:

      % find /localdev/bl/jenkins/plugins/nodeofflinenotification
      /localdev/bl/jenkins/plugins/nodeofflinenotification
      /localdev/bl/jenkins/plugins/nodeofflinenotification/WEB-INF
      /localdev/bl/jenkins/plugins/nodeofflinenotification/WEB-INF/lib
      /localdev/bl/jenkins/plugins/nodeofflinenotification/WEB-INF/lib/classes.jar
      /localdev/bl/jenkins/plugins/nodeofflinenotification/.timestamp2
      /localdev/bl/jenkins/plugins/nodeofflinenotification/META-INF
      /localdev/bl/jenkins/plugins/nodeofflinenotification/META-INF/MANIFEST.MF
      

      The required classes appear to exist inside the JAR-file:

      % jar -tf /localdev/bl/jenkins/plugins/nodeofflinenotification/WEB-INF/lib/classes.jar
      email_node_property/config.erb
      models/emailnodeproperty.rb
      models/java_emailcomputerlistener.rb
      models/src/emailcomputerlistener.rb
      models/src/java_wrapper.rb
      vendor/bundle/config
      vendor/gems/bundler/gems/jenkins-plugin-runtime-39cc789729c0/Gemfile
      vendor/gems/bundler/gems/jenkins-plugin-runtime-39cc789729c0/README.md
      ...
      

            Unassigned Unassigned
            bgolding Ben Golding
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: