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

Jobs incorrectly reported as failed after Hudson (1.237) restart

    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

          gwalters gwalters created issue -
          Hide
          redsolo redsolo added a comment -

          Confirmed

          Show
          redsolo redsolo added a comment - Confirmed
          redsolo redsolo made changes -
          Field Original Value New Value
          Status Open [ 1 ] In Progress [ 3 ]
          Hide
          uncletall 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.

          Show
          uncletall 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.
          Hide
          uncletall uncletall added a comment -

          adding myself to cc list

          Show
          uncletall uncletall added a comment - adding myself to cc list
          Hide
          redsolo 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)

          Show
          redsolo 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)
          Hide
          uncletall 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

          Show
          uncletall 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
          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
          scm_issue_link SCM/JIRA link daemon made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          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.
          abayer Andrew Bayer made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 132291 ] JNJira + In-Review [ 201296 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: