[JIRA] (JENKINS-60360) error occurs when 'git config --get submodule.**.url

20 views
Skip to first unread message

wndus901@gmail.com (JIRA)

unread,
Dec 4, 2019, 3:21:04 AM12/4/19
to jenkinsc...@googlegroups.com
juyeon lee created an issue
 
Jenkins / Bug JENKINS-60360
error occurs when 'git config --get submodule.**.url
Issue Type: Bug Bug
Assignee: Mark Waite
Attachments: image-2019-12-04-17-19-58-452.png
Components: git-plugin
Created: 2019-12-04 08:20
Environment: Jenkins 2.190.2
Git Plugin 3.9.3
Git Client Plugin 2.8.6
Labels: git submodules
Priority: Critical Critical
Reporter: juyeon lee

I want to update submodule using git plugin as below.

 

But it occurs error : 

 > git remote # timeout=10
 > git submodule init # timeout=10
 > git submodule sync # timeout=10
 > git config --get remote.origin.url # timeout=10
 > git submodule init # timeout=10
 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10
 > git config --get submodule.bucketlistall.url # timeout=10
Also:   hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from 172.30.16.22/172.30.16.22:49470
		at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1743)
		at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
		at hudson.remoting.Channel.call(Channel.java:957)
		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:146)
		at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
		at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
		at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
		at java.lang.reflect.Method.invoke(Method.java:498)
		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:132)
		at com.sun.proxy.$Proxy139.execute(Unknown Source)
		at hudson.plugins.git.extensions.impl.SubmoduleOption.onCheckoutCompleted(SubmoduleOption.java:108)
		at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1270)
		at hudson.scm.SCM.checkout(SCM.java:504)
		at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
		at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
		at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
		at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
		at hudson.model.Run.execute(Run.java:1815)
		at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)
		at hudson.model.ResourceController.execute(ResourceController.java:97)
		at hudson.model.Executor.run(Executor.java:429)
hudson.plugins.git.GitException: Command "git config --get submodule.bucketlistall.url" returned status code 1:
stdout: 
stderr: 
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2172)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2140)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2136)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1741)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1753)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.getSubmoduleUrl(CliGitAPIImpl.java:1353)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$7.execute(CliGitAPIImpl.java:1279)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146)
	at hudson.remoting.UserRequest.perform(UserRequest.java:212)
	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
	at hudson.remoting.Request$2.run(Request.java:369)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:93)
	at java.lang.Thread.run(Thread.java:748)
Caused: java.io.IOException: Could not perform submodule update
	at hudson.plugins.git.extensions.impl.SubmoduleOption.onCheckoutCompleted(SubmoduleOption.java:113)
	at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1270)
	at hudson.scm.SCM.checkout(SCM.java:504)
	at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
	at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
	at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
	at hudson.model.Run.execute(Run.java:1815)
	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)
	at hudson.model.ResourceController.execute(ResourceController.java:97)
	at hudson.model.Executor.run(Executor.java:429)

Why is this happen? 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

mark.earl.waite@gmail.com (JIRA)

unread,
Dec 4, 2019, 11:48:04 AM12/4/19
to jenkinsc...@googlegroups.com
Mark Waite edited a comment on Bug JENKINS-60360
 
Re: error occurs when 'git config --get submodule.**.url
I don't know why that happens.  Since you did not provide enough information that anyone else could assist, I will leave this issue open for at least one day and will then close it as "cannot reproduce".  If you would like to avoid this bug being closed as "cannot reproduce", please provide significantly more details to describe the problem and confirm that you have investigated the cause of the problem.

Please provide a series of steps which someone else can use to duplicate the problem you are seeing.  That might include steps like:
# Define a freestyle job that clones https://github.com/MarkEWaite/docker-lfs.git
# Add the checkout option to recursively update submoodules
# Run the Jenkins job

*Actual Result*: Checkout fails
*Expected Result*: Checkout succeeds

mark.earl.waite@gmail.com (JIRA)

unread,
Dec 4, 2019, 11:48:04 AM12/4/19
to jenkinsc...@googlegroups.com

I don't know why that happens. Since you did not provide enough information that anyone else could assist, I will leave this issue open for at least one day and will then close it as "cannot reproduce". If you would like to avoid this bug being closed as "cannot reproduce", please provide significantly more details to describe the problem and confirm that you have investigated the cause of the problem.

Please provide a series of steps which someone else can use to duplicate the problem you are seeing. That might include steps like:

  1. Define a freestyle job that clones https://github.com/MarkEWaite/docker-lfs.git
  1. Add the checkout option to recursively update submoodules
  1. Run the Jenkins job
    Actual Result: Checkout fails
    Expected Result: Checkout succeeds

mark.earl.waite@gmail.com (JIRA)

unread,
Dec 4, 2019, 11:49:02 AM12/4/19
to jenkinsc...@googlegroups.com
Mark Waite assigned an issue to Unassigned
 
Change By: Mark Waite
Assignee: Mark Waite

wndus901@gmail.com (JIRA)

unread,
Dec 4, 2019, 9:14:02 PM12/4/19
to jenkinsc...@googlegroups.com
juyeon lee commented on Bug JENKINS-60360
 
Re: error occurs when 'git config --get submodule.**.url
  1. Define a freestyle job that clones in-house github repository. 
  2. Add the checkout option to recursively update submodules
  3. Run the jenkins job

That's all. it's not a problem of source code in github repository. 
Because it works in Git-Bash. 

mark.earl.waite@gmail.com (JIRA)

unread,
Dec 5, 2019, 4:27:03 AM12/5/19
to jenkinsc...@googlegroups.com

Your description is not sufficiently detailed for me to duplicate your problem. The steps you describe (without details of the contents of the submodule definitions) are the same steps I regularly use to confirm that submodule update works on multiple platforms and with multiple configurations.

Then is something distinct in your environment that is not visible in my environment and is not included in your description of the issue. For example, it could be that you are seeing:

  • JENKINS-55875 - Jenkins submodule update fails when submodule isn't clean
  • JENKINS-43977 - Git checkout fails if submodule defined in .gitmodules don't exist
  • JENKINS-38860 - Git plugin using local config to update submodules

If you are seeing one of those cases, please mark this issue as a duplicate and close it.

If you are seeing something that is not one of those cases, please describe the issue in enough detail that someone else can duplicate the problem. You're trying to persuade someone like me to give their personal time to help you with your issue. Make it easier for me to help you by providing enough information that the problem can be duplicated outside the specific environment where you are seeing the issue.

mark.earl.waite@gmail.com (JIRA)

unread,
Dec 10, 2019, 1:45:03 AM12/10/19
to jenkinsc...@googlegroups.com
Mark Waite closed an issue as Cannot Reproduce
 

Since I cannot duplicate the bug as described and there has been no further description in several days, I'm closing this bug as "Cannot Reproduce".

If additional information is provided which allows it to be duplicated and it is shown to be different than the bugs linked in the previous comment, then it can be reopened with that more detailed description.

Change By: Mark Waite
Status: Open Closed
Resolution: Cannot Reproduce
Reply all
Reply to author
Forward
0 new messages