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

Core 1.520 breaks nodeofflinenotification plugin

    • 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
      ...
      

          [JENKINS-18541] Core 1.520 breaks nodeofflinenotification plugin

          Ben Golding created issue -
          Ben Golding made changes -
          Description Original: Update core 1.517 --> 1.520 appears to break this plugin.

          Excerpt from /log/all below

          {code}
          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
          {code}
          New: Update core 1.517 --> 1.520 appears to break this plugin.

          From /log/all

          {code}
          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
          {code}

          More info: indeed the path {code}/localdev/bl/jenkins/plugins/nodeofflinenotification/WEB-INF/classes/vendor/gems{code} does not exist.

          These are the only files in the plugin directory:

          {code}
          % 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
          {code}

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

          {code}
          % 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
          ...
          {code}

          Ben Golding added a comment -

          Issue happens because core >= 1.519 and ruby-runtime do not get along. See JENKINS-18528

          Ben Golding added a comment - Issue happens because core >= 1.519 and ruby-runtime do not get along. See JENKINS-18528
          Ben Golding made changes -
          Link New: This issue duplicates JENKINS-18528 [ JENKINS-18528 ]

          Yuu Yamashita added a comment -

          JENKINS-18528 must be fixed in ruby-runtime 0.12. Please try ruby-runtime 0.12-SNAPSHOT if the problem has been fixed.

          https://github.com/jenkinsci/jenkins.rb/issues/91

          Yuu Yamashita added a comment - JENKINS-18528 must be fixed in ruby-runtime 0.12. Please try ruby-runtime 0.12-SNAPSHOT if the problem has been fixed. https://github.com/jenkinsci/jenkins.rb/issues/91

          Ben Golding added a comment -

          Resolved with update to:

          • Jenkins 1.522
          • Ruby Runtime 0.12

          Node Offline Notification Plugin still at 1.0.3
          Notification functionality was tested & working OK

          Ben Golding added a comment - Resolved with update to: Jenkins 1.522 Ruby Runtime 0.12 Node Offline Notification Plugin still at 1.0.3 Notification functionality was tested & working OK
          Ben Golding made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Ben Golding made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 149848 ] New: JNJira + In-Review [ 206755 ]

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

              Created:
              Updated:
              Resolved: