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

Jobs incorrectly reported as failed after Hudson (1.237) restart

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: ci-game-plugin
    • Labels:
      None
    • Environment:
      Platform: Other, OS: Linux
    • Similar Issues:

      Description

      I have an installation of Hudson 1.237 with about 100 m2 type jobs. If I
      restart Hudson when all jobs are in a success state then after restart many of
      the jobs are reported as failed even though the console output indicates that
      the last build for each was successful. Jobs that have never failed are never
      misreported in this way, but a few jobs that have previously failed are not
      misreported.

      For each job that is misreported there is an exception in the log thrown by the
      ci-game plugin (1.6) after each build:

      Aug 13, 2008 10:46:16 AM hudson.model.Executor run
      SEVERE: Executor throw an exception unexpectedly
      java.lang.NoSuchMethodError:
      hudson.plugins.checkstyle.CheckStyleResultAction.getResult()Lhudson/plugins/checkstyle/util/model/AnnotationProvider;
      at
      hudson.plugins.cigame.rules.plugins.checkstyle.DefaultCheckstyleRule.evaluate(DefaultCheckstyleRule.java:34)
      at hudson.plugins.cigame.model.ScoreCard.record(ScoreCard.java:34)
      at hudson.plugins.cigame.model.ScoreCard.record(ScoreCard.java:51)
      at hudson.plugins.cigame.GamePublisher.perform(GamePublisher.java:45)
      at
      hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:309)
      at
      hudson.maven.MavenModuleSetBuild$RunnerImpl.cleanUp(MavenModuleSetBuild.java:471)
      at hudson.model.Run.run(Run.java:823)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:204)
      at hudson.model.ResourceController.execute(ResourceController.java:70)
      at hudson.model.Executor.run(Executor.java:88)

        Attachments

          Activity

          Hide
          uncletall uncletall added a comment -

          I have tested ci-game 1.7-SNAPSHOT (private-08/15/2008 12:28-hudson) and it
          fixed my problem! Thanks

          Show
          uncletall uncletall added a comment - I have tested ci-game 1.7-SNAPSHOT (private-08/15/2008 12:28-hudson) and it fixed my problem! Thanks
          Hide
          gwalters gwalters added a comment -

          I am using:
          hudson 1.247 (updated from 1.237 but no change in behaviour)
          ci-game 1.6
          checkstyle 1.9
          pmd 1.9
          findbugs 2.11
          warnings 1.7
          tasks 2.11
          jira 1.13
          batch-task 1.3

          Will also try your snapshot

          Show
          gwalters gwalters added a comment - I am using: hudson 1.247 (updated from 1.237 but no change in behaviour) ci-game 1.6 checkstyle 1.9 pmd 1.9 findbugs 2.11 warnings 1.7 tasks 2.11 jira 1.13 batch-task 1.3 Will also try your snapshot
          Hide
          gwalters gwalters added a comment -

          Yes, ci-game 1.7-SNAPSHOT (private-08/15/2008 12:28-hudson) fixes the problem
          for me too. Thanks very much for the quick response.

          Show
          gwalters gwalters added a comment - Yes, ci-game 1.7-SNAPSHOT (private-08/15/2008 12:28-hudson) fixes the problem for me too. Thanks very much for the quick response.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in hudson
          User: : redsolo
          Path:
          branches/redsolo/game/1.7/pom.xml
          http://fisheye4.cenqua.com/changelog/hudson/?cs=11520
          Log:
          [FIXED JENKINS-2218] Fixed NoSuchMethod error by re-compiling against latest plugin versions

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : redsolo Path: branches/redsolo/game/1.7/pom.xml http://fisheye4.cenqua.com/changelog/hudson/?cs=11520 Log: [FIXED JENKINS-2218] Fixed NoSuchMethod error by re-compiling against latest plugin versions
          Hide
          redsolo redsolo added a comment -

          Released as 1.7. Please note that it requires latest version of all plugins.

          Show
          redsolo redsolo added a comment - Released as 1.7. Please note that it requires latest version of all plugins.

            People

            • Assignee:
              redsolo redsolo
              Reporter:
              gwalters gwalters
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: