Skip to content

[JENKINS-41255] Upgrading from a navigator that did not assign consistent source ids to a version that does assign consistent source ids causes a build storm on first scan #640

Description

@jenkins-infra-bot

This affects only Organization Folders.

The first time they are scanned - after upgrade - all the SCMSource implementations will be given new permanent IDs rather than getting a random ID with every scan.

As an ID change triggers a rebuild, the result is a build storm of all branches in all repositories in the organization folder.


Originally reported by stephenconnolly, imported from: Upgrading from a navigator that did not assign consistent source ids to a version that does assign consistent source ids causes a build storm on first scan
  • assignee: stephenconnolly
  • status: Closed
  • priority: Critical
  • component(s): branch-api-plugin
  • resolution: Fixed
  • resolved: 2017-01-23T21:11:22+00:00
  • votes: 1
  • watchers: 4
  • imported: 20251211-141027
Raw content of original issue

This affects only Organization Folders.

The first time they are scanned - after upgrade - all the SCMSource implementations will be given new permanent IDs rather than getting a random ID with every scan.

As an ID change triggers a rebuild, the result is a build storm of all branches in all repositories in the organization folder.

Activity

  1. jenkins-infra-bot commented on Jan 20, 2017

    @jenkins-infra-bot
    Author
  2. jenkins-infra-bot commented on Jan 21, 2017

    @jenkins-infra-bot
    Author
    scm_issue_link:

    Code changed in jenkins
    User: Stephen Connolly
    Path:
    src/main/java/jenkins/branch/MultiBranchProject.java
    src/main/java/jenkins/branch/OrganizationFolder.java
    src/test/java/integration/EventsTest.java
    http://jenkins-ci.org/commit/branch-api-plugin/95bd3e9b604a13258a4f34c5a7a6fd7569e99cd7
    Log:
    JENKINS-41255">JENKINS-41255 Propagate SCMSource id changes when the new SCMSource is identical to the old

  3. jenkins-infra-bot commented on Jan 21, 2017

    @jenkins-infra-bot
    Author
    scm_issue_link:

    Code changed in jenkins
    User: Stephen Connolly
    Path:
    src/main/java/jenkins/branch/MultiBranchProject.java
    http://jenkins-ci.org/commit/branch-api-plugin/6e2decef355098cb229944bb221248d5080915f7
    Log:
    JENKINS-41255">JENKINS-41255 Actually we should remove both sides of a match

  4. jenkins-infra-bot commented on Jan 21, 2017

    @jenkins-infra-bot
    Author
    scm_issue_link:

    Code changed in jenkins
    User: Stephen Connolly
    Path:
    src/main/java/jenkins/branch/MultiBranchProject.java
    http://jenkins-ci.org/commit/branch-api-plugin/9394a7eb697ed3cf83f37540b14c5e28fdcad7fb
    Log:
    JENKINS-41255">JENKINS-41255 Address code review comments

  5. jenkins-infra-bot commented on Jan 21, 2017

    @jenkins-infra-bot
    Author
    scm_issue_link:

    Code changed in jenkins
    User: Stephen Connolly
    Path:
    src/main/java/jenkins/branch/MultiBranchProject.java
    src/main/java/jenkins/branch/OrganizationFolder.java
    src/test/java/integration/EventsTest.java
    http://jenkins-ci.org/commit/branch-api-plugin/f8676093204464ab9b1dd652297a60aea3f7b245
    Log:
    Merge pull request #74 from stephenc/jenkins-41255

    JENKINS-41255">JENKINS-41255 Propagate SCMSource id changes when the new SCMSource is identical to the old

    Compare: c8d9b63...f867609

  6. jenkins-infra-bot commented on Feb 2, 2017

    @jenkins-infra-bot
    Author
    stephenconnolly:
    • Original comment link
    • Raw content of original comment:

      scm-api-2.0.2 git-2.6.4 or git-3.0.4 branch-api-2.0.2 bitbucket-branch-source-2.0.2 github-branch-source-2.0.1 cloudbees-folder-5.17 workflow-multibranch-2.11

    scm-api-2.0.2
    git-2.6.4 or git-3.0.4
    branch-api-2.0.2
    bitbucket-branch-source-2.0.2
    github-branch-source-2.0.1
    cloudbees-folder-5.17
    workflow-multibranch-2.11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions