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

Scanning MultiBranchProject fails with IllegalStateException

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Initial scan of branches in a multi-branch-project fails with an IllegalStateException.

      Steps to duplicate the problem:

      1. Clone, build, and run the docker instance
          $ git clone https://github.com/MarkEWaite/docker JENKINS-41867
          $ cd JENKINS-41867
          $ git checkout -b lts-with-plugins dac2eebcf7afc90caf9180a9f6a6de6d98ae26b6 # -t origin/lts-with-plugins
          $ docker build -t jenkins:JENKINS-41867 .
          $ docker run -i --rm --publish 8080:8080 jenkins:JENKINS-41867
        
      2. Connect a web browser to that docker instance (http://localhost:8080)
      3. Open the "Git Client Plugin Folder"
      4. Open the "Git Client Branches - Maven" multi-branch job
      5. Click the "Scan Project" link and then the "Run Now" link to start branch indexing
      6. Click the "Log" link to view the log - stack trace will appear in that log

      The problem seems to be new with scm-api 2.0.3. Prior versions of scm-api did not show the same behavior.

      Stack trace is:

      Started by user Mark Waite
      [Wed Feb 08 16:59:22 MST 2017] Starting branch indexing...
      Creating git repository in /var/jenkins_home/caches/git-65641b79111589c081c788caa640559c
       > git init /var/jenkins_home/caches/git-65641b79111589c081c788caa640559c # timeout=11
      Setting origin to https://github.com/MarkEWaite/git-plugin.git
       > git config remote.origin.url https://github.com/MarkEWaite/git-plugin.git # timeout=11
      Fetching & pruning origin...
      Fetching upstream changes from origin
       > git --version # timeout=11
      using GIT_ASKPASS to set credentials intentionally invalid user and password for credentials NPE in multi-branch jobs
       > git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/* --prune
      Getting remote branches...
      Seen branch in repository origin/2.6.x
      Seen branch in repository origin/3.0.0-PR439-add-ATH-subset-to-Jenkinsfile
      Seen branch in repository origin/master
      Seen branch in repository origin/master-PR439-add-ATH-subset-to-Jenkinsfile
      Seen branch in repository origin/master-PR463-add-git-lfs
      Seen branch in repository origin/master-PRxxx-move-findbugs-suppressions-into-code
      Seen branch in repository origin/master-findbugs-combined
      Seen branch in repository origin/master-findbugs-fixes
      Seen branch in repository origin/ongoing/latest-jenkins-lts
      Seen branch in repository origin/ongoing/lts
      Seen 10 remote branches
      Checking branch master-PR463-add-git-lfs
      Scheduled build for branch: master-PR463-add-git-lfs
      Checking branch ongoing/lts
      Checking branch master
      Checking branch master-PR439-add-ATH-subset-to-Jenkinsfile
      ERROR: [Wed Feb 08 16:59:24 MST 2017] Could not fetch branches from source d7205f38-9ade-472c-923c-6a839d7ec90d
      java.lang.IllegalStateException: Did not call mayCreate, or used the wrong Item.name for hudson.model.FreeStyleProject@689690d2[Git-Folder/git-plugin-freestyle-multi-branch/master-PR4.l4tko8c5k0.enkinsfile] with name master-PR4.l4tko8c5k0.enkinsfile among [master-PR439-add-ATH-subset-to-Jenkinsfile, master-PR463-add-git-lfs]
      	at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder$FullReindexChildObserver.created(ComputedFolder.java:667)
      	at jenkins.branch.MultiBranchProject$SCMHeadObserverImpl.observe(MultiBranchProject.java:1957)
      	at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:315)
      	at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:239)
      	at jenkins.plugins.git.AbstractGitSCMSource.doRetrieve(AbstractGitSCMSource.java:209)
      	at jenkins.plugins.git.AbstractGitSCMSource.retrieve(AbstractGitSCMSource.java:239)
      	at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:300)
      	at jenkins.scm.api.SCMSource.fetch(SCMSource.java:210)
      	at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:625)
      	at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:219)
      	at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:141)
      	at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:969)
      	at hudson.model.ResourceController.execute(ResourceController.java:98)
      	at hudson.model.Executor.run(Executor.java:404)
      [Wed Feb 08 16:59:24 MST 2017] Finished branch indexing. Indexing took 2.3 sec
      FATAL: Failed to recompute children of Git Plugin Folder ยป Git Branches - Maven
      java.lang.IllegalStateException: Did not call mayCreate, or used the wrong Item.name for hudson.model.FreeStyleProject@689690d2[Git-Folder/git-plugin-freestyle-multi-branch/master-PR4.l4tko8c5k0.enkinsfile] with name master-PR4.l4tko8c5k0.enkinsfile among [master-PR439-add-ATH-subset-to-Jenkinsfile, master-PR463-add-git-lfs]
      	at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder$FullReindexChildObserver.created(ComputedFolder.java:667)
      	at jenkins.branch.MultiBranchProject$SCMHeadObserverImpl.observe(MultiBranchProject.java:1957)
      	at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:315)
      	at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:239)
      	at jenkins.plugins.git.AbstractGitSCMSource.doRetrieve(AbstractGitSCMSource.java:209)
      	at jenkins.plugins.git.AbstractGitSCMSource.retrieve(AbstractGitSCMSource.java:239)
      	at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:300)
      	at jenkins.scm.api.SCMSource.fetch(SCMSource.java:210)
      	at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:625)
      	at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:219)
      	at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:141)
      	at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:969)
      	at hudson.model.ResourceController.execute(ResourceController.java:98)
      	at hudson.model.Executor.run(Executor.java:404)
      Finished: FAILURE
      

      Addendum - it appears I'm wrong about the root cause. I reverted scm-api 2.0.3, switching back to scm-api 2.0.2 and see the same behavior. Sorry for the false alarm on scm-api 2.0.3. My initial attempts to bisect the problem have failed. Please ignore this bug report until I investigate further.

      Second addendum - this bug is not visible with the updates applied as of 10 Feb 2017, it is now obscured by the more severe bug JENKINS-41948

      Third addendum - refer to multi-branch-project-plugin.hpi for a plugin compiled with the proposed pull request that resolves the issue.

        Attachments

          Issue Links

            Activity

            markewaite Mark Waite created issue -
            markewaite Mark Waite made changes -
            Field Original Value New Value
            Description Initial scan of branches in a multi-branch-project fails with an IllegalStateException.

            Steps to duplicate the problem:
            # Clone, build, and run the docker instance
            {code}
              $ git clone https://github.com/MarkEWaite/docker JENKINS-xxxxx
              $ cd JENKINS-xxxxx
              $ git checkout -b lts-with-plugins -t origin/lts-with-plugins
              $ docker build -t jenkins:JENKINS-xxxxx .
              $ docker run -i --rm --publish 8080:8080 jenkins:JENKINS-xxxxx
            {code}
            # Connect a web browser to that docker instance (http://localhost:8080)
            # Open the "Git Client Plugin Folder"
            # Open the "Git Client Branches - Maven" multi-branch job
            # Click the "Scan Project" link, and the "Run" link to start branch indexing
            # Click the "Log" link to view the log - stack trace will appear in that log

            The problem seems to be new with scm-api 2.0.3. Prior versions of scm-api did not show the same behavior.

            Stack trace is:

            {noformat}
            Started by user Mark Waite
            [Wed Feb 08 16:59:22 MST 2017] Starting branch indexing...
            Creating git repository in /var/jenkins_home/caches/git-65641b79111589c081c788caa640559c
             > git init /var/jenkins_home/caches/git-65641b79111589c081c788caa640559c # timeout=11
            Setting origin to https://github.com/MarkEWaite/git-plugin.git
             > git config remote.origin.url https://github.com/MarkEWaite/git-plugin.git # timeout=11
            Fetching & pruning origin...
            Fetching upstream changes from origin
             > git --version # timeout=11
            using GIT_ASKPASS to set credentials intentionally invalid user and password for credentials NPE in multi-branch jobs
             > git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/* --prune
            Getting remote branches...
            Seen branch in repository origin/2.6.x
            Seen branch in repository origin/3.0.0-PR439-add-ATH-subset-to-Jenkinsfile
            Seen branch in repository origin/master
            Seen branch in repository origin/master-PR439-add-ATH-subset-to-Jenkinsfile
            Seen branch in repository origin/master-PR463-add-git-lfs
            Seen branch in repository origin/master-PRxxx-move-findbugs-suppressions-into-code
            Seen branch in repository origin/master-findbugs-combined
            Seen branch in repository origin/master-findbugs-fixes
            Seen branch in repository origin/ongoing/latest-jenkins-lts
            Seen branch in repository origin/ongoing/lts
            Seen 10 remote branches
            Checking branch master-PR463-add-git-lfs
            Scheduled build for branch: master-PR463-add-git-lfs
            Checking branch ongoing/lts
            Checking branch master
            Checking branch master-PR439-add-ATH-subset-to-Jenkinsfile
            ERROR: [Wed Feb 08 16:59:24 MST 2017] Could not fetch branches from source d7205f38-9ade-472c-923c-6a839d7ec90d
            java.lang.IllegalStateException: Did not call mayCreate, or used the wrong Item.name for hudson.model.FreeStyleProject@689690d2[Git-Folder/git-plugin-freestyle-multi-branch/master-PR4.l4tko8c5k0.enkinsfile] with name master-PR4.l4tko8c5k0.enkinsfile among [master-PR439-add-ATH-subset-to-Jenkinsfile, master-PR463-add-git-lfs]
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder$FullReindexChildObserver.created(ComputedFolder.java:667)
            at jenkins.branch.MultiBranchProject$SCMHeadObserverImpl.observe(MultiBranchProject.java:1957)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:315)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:239)
            at jenkins.plugins.git.AbstractGitSCMSource.doRetrieve(AbstractGitSCMSource.java:209)
            at jenkins.plugins.git.AbstractGitSCMSource.retrieve(AbstractGitSCMSource.java:239)
            at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:300)
            at jenkins.scm.api.SCMSource.fetch(SCMSource.java:210)
            at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:625)
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:219)
            at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:141)
            at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:969)
            at hudson.model.ResourceController.execute(ResourceController.java:98)
            at hudson.model.Executor.run(Executor.java:404)
            [Wed Feb 08 16:59:24 MST 2017] Finished branch indexing. Indexing took 2.3 sec
            FATAL: Failed to recompute children of Git Plugin Folder » Git Branches - Maven
            java.lang.IllegalStateException: Did not call mayCreate, or used the wrong Item.name for hudson.model.FreeStyleProject@689690d2[Git-Folder/git-plugin-freestyle-multi-branch/master-PR4.l4tko8c5k0.enkinsfile] with name master-PR4.l4tko8c5k0.enkinsfile among [master-PR439-add-ATH-subset-to-Jenkinsfile, master-PR463-add-git-lfs]
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder$FullReindexChildObserver.created(ComputedFolder.java:667)
            at jenkins.branch.MultiBranchProject$SCMHeadObserverImpl.observe(MultiBranchProject.java:1957)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:315)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:239)
            at jenkins.plugins.git.AbstractGitSCMSource.doRetrieve(AbstractGitSCMSource.java:209)
            at jenkins.plugins.git.AbstractGitSCMSource.retrieve(AbstractGitSCMSource.java:239)
            at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:300)
            at jenkins.scm.api.SCMSource.fetch(SCMSource.java:210)
            at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:625)
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:219)
            at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:141)
            at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:969)
            at hudson.model.ResourceController.execute(ResourceController.java:98)
            at hudson.model.Executor.run(Executor.java:404)
            Finished: FAILURE
            {noformat}
            Initial scan of branches in a multi-branch-project fails with an IllegalStateException.

            Steps to duplicate the problem:
            # Clone, build, and run the docker instance
            {code}
              $ git clone https://github.com/MarkEWaite/docker JENKINS-41867
              $ cd JENKINS-41867
              $ git checkout -b lts-with-plugins -t origin/lts-with-plugins
              $ docker build -t jenkins:JENKINS-41867 .
              $ docker run -i --rm --publish 8080:8080 jenkins:JENKINS-41867
            {code}
            # Connect a web browser to that docker instance (http://localhost:8080)
            # Open the "Git Client Plugin Folder"
            # Open the "Git Client Branches - Maven" multi-branch job
            # Click the "Scan Project" link, and the "Run" link to start branch indexing
            # Click the "Log" link to view the log - stack trace will appear in that log

            The problem seems to be new with scm-api 2.0.3. Prior versions of scm-api did not show the same behavior.

            Stack trace is:

            {noformat}
            Started by user Mark Waite
            [Wed Feb 08 16:59:22 MST 2017] Starting branch indexing...
            Creating git repository in /var/jenkins_home/caches/git-65641b79111589c081c788caa640559c
             > git init /var/jenkins_home/caches/git-65641b79111589c081c788caa640559c # timeout=11
            Setting origin to https://github.com/MarkEWaite/git-plugin.git
             > git config remote.origin.url https://github.com/MarkEWaite/git-plugin.git # timeout=11
            Fetching & pruning origin...
            Fetching upstream changes from origin
             > git --version # timeout=11
            using GIT_ASKPASS to set credentials intentionally invalid user and password for credentials NPE in multi-branch jobs
             > git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/* --prune
            Getting remote branches...
            Seen branch in repository origin/2.6.x
            Seen branch in repository origin/3.0.0-PR439-add-ATH-subset-to-Jenkinsfile
            Seen branch in repository origin/master
            Seen branch in repository origin/master-PR439-add-ATH-subset-to-Jenkinsfile
            Seen branch in repository origin/master-PR463-add-git-lfs
            Seen branch in repository origin/master-PRxxx-move-findbugs-suppressions-into-code
            Seen branch in repository origin/master-findbugs-combined
            Seen branch in repository origin/master-findbugs-fixes
            Seen branch in repository origin/ongoing/latest-jenkins-lts
            Seen branch in repository origin/ongoing/lts
            Seen 10 remote branches
            Checking branch master-PR463-add-git-lfs
            Scheduled build for branch: master-PR463-add-git-lfs
            Checking branch ongoing/lts
            Checking branch master
            Checking branch master-PR439-add-ATH-subset-to-Jenkinsfile
            ERROR: [Wed Feb 08 16:59:24 MST 2017] Could not fetch branches from source d7205f38-9ade-472c-923c-6a839d7ec90d
            java.lang.IllegalStateException: Did not call mayCreate, or used the wrong Item.name for hudson.model.FreeStyleProject@689690d2[Git-Folder/git-plugin-freestyle-multi-branch/master-PR4.l4tko8c5k0.enkinsfile] with name master-PR4.l4tko8c5k0.enkinsfile among [master-PR439-add-ATH-subset-to-Jenkinsfile, master-PR463-add-git-lfs]
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder$FullReindexChildObserver.created(ComputedFolder.java:667)
            at jenkins.branch.MultiBranchProject$SCMHeadObserverImpl.observe(MultiBranchProject.java:1957)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:315)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:239)
            at jenkins.plugins.git.AbstractGitSCMSource.doRetrieve(AbstractGitSCMSource.java:209)
            at jenkins.plugins.git.AbstractGitSCMSource.retrieve(AbstractGitSCMSource.java:239)
            at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:300)
            at jenkins.scm.api.SCMSource.fetch(SCMSource.java:210)
            at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:625)
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:219)
            at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:141)
            at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:969)
            at hudson.model.ResourceController.execute(ResourceController.java:98)
            at hudson.model.Executor.run(Executor.java:404)
            [Wed Feb 08 16:59:24 MST 2017] Finished branch indexing. Indexing took 2.3 sec
            FATAL: Failed to recompute children of Git Plugin Folder » Git Branches - Maven
            java.lang.IllegalStateException: Did not call mayCreate, or used the wrong Item.name for hudson.model.FreeStyleProject@689690d2[Git-Folder/git-plugin-freestyle-multi-branch/master-PR4.l4tko8c5k0.enkinsfile] with name master-PR4.l4tko8c5k0.enkinsfile among [master-PR439-add-ATH-subset-to-Jenkinsfile, master-PR463-add-git-lfs]
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder$FullReindexChildObserver.created(ComputedFolder.java:667)
            at jenkins.branch.MultiBranchProject$SCMHeadObserverImpl.observe(MultiBranchProject.java:1957)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:315)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:239)
            at jenkins.plugins.git.AbstractGitSCMSource.doRetrieve(AbstractGitSCMSource.java:209)
            at jenkins.plugins.git.AbstractGitSCMSource.retrieve(AbstractGitSCMSource.java:239)
            at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:300)
            at jenkins.scm.api.SCMSource.fetch(SCMSource.java:210)
            at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:625)
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:219)
            at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:141)
            at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:969)
            at hudson.model.ResourceController.execute(ResourceController.java:98)
            at hudson.model.Executor.run(Executor.java:404)
            Finished: FAILURE
            {noformat}
            markewaite Mark Waite made changes -
            Description Initial scan of branches in a multi-branch-project fails with an IllegalStateException.

            Steps to duplicate the problem:
            # Clone, build, and run the docker instance
            {code}
              $ git clone https://github.com/MarkEWaite/docker JENKINS-41867
              $ cd JENKINS-41867
              $ git checkout -b lts-with-plugins -t origin/lts-with-plugins
              $ docker build -t jenkins:JENKINS-41867 .
              $ docker run -i --rm --publish 8080:8080 jenkins:JENKINS-41867
            {code}
            # Connect a web browser to that docker instance (http://localhost:8080)
            # Open the "Git Client Plugin Folder"
            # Open the "Git Client Branches - Maven" multi-branch job
            # Click the "Scan Project" link, and the "Run" link to start branch indexing
            # Click the "Log" link to view the log - stack trace will appear in that log

            The problem seems to be new with scm-api 2.0.3. Prior versions of scm-api did not show the same behavior.

            Stack trace is:

            {noformat}
            Started by user Mark Waite
            [Wed Feb 08 16:59:22 MST 2017] Starting branch indexing...
            Creating git repository in /var/jenkins_home/caches/git-65641b79111589c081c788caa640559c
             > git init /var/jenkins_home/caches/git-65641b79111589c081c788caa640559c # timeout=11
            Setting origin to https://github.com/MarkEWaite/git-plugin.git
             > git config remote.origin.url https://github.com/MarkEWaite/git-plugin.git # timeout=11
            Fetching & pruning origin...
            Fetching upstream changes from origin
             > git --version # timeout=11
            using GIT_ASKPASS to set credentials intentionally invalid user and password for credentials NPE in multi-branch jobs
             > git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/* --prune
            Getting remote branches...
            Seen branch in repository origin/2.6.x
            Seen branch in repository origin/3.0.0-PR439-add-ATH-subset-to-Jenkinsfile
            Seen branch in repository origin/master
            Seen branch in repository origin/master-PR439-add-ATH-subset-to-Jenkinsfile
            Seen branch in repository origin/master-PR463-add-git-lfs
            Seen branch in repository origin/master-PRxxx-move-findbugs-suppressions-into-code
            Seen branch in repository origin/master-findbugs-combined
            Seen branch in repository origin/master-findbugs-fixes
            Seen branch in repository origin/ongoing/latest-jenkins-lts
            Seen branch in repository origin/ongoing/lts
            Seen 10 remote branches
            Checking branch master-PR463-add-git-lfs
            Scheduled build for branch: master-PR463-add-git-lfs
            Checking branch ongoing/lts
            Checking branch master
            Checking branch master-PR439-add-ATH-subset-to-Jenkinsfile
            ERROR: [Wed Feb 08 16:59:24 MST 2017] Could not fetch branches from source d7205f38-9ade-472c-923c-6a839d7ec90d
            java.lang.IllegalStateException: Did not call mayCreate, or used the wrong Item.name for hudson.model.FreeStyleProject@689690d2[Git-Folder/git-plugin-freestyle-multi-branch/master-PR4.l4tko8c5k0.enkinsfile] with name master-PR4.l4tko8c5k0.enkinsfile among [master-PR439-add-ATH-subset-to-Jenkinsfile, master-PR463-add-git-lfs]
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder$FullReindexChildObserver.created(ComputedFolder.java:667)
            at jenkins.branch.MultiBranchProject$SCMHeadObserverImpl.observe(MultiBranchProject.java:1957)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:315)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:239)
            at jenkins.plugins.git.AbstractGitSCMSource.doRetrieve(AbstractGitSCMSource.java:209)
            at jenkins.plugins.git.AbstractGitSCMSource.retrieve(AbstractGitSCMSource.java:239)
            at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:300)
            at jenkins.scm.api.SCMSource.fetch(SCMSource.java:210)
            at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:625)
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:219)
            at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:141)
            at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:969)
            at hudson.model.ResourceController.execute(ResourceController.java:98)
            at hudson.model.Executor.run(Executor.java:404)
            [Wed Feb 08 16:59:24 MST 2017] Finished branch indexing. Indexing took 2.3 sec
            FATAL: Failed to recompute children of Git Plugin Folder » Git Branches - Maven
            java.lang.IllegalStateException: Did not call mayCreate, or used the wrong Item.name for hudson.model.FreeStyleProject@689690d2[Git-Folder/git-plugin-freestyle-multi-branch/master-PR4.l4tko8c5k0.enkinsfile] with name master-PR4.l4tko8c5k0.enkinsfile among [master-PR439-add-ATH-subset-to-Jenkinsfile, master-PR463-add-git-lfs]
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder$FullReindexChildObserver.created(ComputedFolder.java:667)
            at jenkins.branch.MultiBranchProject$SCMHeadObserverImpl.observe(MultiBranchProject.java:1957)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:315)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:239)
            at jenkins.plugins.git.AbstractGitSCMSource.doRetrieve(AbstractGitSCMSource.java:209)
            at jenkins.plugins.git.AbstractGitSCMSource.retrieve(AbstractGitSCMSource.java:239)
            at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:300)
            at jenkins.scm.api.SCMSource.fetch(SCMSource.java:210)
            at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:625)
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:219)
            at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:141)
            at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:969)
            at hudson.model.ResourceController.execute(ResourceController.java:98)
            at hudson.model.Executor.run(Executor.java:404)
            Finished: FAILURE
            {noformat}
            Initial scan of branches in a multi-branch-project fails with an IllegalStateException.

            Steps to duplicate the problem:
            # Clone, build, and run the docker instance
            {code}
              $ git clone https://github.com/MarkEWaite/docker JENKINS-41867
              $ cd JENKINS-41867
              $ git checkout -b lts-with-plugins -t origin/lts-with-plugins
              $ docker build -t jenkins:JENKINS-41867 .
              $ docker run -i --rm --publish 8080:8080 jenkins:JENKINS-41867
            {code}
            # Connect a web browser to that docker instance (http://localhost:8080)
            # Open the "Git Client Plugin Folder"
            # Open the "Git Client Branches - Maven" multi-branch job
            # Click the "Scan Project" link and then the "Run Now" link to start branch indexing
            # Click the "Log" link to view the log - stack trace will appear in that log

            The problem seems to be new with scm-api 2.0.3. Prior versions of scm-api did not show the same behavior.

            Stack trace is:

            {noformat}
            Started by user Mark Waite
            [Wed Feb 08 16:59:22 MST 2017] Starting branch indexing...
            Creating git repository in /var/jenkins_home/caches/git-65641b79111589c081c788caa640559c
             > git init /var/jenkins_home/caches/git-65641b79111589c081c788caa640559c # timeout=11
            Setting origin to https://github.com/MarkEWaite/git-plugin.git
             > git config remote.origin.url https://github.com/MarkEWaite/git-plugin.git # timeout=11
            Fetching & pruning origin...
            Fetching upstream changes from origin
             > git --version # timeout=11
            using GIT_ASKPASS to set credentials intentionally invalid user and password for credentials NPE in multi-branch jobs
             > git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/* --prune
            Getting remote branches...
            Seen branch in repository origin/2.6.x
            Seen branch in repository origin/3.0.0-PR439-add-ATH-subset-to-Jenkinsfile
            Seen branch in repository origin/master
            Seen branch in repository origin/master-PR439-add-ATH-subset-to-Jenkinsfile
            Seen branch in repository origin/master-PR463-add-git-lfs
            Seen branch in repository origin/master-PRxxx-move-findbugs-suppressions-into-code
            Seen branch in repository origin/master-findbugs-combined
            Seen branch in repository origin/master-findbugs-fixes
            Seen branch in repository origin/ongoing/latest-jenkins-lts
            Seen branch in repository origin/ongoing/lts
            Seen 10 remote branches
            Checking branch master-PR463-add-git-lfs
            Scheduled build for branch: master-PR463-add-git-lfs
            Checking branch ongoing/lts
            Checking branch master
            Checking branch master-PR439-add-ATH-subset-to-Jenkinsfile
            ERROR: [Wed Feb 08 16:59:24 MST 2017] Could not fetch branches from source d7205f38-9ade-472c-923c-6a839d7ec90d
            java.lang.IllegalStateException: Did not call mayCreate, or used the wrong Item.name for hudson.model.FreeStyleProject@689690d2[Git-Folder/git-plugin-freestyle-multi-branch/master-PR4.l4tko8c5k0.enkinsfile] with name master-PR4.l4tko8c5k0.enkinsfile among [master-PR439-add-ATH-subset-to-Jenkinsfile, master-PR463-add-git-lfs]
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder$FullReindexChildObserver.created(ComputedFolder.java:667)
            at jenkins.branch.MultiBranchProject$SCMHeadObserverImpl.observe(MultiBranchProject.java:1957)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:315)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:239)
            at jenkins.plugins.git.AbstractGitSCMSource.doRetrieve(AbstractGitSCMSource.java:209)
            at jenkins.plugins.git.AbstractGitSCMSource.retrieve(AbstractGitSCMSource.java:239)
            at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:300)
            at jenkins.scm.api.SCMSource.fetch(SCMSource.java:210)
            at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:625)
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:219)
            at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:141)
            at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:969)
            at hudson.model.ResourceController.execute(ResourceController.java:98)
            at hudson.model.Executor.run(Executor.java:404)
            [Wed Feb 08 16:59:24 MST 2017] Finished branch indexing. Indexing took 2.3 sec
            FATAL: Failed to recompute children of Git Plugin Folder » Git Branches - Maven
            java.lang.IllegalStateException: Did not call mayCreate, or used the wrong Item.name for hudson.model.FreeStyleProject@689690d2[Git-Folder/git-plugin-freestyle-multi-branch/master-PR4.l4tko8c5k0.enkinsfile] with name master-PR4.l4tko8c5k0.enkinsfile among [master-PR439-add-ATH-subset-to-Jenkinsfile, master-PR463-add-git-lfs]
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder$FullReindexChildObserver.created(ComputedFolder.java:667)
            at jenkins.branch.MultiBranchProject$SCMHeadObserverImpl.observe(MultiBranchProject.java:1957)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:315)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:239)
            at jenkins.plugins.git.AbstractGitSCMSource.doRetrieve(AbstractGitSCMSource.java:209)
            at jenkins.plugins.git.AbstractGitSCMSource.retrieve(AbstractGitSCMSource.java:239)
            at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:300)
            at jenkins.scm.api.SCMSource.fetch(SCMSource.java:210)
            at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:625)
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:219)
            at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:141)
            at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:969)
            at hudson.model.ResourceController.execute(ResourceController.java:98)
            at hudson.model.Executor.run(Executor.java:404)
            Finished: FAILURE
            {noformat}
            markewaite Mark Waite made changes -
            Description Initial scan of branches in a multi-branch-project fails with an IllegalStateException.

            Steps to duplicate the problem:
            # Clone, build, and run the docker instance
            {code}
              $ git clone https://github.com/MarkEWaite/docker JENKINS-41867
              $ cd JENKINS-41867
              $ git checkout -b lts-with-plugins -t origin/lts-with-plugins
              $ docker build -t jenkins:JENKINS-41867 .
              $ docker run -i --rm --publish 8080:8080 jenkins:JENKINS-41867
            {code}
            # Connect a web browser to that docker instance (http://localhost:8080)
            # Open the "Git Client Plugin Folder"
            # Open the "Git Client Branches - Maven" multi-branch job
            # Click the "Scan Project" link and then the "Run Now" link to start branch indexing
            # Click the "Log" link to view the log - stack trace will appear in that log

            The problem seems to be new with scm-api 2.0.3. Prior versions of scm-api did not show the same behavior.

            Stack trace is:

            {noformat}
            Started by user Mark Waite
            [Wed Feb 08 16:59:22 MST 2017] Starting branch indexing...
            Creating git repository in /var/jenkins_home/caches/git-65641b79111589c081c788caa640559c
             > git init /var/jenkins_home/caches/git-65641b79111589c081c788caa640559c # timeout=11
            Setting origin to https://github.com/MarkEWaite/git-plugin.git
             > git config remote.origin.url https://github.com/MarkEWaite/git-plugin.git # timeout=11
            Fetching & pruning origin...
            Fetching upstream changes from origin
             > git --version # timeout=11
            using GIT_ASKPASS to set credentials intentionally invalid user and password for credentials NPE in multi-branch jobs
             > git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/* --prune
            Getting remote branches...
            Seen branch in repository origin/2.6.x
            Seen branch in repository origin/3.0.0-PR439-add-ATH-subset-to-Jenkinsfile
            Seen branch in repository origin/master
            Seen branch in repository origin/master-PR439-add-ATH-subset-to-Jenkinsfile
            Seen branch in repository origin/master-PR463-add-git-lfs
            Seen branch in repository origin/master-PRxxx-move-findbugs-suppressions-into-code
            Seen branch in repository origin/master-findbugs-combined
            Seen branch in repository origin/master-findbugs-fixes
            Seen branch in repository origin/ongoing/latest-jenkins-lts
            Seen branch in repository origin/ongoing/lts
            Seen 10 remote branches
            Checking branch master-PR463-add-git-lfs
            Scheduled build for branch: master-PR463-add-git-lfs
            Checking branch ongoing/lts
            Checking branch master
            Checking branch master-PR439-add-ATH-subset-to-Jenkinsfile
            ERROR: [Wed Feb 08 16:59:24 MST 2017] Could not fetch branches from source d7205f38-9ade-472c-923c-6a839d7ec90d
            java.lang.IllegalStateException: Did not call mayCreate, or used the wrong Item.name for hudson.model.FreeStyleProject@689690d2[Git-Folder/git-plugin-freestyle-multi-branch/master-PR4.l4tko8c5k0.enkinsfile] with name master-PR4.l4tko8c5k0.enkinsfile among [master-PR439-add-ATH-subset-to-Jenkinsfile, master-PR463-add-git-lfs]
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder$FullReindexChildObserver.created(ComputedFolder.java:667)
            at jenkins.branch.MultiBranchProject$SCMHeadObserverImpl.observe(MultiBranchProject.java:1957)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:315)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:239)
            at jenkins.plugins.git.AbstractGitSCMSource.doRetrieve(AbstractGitSCMSource.java:209)
            at jenkins.plugins.git.AbstractGitSCMSource.retrieve(AbstractGitSCMSource.java:239)
            at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:300)
            at jenkins.scm.api.SCMSource.fetch(SCMSource.java:210)
            at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:625)
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:219)
            at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:141)
            at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:969)
            at hudson.model.ResourceController.execute(ResourceController.java:98)
            at hudson.model.Executor.run(Executor.java:404)
            [Wed Feb 08 16:59:24 MST 2017] Finished branch indexing. Indexing took 2.3 sec
            FATAL: Failed to recompute children of Git Plugin Folder » Git Branches - Maven
            java.lang.IllegalStateException: Did not call mayCreate, or used the wrong Item.name for hudson.model.FreeStyleProject@689690d2[Git-Folder/git-plugin-freestyle-multi-branch/master-PR4.l4tko8c5k0.enkinsfile] with name master-PR4.l4tko8c5k0.enkinsfile among [master-PR439-add-ATH-subset-to-Jenkinsfile, master-PR463-add-git-lfs]
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder$FullReindexChildObserver.created(ComputedFolder.java:667)
            at jenkins.branch.MultiBranchProject$SCMHeadObserverImpl.observe(MultiBranchProject.java:1957)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:315)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:239)
            at jenkins.plugins.git.AbstractGitSCMSource.doRetrieve(AbstractGitSCMSource.java:209)
            at jenkins.plugins.git.AbstractGitSCMSource.retrieve(AbstractGitSCMSource.java:239)
            at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:300)
            at jenkins.scm.api.SCMSource.fetch(SCMSource.java:210)
            at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:625)
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:219)
            at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:141)
            at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:969)
            at hudson.model.ResourceController.execute(ResourceController.java:98)
            at hudson.model.Executor.run(Executor.java:404)
            Finished: FAILURE
            {noformat}
            Initial scan of branches in a multi-branch-project fails with an IllegalStateException.

            Steps to duplicate the problem:
            # Clone, build, and run the docker instance
            {code}
              $ git clone https://github.com/MarkEWaite/docker JENKINS-41867
              $ cd JENKINS-41867
              $ git checkout -b lts-with-plugins dac2eebcf7afc90caf9180a9f6a6de6d98ae26b6 # -t origin/lts-with-plugins
              $ docker build -t jenkins:JENKINS-41867 .
              $ docker run -i --rm --publish 8080:8080 jenkins:JENKINS-41867
            {code}
            # Connect a web browser to that docker instance (http://localhost:8080)
            # Open the "Git Client Plugin Folder"
            # Open the "Git Client Branches - Maven" multi-branch job
            # Click the "Scan Project" link and then the "Run Now" link to start branch indexing
            # Click the "Log" link to view the log - stack trace will appear in that log

            The problem seems to be new with scm-api 2.0.3. Prior versions of scm-api did not show the same behavior.

            Stack trace is:

            {noformat}
            Started by user Mark Waite
            [Wed Feb 08 16:59:22 MST 2017] Starting branch indexing...
            Creating git repository in /var/jenkins_home/caches/git-65641b79111589c081c788caa640559c
             > git init /var/jenkins_home/caches/git-65641b79111589c081c788caa640559c # timeout=11
            Setting origin to https://github.com/MarkEWaite/git-plugin.git
             > git config remote.origin.url https://github.com/MarkEWaite/git-plugin.git # timeout=11
            Fetching & pruning origin...
            Fetching upstream changes from origin
             > git --version # timeout=11
            using GIT_ASKPASS to set credentials intentionally invalid user and password for credentials NPE in multi-branch jobs
             > git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/* --prune
            Getting remote branches...
            Seen branch in repository origin/2.6.x
            Seen branch in repository origin/3.0.0-PR439-add-ATH-subset-to-Jenkinsfile
            Seen branch in repository origin/master
            Seen branch in repository origin/master-PR439-add-ATH-subset-to-Jenkinsfile
            Seen branch in repository origin/master-PR463-add-git-lfs
            Seen branch in repository origin/master-PRxxx-move-findbugs-suppressions-into-code
            Seen branch in repository origin/master-findbugs-combined
            Seen branch in repository origin/master-findbugs-fixes
            Seen branch in repository origin/ongoing/latest-jenkins-lts
            Seen branch in repository origin/ongoing/lts
            Seen 10 remote branches
            Checking branch master-PR463-add-git-lfs
            Scheduled build for branch: master-PR463-add-git-lfs
            Checking branch ongoing/lts
            Checking branch master
            Checking branch master-PR439-add-ATH-subset-to-Jenkinsfile
            ERROR: [Wed Feb 08 16:59:24 MST 2017] Could not fetch branches from source d7205f38-9ade-472c-923c-6a839d7ec90d
            java.lang.IllegalStateException: Did not call mayCreate, or used the wrong Item.name for hudson.model.FreeStyleProject@689690d2[Git-Folder/git-plugin-freestyle-multi-branch/master-PR4.l4tko8c5k0.enkinsfile] with name master-PR4.l4tko8c5k0.enkinsfile among [master-PR439-add-ATH-subset-to-Jenkinsfile, master-PR463-add-git-lfs]
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder$FullReindexChildObserver.created(ComputedFolder.java:667)
            at jenkins.branch.MultiBranchProject$SCMHeadObserverImpl.observe(MultiBranchProject.java:1957)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:315)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:239)
            at jenkins.plugins.git.AbstractGitSCMSource.doRetrieve(AbstractGitSCMSource.java:209)
            at jenkins.plugins.git.AbstractGitSCMSource.retrieve(AbstractGitSCMSource.java:239)
            at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:300)
            at jenkins.scm.api.SCMSource.fetch(SCMSource.java:210)
            at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:625)
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:219)
            at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:141)
            at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:969)
            at hudson.model.ResourceController.execute(ResourceController.java:98)
            at hudson.model.Executor.run(Executor.java:404)
            [Wed Feb 08 16:59:24 MST 2017] Finished branch indexing. Indexing took 2.3 sec
            FATAL: Failed to recompute children of Git Plugin Folder » Git Branches - Maven
            java.lang.IllegalStateException: Did not call mayCreate, or used the wrong Item.name for hudson.model.FreeStyleProject@689690d2[Git-Folder/git-plugin-freestyle-multi-branch/master-PR4.l4tko8c5k0.enkinsfile] with name master-PR4.l4tko8c5k0.enkinsfile among [master-PR439-add-ATH-subset-to-Jenkinsfile, master-PR463-add-git-lfs]
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder$FullReindexChildObserver.created(ComputedFolder.java:667)
            at jenkins.branch.MultiBranchProject$SCMHeadObserverImpl.observe(MultiBranchProject.java:1957)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:315)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:239)
            at jenkins.plugins.git.AbstractGitSCMSource.doRetrieve(AbstractGitSCMSource.java:209)
            at jenkins.plugins.git.AbstractGitSCMSource.retrieve(AbstractGitSCMSource.java:239)
            at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:300)
            at jenkins.scm.api.SCMSource.fetch(SCMSource.java:210)
            at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:625)
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:219)
            at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:141)
            at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:969)
            at hudson.model.ResourceController.execute(ResourceController.java:98)
            at hudson.model.Executor.run(Executor.java:404)
            Finished: FAILURE
            {noformat}
            markewaite Mark Waite made changes -
            Description Initial scan of branches in a multi-branch-project fails with an IllegalStateException.

            Steps to duplicate the problem:
            # Clone, build, and run the docker instance
            {code}
              $ git clone https://github.com/MarkEWaite/docker JENKINS-41867
              $ cd JENKINS-41867
              $ git checkout -b lts-with-plugins dac2eebcf7afc90caf9180a9f6a6de6d98ae26b6 # -t origin/lts-with-plugins
              $ docker build -t jenkins:JENKINS-41867 .
              $ docker run -i --rm --publish 8080:8080 jenkins:JENKINS-41867
            {code}
            # Connect a web browser to that docker instance (http://localhost:8080)
            # Open the "Git Client Plugin Folder"
            # Open the "Git Client Branches - Maven" multi-branch job
            # Click the "Scan Project" link and then the "Run Now" link to start branch indexing
            # Click the "Log" link to view the log - stack trace will appear in that log

            The problem seems to be new with scm-api 2.0.3. Prior versions of scm-api did not show the same behavior.

            Stack trace is:

            {noformat}
            Started by user Mark Waite
            [Wed Feb 08 16:59:22 MST 2017] Starting branch indexing...
            Creating git repository in /var/jenkins_home/caches/git-65641b79111589c081c788caa640559c
             > git init /var/jenkins_home/caches/git-65641b79111589c081c788caa640559c # timeout=11
            Setting origin to https://github.com/MarkEWaite/git-plugin.git
             > git config remote.origin.url https://github.com/MarkEWaite/git-plugin.git # timeout=11
            Fetching & pruning origin...
            Fetching upstream changes from origin
             > git --version # timeout=11
            using GIT_ASKPASS to set credentials intentionally invalid user and password for credentials NPE in multi-branch jobs
             > git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/* --prune
            Getting remote branches...
            Seen branch in repository origin/2.6.x
            Seen branch in repository origin/3.0.0-PR439-add-ATH-subset-to-Jenkinsfile
            Seen branch in repository origin/master
            Seen branch in repository origin/master-PR439-add-ATH-subset-to-Jenkinsfile
            Seen branch in repository origin/master-PR463-add-git-lfs
            Seen branch in repository origin/master-PRxxx-move-findbugs-suppressions-into-code
            Seen branch in repository origin/master-findbugs-combined
            Seen branch in repository origin/master-findbugs-fixes
            Seen branch in repository origin/ongoing/latest-jenkins-lts
            Seen branch in repository origin/ongoing/lts
            Seen 10 remote branches
            Checking branch master-PR463-add-git-lfs
            Scheduled build for branch: master-PR463-add-git-lfs
            Checking branch ongoing/lts
            Checking branch master
            Checking branch master-PR439-add-ATH-subset-to-Jenkinsfile
            ERROR: [Wed Feb 08 16:59:24 MST 2017] Could not fetch branches from source d7205f38-9ade-472c-923c-6a839d7ec90d
            java.lang.IllegalStateException: Did not call mayCreate, or used the wrong Item.name for hudson.model.FreeStyleProject@689690d2[Git-Folder/git-plugin-freestyle-multi-branch/master-PR4.l4tko8c5k0.enkinsfile] with name master-PR4.l4tko8c5k0.enkinsfile among [master-PR439-add-ATH-subset-to-Jenkinsfile, master-PR463-add-git-lfs]
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder$FullReindexChildObserver.created(ComputedFolder.java:667)
            at jenkins.branch.MultiBranchProject$SCMHeadObserverImpl.observe(MultiBranchProject.java:1957)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:315)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:239)
            at jenkins.plugins.git.AbstractGitSCMSource.doRetrieve(AbstractGitSCMSource.java:209)
            at jenkins.plugins.git.AbstractGitSCMSource.retrieve(AbstractGitSCMSource.java:239)
            at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:300)
            at jenkins.scm.api.SCMSource.fetch(SCMSource.java:210)
            at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:625)
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:219)
            at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:141)
            at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:969)
            at hudson.model.ResourceController.execute(ResourceController.java:98)
            at hudson.model.Executor.run(Executor.java:404)
            [Wed Feb 08 16:59:24 MST 2017] Finished branch indexing. Indexing took 2.3 sec
            FATAL: Failed to recompute children of Git Plugin Folder » Git Branches - Maven
            java.lang.IllegalStateException: Did not call mayCreate, or used the wrong Item.name for hudson.model.FreeStyleProject@689690d2[Git-Folder/git-plugin-freestyle-multi-branch/master-PR4.l4tko8c5k0.enkinsfile] with name master-PR4.l4tko8c5k0.enkinsfile among [master-PR439-add-ATH-subset-to-Jenkinsfile, master-PR463-add-git-lfs]
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder$FullReindexChildObserver.created(ComputedFolder.java:667)
            at jenkins.branch.MultiBranchProject$SCMHeadObserverImpl.observe(MultiBranchProject.java:1957)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:315)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:239)
            at jenkins.plugins.git.AbstractGitSCMSource.doRetrieve(AbstractGitSCMSource.java:209)
            at jenkins.plugins.git.AbstractGitSCMSource.retrieve(AbstractGitSCMSource.java:239)
            at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:300)
            at jenkins.scm.api.SCMSource.fetch(SCMSource.java:210)
            at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:625)
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:219)
            at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:141)
            at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:969)
            at hudson.model.ResourceController.execute(ResourceController.java:98)
            at hudson.model.Executor.run(Executor.java:404)
            Finished: FAILURE
            {noformat}
            Initial scan of branches in a multi-branch-project fails with an IllegalStateException.

            Steps to duplicate the problem:
            # Clone, build, and run the docker instance
            {code}
              $ git clone https://github.com/MarkEWaite/docker JENKINS-41867
              $ cd JENKINS-41867
              $ git checkout -b lts-with-plugins dac2eebcf7afc90caf9180a9f6a6de6d98ae26b6 # -t origin/lts-with-plugins
              $ docker build -t jenkins:JENKINS-41867 .
              $ docker run -i --rm --publish 8080:8080 jenkins:JENKINS-41867
            {code}
            # Connect a web browser to that docker instance (http://localhost:8080)
            # Open the "Git Client Plugin Folder"
            # Open the "Git Client Branches - Maven" multi-branch job
            # Click the "Scan Project" link and then the "Run Now" link to start branch indexing
            # Click the "Log" link to view the log - stack trace will appear in that log

            The problem seems to be new with scm-api 2.0.3. Prior versions of scm-api did not show the same behavior.

            Stack trace is:

            {noformat}
            Started by user Mark Waite
            [Wed Feb 08 16:59:22 MST 2017] Starting branch indexing...
            Creating git repository in /var/jenkins_home/caches/git-65641b79111589c081c788caa640559c
             > git init /var/jenkins_home/caches/git-65641b79111589c081c788caa640559c # timeout=11
            Setting origin to https://github.com/MarkEWaite/git-plugin.git
             > git config remote.origin.url https://github.com/MarkEWaite/git-plugin.git # timeout=11
            Fetching & pruning origin...
            Fetching upstream changes from origin
             > git --version # timeout=11
            using GIT_ASKPASS to set credentials intentionally invalid user and password for credentials NPE in multi-branch jobs
             > git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/* --prune
            Getting remote branches...
            Seen branch in repository origin/2.6.x
            Seen branch in repository origin/3.0.0-PR439-add-ATH-subset-to-Jenkinsfile
            Seen branch in repository origin/master
            Seen branch in repository origin/master-PR439-add-ATH-subset-to-Jenkinsfile
            Seen branch in repository origin/master-PR463-add-git-lfs
            Seen branch in repository origin/master-PRxxx-move-findbugs-suppressions-into-code
            Seen branch in repository origin/master-findbugs-combined
            Seen branch in repository origin/master-findbugs-fixes
            Seen branch in repository origin/ongoing/latest-jenkins-lts
            Seen branch in repository origin/ongoing/lts
            Seen 10 remote branches
            Checking branch master-PR463-add-git-lfs
            Scheduled build for branch: master-PR463-add-git-lfs
            Checking branch ongoing/lts
            Checking branch master
            Checking branch master-PR439-add-ATH-subset-to-Jenkinsfile
            ERROR: [Wed Feb 08 16:59:24 MST 2017] Could not fetch branches from source d7205f38-9ade-472c-923c-6a839d7ec90d
            java.lang.IllegalStateException: Did not call mayCreate, or used the wrong Item.name for hudson.model.FreeStyleProject@689690d2[Git-Folder/git-plugin-freestyle-multi-branch/master-PR4.l4tko8c5k0.enkinsfile] with name master-PR4.l4tko8c5k0.enkinsfile among [master-PR439-add-ATH-subset-to-Jenkinsfile, master-PR463-add-git-lfs]
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder$FullReindexChildObserver.created(ComputedFolder.java:667)
            at jenkins.branch.MultiBranchProject$SCMHeadObserverImpl.observe(MultiBranchProject.java:1957)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:315)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:239)
            at jenkins.plugins.git.AbstractGitSCMSource.doRetrieve(AbstractGitSCMSource.java:209)
            at jenkins.plugins.git.AbstractGitSCMSource.retrieve(AbstractGitSCMSource.java:239)
            at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:300)
            at jenkins.scm.api.SCMSource.fetch(SCMSource.java:210)
            at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:625)
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:219)
            at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:141)
            at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:969)
            at hudson.model.ResourceController.execute(ResourceController.java:98)
            at hudson.model.Executor.run(Executor.java:404)
            [Wed Feb 08 16:59:24 MST 2017] Finished branch indexing. Indexing took 2.3 sec
            FATAL: Failed to recompute children of Git Plugin Folder » Git Branches - Maven
            java.lang.IllegalStateException: Did not call mayCreate, or used the wrong Item.name for hudson.model.FreeStyleProject@689690d2[Git-Folder/git-plugin-freestyle-multi-branch/master-PR4.l4tko8c5k0.enkinsfile] with name master-PR4.l4tko8c5k0.enkinsfile among [master-PR439-add-ATH-subset-to-Jenkinsfile, master-PR463-add-git-lfs]
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder$FullReindexChildObserver.created(ComputedFolder.java:667)
            at jenkins.branch.MultiBranchProject$SCMHeadObserverImpl.observe(MultiBranchProject.java:1957)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:315)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:239)
            at jenkins.plugins.git.AbstractGitSCMSource.doRetrieve(AbstractGitSCMSource.java:209)
            at jenkins.plugins.git.AbstractGitSCMSource.retrieve(AbstractGitSCMSource.java:239)
            at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:300)
            at jenkins.scm.api.SCMSource.fetch(SCMSource.java:210)
            at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:625)
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:219)
            at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:141)
            at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:969)
            at hudson.model.ResourceController.execute(ResourceController.java:98)
            at hudson.model.Executor.run(Executor.java:404)
            Finished: FAILURE
            {noformat}

            Addendum - it appears I'm wrong about the root cause. I reverted scm-api 2.0.3, switching back to scm-api 2.0.2 and see the same behavior. Sorry for the false alarm on scm-api 2.0.3. I'll need to bisect to identify the root cause.
            markewaite Mark Waite made changes -
            Description Initial scan of branches in a multi-branch-project fails with an IllegalStateException.

            Steps to duplicate the problem:
            # Clone, build, and run the docker instance
            {code}
              $ git clone https://github.com/MarkEWaite/docker JENKINS-41867
              $ cd JENKINS-41867
              $ git checkout -b lts-with-plugins dac2eebcf7afc90caf9180a9f6a6de6d98ae26b6 # -t origin/lts-with-plugins
              $ docker build -t jenkins:JENKINS-41867 .
              $ docker run -i --rm --publish 8080:8080 jenkins:JENKINS-41867
            {code}
            # Connect a web browser to that docker instance (http://localhost:8080)
            # Open the "Git Client Plugin Folder"
            # Open the "Git Client Branches - Maven" multi-branch job
            # Click the "Scan Project" link and then the "Run Now" link to start branch indexing
            # Click the "Log" link to view the log - stack trace will appear in that log

            The problem seems to be new with scm-api 2.0.3. Prior versions of scm-api did not show the same behavior.

            Stack trace is:

            {noformat}
            Started by user Mark Waite
            [Wed Feb 08 16:59:22 MST 2017] Starting branch indexing...
            Creating git repository in /var/jenkins_home/caches/git-65641b79111589c081c788caa640559c
             > git init /var/jenkins_home/caches/git-65641b79111589c081c788caa640559c # timeout=11
            Setting origin to https://github.com/MarkEWaite/git-plugin.git
             > git config remote.origin.url https://github.com/MarkEWaite/git-plugin.git # timeout=11
            Fetching & pruning origin...
            Fetching upstream changes from origin
             > git --version # timeout=11
            using GIT_ASKPASS to set credentials intentionally invalid user and password for credentials NPE in multi-branch jobs
             > git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/* --prune
            Getting remote branches...
            Seen branch in repository origin/2.6.x
            Seen branch in repository origin/3.0.0-PR439-add-ATH-subset-to-Jenkinsfile
            Seen branch in repository origin/master
            Seen branch in repository origin/master-PR439-add-ATH-subset-to-Jenkinsfile
            Seen branch in repository origin/master-PR463-add-git-lfs
            Seen branch in repository origin/master-PRxxx-move-findbugs-suppressions-into-code
            Seen branch in repository origin/master-findbugs-combined
            Seen branch in repository origin/master-findbugs-fixes
            Seen branch in repository origin/ongoing/latest-jenkins-lts
            Seen branch in repository origin/ongoing/lts
            Seen 10 remote branches
            Checking branch master-PR463-add-git-lfs
            Scheduled build for branch: master-PR463-add-git-lfs
            Checking branch ongoing/lts
            Checking branch master
            Checking branch master-PR439-add-ATH-subset-to-Jenkinsfile
            ERROR: [Wed Feb 08 16:59:24 MST 2017] Could not fetch branches from source d7205f38-9ade-472c-923c-6a839d7ec90d
            java.lang.IllegalStateException: Did not call mayCreate, or used the wrong Item.name for hudson.model.FreeStyleProject@689690d2[Git-Folder/git-plugin-freestyle-multi-branch/master-PR4.l4tko8c5k0.enkinsfile] with name master-PR4.l4tko8c5k0.enkinsfile among [master-PR439-add-ATH-subset-to-Jenkinsfile, master-PR463-add-git-lfs]
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder$FullReindexChildObserver.created(ComputedFolder.java:667)
            at jenkins.branch.MultiBranchProject$SCMHeadObserverImpl.observe(MultiBranchProject.java:1957)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:315)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:239)
            at jenkins.plugins.git.AbstractGitSCMSource.doRetrieve(AbstractGitSCMSource.java:209)
            at jenkins.plugins.git.AbstractGitSCMSource.retrieve(AbstractGitSCMSource.java:239)
            at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:300)
            at jenkins.scm.api.SCMSource.fetch(SCMSource.java:210)
            at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:625)
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:219)
            at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:141)
            at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:969)
            at hudson.model.ResourceController.execute(ResourceController.java:98)
            at hudson.model.Executor.run(Executor.java:404)
            [Wed Feb 08 16:59:24 MST 2017] Finished branch indexing. Indexing took 2.3 sec
            FATAL: Failed to recompute children of Git Plugin Folder » Git Branches - Maven
            java.lang.IllegalStateException: Did not call mayCreate, or used the wrong Item.name for hudson.model.FreeStyleProject@689690d2[Git-Folder/git-plugin-freestyle-multi-branch/master-PR4.l4tko8c5k0.enkinsfile] with name master-PR4.l4tko8c5k0.enkinsfile among [master-PR439-add-ATH-subset-to-Jenkinsfile, master-PR463-add-git-lfs]
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder$FullReindexChildObserver.created(ComputedFolder.java:667)
            at jenkins.branch.MultiBranchProject$SCMHeadObserverImpl.observe(MultiBranchProject.java:1957)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:315)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:239)
            at jenkins.plugins.git.AbstractGitSCMSource.doRetrieve(AbstractGitSCMSource.java:209)
            at jenkins.plugins.git.AbstractGitSCMSource.retrieve(AbstractGitSCMSource.java:239)
            at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:300)
            at jenkins.scm.api.SCMSource.fetch(SCMSource.java:210)
            at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:625)
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:219)
            at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:141)
            at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:969)
            at hudson.model.ResourceController.execute(ResourceController.java:98)
            at hudson.model.Executor.run(Executor.java:404)
            Finished: FAILURE
            {noformat}

            Addendum - it appears I'm wrong about the root cause. I reverted scm-api 2.0.3, switching back to scm-api 2.0.2 and see the same behavior. Sorry for the false alarm on scm-api 2.0.3. I'll need to bisect to identify the root cause.
            Addendum - it appears I'm wrong about the root cause. I reverted scm-api 2.0.3, switching back to scm-api 2.0.2 and see the same behavior. Sorry for the false alarm on scm-api 2.0.3. My initial attempts to bisect the problem have failed. Please ignore this bug report until I investigate further.

            Initial scan of branches in a multi-branch-project fails with an IllegalStateException.

            Steps to duplicate the problem:
            # Clone, build, and run the docker instance
            {code}
              $ git clone https://github.com/MarkEWaite/docker JENKINS-41867
              $ cd JENKINS-41867
              $ git checkout -b lts-with-plugins dac2eebcf7afc90caf9180a9f6a6de6d98ae26b6 # -t origin/lts-with-plugins
              $ docker build -t jenkins:JENKINS-41867 .
              $ docker run -i --rm --publish 8080:8080 jenkins:JENKINS-41867
            {code}
            # Connect a web browser to that docker instance (http://localhost:8080)
            # Open the "Git Client Plugin Folder"
            # Open the "Git Client Branches - Maven" multi-branch job
            # Click the "Scan Project" link and then the "Run Now" link to start branch indexing
            # Click the "Log" link to view the log - stack trace will appear in that log

            The problem seems to be new with scm-api 2.0.3. Prior versions of scm-api did not show the same behavior.

            Stack trace is:

            {noformat}
            Started by user Mark Waite
            [Wed Feb 08 16:59:22 MST 2017] Starting branch indexing...
            Creating git repository in /var/jenkins_home/caches/git-65641b79111589c081c788caa640559c
             > git init /var/jenkins_home/caches/git-65641b79111589c081c788caa640559c # timeout=11
            Setting origin to https://github.com/MarkEWaite/git-plugin.git
             > git config remote.origin.url https://github.com/MarkEWaite/git-plugin.git # timeout=11
            Fetching & pruning origin...
            Fetching upstream changes from origin
             > git --version # timeout=11
            using GIT_ASKPASS to set credentials intentionally invalid user and password for credentials NPE in multi-branch jobs
             > git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/* --prune
            Getting remote branches...
            Seen branch in repository origin/2.6.x
            Seen branch in repository origin/3.0.0-PR439-add-ATH-subset-to-Jenkinsfile
            Seen branch in repository origin/master
            Seen branch in repository origin/master-PR439-add-ATH-subset-to-Jenkinsfile
            Seen branch in repository origin/master-PR463-add-git-lfs
            Seen branch in repository origin/master-PRxxx-move-findbugs-suppressions-into-code
            Seen branch in repository origin/master-findbugs-combined
            Seen branch in repository origin/master-findbugs-fixes
            Seen branch in repository origin/ongoing/latest-jenkins-lts
            Seen branch in repository origin/ongoing/lts
            Seen 10 remote branches
            Checking branch master-PR463-add-git-lfs
            Scheduled build for branch: master-PR463-add-git-lfs
            Checking branch ongoing/lts
            Checking branch master
            Checking branch master-PR439-add-ATH-subset-to-Jenkinsfile
            ERROR: [Wed Feb 08 16:59:24 MST 2017] Could not fetch branches from source d7205f38-9ade-472c-923c-6a839d7ec90d
            java.lang.IllegalStateException: Did not call mayCreate, or used the wrong Item.name for hudson.model.FreeStyleProject@689690d2[Git-Folder/git-plugin-freestyle-multi-branch/master-PR4.l4tko8c5k0.enkinsfile] with name master-PR4.l4tko8c5k0.enkinsfile among [master-PR439-add-ATH-subset-to-Jenkinsfile, master-PR463-add-git-lfs]
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder$FullReindexChildObserver.created(ComputedFolder.java:667)
            at jenkins.branch.MultiBranchProject$SCMHeadObserverImpl.observe(MultiBranchProject.java:1957)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:315)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:239)
            at jenkins.plugins.git.AbstractGitSCMSource.doRetrieve(AbstractGitSCMSource.java:209)
            at jenkins.plugins.git.AbstractGitSCMSource.retrieve(AbstractGitSCMSource.java:239)
            at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:300)
            at jenkins.scm.api.SCMSource.fetch(SCMSource.java:210)
            at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:625)
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:219)
            at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:141)
            at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:969)
            at hudson.model.ResourceController.execute(ResourceController.java:98)
            at hudson.model.Executor.run(Executor.java:404)
            [Wed Feb 08 16:59:24 MST 2017] Finished branch indexing. Indexing took 2.3 sec
            FATAL: Failed to recompute children of Git Plugin Folder » Git Branches - Maven
            java.lang.IllegalStateException: Did not call mayCreate, or used the wrong Item.name for hudson.model.FreeStyleProject@689690d2[Git-Folder/git-plugin-freestyle-multi-branch/master-PR4.l4tko8c5k0.enkinsfile] with name master-PR4.l4tko8c5k0.enkinsfile among [master-PR439-add-ATH-subset-to-Jenkinsfile, master-PR463-add-git-lfs]
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder$FullReindexChildObserver.created(ComputedFolder.java:667)
            at jenkins.branch.MultiBranchProject$SCMHeadObserverImpl.observe(MultiBranchProject.java:1957)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:315)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:239)
            at jenkins.plugins.git.AbstractGitSCMSource.doRetrieve(AbstractGitSCMSource.java:209)
            at jenkins.plugins.git.AbstractGitSCMSource.retrieve(AbstractGitSCMSource.java:239)
            at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:300)
            at jenkins.scm.api.SCMSource.fetch(SCMSource.java:210)
            at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:625)
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:219)
            at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:141)
            at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:969)
            at hudson.model.ResourceController.execute(ResourceController.java:98)
            at hudson.model.Executor.run(Executor.java:404)
            Finished: FAILURE
            {noformat}
            markewaite Mark Waite made changes -
            Summary Scanning MultiBranchProject with scm-api 2.0.3 fails: IllegalStateException Scanning MultiBranchProject fails with IllegalStateException
            markewaite Mark Waite made changes -
            Component/s core [ 15593 ]
            markewaite Mark Waite made changes -
            Component/s git-plugin [ 15543 ]
            Component/s core [ 15593 ]
            Component/s scm-api-plugin [ 18054 ]
            Hide
            jobh Joachim Haga added a comment -

            I see the same issue with incremental scans, after a recent update of many plugins (including scm-api and MultiBranchProject).

            Many of the branch names are overwritten with random alphanumerical characters after the first 11 characters of the name, i.e.,
            WMAT2-122-m-.jl4t5j.--cache-part
            instead of
            WMAT2-122-make-it-possible-to-cache-part
            This looks similar to what happens in your case ("master-PR4.l4tko8c5k0.enkinsfile"). The random string is usually on the format ".XXXXXX.". Maybe somebody recognizes where this string comes from?

            Show
            jobh Joachim Haga added a comment - I see the same issue with incremental scans, after a recent update of many plugins (including scm-api and MultiBranchProject). Many of the branch names are overwritten with random alphanumerical characters after the first 11 characters of the name, i.e., WMAT2-122-m-.jl4t5j.--cache-part instead of WMAT2-122-make-it-possible-to-cache-part This looks similar to what happens in your case ("master-PR4.l4tko8c5k0.enkinsfile"). The random string is usually on the format ".XXXXXX.". Maybe somebody recognizes where this string comes from?
            Hide
            scaytrase Pavel Batanov added a comment -

            Faced the same issue

            java.lang.IllegalStateException: Did not call mayCreate, or used the wrong Item.name for hudson.model.FreeStyleProject@7448a801[bestapps_mapi_stage_deploy/hotfix-api-doc.pprn0n] with name hotfix-api-doc.pprn0n among [production, hotfix%2Fapi-doc, master]
            

            Tries to append .XXXXXX (pprn0n) part to the branch name

            Show
            scaytrase Pavel Batanov added a comment - Faced the same issue java.lang.IllegalStateException: Did not call mayCreate, or used the wrong Item.name for hudson.model.FreeStyleProject@7448a801[bestapps_mapi_stage_deploy/hotfix-api-doc.pprn0n] with name hotfix-api-doc.pprn0n among [production, hotfix%2Fapi-doc, master] Tries to append .XXXXXX (pprn0n) part to the branch name
            Hide
            markewaite Mark Waite added a comment -

            I no longer see this issue with the latest plugin updates. I now see JENKINS-41948 which seems to interrupt branch scanning before this condition is reached.

            Show
            markewaite Mark Waite added a comment - I no longer see this issue with the latest plugin updates. I now see JENKINS-41948 which seems to interrupt branch scanning before this condition is reached.
            markewaite Mark Waite made changes -
            Link This issue is blocked by JENKINS-41948 [ JENKINS-41948 ]
            markewaite Mark Waite made changes -
            Component/s core [ 15593 ]
            Component/s git-plugin [ 15543 ]
            Hide
            scaytrase Pavel Batanov added a comment -

            My jobs just gone after update

            Show
            scaytrase Pavel Batanov added a comment - My jobs just gone after update
            markewaite Mark Waite made changes -
            Description Addendum - it appears I'm wrong about the root cause. I reverted scm-api 2.0.3, switching back to scm-api 2.0.2 and see the same behavior. Sorry for the false alarm on scm-api 2.0.3. My initial attempts to bisect the problem have failed. Please ignore this bug report until I investigate further.

            Initial scan of branches in a multi-branch-project fails with an IllegalStateException.

            Steps to duplicate the problem:
            # Clone, build, and run the docker instance
            {code}
              $ git clone https://github.com/MarkEWaite/docker JENKINS-41867
              $ cd JENKINS-41867
              $ git checkout -b lts-with-plugins dac2eebcf7afc90caf9180a9f6a6de6d98ae26b6 # -t origin/lts-with-plugins
              $ docker build -t jenkins:JENKINS-41867 .
              $ docker run -i --rm --publish 8080:8080 jenkins:JENKINS-41867
            {code}
            # Connect a web browser to that docker instance (http://localhost:8080)
            # Open the "Git Client Plugin Folder"
            # Open the "Git Client Branches - Maven" multi-branch job
            # Click the "Scan Project" link and then the "Run Now" link to start branch indexing
            # Click the "Log" link to view the log - stack trace will appear in that log

            The problem seems to be new with scm-api 2.0.3. Prior versions of scm-api did not show the same behavior.

            Stack trace is:

            {noformat}
            Started by user Mark Waite
            [Wed Feb 08 16:59:22 MST 2017] Starting branch indexing...
            Creating git repository in /var/jenkins_home/caches/git-65641b79111589c081c788caa640559c
             > git init /var/jenkins_home/caches/git-65641b79111589c081c788caa640559c # timeout=11
            Setting origin to https://github.com/MarkEWaite/git-plugin.git
             > git config remote.origin.url https://github.com/MarkEWaite/git-plugin.git # timeout=11
            Fetching & pruning origin...
            Fetching upstream changes from origin
             > git --version # timeout=11
            using GIT_ASKPASS to set credentials intentionally invalid user and password for credentials NPE in multi-branch jobs
             > git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/* --prune
            Getting remote branches...
            Seen branch in repository origin/2.6.x
            Seen branch in repository origin/3.0.0-PR439-add-ATH-subset-to-Jenkinsfile
            Seen branch in repository origin/master
            Seen branch in repository origin/master-PR439-add-ATH-subset-to-Jenkinsfile
            Seen branch in repository origin/master-PR463-add-git-lfs
            Seen branch in repository origin/master-PRxxx-move-findbugs-suppressions-into-code
            Seen branch in repository origin/master-findbugs-combined
            Seen branch in repository origin/master-findbugs-fixes
            Seen branch in repository origin/ongoing/latest-jenkins-lts
            Seen branch in repository origin/ongoing/lts
            Seen 10 remote branches
            Checking branch master-PR463-add-git-lfs
            Scheduled build for branch: master-PR463-add-git-lfs
            Checking branch ongoing/lts
            Checking branch master
            Checking branch master-PR439-add-ATH-subset-to-Jenkinsfile
            ERROR: [Wed Feb 08 16:59:24 MST 2017] Could not fetch branches from source d7205f38-9ade-472c-923c-6a839d7ec90d
            java.lang.IllegalStateException: Did not call mayCreate, or used the wrong Item.name for hudson.model.FreeStyleProject@689690d2[Git-Folder/git-plugin-freestyle-multi-branch/master-PR4.l4tko8c5k0.enkinsfile] with name master-PR4.l4tko8c5k0.enkinsfile among [master-PR439-add-ATH-subset-to-Jenkinsfile, master-PR463-add-git-lfs]
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder$FullReindexChildObserver.created(ComputedFolder.java:667)
            at jenkins.branch.MultiBranchProject$SCMHeadObserverImpl.observe(MultiBranchProject.java:1957)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:315)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:239)
            at jenkins.plugins.git.AbstractGitSCMSource.doRetrieve(AbstractGitSCMSource.java:209)
            at jenkins.plugins.git.AbstractGitSCMSource.retrieve(AbstractGitSCMSource.java:239)
            at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:300)
            at jenkins.scm.api.SCMSource.fetch(SCMSource.java:210)
            at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:625)
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:219)
            at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:141)
            at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:969)
            at hudson.model.ResourceController.execute(ResourceController.java:98)
            at hudson.model.Executor.run(Executor.java:404)
            [Wed Feb 08 16:59:24 MST 2017] Finished branch indexing. Indexing took 2.3 sec
            FATAL: Failed to recompute children of Git Plugin Folder » Git Branches - Maven
            java.lang.IllegalStateException: Did not call mayCreate, or used the wrong Item.name for hudson.model.FreeStyleProject@689690d2[Git-Folder/git-plugin-freestyle-multi-branch/master-PR4.l4tko8c5k0.enkinsfile] with name master-PR4.l4tko8c5k0.enkinsfile among [master-PR439-add-ATH-subset-to-Jenkinsfile, master-PR463-add-git-lfs]
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder$FullReindexChildObserver.created(ComputedFolder.java:667)
            at jenkins.branch.MultiBranchProject$SCMHeadObserverImpl.observe(MultiBranchProject.java:1957)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:315)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:239)
            at jenkins.plugins.git.AbstractGitSCMSource.doRetrieve(AbstractGitSCMSource.java:209)
            at jenkins.plugins.git.AbstractGitSCMSource.retrieve(AbstractGitSCMSource.java:239)
            at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:300)
            at jenkins.scm.api.SCMSource.fetch(SCMSource.java:210)
            at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:625)
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:219)
            at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:141)
            at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:969)
            at hudson.model.ResourceController.execute(ResourceController.java:98)
            at hudson.model.Executor.run(Executor.java:404)
            Finished: FAILURE
            {noformat}
            Addendum - it appears I'm wrong about the root cause. I reverted scm-api 2.0.3, switching back to scm-api 2.0.2 and see the same behavior. Sorry for the false alarm on scm-api 2.0.3. My initial attempts to bisect the problem have failed. Please ignore this bug report until I investigate further.

            Second addendum - this bug is not visible with the updates applied as of 10 Feb 2017, it is now obscured by the more severe bug JENKINS-41948

            Initial scan of branches in a multi-branch-project fails with an IllegalStateException.

            Steps to duplicate the problem:
            # Clone, build, and run the docker instance
            {code}
              $ git clone https://github.com/MarkEWaite/docker JENKINS-41867
              $ cd JENKINS-41867
              $ git checkout -b lts-with-plugins dac2eebcf7afc90caf9180a9f6a6de6d98ae26b6 # -t origin/lts-with-plugins
              $ docker build -t jenkins:JENKINS-41867 .
              $ docker run -i --rm --publish 8080:8080 jenkins:JENKINS-41867
            {code}
            # Connect a web browser to that docker instance (http://localhost:8080)
            # Open the "Git Client Plugin Folder"
            # Open the "Git Client Branches - Maven" multi-branch job
            # Click the "Scan Project" link and then the "Run Now" link to start branch indexing
            # Click the "Log" link to view the log - stack trace will appear in that log

            The problem seems to be new with scm-api 2.0.3. Prior versions of scm-api did not show the same behavior.

            Stack trace is:

            {noformat}
            Started by user Mark Waite
            [Wed Feb 08 16:59:22 MST 2017] Starting branch indexing...
            Creating git repository in /var/jenkins_home/caches/git-65641b79111589c081c788caa640559c
             > git init /var/jenkins_home/caches/git-65641b79111589c081c788caa640559c # timeout=11
            Setting origin to https://github.com/MarkEWaite/git-plugin.git
             > git config remote.origin.url https://github.com/MarkEWaite/git-plugin.git # timeout=11
            Fetching & pruning origin...
            Fetching upstream changes from origin
             > git --version # timeout=11
            using GIT_ASKPASS to set credentials intentionally invalid user and password for credentials NPE in multi-branch jobs
             > git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/* --prune
            Getting remote branches...
            Seen branch in repository origin/2.6.x
            Seen branch in repository origin/3.0.0-PR439-add-ATH-subset-to-Jenkinsfile
            Seen branch in repository origin/master
            Seen branch in repository origin/master-PR439-add-ATH-subset-to-Jenkinsfile
            Seen branch in repository origin/master-PR463-add-git-lfs
            Seen branch in repository origin/master-PRxxx-move-findbugs-suppressions-into-code
            Seen branch in repository origin/master-findbugs-combined
            Seen branch in repository origin/master-findbugs-fixes
            Seen branch in repository origin/ongoing/latest-jenkins-lts
            Seen branch in repository origin/ongoing/lts
            Seen 10 remote branches
            Checking branch master-PR463-add-git-lfs
            Scheduled build for branch: master-PR463-add-git-lfs
            Checking branch ongoing/lts
            Checking branch master
            Checking branch master-PR439-add-ATH-subset-to-Jenkinsfile
            ERROR: [Wed Feb 08 16:59:24 MST 2017] Could not fetch branches from source d7205f38-9ade-472c-923c-6a839d7ec90d
            java.lang.IllegalStateException: Did not call mayCreate, or used the wrong Item.name for hudson.model.FreeStyleProject@689690d2[Git-Folder/git-plugin-freestyle-multi-branch/master-PR4.l4tko8c5k0.enkinsfile] with name master-PR4.l4tko8c5k0.enkinsfile among [master-PR439-add-ATH-subset-to-Jenkinsfile, master-PR463-add-git-lfs]
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder$FullReindexChildObserver.created(ComputedFolder.java:667)
            at jenkins.branch.MultiBranchProject$SCMHeadObserverImpl.observe(MultiBranchProject.java:1957)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:315)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:239)
            at jenkins.plugins.git.AbstractGitSCMSource.doRetrieve(AbstractGitSCMSource.java:209)
            at jenkins.plugins.git.AbstractGitSCMSource.retrieve(AbstractGitSCMSource.java:239)
            at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:300)
            at jenkins.scm.api.SCMSource.fetch(SCMSource.java:210)
            at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:625)
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:219)
            at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:141)
            at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:969)
            at hudson.model.ResourceController.execute(ResourceController.java:98)
            at hudson.model.Executor.run(Executor.java:404)
            [Wed Feb 08 16:59:24 MST 2017] Finished branch indexing. Indexing took 2.3 sec
            FATAL: Failed to recompute children of Git Plugin Folder » Git Branches - Maven
            java.lang.IllegalStateException: Did not call mayCreate, or used the wrong Item.name for hudson.model.FreeStyleProject@689690d2[Git-Folder/git-plugin-freestyle-multi-branch/master-PR4.l4tko8c5k0.enkinsfile] with name master-PR4.l4tko8c5k0.enkinsfile among [master-PR439-add-ATH-subset-to-Jenkinsfile, master-PR463-add-git-lfs]
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder$FullReindexChildObserver.created(ComputedFolder.java:667)
            at jenkins.branch.MultiBranchProject$SCMHeadObserverImpl.observe(MultiBranchProject.java:1957)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:315)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:239)
            at jenkins.plugins.git.AbstractGitSCMSource.doRetrieve(AbstractGitSCMSource.java:209)
            at jenkins.plugins.git.AbstractGitSCMSource.retrieve(AbstractGitSCMSource.java:239)
            at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:300)
            at jenkins.scm.api.SCMSource.fetch(SCMSource.java:210)
            at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:625)
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:219)
            at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:141)
            at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:969)
            at hudson.model.ResourceController.execute(ResourceController.java:98)
            at hudson.model.Executor.run(Executor.java:404)
            Finished: FAILURE
            {noformat}
            Hide
            evildeece Alastair D'Silva added a comment - - edited

            I'm also blocked on this, and have a bunch of angry devs who want their jobs back. Do we have a workaround (such as rolling back a plugin)?

            (Note: I did not have this problem running SCM API 2.0.3-SNAPSHOT, built from master, so it's probably not an issue with that plugin)

            Show
            evildeece Alastair D'Silva added a comment - - edited I'm also blocked on this, and have a bunch of angry devs who want their jobs back. Do we have a workaround (such as rolling back a plugin)? (Note: I did not have this problem running SCM API 2.0.3-SNAPSHOT, built from master, so it's probably not an issue with that plugin)
            Hide
            markewaite Mark Waite added a comment - - edited

            Alastair D'Silva, the JENKINS-41948 report suggests that reverting the branch API plugin is enough to resolve the issue. I haven't tested the details to see the "fall-back" version, but one user reports that reverting the branch API plugin was enough.

            However, since that comment was from you, that may hint that the rollback of branch API is not enough.

            I know I had a working configuration in my docker instance on the lts-with-plugins branch for a very long time, so it should be possible to bisect the updates that I made and find the "last place that worked". Unfortunately, I don't have time to do that bisect.

            Show
            markewaite Mark Waite added a comment - - edited Alastair D'Silva , the JENKINS-41948 report suggests that reverting the branch API plugin is enough to resolve the issue. I haven't tested the details to see the "fall-back" version, but one user reports that reverting the branch API plugin was enough. However, since that comment was from you, that may hint that the rollback of branch API is not enough. I know I had a working configuration in my docker instance on the lts-with-plugins branch for a very long time, so it should be possible to bisect the updates that I made and find the "last place that worked". Unfortunately, I don't have time to do that bisect.
            Hide
            evildeece Alastair D'Silva added a comment - - edited

            ping Stephen Connolly (just in case it's Cloudbees Folders related)

            Show
            evildeece Alastair D'Silva added a comment - - edited ping Stephen Connolly (just in case it's Cloudbees Folders related)
            Hide
            evildeece Alastair D'Silva added a comment -

            I tried rolling back Cloudbees Folders to 5.16, but too much depended on the newer version to give me a usable environment.

            Show
            evildeece Alastair D'Silva added a comment - I tried rolling back Cloudbees Folders to 5.16, but too much depended on the newer version to give me a usable environment.
            Hide
            markewaite Mark Waite added a comment - - edited

            I was able to write a little bisect script that helped me locate a configuration that works for me.

            See JENKINS-multi-branch-known-good.pdf, but you can use the latest released git client plugin and the latest released git plugin. I've been testing a pre-release but you can ignore the versions of those two plugins.

            Show
            markewaite Mark Waite added a comment - - edited I was able to write a little bisect script that helped me locate a configuration that works for me. See JENKINS-multi-branch-known-good.pdf , but you can use the latest released git client plugin and the latest released git plugin. I've been testing a pre-release but you can ignore the versions of those two plugins.
            markewaite Mark Waite made changes -
            Show
            stephenconnolly Stephen Connolly added a comment - https://github.com/jenkinsci/multi-branch-project-plugin/pull/145/commits/ed8ed0395dcaac9a76a17547a5f770a9f219ec96 fixes this issue
            stephenconnolly Stephen Connolly made changes -
            Attachment multi-branch-project-plugin.hpi [ 35945 ]
            Hide
            stephenconnolly Stephen Connolly added a comment -

            Attached is a -SNAPSHOT build of the plugin with the fix integrated

            $ shasum multi-branch-project-plugin.hpi
            ca1d3ae04a09293eb85ba34305a91be6af008dd5  multi-branch-project-plugin.hpi
            
            Show
            stephenconnolly Stephen Connolly added a comment - Attached is a -SNAPSHOT build of the plugin with the fix integrated $ shasum multi-branch-project-plugin.hpi ca1d3ae04a09293eb85ba34305a91be6af008dd5 multi-branch-project-plugin.hpi
            stephenconnolly Stephen Connolly made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            stephenconnolly Stephen Connolly made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            stephenconnolly Stephen Connolly made changes -
            Remote Link This issue links to "PR#145 (Web Link)" [ 15441 ]
            stephenconnolly Stephen Connolly made changes -
            Component/s multi-branch-project-plugin [ 21127 ]
            Component/s core [ 15593 ]
            stephenconnolly Stephen Connolly made changes -
            Assignee Matthew DeTullio [ mjdetullio ]
            Hide
            evildeece Alastair D'Silva added a comment - - edited

            Thanks for the quick response Stephen Connolly, that patch fixes the problem for me.

            Show
            evildeece Alastair D'Silva added a comment - - edited Thanks for the quick response Stephen Connolly , that patch fixes the problem for me.
            Hide
            stephenconnolly Stephen Connolly added a comment -

            Alastair D'Silva please stop recommending people to build from git tags. When people build from a tag they will get an artifact that masquerades as the release version but with a different SHA1. Diagnosing issues with an installation becomes a lot harder when you do not know which are the official releases and which are rebuilds. This can be even more problematic in cases where the plugin maintainer decides to delete the tag and recreate because the release did not deploy. When a plugin maintainer hits that kind of problem they will typically start using mvn release:prepare release:perform -DpushChanges=false while they iterate... if they then forget to delete the first tag and manually push the actual release tag then you can end up in a state where the tag you have built is not the tag of the release code (I do not recommend that pattern for plugin developers, but I have seen it done)

            When there is a release version as a dependency, the release must have been cut and will therefore be available from the maven repository, e.g. http://repo.jenkins-ci.org/public/org/jenkins-ci/plugins/branch-api/ has the releases for branch-api

            In any case, all the updates that this depends on have now been published by the jenkins update center.

            Show
            stephenconnolly Stephen Connolly added a comment - Alastair D'Silva please stop recommending people to build from git tags. When people build from a tag they will get an artifact that masquerades as the release version but with a different SHA1. Diagnosing issues with an installation becomes a lot harder when you do not know which are the official releases and which are rebuilds. This can be even more problematic in cases where the plugin maintainer decides to delete the tag and recreate because the release did not deploy. When a plugin maintainer hits that kind of problem they will typically start using mvn release:prepare release:perform -DpushChanges=false while they iterate... if they then forget to delete the first tag and manually push the actual release tag then you can end up in a state where the tag you have built is not the tag of the release code (I do not recommend that pattern for plugin developers, but I have seen it done) When there is a release version as a dependency, the release must have been cut and will therefore be available from the maven repository, e.g. http://repo.jenkins-ci.org/public/org/jenkins-ci/plugins/branch-api/ has the releases for branch-api In any case, all the updates that this depends on have now been published by the jenkins update center.
            Hide
            stephenconnolly Stephen Connolly added a comment -

            Matthew DeTullio now that the PR has been merged, when do you anticipate cutting a release (FTR the @Ignored tests are not blocking a release, rather they are there for you to enable if you ever think you have a fix for the build and delete behaviour contracts)

            Show
            stephenconnolly Stephen Connolly added a comment - Matthew DeTullio now that the PR has been merged, when do you anticipate cutting a release (FTR the @Ignored tests are not blocking a release, rather they are there for you to enable if you ever think you have a fix for the build and delete behaviour contracts)
            Hide
            vlk Vladimir Kralik added a comment -

            I'm going to wait for version 2.0.5

            My environment :

            scm-api-2.0.4 / Mercurial
            Found branch stx-3.0a
            No changes detected: stx-3.0a (still at stx-3.0a:4b137defbbb41e4fee70695f8346436895524ad6)
            Found branch stx-3.0
            ERROR: [Wed Feb 15 21:36:01 UTC 2017] Could not fetch branches from source 4ddeb04b-c82c-4386-b5e4-5c483efb6eaf
            java.lang.IllegalStateException: Did not call mayCreate, or used the wrong Item.name for hudson.maven.MavenModuleSet@5a7d4c2[drg.drg-sk-rules/stx-3-0.l0q718] with name stx-3-0.l0q718 among [stx-3.0, stx-3.0a]
            	at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder$FullReindexChildObserver.created(ComputedFolder.java:667)
            	at jenkins.branch.MultiBranchProject$SCMHeadObserverImpl.observe(MultiBranchProject.java:2003)
            	at hudson.plugins.mercurial.MercurialSCMSource.retrieve(MercurialSCMSource.java:183)
            	at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:300)
            	at jenkins.scm.api.SCMSource.fetch(SCMSource.java:210)
            	at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:634)
            	at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:219)
            	at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:141)
            	at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:973)
            	at hudson.model.ResourceController.execute(ResourceController.java:98)
            	at hudson.model.Executor.run(Executor.java:404)
            [Wed Feb 15 21:36:01 UTC 2017] Finished branch indexing. Indexing took 0.68 sec
            FATAL: Failed to recompute children of drg.drg-sk-rules
            java.lang.IllegalStateException: Did not call mayCreate, or used the wrong Item.name for hudson.maven.MavenModuleSet@5a7d4c2[drg.drg-sk-rules/stx-3-0.l0q718] with name stx-3-0.l0q718 among [stx-3.0, stx-3.0a]
            	at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder$FullReindexChildObserver.created(ComputedFolder.java:667)
            	at jenkins.branch.MultiBranchProject$SCMHeadObserverImpl.observe(MultiBranchProject.java:2003)
            	at hudson.plugins.mercurial.MercurialSCMSource.retrieve(MercurialSCMSource.java:183)
            	at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:300)
            	at jenkins.scm.api.SCMSource.fetch(SCMSource.java:210)
            	at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:634)
            	at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:219)
            	at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:141)
            	at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:973)
            	at hudson.model.ResourceController.execute(ResourceController.java:98)
            	at hudson.model.Executor.run(Executor.java:404)
            Finished: FAILURE
            
            Show
            vlk Vladimir Kralik added a comment - I'm going to wait for version 2.0.5 My environment : scm-api-2.0.4 / Mercurial Found branch stx-3.0a No changes detected: stx-3.0a (still at stx-3.0a:4b137defbbb41e4fee70695f8346436895524ad6) Found branch stx-3.0 ERROR: [Wed Feb 15 21:36:01 UTC 2017] Could not fetch branches from source 4ddeb04b-c82c-4386-b5e4-5c483efb6eaf java.lang.IllegalStateException: Did not call mayCreate, or used the wrong Item.name for hudson.maven.MavenModuleSet@5a7d4c2[drg.drg-sk-rules/stx-3-0.l0q718] with name stx-3-0.l0q718 among [stx-3.0, stx-3.0a] at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder$FullReindexChildObserver.created(ComputedFolder.java:667) at jenkins.branch.MultiBranchProject$SCMHeadObserverImpl.observe(MultiBranchProject.java:2003) at hudson.plugins.mercurial.MercurialSCMSource.retrieve(MercurialSCMSource.java:183) at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:300) at jenkins.scm.api.SCMSource.fetch(SCMSource.java:210) at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:634) at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:219) at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:141) at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:973) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:404) [Wed Feb 15 21:36:01 UTC 2017] Finished branch indexing. Indexing took 0.68 sec FATAL: Failed to recompute children of drg.drg-sk-rules java.lang.IllegalStateException: Did not call mayCreate, or used the wrong Item.name for hudson.maven.MavenModuleSet@5a7d4c2[drg.drg-sk-rules/stx-3-0.l0q718] with name stx-3-0.l0q718 among [stx-3.0, stx-3.0a] at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder$FullReindexChildObserver.created(ComputedFolder.java:667) at jenkins.branch.MultiBranchProject$SCMHeadObserverImpl.observe(MultiBranchProject.java:2003) at hudson.plugins.mercurial.MercurialSCMSource.retrieve(MercurialSCMSource.java:183) at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:300) at jenkins.scm.api.SCMSource.fetch(SCMSource.java:210) at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:634) at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:219) at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:141) at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:973) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:404) Finished: FAILURE
            Hide
            stephenconnolly Stephen Connolly added a comment -

            Vladimir Kralik you need to upgrade multi-branch-project-plugin.hpi to get the fix

            Show
            stephenconnolly Stephen Connolly added a comment - Vladimir Kralik you need to upgrade multi-branch-project-plugin.hpi to get the fix
            tusilein Lukas Gorniak made changes -
            Hide
            moroine Moroine Bentefrit added a comment -

            So I suppose that my issue https://issues.jenkins-ci.org/browse/JENKINS-42107 is related to that bug ?

            Show
            moroine Moroine Bentefrit added a comment - So I suppose that my issue https://issues.jenkins-ci.org/browse/JENKINS-42107 is related to that bug ?
            tusilein Lukas Gorniak made changes -
            Comment [ I'm using the https://github.com/jenkinsci/multi-branch-project-plugin/pull/145/commits/ed8ed0395dcaac9a76a17547a5f770a9f219ec96 patch.

            Now the PROJECTNAME has been replaced by branchname + unique id

            before: [PROJECTNAME]
            after: [s-understanding-ms-longpage-5H3LLON6SLTSHSVS7WO3SYQNGMJGVGTNF4ZNV7MBAP3VQIUBHMTA]




            ]
            Hide
            markewaite Mark Waite added a comment -

            Moroine Bentefrit there may be some relationship with JENKINS-42107, but that relationship was not apparent to me when I read that bug report. Have you tried the snapshot build that Stephen Connolly included earlier in the bug report?

            Show
            markewaite Mark Waite added a comment - Moroine Bentefrit there may be some relationship with JENKINS-42107 , but that relationship was not apparent to me when I read that bug report. Have you tried the snapshot build that Stephen Connolly included earlier in the bug report?
            Hide
            moroine Moroine Bentefrit added a comment -

            It works like a charm ! Thanks ! (I didn't saw that attachment :/ )

            Show
            moroine Moroine Bentefrit added a comment - It works like a charm ! Thanks ! (I didn't saw that attachment :/ )
            markewaite Mark Waite made changes -
            Description Addendum - it appears I'm wrong about the root cause. I reverted scm-api 2.0.3, switching back to scm-api 2.0.2 and see the same behavior. Sorry for the false alarm on scm-api 2.0.3. My initial attempts to bisect the problem have failed. Please ignore this bug report until I investigate further.

            Second addendum - this bug is not visible with the updates applied as of 10 Feb 2017, it is now obscured by the more severe bug JENKINS-41948

            Initial scan of branches in a multi-branch-project fails with an IllegalStateException.

            Steps to duplicate the problem:
            # Clone, build, and run the docker instance
            {code}
              $ git clone https://github.com/MarkEWaite/docker JENKINS-41867
              $ cd JENKINS-41867
              $ git checkout -b lts-with-plugins dac2eebcf7afc90caf9180a9f6a6de6d98ae26b6 # -t origin/lts-with-plugins
              $ docker build -t jenkins:JENKINS-41867 .
              $ docker run -i --rm --publish 8080:8080 jenkins:JENKINS-41867
            {code}
            # Connect a web browser to that docker instance (http://localhost:8080)
            # Open the "Git Client Plugin Folder"
            # Open the "Git Client Branches - Maven" multi-branch job
            # Click the "Scan Project" link and then the "Run Now" link to start branch indexing
            # Click the "Log" link to view the log - stack trace will appear in that log

            The problem seems to be new with scm-api 2.0.3. Prior versions of scm-api did not show the same behavior.

            Stack trace is:

            {noformat}
            Started by user Mark Waite
            [Wed Feb 08 16:59:22 MST 2017] Starting branch indexing...
            Creating git repository in /var/jenkins_home/caches/git-65641b79111589c081c788caa640559c
             > git init /var/jenkins_home/caches/git-65641b79111589c081c788caa640559c # timeout=11
            Setting origin to https://github.com/MarkEWaite/git-plugin.git
             > git config remote.origin.url https://github.com/MarkEWaite/git-plugin.git # timeout=11
            Fetching & pruning origin...
            Fetching upstream changes from origin
             > git --version # timeout=11
            using GIT_ASKPASS to set credentials intentionally invalid user and password for credentials NPE in multi-branch jobs
             > git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/* --prune
            Getting remote branches...
            Seen branch in repository origin/2.6.x
            Seen branch in repository origin/3.0.0-PR439-add-ATH-subset-to-Jenkinsfile
            Seen branch in repository origin/master
            Seen branch in repository origin/master-PR439-add-ATH-subset-to-Jenkinsfile
            Seen branch in repository origin/master-PR463-add-git-lfs
            Seen branch in repository origin/master-PRxxx-move-findbugs-suppressions-into-code
            Seen branch in repository origin/master-findbugs-combined
            Seen branch in repository origin/master-findbugs-fixes
            Seen branch in repository origin/ongoing/latest-jenkins-lts
            Seen branch in repository origin/ongoing/lts
            Seen 10 remote branches
            Checking branch master-PR463-add-git-lfs
            Scheduled build for branch: master-PR463-add-git-lfs
            Checking branch ongoing/lts
            Checking branch master
            Checking branch master-PR439-add-ATH-subset-to-Jenkinsfile
            ERROR: [Wed Feb 08 16:59:24 MST 2017] Could not fetch branches from source d7205f38-9ade-472c-923c-6a839d7ec90d
            java.lang.IllegalStateException: Did not call mayCreate, or used the wrong Item.name for hudson.model.FreeStyleProject@689690d2[Git-Folder/git-plugin-freestyle-multi-branch/master-PR4.l4tko8c5k0.enkinsfile] with name master-PR4.l4tko8c5k0.enkinsfile among [master-PR439-add-ATH-subset-to-Jenkinsfile, master-PR463-add-git-lfs]
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder$FullReindexChildObserver.created(ComputedFolder.java:667)
            at jenkins.branch.MultiBranchProject$SCMHeadObserverImpl.observe(MultiBranchProject.java:1957)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:315)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:239)
            at jenkins.plugins.git.AbstractGitSCMSource.doRetrieve(AbstractGitSCMSource.java:209)
            at jenkins.plugins.git.AbstractGitSCMSource.retrieve(AbstractGitSCMSource.java:239)
            at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:300)
            at jenkins.scm.api.SCMSource.fetch(SCMSource.java:210)
            at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:625)
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:219)
            at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:141)
            at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:969)
            at hudson.model.ResourceController.execute(ResourceController.java:98)
            at hudson.model.Executor.run(Executor.java:404)
            [Wed Feb 08 16:59:24 MST 2017] Finished branch indexing. Indexing took 2.3 sec
            FATAL: Failed to recompute children of Git Plugin Folder » Git Branches - Maven
            java.lang.IllegalStateException: Did not call mayCreate, or used the wrong Item.name for hudson.model.FreeStyleProject@689690d2[Git-Folder/git-plugin-freestyle-multi-branch/master-PR4.l4tko8c5k0.enkinsfile] with name master-PR4.l4tko8c5k0.enkinsfile among [master-PR439-add-ATH-subset-to-Jenkinsfile, master-PR463-add-git-lfs]
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder$FullReindexChildObserver.created(ComputedFolder.java:667)
            at jenkins.branch.MultiBranchProject$SCMHeadObserverImpl.observe(MultiBranchProject.java:1957)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:315)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:239)
            at jenkins.plugins.git.AbstractGitSCMSource.doRetrieve(AbstractGitSCMSource.java:209)
            at jenkins.plugins.git.AbstractGitSCMSource.retrieve(AbstractGitSCMSource.java:239)
            at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:300)
            at jenkins.scm.api.SCMSource.fetch(SCMSource.java:210)
            at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:625)
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:219)
            at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:141)
            at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:969)
            at hudson.model.ResourceController.execute(ResourceController.java:98)
            at hudson.model.Executor.run(Executor.java:404)
            Finished: FAILURE
            {noformat}
            Initial scan of branches in a multi-branch-project fails with an IllegalStateException.

            Steps to duplicate the problem:
            # Clone, build, and run the docker instance
            {code}
              $ git clone https://github.com/MarkEWaite/docker JENKINS-41867
              $ cd JENKINS-41867
              $ git checkout -b lts-with-plugins dac2eebcf7afc90caf9180a9f6a6de6d98ae26b6 # -t origin/lts-with-plugins
              $ docker build -t jenkins:JENKINS-41867 .
              $ docker run -i --rm --publish 8080:8080 jenkins:JENKINS-41867
            {code}
            # Connect a web browser to that docker instance (http://localhost:8080)
            # Open the "Git Client Plugin Folder"
            # Open the "Git Client Branches - Maven" multi-branch job
            # Click the "Scan Project" link and then the "Run Now" link to start branch indexing
            # Click the "Log" link to view the log - stack trace will appear in that log

            The problem seems to be new with scm-api 2.0.3. Prior versions of scm-api did not show the same behavior.

            Stack trace is:

            {noformat}
            Started by user Mark Waite
            [Wed Feb 08 16:59:22 MST 2017] Starting branch indexing...
            Creating git repository in /var/jenkins_home/caches/git-65641b79111589c081c788caa640559c
             > git init /var/jenkins_home/caches/git-65641b79111589c081c788caa640559c # timeout=11
            Setting origin to https://github.com/MarkEWaite/git-plugin.git
             > git config remote.origin.url https://github.com/MarkEWaite/git-plugin.git # timeout=11
            Fetching & pruning origin...
            Fetching upstream changes from origin
             > git --version # timeout=11
            using GIT_ASKPASS to set credentials intentionally invalid user and password for credentials NPE in multi-branch jobs
             > git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/* --prune
            Getting remote branches...
            Seen branch in repository origin/2.6.x
            Seen branch in repository origin/3.0.0-PR439-add-ATH-subset-to-Jenkinsfile
            Seen branch in repository origin/master
            Seen branch in repository origin/master-PR439-add-ATH-subset-to-Jenkinsfile
            Seen branch in repository origin/master-PR463-add-git-lfs
            Seen branch in repository origin/master-PRxxx-move-findbugs-suppressions-into-code
            Seen branch in repository origin/master-findbugs-combined
            Seen branch in repository origin/master-findbugs-fixes
            Seen branch in repository origin/ongoing/latest-jenkins-lts
            Seen branch in repository origin/ongoing/lts
            Seen 10 remote branches
            Checking branch master-PR463-add-git-lfs
            Scheduled build for branch: master-PR463-add-git-lfs
            Checking branch ongoing/lts
            Checking branch master
            Checking branch master-PR439-add-ATH-subset-to-Jenkinsfile
            ERROR: [Wed Feb 08 16:59:24 MST 2017] Could not fetch branches from source d7205f38-9ade-472c-923c-6a839d7ec90d
            java.lang.IllegalStateException: Did not call mayCreate, or used the wrong Item.name for hudson.model.FreeStyleProject@689690d2[Git-Folder/git-plugin-freestyle-multi-branch/master-PR4.l4tko8c5k0.enkinsfile] with name master-PR4.l4tko8c5k0.enkinsfile among [master-PR439-add-ATH-subset-to-Jenkinsfile, master-PR463-add-git-lfs]
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder$FullReindexChildObserver.created(ComputedFolder.java:667)
            at jenkins.branch.MultiBranchProject$SCMHeadObserverImpl.observe(MultiBranchProject.java:1957)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:315)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:239)
            at jenkins.plugins.git.AbstractGitSCMSource.doRetrieve(AbstractGitSCMSource.java:209)
            at jenkins.plugins.git.AbstractGitSCMSource.retrieve(AbstractGitSCMSource.java:239)
            at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:300)
            at jenkins.scm.api.SCMSource.fetch(SCMSource.java:210)
            at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:625)
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:219)
            at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:141)
            at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:969)
            at hudson.model.ResourceController.execute(ResourceController.java:98)
            at hudson.model.Executor.run(Executor.java:404)
            [Wed Feb 08 16:59:24 MST 2017] Finished branch indexing. Indexing took 2.3 sec
            FATAL: Failed to recompute children of Git Plugin Folder » Git Branches - Maven
            java.lang.IllegalStateException: Did not call mayCreate, or used the wrong Item.name for hudson.model.FreeStyleProject@689690d2[Git-Folder/git-plugin-freestyle-multi-branch/master-PR4.l4tko8c5k0.enkinsfile] with name master-PR4.l4tko8c5k0.enkinsfile among [master-PR439-add-ATH-subset-to-Jenkinsfile, master-PR463-add-git-lfs]
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder$FullReindexChildObserver.created(ComputedFolder.java:667)
            at jenkins.branch.MultiBranchProject$SCMHeadObserverImpl.observe(MultiBranchProject.java:1957)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:315)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:239)
            at jenkins.plugins.git.AbstractGitSCMSource.doRetrieve(AbstractGitSCMSource.java:209)
            at jenkins.plugins.git.AbstractGitSCMSource.retrieve(AbstractGitSCMSource.java:239)
            at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:300)
            at jenkins.scm.api.SCMSource.fetch(SCMSource.java:210)
            at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:625)
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:219)
            at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:141)
            at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:969)
            at hudson.model.ResourceController.execute(ResourceController.java:98)
            at hudson.model.Executor.run(Executor.java:404)
            Finished: FAILURE
            {noformat}

            Addendum - it appears I'm wrong about the root cause. I reverted scm-api 2.0.3, switching back to scm-api 2.0.2 and see the same behavior. Sorry for the false alarm on scm-api 2.0.3. My initial attempts to bisect the problem have failed. Please ignore this bug report until I investigate further.

            Second addendum - this bug is not visible with the updates applied as of 10 Feb 2017, it is now obscured by the more severe bug JENKINS-41948

            markewaite Mark Waite made changes -
            Description Initial scan of branches in a multi-branch-project fails with an IllegalStateException.

            Steps to duplicate the problem:
            # Clone, build, and run the docker instance
            {code}
              $ git clone https://github.com/MarkEWaite/docker JENKINS-41867
              $ cd JENKINS-41867
              $ git checkout -b lts-with-plugins dac2eebcf7afc90caf9180a9f6a6de6d98ae26b6 # -t origin/lts-with-plugins
              $ docker build -t jenkins:JENKINS-41867 .
              $ docker run -i --rm --publish 8080:8080 jenkins:JENKINS-41867
            {code}
            # Connect a web browser to that docker instance (http://localhost:8080)
            # Open the "Git Client Plugin Folder"
            # Open the "Git Client Branches - Maven" multi-branch job
            # Click the "Scan Project" link and then the "Run Now" link to start branch indexing
            # Click the "Log" link to view the log - stack trace will appear in that log

            The problem seems to be new with scm-api 2.0.3. Prior versions of scm-api did not show the same behavior.

            Stack trace is:

            {noformat}
            Started by user Mark Waite
            [Wed Feb 08 16:59:22 MST 2017] Starting branch indexing...
            Creating git repository in /var/jenkins_home/caches/git-65641b79111589c081c788caa640559c
             > git init /var/jenkins_home/caches/git-65641b79111589c081c788caa640559c # timeout=11
            Setting origin to https://github.com/MarkEWaite/git-plugin.git
             > git config remote.origin.url https://github.com/MarkEWaite/git-plugin.git # timeout=11
            Fetching & pruning origin...
            Fetching upstream changes from origin
             > git --version # timeout=11
            using GIT_ASKPASS to set credentials intentionally invalid user and password for credentials NPE in multi-branch jobs
             > git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/* --prune
            Getting remote branches...
            Seen branch in repository origin/2.6.x
            Seen branch in repository origin/3.0.0-PR439-add-ATH-subset-to-Jenkinsfile
            Seen branch in repository origin/master
            Seen branch in repository origin/master-PR439-add-ATH-subset-to-Jenkinsfile
            Seen branch in repository origin/master-PR463-add-git-lfs
            Seen branch in repository origin/master-PRxxx-move-findbugs-suppressions-into-code
            Seen branch in repository origin/master-findbugs-combined
            Seen branch in repository origin/master-findbugs-fixes
            Seen branch in repository origin/ongoing/latest-jenkins-lts
            Seen branch in repository origin/ongoing/lts
            Seen 10 remote branches
            Checking branch master-PR463-add-git-lfs
            Scheduled build for branch: master-PR463-add-git-lfs
            Checking branch ongoing/lts
            Checking branch master
            Checking branch master-PR439-add-ATH-subset-to-Jenkinsfile
            ERROR: [Wed Feb 08 16:59:24 MST 2017] Could not fetch branches from source d7205f38-9ade-472c-923c-6a839d7ec90d
            java.lang.IllegalStateException: Did not call mayCreate, or used the wrong Item.name for hudson.model.FreeStyleProject@689690d2[Git-Folder/git-plugin-freestyle-multi-branch/master-PR4.l4tko8c5k0.enkinsfile] with name master-PR4.l4tko8c5k0.enkinsfile among [master-PR439-add-ATH-subset-to-Jenkinsfile, master-PR463-add-git-lfs]
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder$FullReindexChildObserver.created(ComputedFolder.java:667)
            at jenkins.branch.MultiBranchProject$SCMHeadObserverImpl.observe(MultiBranchProject.java:1957)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:315)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:239)
            at jenkins.plugins.git.AbstractGitSCMSource.doRetrieve(AbstractGitSCMSource.java:209)
            at jenkins.plugins.git.AbstractGitSCMSource.retrieve(AbstractGitSCMSource.java:239)
            at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:300)
            at jenkins.scm.api.SCMSource.fetch(SCMSource.java:210)
            at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:625)
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:219)
            at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:141)
            at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:969)
            at hudson.model.ResourceController.execute(ResourceController.java:98)
            at hudson.model.Executor.run(Executor.java:404)
            [Wed Feb 08 16:59:24 MST 2017] Finished branch indexing. Indexing took 2.3 sec
            FATAL: Failed to recompute children of Git Plugin Folder » Git Branches - Maven
            java.lang.IllegalStateException: Did not call mayCreate, or used the wrong Item.name for hudson.model.FreeStyleProject@689690d2[Git-Folder/git-plugin-freestyle-multi-branch/master-PR4.l4tko8c5k0.enkinsfile] with name master-PR4.l4tko8c5k0.enkinsfile among [master-PR439-add-ATH-subset-to-Jenkinsfile, master-PR463-add-git-lfs]
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder$FullReindexChildObserver.created(ComputedFolder.java:667)
            at jenkins.branch.MultiBranchProject$SCMHeadObserverImpl.observe(MultiBranchProject.java:1957)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:315)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:239)
            at jenkins.plugins.git.AbstractGitSCMSource.doRetrieve(AbstractGitSCMSource.java:209)
            at jenkins.plugins.git.AbstractGitSCMSource.retrieve(AbstractGitSCMSource.java:239)
            at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:300)
            at jenkins.scm.api.SCMSource.fetch(SCMSource.java:210)
            at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:625)
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:219)
            at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:141)
            at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:969)
            at hudson.model.ResourceController.execute(ResourceController.java:98)
            at hudson.model.Executor.run(Executor.java:404)
            Finished: FAILURE
            {noformat}

            Addendum - it appears I'm wrong about the root cause. I reverted scm-api 2.0.3, switching back to scm-api 2.0.2 and see the same behavior. Sorry for the false alarm on scm-api 2.0.3. My initial attempts to bisect the problem have failed. Please ignore this bug report until I investigate further.

            Second addendum - this bug is not visible with the updates applied as of 10 Feb 2017, it is now obscured by the more severe bug JENKINS-41948

            Initial scan of branches in a multi-branch-project fails with an IllegalStateException.

            Steps to duplicate the problem:
            # Clone, build, and run the docker instance
            {code}
              $ git clone https://github.com/MarkEWaite/docker JENKINS-41867
              $ cd JENKINS-41867
              $ git checkout -b lts-with-plugins dac2eebcf7afc90caf9180a9f6a6de6d98ae26b6 # -t origin/lts-with-plugins
              $ docker build -t jenkins:JENKINS-41867 .
              $ docker run -i --rm --publish 8080:8080 jenkins:JENKINS-41867
            {code}
            # Connect a web browser to that docker instance (http://localhost:8080)
            # Open the "Git Client Plugin Folder"
            # Open the "Git Client Branches - Maven" multi-branch job
            # Click the "Scan Project" link and then the "Run Now" link to start branch indexing
            # Click the "Log" link to view the log - stack trace will appear in that log

            The problem seems to be new with scm-api 2.0.3. Prior versions of scm-api did not show the same behavior.

            Stack trace is:

            {noformat}
            Started by user Mark Waite
            [Wed Feb 08 16:59:22 MST 2017] Starting branch indexing...
            Creating git repository in /var/jenkins_home/caches/git-65641b79111589c081c788caa640559c
             > git init /var/jenkins_home/caches/git-65641b79111589c081c788caa640559c # timeout=11
            Setting origin to https://github.com/MarkEWaite/git-plugin.git
             > git config remote.origin.url https://github.com/MarkEWaite/git-plugin.git # timeout=11
            Fetching & pruning origin...
            Fetching upstream changes from origin
             > git --version # timeout=11
            using GIT_ASKPASS to set credentials intentionally invalid user and password for credentials NPE in multi-branch jobs
             > git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/* --prune
            Getting remote branches...
            Seen branch in repository origin/2.6.x
            Seen branch in repository origin/3.0.0-PR439-add-ATH-subset-to-Jenkinsfile
            Seen branch in repository origin/master
            Seen branch in repository origin/master-PR439-add-ATH-subset-to-Jenkinsfile
            Seen branch in repository origin/master-PR463-add-git-lfs
            Seen branch in repository origin/master-PRxxx-move-findbugs-suppressions-into-code
            Seen branch in repository origin/master-findbugs-combined
            Seen branch in repository origin/master-findbugs-fixes
            Seen branch in repository origin/ongoing/latest-jenkins-lts
            Seen branch in repository origin/ongoing/lts
            Seen 10 remote branches
            Checking branch master-PR463-add-git-lfs
            Scheduled build for branch: master-PR463-add-git-lfs
            Checking branch ongoing/lts
            Checking branch master
            Checking branch master-PR439-add-ATH-subset-to-Jenkinsfile
            ERROR: [Wed Feb 08 16:59:24 MST 2017] Could not fetch branches from source d7205f38-9ade-472c-923c-6a839d7ec90d
            java.lang.IllegalStateException: Did not call mayCreate, or used the wrong Item.name for hudson.model.FreeStyleProject@689690d2[Git-Folder/git-plugin-freestyle-multi-branch/master-PR4.l4tko8c5k0.enkinsfile] with name master-PR4.l4tko8c5k0.enkinsfile among [master-PR439-add-ATH-subset-to-Jenkinsfile, master-PR463-add-git-lfs]
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder$FullReindexChildObserver.created(ComputedFolder.java:667)
            at jenkins.branch.MultiBranchProject$SCMHeadObserverImpl.observe(MultiBranchProject.java:1957)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:315)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:239)
            at jenkins.plugins.git.AbstractGitSCMSource.doRetrieve(AbstractGitSCMSource.java:209)
            at jenkins.plugins.git.AbstractGitSCMSource.retrieve(AbstractGitSCMSource.java:239)
            at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:300)
            at jenkins.scm.api.SCMSource.fetch(SCMSource.java:210)
            at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:625)
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:219)
            at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:141)
            at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:969)
            at hudson.model.ResourceController.execute(ResourceController.java:98)
            at hudson.model.Executor.run(Executor.java:404)
            [Wed Feb 08 16:59:24 MST 2017] Finished branch indexing. Indexing took 2.3 sec
            FATAL: Failed to recompute children of Git Plugin Folder » Git Branches - Maven
            java.lang.IllegalStateException: Did not call mayCreate, or used the wrong Item.name for hudson.model.FreeStyleProject@689690d2[Git-Folder/git-plugin-freestyle-multi-branch/master-PR4.l4tko8c5k0.enkinsfile] with name master-PR4.l4tko8c5k0.enkinsfile among [master-PR439-add-ATH-subset-to-Jenkinsfile, master-PR463-add-git-lfs]
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder$FullReindexChildObserver.created(ComputedFolder.java:667)
            at jenkins.branch.MultiBranchProject$SCMHeadObserverImpl.observe(MultiBranchProject.java:1957)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:315)
            at jenkins.plugins.git.AbstractGitSCMSource$2.run(AbstractGitSCMSource.java:239)
            at jenkins.plugins.git.AbstractGitSCMSource.doRetrieve(AbstractGitSCMSource.java:209)
            at jenkins.plugins.git.AbstractGitSCMSource.retrieve(AbstractGitSCMSource.java:239)
            at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:300)
            at jenkins.scm.api.SCMSource.fetch(SCMSource.java:210)
            at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:625)
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:219)
            at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:141)
            at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:969)
            at hudson.model.ResourceController.execute(ResourceController.java:98)
            at hudson.model.Executor.run(Executor.java:404)
            Finished: FAILURE
            {noformat}

            Addendum - it appears I'm wrong about the root cause. I reverted scm-api 2.0.3, switching back to scm-api 2.0.2 and see the same behavior. Sorry for the false alarm on scm-api 2.0.3. My initial attempts to bisect the problem have failed. Please ignore this bug report until I investigate further.

            Second addendum - this bug is not visible with the updates applied as of 10 Feb 2017, it is now obscured by the more severe bug JENKINS-41948

            Third addendum - refer to [^multi-branch-project-plugin.hpi] for a plugin compiled with the proposed pull request that resolves the issue.
            Hide
            vlk Vladimir Kralik added a comment -

            Stephen Connolly said :
            Vladimir Kralik you need to upgrade multi-branch-project-plugin.hpi to get the fix

            I've installed the latest version of multi-branch-project-plugin.hpi ( 0.5.1 ) and the problem still persists.

            [418D226A0DD6E28D66A2D5E7B1577BFE9FA54AB7-drg-sk-rules-svc-health_hudson-hg] $ hg --config hostfingerprints.hg=18:CF:17:C1:0B:1F:03:A0:C2:06:BE:B2:E3:9E:DA:A1:31:A0:D4:06 --config hostfingerprints.hg.assecosk.local=18:CF:17:C1:0B:1F:03:A0:C2:06:BE:B2:E3:9E:DA:A1:31:A0:D4:06 --config auth.jenkins.prefix=* --config ******** --config ******** --config "auth.jenkins.schemes=http https" heads --template "{node} {branch}\n"
            
            Found branch stx-3.0a
            ERROR: [Tue Feb 21 06:52:13 UTC 2017] Could not fetch branches from source f91e81df-0b14-4805-96ab-430dca6b0ab5
            java.lang.IllegalStateException: Did not call mayCreate, or used the wrong Item.name for hudson.maven.MavenModuleSet@51fd39f9[drg.drg-sk-rules/stx-3-0a.0r0cva] with name stx-3-0a.0r0cva among [stx-3.0a]
            	at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder$FullReindexChildObserver.created(ComputedFolder.java:667)
            	at jenkins.branch.MultiBranchProject$SCMHeadObserverImpl.observe(MultiBranchProject.java:2003)
            	at hudson.plugins.mercurial.MercurialSCMSource.retrieve(MercurialSCMSource.java:183)
            	at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:300)
            	at jenkins.scm.api.SCMSource.fetch(SCMSource.java:210)
            	at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:634)
            	at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:219)
            	at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:141)
            	at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:973)
            	at hudson.model.ResourceController.execute(ResourceController.java:98)
            	at hudson.model.Executor.run(Executor.java:404)
            [Tue Feb 21 06:52:13 UTC 2017] Finished branch indexing. Indexing took 0.82 sec
            FATAL: Failed to recompute children of drg.drg-sk-rules
            java.lang.IllegalStateException: Did not call mayCreate, or used the wrong Item.name for hudson.maven.MavenModuleSet@51fd39f9[drg.drg-sk-rules/stx-3-0a.0r0cva] with name stx-3-0a.0r0cva among [stx-3.0a]
            	at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder$FullReindexChildObserver.created(ComputedFolder.java:667)
            	at jenkins.branch.MultiBranchProject$SCMHeadObserverImpl.observe(MultiBranchProject.java:2003)
            	at hudson.plugins.mercurial.MercurialSCMSource.retrieve(MercurialSCMSource.java:183)
            	at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:300)
            	at jenkins.scm.api.SCMSource.fetch(SCMSource.java:210)
            	at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:634)
            	at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:219)
            	at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:141)
            	at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:973)
            	at hudson.model.ResourceController.execute(ResourceController.java:98)
            	at hudson.model.Executor.run(Executor.java:404)
            Finished: FAILURE
            
            Show
            vlk Vladimir Kralik added a comment - Stephen Connolly said : Vladimir Kralik you need to upgrade multi-branch-project-plugin.hpi to get the fix I've installed the latest version of multi-branch-project-plugin.hpi ( 0.5.1 ) and the problem still persists. [418D226A0DD6E28D66A2D5E7B1577BFE9FA54AB7-drg-sk-rules-svc-health_hudson-hg] $ hg --config hostfingerprints.hg=18:CF:17:C1:0B:1F:03:A0:C2:06:BE:B2:E3:9E:DA:A1:31:A0:D4:06 --config hostfingerprints.hg.assecosk.local=18:CF:17:C1:0B:1F:03:A0:C2:06:BE:B2:E3:9E:DA:A1:31:A0:D4:06 --config auth.jenkins.prefix=* --config ******** --config ******** --config "auth.jenkins.schemes=http https" heads --template "{node} {branch}\n" Found branch stx-3.0a ERROR: [Tue Feb 21 06:52:13 UTC 2017] Could not fetch branches from source f91e81df-0b14-4805-96ab-430dca6b0ab5 java.lang.IllegalStateException: Did not call mayCreate, or used the wrong Item.name for hudson.maven.MavenModuleSet@51fd39f9[drg.drg-sk-rules/stx-3-0a.0r0cva] with name stx-3-0a.0r0cva among [stx-3.0a] at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder$FullReindexChildObserver.created(ComputedFolder.java:667) at jenkins.branch.MultiBranchProject$SCMHeadObserverImpl.observe(MultiBranchProject.java:2003) at hudson.plugins.mercurial.MercurialSCMSource.retrieve(MercurialSCMSource.java:183) at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:300) at jenkins.scm.api.SCMSource.fetch(SCMSource.java:210) at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:634) at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:219) at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:141) at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:973) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:404) [Tue Feb 21 06:52:13 UTC 2017] Finished branch indexing. Indexing took 0.82 sec FATAL: Failed to recompute children of drg.drg-sk-rules java.lang.IllegalStateException: Did not call mayCreate, or used the wrong Item.name for hudson.maven.MavenModuleSet@51fd39f9[drg.drg-sk-rules/stx-3-0a.0r0cva] with name stx-3-0a.0r0cva among [stx-3.0a] at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder$FullReindexChildObserver.created(ComputedFolder.java:667) at jenkins.branch.MultiBranchProject$SCMHeadObserverImpl.observe(MultiBranchProject.java:2003) at hudson.plugins.mercurial.MercurialSCMSource.retrieve(MercurialSCMSource.java:183) at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:300) at jenkins.scm.api.SCMSource.fetch(SCMSource.java:210) at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:634) at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:219) at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:141) at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:973) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:404) Finished: FAILURE
            Hide
            evildeece Alastair D'Silva added a comment -

            Vladimir Kralik the attached plugin fixed it for me. Did you restart after applying it? If so, could you please post an inventory of your installed plugins? That will make it a bit easier to figure out what the problem is.

            Show
            evildeece Alastair D'Silva added a comment - Vladimir Kralik the attached plugin fixed it for me. Did you restart after applying it? If so, could you please post an inventory of your installed plugins? That will make it a bit easier to figure out what the problem is.
            Hide
            mbtc Marcus Collins added a comment -

            Hello, I have found that if I leave the branch-api plugin at my current version (1.11.1), the issue does not occur in our normal system.
            I have also tested the above HPI file with the latest plugins in a sandbox Jenkins installation and this also fixed the issue.

            Show
            mbtc Marcus Collins added a comment - Hello, I have found that if I leave the branch-api plugin at my current version (1.11.1), the issue does not occur in our normal system. I have also tested the above HPI file with the latest plugins in a sandbox Jenkins installation and this also fixed the issue.
            tusilein Lukas Gorniak made changes -
            Comment [ Applied the attachment.

            At workspace creation got following:

            before:
            Building in workspace /var/lib/jenkins/workspace/<ProjectName>/<branchname>

            after:
            Building in workspace /var/lib/jenkins/workspace/<branchname>-4TOVGLFN5C3CTYYWFGKYLHKOU7QZGTMTJYJZQFYWXZ7XBF3GTW6A




            ]
            Hide
            kpop kpop added a comment -

            The attached plugin also fixes the issue for me. Thank you!

            Show
            kpop kpop added a comment - The attached plugin also fixes the issue for me. Thank you!
            Hide
            mjdetullio Matthew DeTullio added a comment -

            Fixed in version 0.6

            Show
            mjdetullio Matthew DeTullio added a comment - Fixed in version 0.6
            mjdetullio Matthew DeTullio made changes -
            Resolution Fixed [ 1 ]
            Status In Review [ 10005 ] Resolved [ 5 ]
            markewaite Mark Waite made changes -
            Status Resolved [ 5 ] Closed [ 6 ]

              People

              Assignee:
              mjdetullio Matthew DeTullio
              Reporter:
              markewaite Mark Waite
              Votes:
              9 Vote for this issue
              Watchers:
              14 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: