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

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

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: core
    • Environment:
      Fedora release 20 (Heisenbug) x86_64
      OpenJDK Runtime Environment 1.7.0_71-mockbuild_2014_10_15_17_02-b00
      Jenkins ver. 1.591
    • Similar Issues:

      Description

      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
      

        Attachments

          Issue Links

            Activity

            sledz Steffen Sledz created issue -
            Show
            sledz Steffen Sledz added a comment - see also https://github.com/jenkinsci/jenkins/pull/1440
            Hide
            sledz Steffen Sledz added a comment -

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

            Show
            sledz Steffen Sledz added a comment - It seems that this is related to an incomplete Last Changes list.
            Hide
            danielbeck 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.

            Show
            danielbeck 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.
            Hide
            sledz 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.

            Show
            sledz 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.
            jglick Jesse Glick made changes -
            Field Original Value New Value
            Assignee Jesse Glick [ jglick ]
            jglick Jesse Glick made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            Hide
            jglick 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.

            Show
            jglick 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.
            jglick Jesse Glick made changes -
            Link This issue is blocking JENKINS-22395 [ JENKINS-22395 ]
            jglick Jesse Glick made changes -
            Labels free-style warnings free-style lazy-loading regression warnings
            jglick Jesse Glick made changes -
            Labels free-style lazy-loading regression warnings lazy-loading regression
            jglick Jesse Glick made changes -
            Labels lazy-loading regression lazy-loading lts-candidate regression
            Hide
            jglick Jesse Glick added a comment -

            Fixing in ce94579c50621990517c86120236ee9a1d0490da. (JIRA link daemon dead.)

            Show
            jglick Jesse Glick added a comment - Fixing in ce94579c50621990517c86120236ee9a1d0490da. (JIRA link daemon dead.)
            jglick Jesse Glick made changes -
            Status In Progress [ 3 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            Hide
            dogfood 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
            Show
            dogfood 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
            Hide
            scm_issue_link 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

            Show
            scm_issue_link 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
            olivergondza Oliver Gond┼ża made changes -
            Labels lazy-loading lts-candidate regression 1.580.3-fixed lazy-loading regression
            Hide
            scm_issue_link 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

            Show
            scm_issue_link 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
            Hide
            dogfood 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
            Show
            dogfood 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
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 159767 ] JNJira + In-Review [ 196191 ]

              People

              • Assignee:
                jglick Jesse Glick
                Reporter:
                sledz Steffen Sledz
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: