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
Could you review
JENKINS-38860and 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.