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

Race condition can prevent setup wizard from initializing properly

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core

      The setup wizard initialization currently happens once the InitMilestone.COMPLETED is reached.

      On the first Jenkins startup, there is a risk that some code executed in another thread would call Jenkins#save before the setup wizard is initialized. Such code could be a groovy script, or in a third-party plugin.

      In such a case, the Setup Wizard would be initialized with state RESTART and the instance wouldn't be initialized as expected.

          [JENKINS-49401] Race condition can prevent setup wizard from initializing properly

          Vincent Latombe created issue -
          Vincent Latombe made changes -
          Assignee New: Vincent Latombe [ vlatombe ]
          Vincent Latombe made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Vincent Latombe made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Vincent Latombe made changes -
          Remote Link New: This issue links to "PR #3282 (Web Link)" [ 20019 ]
          CloudBees Inc. made changes -
          Remote Link New: This issue links to "CloudBees Internal TIGER-4255 (Web Link)" [ 20149 ]
          Vincent Latombe made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Resolved [ 5 ]
          Oleg Nenashev made changes -
          Labels New: lts-candidate
          Oliver Gondža made changes -
          Labels Original: lts-candidate New: 2.107.3-fixed

            vlatombe Vincent Latombe
            vlatombe Vincent Latombe
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: