• Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • git-plugin
    • None
    • Jenkins org.jenkins-ci.main:jenkins-war:2.60
      Git plugin org.jenkins-ci.plugins:git:3.3.1

       

      ИBuild log:

      Version:1.0 StartHTML:000000214 EndHTML:000006373 StartFragment:000003983 EndFragment:000006323 StartSelection:000003983 EndSelection:000006323 SourceURL:http://localhost:8080/job/CLOUD/job/Smoke/4/console CLOUD В» Smoke #4 Console [Jenkins]
      Checking out Revision f913e210222008c655bb2c8532d11f78e610c4d4 (refs/remotes/origin/master)
      Commit message: "HMI outdated tests fixes"
      > git.exe config core.sparsecheckout # timeout=10
      > git.exe checkout -f f913e210222008c655bb2c8532d11f78e610c4d4
      > git.exe rev-list f913e210222008c655bb2c8532d11f78e610c4d4 # timeout=10
      > git.exe remote # timeout=10
      > git.exe submodule init # timeout=10
      > git.exe submodule sync # timeout=10
      > git.exe config --get remote.origin.url # timeout=10
      > git.exe submodule init # timeout=10
      > git.exe config -f .gitmodules --get-regexp ^submodule\.(.*)\.url # timeout=10
      > git.exe config --get submodule.libs/py_modules.url # timeout=10
      FATAL: Command "git.exe config --get submodule.libs/py_modules.url" returned status code 1:
      stdout:
      stderr:
      hudson.plugins.git.GitException: Command "git.exe config --get submodule.libs/py_modules.url" returned status code 1:
      stdout:
      stderr:
      at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1903)
      at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1871)
      at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1867)
      at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1512)
      at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1524)
      at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.getSubmoduleUrl(CliGitAPIImpl.java:1124)
      at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$7.execute(CliGitAPIImpl.java:1050)
      at hudson.plugins.git.extensions.impl.SubmoduleOption.onCheckoutCompleted(SubmoduleOption.java:102)
      at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1182)
      at hudson.scm.SCM.checkout(SCM.java:495)
      at hudson.model.AbstractProject.checkout(AbstractProject.java:1276)
      at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:560)
      at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:485)
      at hudson.model.Run.execute(Run.java:1735)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:97)
      at hudson.model.Executor.run(Executor.java:405)
      Finished: FAILURE

          [JENKINS-45243] Git Submodule checkout

          Mark Waite added a comment -

          Could you review JENKINS-38860 and JENKINS-41553 to see if the conditions described in those bug reports match the condition you're seeing here?

          If they don't match the conditions you're seeing here, then I'll need step by step instructions that show how to duplicate the problem you're seeing.

          Mark Waite added a comment - Could you review JENKINS-38860 and JENKINS-41553 to see if the conditions described in those bug reports match the condition you're seeing here? If they don't match the conditions you're seeing here, then I'll need step by step instructions that show how to duplicate the problem you're seeing.

          Steps to reproduce:

          1) Have clean installation of Jenkins

          2) Setup build with git repo repo with at least 1 submodule

          3) Build

          Expected: code was checked out successfully

          Actual: 

          Version:1.0 StartHTML:000000213 EndHTML:000033401 StartFragment:000030412 EndFragment:000033265 StartSelection:000030412 EndSelection:000033265 SourceURL:https://issues.jenkins-ci.org/browse/JENKINS-45243 JENKINS-45243 Git Submodule checkout - Jenkins JIRA

          Version:1.0 StartHTML:000000214 EndHTML:000006373 StartFragment:000003983 EndFragment:000006323 StartSelection:000003983 EndSelection:000006323 SourceURL:http://localhost:8080/job/CLOUD/job/Smoke/4/console CLOUD Р’В» Smoke #4 Console [Jenkins]
          Checking out Revision f913e210222008c655bb2c8532d11f78e610c4d4 (refs/remotes/origin/master)
          Commit message: "HMI outdated tests fixes"
          > git.exe config core.sparsecheckout # timeout=10
          > git.exe checkout -f f913e210222008c655bb2c8532d11f78e610c4d4
          > git.exe rev-list f913e210222008c655bb2c8532d11f78e610c4d4 # timeout=10
          > git.exe remote # timeout=10
          > git.exe submodule init # timeout=10
          > git.exe submodule sync # timeout=10
          > git.exe config --get remote.origin.url # timeout=10
          > git.exe submodule init # timeout=10
          > git.exe config -f .gitmodules --get-regexp ^submodule\.(.*)\.url # timeout=10
          > git.exe config --get submodule.libs/py_modules.url # timeout=10
          FATAL: Command "git.exe config --get submodule.libs/py_modules.url" returned status code 1:
          stdout:
          stderr:
          hudson.plugins.git.GitException: Command "git.exe config --get submodule.libs/py_modules.url" returned status code 1:
          stdout:
          stderr:
          at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1903)
          at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1871)
          at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1867)
          at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1512)
          at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1524)
          at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.getSubmoduleUrl(CliGitAPIImpl.java:1124)
          at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$7.execute(CliGitAPIImpl.java:1050)
          at hudson.plugins.git.extensions.impl.SubmoduleOption.onCheckoutCompleted(SubmoduleOption.java:102)
          at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1182)
          at hudson.scm.SCM.checkout(SCM.java:495)
          at hudson.model.AbstractProject.checkout(AbstractProject.java:1276)
          at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:560)
          at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
          at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:485)
          at hudson.model.Run.execute(Run.java:1735)
          at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
          at hudson.model.ResourceController.execute(ResourceController.java:97)
          at hudson.model.Executor.run(Executor.java:405)
          Finished: FAILURE

          Repo configuration in attachement

          Nikita Gavrish added a comment - Steps to reproduce: 1) Have clean installation of Jenkins 2) Setup build with git repo repo with at least 1 submodule 3) Build Expected: code was checked out successfully Actual:  Version:1.0 StartHTML:000000213 EndHTML:000033401 StartFragment:000030412 EndFragment:000033265 StartSelection:000030412 EndSelection:000033265 SourceURL: https://issues.jenkins-ci.org/browse/JENKINS-45243 JENKINS-45243 Git Submodule checkout - Jenkins JIRA Version:1.0 StartHTML:000000214 EndHTML:000006373 StartFragment:000003983 EndFragment:000006323 StartSelection:000003983 EndSelection:000006323 SourceURL: http://localhost:8080/job/CLOUD/job/Smoke/4/console CLOUD Р’В» Smoke #4 Console [Jenkins] Checking out Revision f913e210222008c655bb2c8532d11f78e610c4d4 (refs/remotes/origin/master) Commit message: "HMI outdated tests fixes" > git.exe config core.sparsecheckout # timeout=10 > git.exe checkout -f f913e210222008c655bb2c8532d11f78e610c4d4 > git.exe rev-list f913e210222008c655bb2c8532d11f78e610c4d4 # timeout=10 > git.exe remote # timeout=10 > git.exe submodule init # timeout=10 > git.exe submodule sync # timeout=10 > git.exe config --get remote.origin.url # timeout=10 > git.exe submodule init # timeout=10 > git.exe config -f .gitmodules --get-regexp ^submodule\.(.*)\.url # timeout=10 > git.exe config --get submodule.libs/py_modules.url # timeout=10 FATAL: Command "git.exe config --get submodule.libs/py_modules.url" returned status code 1: stdout: stderr: hudson.plugins.git.GitException: Command "git.exe config --get submodule.libs/py_modules.url" returned status code 1: stdout: stderr: at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1903) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1871) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1867) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1512) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1524) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.getSubmoduleUrl(CliGitAPIImpl.java:1124) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$7.execute(CliGitAPIImpl.java:1050) at hudson.plugins.git.extensions.impl.SubmoduleOption.onCheckoutCompleted(SubmoduleOption.java:102) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1182) at hudson.scm.SCM.checkout(SCM.java:495) at hudson.model.AbstractProject.checkout(AbstractProject.java:1276) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:560) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:485) at hudson.model.Run.execute(Run.java:1735) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:405) Finished: FAILURE Repo configuration in attachement

          Mark Waite added a comment -

          Unfortunately, those steps are not sufficient to reproduce the problem.

          I (and many, many others) use those steps to perform submodule checkouts frequently with Jenkins and the git plugin. Please review submodule renaming as discussed in JENKINS-38860, JENKINS-41553, and JENKINS-43977. If this is also due to submodule renaming (where the contents of .git/modules disagrees with the checkout directory structure), then this is a duplicate and will be resolved when those bugs are resolved.

          If this is not due to submodule renaming, then you have probably found a new bug, and I need to understand the key characteristics which allow the bug you've found to be duplicated elsewhere.

          Mark Waite added a comment - Unfortunately, those steps are not sufficient to reproduce the problem. I (and many, many others) use those steps to perform submodule checkouts frequently with Jenkins and the git plugin. Please review submodule renaming as discussed in JENKINS-38860 , JENKINS-41553 , and JENKINS-43977 . If this is also due to submodule renaming (where the contents of .git/modules disagrees with the checkout directory structure), then this is a duplicate and will be resolved when those bugs are resolved. If this is not due to submodule renaming, then you have probably found a new bug, and I need to understand the key characteristics which allow the bug you've found to be duplicated elsewhere.

          Mark Waite added a comment -

          After two weeks with no response, I'm resolving this as a duplicate of JENKINS-43977

          Mark Waite added a comment - After two weeks with no response, I'm resolving this as a duplicate of JENKINS-43977

            Unassigned Unassigned
            ngavrish Nikita Gavrish
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: