![]() |
|
|
|
|
Issue Type:
|
Bug
|
|
Assignee:
|
Nicolas De Loof
|
|
Components:
|
git, git-client |
|
Created:
|
21/Feb/14 4:32 PM
|
|
Description:
|
I haven't yet seen this come up when a build checks out code from Github, but it does happen intermittently when Jenkins polls Github for changes. I've pasted the text that appears on the "Git Polling Log" page at the end of this description. Are there any things I can do to get more and/or better output to help with debugging?
Thank you.
Started on Feb 21, 2014 11:09:10 AM
Using strategy: Default
[poll] Last Built Revision: Revision 4e9e870ddaabd828a530eb48669fe548e63f3ed2 (origin/master)
using .gitcredentials to set credentials
Could not remove the credential section from the git configuration
FATAL: hudson.plugins.git.GitException: Command "git config --local credential.helper store --file=\"C:\Windows\TEMP\git4966117369976036349.credentials\"" returned status code 255:
stdout:
stderr: error: could not lock config file .git/config: File exists
hudson.util.IOException2: hudson.plugins.git.GitException: Command "git config --local credential.helper store --file=\"C:\Windows\TEMP\git4966117369976036349.credentials\"" returned status code 255:
stdout:
stderr: error: could not lock config file .git/config: File exists
at hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:457)
at hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356)
at hudson.scm.SCM.poll(SCM.java:373)
at hudson.model.AbstractProject._poll(AbstractProject.java:1581)
at hudson.model.AbstractProject.poll(AbstractProject.java:1490)
at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:462)
at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:491)
at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: hudson.plugins.git.GitException: Command "git config --local credential.helper store --file=\"C:\Windows\TEMP\git4966117369976036349.credentials\"" returned status code 255:
stdout:
stderr: error: could not lock config file .git/config: File exists
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1173)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1150)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1146)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1142)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1039)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:988)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:979)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.getHeadRev(CliGitAPIImpl.java:1526)
at hudson.plugins.git.GitSCM.compareRemoteRevisionWithImpl(GitSCM.java:487)
at hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:455)
... 13 more
Done. Took 0.82 sec
No changes
|
|
Environment:
|
I've got two machines where this happens. One is Windows 2003 Server, with Jenkins 1.551, git-client 1.6.3, and git 2.0; the installed Git client is msysgit 1.8.1.2-preview20130201. The other machine is Windows 7, with Jenkins 1.551, git-client 1.6.3, git-client 1.6.3, and git 2.0.2; the installed Git client is 1.8.5.2.msysgit.0. The systems have >10 jobs each, polling HTTPS URLs to private repositories on Github, and using global credentials stored in Jenkins.
|
|
Project:
|
Jenkins
|
|
Priority:
|
Minor
|
|
Reporter:
|
cswarren
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
[email protected].
For more options, visit
https://groups.google.com/groups/opt_out.