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

Jenkins no longer records updates

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      It appears that Jenkins no longer records when it is upgraded, and every restart of ci.jenkins.io now logs something like

      2021-04-09 12:46:46.843+0000 [id=30]	INFO	hudson.PluginManager#loadDetachedPlugins: Upgrading Jenkins. The last running version was 2.263.4. This Jenkins is version 2.277.2.
      2021-04-09 12:46:46.922+0000 [id=30]	INFO	hudson.PluginManager#loadDetachedPlugins: Upgraded Jenkins from version 2.263.4 to version 2.277.2. Loaded detached plugins (and dependencies): [] 

      Probably the same cause as JENKINS-65149.

      This will cause previously uninstalled detached plugins to be installed again (in addition to the confusing log message).

        Attachments

          Issue Links

            Activity

            Hide
            rkivisto Ray Kivisto added a comment -

            I also can't reproduce when upgrading from Jenkins weekly 2.295 to 2.296, but I have not found what change seems to have fixed this. I would have expected someone added a new call to InstallUtil.saveLastExecVersion(), or some change to the setup wizard code to trigger the call here

            Show
            rkivisto Ray Kivisto added a comment - I also can't reproduce when upgrading from Jenkins weekly 2.295 to 2.296, but I have not found what change seems to have fixed this. I would have expected someone added a new call to InstallUtil.saveLastExecVersion() , or some change to the setup wizard code to trigger the call here
            Hide
            rkivisto Ray Kivisto added a comment -

            I think I found it, I believe this commit from PR 5290 fixed the issue, it's first release was Jenkins weekly 2.280:

            https://github.com/jenkinsci/jenkins/commit/60b7a7c3a4da77bb802757488183209652872803

            Show
            rkivisto Ray Kivisto added a comment - I think I found it, I believe this commit from PR 5290 fixed the issue, it's first release was Jenkins weekly 2.280: https://github.com/jenkinsci/jenkins/commit/60b7a7c3a4da77bb802757488183209652872803
            Show
            timja Tim Jacomb added a comment - See https://github.com/jenkinsci/jenkins/pull/5290#issuecomment-852361556
            Hide
            webminster Alan Sparks added a comment -

            I have tested upgrading from 2.277.4 to new LTS 2.289.1. I do NOT see this problem resolved:

            jenkins.log:
            2021-06-15 16:05:52.766+0000 [id=27] INFO hudson.PluginManager#loadDetachedPlugins: Upgrading Jenkins. The last running version was 2.277.4. This Jenkins is version 2.289.1.
            2021-06-15 16:05:54.865+0000 [id=27] INFO hudson.PluginManager#loadDetachedPlugins: Upgraded Jenkins from version 2.277.4 to version 2.289.1. Loaded detached plugins (and dependencies): [sshd.hpi]

            Contents of jenkins.install.InstallUtil.lastExecVersion after upgrade:
            $ cat jenkins.install.InstallUtil.lastExecVersion
            2.277.4

            Please confirm the fix was actually released for LTS.

            Show
            webminster Alan Sparks added a comment - I have tested upgrading from 2.277.4 to new LTS 2.289.1. I do NOT see this problem resolved: jenkins.log: 2021-06-15 16:05:52.766+0000 [id=27] INFO hudson.PluginManager#loadDetachedPlugins: Upgrading Jenkins. The last running version was 2.277.4. This Jenkins is version 2.289.1. 2021-06-15 16:05:54.865+0000 [id=27] INFO hudson.PluginManager#loadDetachedPlugins: Upgraded Jenkins from version 2.277.4 to version 2.289.1. Loaded detached plugins (and dependencies): [sshd.hpi] Contents of jenkins.install.InstallUtil.lastExecVersion after upgrade: $ cat jenkins.install.InstallUtil.lastExecVersion 2.277.4 Please confirm the fix was actually released for LTS.
            Hide
            webminster Alan Sparks added a comment -

            it updated later. never mind...

            Show
            webminster Alan Sparks added a comment - it updated later. never mind...

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              danielbeck Daniel Beck
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: