Comment 7 for bug 1201035

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to gearman-plugin (master)

Reviewed: https://review.openstack.org/37108
Committed: http://github.com/openstack-infra/gearman-plugin/commit/13b4b52968218290fc03282b2d095abb315c32b0
Submitter: Jenkins
Branch: master

commit 13b4b52968218290fc03282b2d095abb315c32b0
Author: zaro0508 <email address hidden>
Date: Mon Jul 15 11:27:12 2013 -0700

    ignore non-deterministic build failure and log it.

    maven builds intermittently fail due to something in the code.
    essentially its the same issue as in bug 1201035.

    This patch makes it so the build ignores the error and just logs
    it so that we can have a record of the error. Hopefully we
    can use logstash to query for a pattern to determine the
    root cause of this problem.

    The error on this build:
      java.lang.NullPointerException
          at hudson.plugins.gearman.ExecutorWorkerThread.registerJobs(ExecutorWorkerThread.java:150)
          at hudson.plugins.gearman.SaveableListenerImpl.onChange(SaveableListenerImpl.java:68)
          at hudson.model.listeners.SaveableListener.fireOnChange(SaveableListener.java:78)
          at hudson.model.AbstractItem.save(AbstractItem.java:474)
          at hudson.model.Job.save(Job.java:154)
          at hudson.model.AbstractProject.save(AbstractProject.java:273)
          at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.parsePoms(MavenModuleSetBuild.java:915)
          at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:622)
          at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:586)
          at hudson.model.Run.execute(Run.java:1575)
          at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:477)
          at hudson.model.ResourceController.execute(ResourceController.java:88)
          at hudson.model.Executor.run(Executor.java:241)

    Change-Id: I16fb0261312fe0aef55d2f2b6c83652333aed05a