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

scm-syn-configuration issues with multi branch project

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Labels:
      None
    • Environment:
      ubuntu 14.04 64 bit
      java 1.7
      Jenkins 2.7
      sync configuration 0.10
      multi-branch-project-plugin 0.4.2
      git 2.4.4
      git-changelog
      git-client 1.19.6
      git-parameter 0.5.1
      git-server 1.6
    • Similar Issues:

      Description

      i'm using the multi-branch-project plugin.
      I get the following errors and there are no commits in the local git repository.
      these errors appear for every configuration change in jenkins.

      also, when I browse /var/lib/jenkins/jobs/my-feature-branches there is a folder named branches, and underneath it there are multiple folders which contain config.xml files.
      when I browse /var/lib/jenkins/scm-sync-configuration/checkoutConfiguration/my-feature-branches, there is only config.xml and no further folders or files.

      Aug 16, 2016 9:41:13 AM FINEST hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness
      Processing commit : Commit hudson.plugins.scm_sync_configuration.model.Commit@2076693a :
      Author : SYSTEM
      Comment : SYSTEM: File hierarchy deleted

      Change performed by SYSTEM

      Changeset :
      D jobs/My-feature-branches/branches/my-branch-name

      Aug 16, 2016 9:41:13 AM FINE hudson.plugins.scm_sync_configuration.SCMManipulator
      Deleting SCM hierarchy [/var/lib/jenkins/scm-sync-configuration/checkoutConfiguration/jobs/My-feature-branches/branches/my-branch-name] from SCM ...

      Aug 16, 2016 9:41:13 AM FINER org.apache.maven.scm.manager.ScmManager remove

      THROW
      org.apache.maven.scm.ScmException: Exception while executing SCM command.
      at org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:63)
      at org.apache.maven.scm.provider.git.AbstractGitScmProvider.executeCommand(AbstractGitScmProvider.java:291)
      at org.apache.maven.scm.provider.git.AbstractGitScmProvider.remove(AbstractGitScmProvider.java:255)
      at org.apache.maven.scm.provider.AbstractScmProvider.remove(AbstractScmProvider.java:773)
      at org.apache.maven.scm.manager.AbstractScmManager.remove(AbstractScmManager.java:553)
      at hudson.plugins.scm_sync_configuration.SCMManipulator.deleteHierarchy(SCMManipulator.java:127)
      at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness.deleteHierarchy(ScmSyncConfigurationBusiness.java:117)
      at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness.processCommitsQueue(ScmSyncConfigurationBusiness.java:214)
      at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness.access$000(ScmSyncConfigurationBusiness.java:32)
      at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness$1.call(ScmSyncConfigurationBusiness.java:148)
      at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness$1.call(ScmSyncConfigurationBusiness.java:145)
      at java.util.concurrent.FutureTask.run(FutureTask.java:262)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      at java.lang.Thread.run(Thread.java:745)
      Caused by: org.apache.maven.scm.ScmException: Error while executing command.
      at org.apache.maven.scm.provider.git.gitexe.command.GitCommandLineUtils.execute(GitCommandLineUtils.java:150)
      at org.apache.maven.scm.provider.git.gitexe.command.remove.GitRemoveCommand.executeRemoveCommand(GitRemoveCommand.java:65)
      at org.apache.maven.scm.command.remove.AbstractRemoveCommand.executeCommand(AbstractRemoveCommand.java:49)
      at org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:59)
      ... 14 more
      Caused by: org.codehaus.plexus.util.cli.CommandLineException: Working directory "/var/lib/jenkins/scm-sync-configuration/checkoutConfiguration/jobs/My-feature-branches/branches/my-branch-name" does not exist!
      at org.codehaus.plexus.util.cli.Commandline.execute(Commandline.java:661)
      at org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLineAsCallable(CommandLineUtils.java:134)
      at org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:105)
      at org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:74)
      at org.apache.maven.scm.provider.git.gitexe.command.GitCommandLineUtils.execute(GitCommandLineUtils.java:146)
      ... 17 more

      Aug 16, 2016 9:41:13 AM SEVERE hudson.plugins.scm_sync_configuration.SCMManipulator deleteHierarchy

      [deleteHierarchy] Hierarchy deletion aborted : Exception while executing SCM command.

        Attachments

          Activity

          liricooli liron tal created issue -
          liricooli liron tal made changes -
          Field Original Value New Value
          Description i'm using the multi-branch-project plugin.
          I get the following errors and there are no commits in the local git repository.
          these errors appear for every configuration change in jenkins.

          Aug 16, 2016 9:41:13 AM FINEST hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness
          Processing commit : Commit hudson.plugins.scm_sync_configuration.model.Commit@2076693a :
            Author : SYSTEM
            Comment : SYSTEM: File hierarchy deleted

          Change performed by SYSTEM

            Changeset :
              D jobs/My-feature-branches/branches/my-branch-name

          Aug 16, 2016 9:41:13 AM FINE hudson.plugins.scm_sync_configuration.SCMManipulator
          Deleting SCM hierarchy [/var/lib/jenkins/scm-sync-configuration/checkoutConfiguration/jobs/My-feature-branches/branches/my-branch-name] from SCM ...

          Aug 16, 2016 9:41:13 AM FINER org.apache.maven.scm.manager.ScmManager remove

          THROW
          org.apache.maven.scm.ScmException: Exception while executing SCM command.
          at org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:63)
          at org.apache.maven.scm.provider.git.AbstractGitScmProvider.executeCommand(AbstractGitScmProvider.java:291)
          at org.apache.maven.scm.provider.git.AbstractGitScmProvider.remove(AbstractGitScmProvider.java:255)
          at org.apache.maven.scm.provider.AbstractScmProvider.remove(AbstractScmProvider.java:773)
          at org.apache.maven.scm.manager.AbstractScmManager.remove(AbstractScmManager.java:553)
          at hudson.plugins.scm_sync_configuration.SCMManipulator.deleteHierarchy(SCMManipulator.java:127)
          at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness.deleteHierarchy(ScmSyncConfigurationBusiness.java:117)
          at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness.processCommitsQueue(ScmSyncConfigurationBusiness.java:214)
          at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness.access$000(ScmSyncConfigurationBusiness.java:32)
          at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness$1.call(ScmSyncConfigurationBusiness.java:148)
          at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness$1.call(ScmSyncConfigurationBusiness.java:145)
          at java.util.concurrent.FutureTask.run(FutureTask.java:262)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
          at java.lang.Thread.run(Thread.java:745)
          Caused by: org.apache.maven.scm.ScmException: Error while executing command.
          at org.apache.maven.scm.provider.git.gitexe.command.GitCommandLineUtils.execute(GitCommandLineUtils.java:150)
          at org.apache.maven.scm.provider.git.gitexe.command.remove.GitRemoveCommand.executeRemoveCommand(GitRemoveCommand.java:65)
          at org.apache.maven.scm.command.remove.AbstractRemoveCommand.executeCommand(AbstractRemoveCommand.java:49)
          at org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:59)
          ... 14 more
          Caused by: org.codehaus.plexus.util.cli.CommandLineException: Working directory "/var/lib/jenkins/scm-sync-configuration/checkoutConfiguration/jobs/My-feature-branches/branches/my-branch-name" does not exist!
          at org.codehaus.plexus.util.cli.Commandline.execute(Commandline.java:661)
          at org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLineAsCallable(CommandLineUtils.java:134)
          at org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:105)
          at org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:74)
          at org.apache.maven.scm.provider.git.gitexe.command.GitCommandLineUtils.execute(GitCommandLineUtils.java:146)
          ... 17 more

          Aug 16, 2016 9:41:13 AM SEVERE hudson.plugins.scm_sync_configuration.SCMManipulator deleteHierarchy

          [deleteHierarchy] Hierarchy deletion aborted : Exception while executing SCM command.

          i'm using the multi-branch-project plugin.
          I get the following errors and there are no commits in the local git repository.
          these errors appear for every configuration change in jenkins.

          also, when I browse /var/lib/jenkins/jobs/my-feature-branches there is a folder named branches, and underneath it there are multiple folders which contain config.xml files.
          when I browse /var/lib/jenkins/scm-sync-configuration/checkoutConfiguration/my-feature-branches, there is only config.xml and no further folders or files.

          Aug 16, 2016 9:41:13 AM FINEST hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness
          Processing commit : Commit hudson.plugins.scm_sync_configuration.model.Commit@2076693a :
            Author : SYSTEM
            Comment : SYSTEM: File hierarchy deleted

          Change performed by SYSTEM

            Changeset :
              D jobs/My-feature-branches/branches/my-branch-name

          Aug 16, 2016 9:41:13 AM FINE hudson.plugins.scm_sync_configuration.SCMManipulator
          Deleting SCM hierarchy [/var/lib/jenkins/scm-sync-configuration/checkoutConfiguration/jobs/My-feature-branches/branches/my-branch-name] from SCM ...

          Aug 16, 2016 9:41:13 AM FINER org.apache.maven.scm.manager.ScmManager remove

          THROW
          org.apache.maven.scm.ScmException: Exception while executing SCM command.
          at org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:63)
          at org.apache.maven.scm.provider.git.AbstractGitScmProvider.executeCommand(AbstractGitScmProvider.java:291)
          at org.apache.maven.scm.provider.git.AbstractGitScmProvider.remove(AbstractGitScmProvider.java:255)
          at org.apache.maven.scm.provider.AbstractScmProvider.remove(AbstractScmProvider.java:773)
          at org.apache.maven.scm.manager.AbstractScmManager.remove(AbstractScmManager.java:553)
          at hudson.plugins.scm_sync_configuration.SCMManipulator.deleteHierarchy(SCMManipulator.java:127)
          at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness.deleteHierarchy(ScmSyncConfigurationBusiness.java:117)
          at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness.processCommitsQueue(ScmSyncConfigurationBusiness.java:214)
          at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness.access$000(ScmSyncConfigurationBusiness.java:32)
          at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness$1.call(ScmSyncConfigurationBusiness.java:148)
          at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness$1.call(ScmSyncConfigurationBusiness.java:145)
          at java.util.concurrent.FutureTask.run(FutureTask.java:262)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
          at java.lang.Thread.run(Thread.java:745)
          Caused by: org.apache.maven.scm.ScmException: Error while executing command.
          at org.apache.maven.scm.provider.git.gitexe.command.GitCommandLineUtils.execute(GitCommandLineUtils.java:150)
          at org.apache.maven.scm.provider.git.gitexe.command.remove.GitRemoveCommand.executeRemoveCommand(GitRemoveCommand.java:65)
          at org.apache.maven.scm.command.remove.AbstractRemoveCommand.executeCommand(AbstractRemoveCommand.java:49)
          at org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:59)
          ... 14 more
          Caused by: org.codehaus.plexus.util.cli.CommandLineException: Working directory "/var/lib/jenkins/scm-sync-configuration/checkoutConfiguration/jobs/My-feature-branches/branches/my-branch-name" does not exist!
          at org.codehaus.plexus.util.cli.Commandline.execute(Commandline.java:661)
          at org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLineAsCallable(CommandLineUtils.java:134)
          at org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:105)
          at org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:74)
          at org.apache.maven.scm.provider.git.gitexe.command.GitCommandLineUtils.execute(GitCommandLineUtils.java:146)
          ... 17 more

          Aug 16, 2016 9:41:13 AM SEVERE hudson.plugins.scm_sync_configuration.SCMManipulator deleteHierarchy

          [deleteHierarchy] Hierarchy deletion aborted : Exception while executing SCM command.

          mnencia Marco Nenciarini made changes -
          Priority Minor [ 4 ] Major [ 3 ]
          mjdetullio Matthew DeTullio made changes -
          Component/s multi-branch-project-plugin [ 21127 ]
          mjdetullio Matthew DeTullio made changes -
          Assignee Matthew DeTullio [ mjdetullio ] Frédéric Camblor [ fcamblor ]
          mjdetullio Matthew DeTullio made changes -
          Component/s branch-api-plugin [ 18621 ]
          fcamblor Frédéric Camblor made changes -
          Assignee Frédéric Camblor [ fcamblor ] Craig Rodrigues [ rodrigc ]
          pallo Paul Loberg made changes -
          Summary scm-syn-configurtaion issues with multi branch project scm-syn-configuration issues with multi branch project
          stephenconnolly Stephen Connolly made changes -
          Component/s branch-api-plugin [ 18621 ]
          rodrigc Craig Rodrigues made changes -
          Assignee Craig Rodrigues [ rodrigc ]

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            liricooli liron tal
            Votes:
            19 Vote for this issue
            Watchers:
            27 Start watching this issue

              Dates

              Created:
              Updated: