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

WARNING: hudson.model.FreeStyleProject@9a4e77f[...] did not contain ... #584 to begin with

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • core
    • Fedora release 20 (Heisenbug) x86_64
      OpenJDK Runtime Environment 1.7.0_71-mockbuild_2014_10_15_17_02-b00
      Jenkins ver. 1.591

      Since the latest update the server log contains the following warnings for various jobs.

      WARNING: hudson.model.FreeStyleProject@9a4e77f[projectX] did not contain projectX #584 to begin with
      

          [JENKINS-25788] WARNING: hudson.model.FreeStyleProject@9a4e77f[...] did not contain ... #584 to begin with

          Steffen Sledz added a comment -

          Steffen Sledz added a comment - see also https://github.com/jenkinsci/jenkins/pull/1440

          Steffen Sledz added a comment -

          It seems that this is related to an incomplete Last Changes list.

          Steffen Sledz added a comment - It seems that this is related to an incomplete Last Changes list.

          Daniel Beck added a comment -

          It seems that this is related to an incomplete Last Changes list.

          What do you mean?


          This occurs both for deleting single builds manually, as well as builds removed by log rotation.

          Daniel Beck added a comment - It seems that this is related to an incomplete Last Changes list. What do you mean? This occurs both for deleting single builds manually, as well as builds removed by log rotation.

          Steffen Sledz added a comment -

          In jobs where this warning occurs the displayed Last Changes list does contain items for older builds only. The most recent changes are missing.

          Steffen Sledz added a comment - In jobs where this warning occurs the displayed Last Changes list does contain items for older builds only. The most recent changes are missing.

          Jesse Glick added a comment -

          I think JENKINS-22395 caused BuildReference.clear to be called, and thus unwrap(old) in AbstractLazyLoadRunMap.removeValue is unconditionally null.

          Jesse Glick added a comment - I think JENKINS-22395 caused BuildReference.clear to be called, and thus unwrap(old) in AbstractLazyLoadRunMap.removeValue is unconditionally null.

          Jesse Glick added a comment -

          Fixing in ce94579c50621990517c86120236ee9a1d0490da. (JIRA link daemon dead.)

          Jesse Glick added a comment - Fixing in ce94579c50621990517c86120236ee9a1d0490da. (JIRA link daemon dead.)

          dogfood added a comment -

          Integrated in jenkins_main_trunk #3861
          [FIXED JENKINS-25788] RunMap.remove was always returning false, even when the Run was in fact removed. (Revision ce94579c50621990517c86120236ee9a1d0490da)

          Result = SUCCESS
          Jesse Glick : ce94579c50621990517c86120236ee9a1d0490da
          Files :

          • test/src/test/java/hudson/model/RunMapTest.java
          • core/src/main/java/jenkins/model/lazy/AbstractLazyLoadRunMap.java
          • changelog.html

          dogfood added a comment - Integrated in jenkins_main_trunk #3861 [FIXED JENKINS-25788] RunMap.remove was always returning false, even when the Run was in fact removed. (Revision ce94579c50621990517c86120236ee9a1d0490da) Result = SUCCESS Jesse Glick : ce94579c50621990517c86120236ee9a1d0490da Files : test/src/test/java/hudson/model/RunMapTest.java core/src/main/java/jenkins/model/lazy/AbstractLazyLoadRunMap.java changelog.html

          Code changed in jenkins
          User: Jesse Glick
          Path:
          changelog.html
          core/src/main/java/jenkins/model/lazy/AbstractLazyLoadRunMap.java
          test/src/test/java/hudson/model/RunMapTest.java
          http://jenkins-ci.org/commit/jenkins/ce94579c50621990517c86120236ee9a1d0490da
          Log:
          [FIXED JENKINS-25788] RunMap.remove was always returning false, even when the Run was in fact removed.

          Compare: https://github.com/jenkinsci/jenkins/compare/cce358bf39df...ce94579c5062

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: changelog.html core/src/main/java/jenkins/model/lazy/AbstractLazyLoadRunMap.java test/src/test/java/hudson/model/RunMapTest.java http://jenkins-ci.org/commit/jenkins/ce94579c50621990517c86120236ee9a1d0490da Log: [FIXED JENKINS-25788] RunMap.remove was always returning false, even when the Run was in fact removed. Compare: https://github.com/jenkinsci/jenkins/compare/cce358bf39df...ce94579c5062

          Code changed in jenkins
          User: Jesse Glick
          Path:
          core/src/main/java/jenkins/model/lazy/AbstractLazyLoadRunMap.java
          test/src/test/java/hudson/model/RunMapTest.java
          http://jenkins-ci.org/commit/jenkins/14d676bb15dbf8ddc3208bd8a80033e831756d49
          Log:
          [FIXED JENKINS-25788] RunMap.remove was always returning false, even when the Run was in fact removed.
          (cherry picked from commit ce94579c50621990517c86120236ee9a1d0490da)

          Conflicts:
          changelog.html

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: core/src/main/java/jenkins/model/lazy/AbstractLazyLoadRunMap.java test/src/test/java/hudson/model/RunMapTest.java http://jenkins-ci.org/commit/jenkins/14d676bb15dbf8ddc3208bd8a80033e831756d49 Log: [FIXED JENKINS-25788] RunMap.remove was always returning false, even when the Run was in fact removed. (cherry picked from commit ce94579c50621990517c86120236ee9a1d0490da) Conflicts: changelog.html

          dogfood added a comment -

          Integrated in jenkins_main_trunk #4292
          [FIXED JENKINS-25788] RunMap.remove was always returning false, even when the Run was in fact removed. (Revision 14d676bb15dbf8ddc3208bd8a80033e831756d49)

          Result = UNSTABLE
          ogondza : 14d676bb15dbf8ddc3208bd8a80033e831756d49
          Files :

          • test/src/test/java/hudson/model/RunMapTest.java
          • core/src/main/java/jenkins/model/lazy/AbstractLazyLoadRunMap.java

          dogfood added a comment - Integrated in jenkins_main_trunk #4292 [FIXED JENKINS-25788] RunMap.remove was always returning false, even when the Run was in fact removed. (Revision 14d676bb15dbf8ddc3208bd8a80033e831756d49) Result = UNSTABLE ogondza : 14d676bb15dbf8ddc3208bd8a80033e831756d49 Files : test/src/test/java/hudson/model/RunMapTest.java core/src/main/java/jenkins/model/lazy/AbstractLazyLoadRunMap.java

            jglick Jesse Glick
            sledz Steffen Sledz
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: