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

Jobs incorrectly reported as failed after Hudson (1.237) restart

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • ci-game-plugin
    • None
    • Platform: Other, OS: Linux

      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)

          [JENKINS-2218] Jobs incorrectly reported as failed after Hudson (1.237) restart

          redsolo added a comment -

          Confirmed

          redsolo added a comment - Confirmed

          uncletall added a comment -

          On top of that, the exception causes the build.xml not to be added to the build
          folder. When hudson restarts the build is not found and is left behind as a
          ghost folder.

          uncletall added a comment - On top of that, the exception causes the build.xml not to be added to the build folder. When hudson restarts the build is not found and is left behind as a ghost folder.

          uncletall added a comment -

          adding myself to cc list

          uncletall added a comment - adding myself to cc list

          redsolo added a comment -

          Could you please supply your hudson version and what plugins (and their
          version) you are using.

          Then if you could try the 1.7 snapshot at hudson.Ramfelt.se (special job ci-
          game 1.7)

          redsolo added a comment - Could you please supply your hudson version and what plugins (and their version) you are using. Then if you could try the 1.7 snapshot at hudson.Ramfelt.se (special job ci- game 1.7)

          uncletall added a comment -

          I am using:
          hudson 1.245
          checkstyle: 1.9
          ci-game: 1.6
          emma: 1.8
          findbugs: 2.11
          pmd: 1.9
          tasks: 2.11
          trac: 1.7

          Will try snapshot you mentioned

          uncletall added a comment - I am using: hudson 1.245 checkstyle: 1.9 ci-game: 1.6 emma: 1.8 findbugs: 2.11 pmd: 1.9 tasks: 2.11 trac: 1.7 Will try snapshot you mentioned

          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

          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

          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

          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

          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.

          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.

          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

          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

          redsolo added a comment -

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

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

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

              Created:
              Updated:
              Resolved: