-
Bug
-
Resolution: Won't Fix
-
Minor
-
None
-
v2.66
Windows 2012 VM in Azure
bitbucket in Amazon
We have a new Jenkins server that's a VM in Azure, trying to "git" a repository on Bitbucket hosted in Amazon (these are all our own VM's).
Manual build job is trying to use git to retrieve a repository from bitbucket. If I take the commands from the Console and run them from a PowerShell prompt, they work fine and can download the repo in about 1.5 minutes.
But when run from within Jenkins, they will start to transfer but it is painfully slow. After about a half hour a timeout message will appear. I've attached the full console output below, but I had to kill it after about 2 hours of running:
Started by user
mpugh
Building in workspace E:\jenkins\workspace\Person Service Build GIT Debug
> git.exe rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git.exe config remote.origin.url
https://mpugh@bitbucket.athenahealth.com/scm/popdev/popwebapp.git
- timeout=10
Fetching upstream changes from
https://mpugh@bitbucket.athenahealth.com/scm/popdev/popwebapp.git
> git.exe --version # timeout=10
using GIT_ASKPASS to set credentials
> git.exe fetch --tags --progress
https://mpugh@bitbucket.athenahealth.com/scm/popdev/popwebapp.git
+refs/heads/:refs/remotes/origin/ --depth=1 # timeout=30
ERROR: Timeout after 30 minutes
ERROR: Failed to join a process
org.jvnet.winp.WinpException: Process with pid=6512 is not a 32bit process (or it is not running). Cannot query it from a 32bit library error=268435458 at envvar-cmdline.cpp:183
at org.jvnet.winp.Native.getCmdLine(Native Method)
at org.jvnet.winp.WinProcess.parseCmdLine(WinProcess.java:132)
at org.jvnet.winp.WinProcess.getCommandLine(WinProcess.java:107)
at hudson.util.ProcessTree$WindowsOSProcess.getArguments(ProcessTree.java:451)
at hudson.plugins.msbuild.MsBuildKillingVeto.vetoProcessKilling(MsBuildKillingVeto.java:56)
at hudson.util.ProcessTree$OSProcess.getVeto(ProcessTree.java:243)
at hudson.util.ProcessTree$WindowsOSProcess.killRecursively(ProcessTree.java:429)
at hudson.util.ProcessTree.killAll(ProcessTree.java:146)
at hudson.Proc$LocalProc.destroy(Proc.java:380)
at hudson.Proc$LocalProc.kill(Proc.java:372)
at hudson.Proc$1.run(Proc.java:159)
at java.util.concurrent.Executors$RunnableAdapter.call(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)
ERROR: Error fetching remote repo 'origin'
hudson.plugins.git.GitException: Failed to fetch from
https://mpugh@bitbucket.athenahealth.com/scm/popdev/popwebapp.git
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:817)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1084)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1115)
at hudson.scm.SCM.checkout(SCM.java:495)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1212)
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:415)
Caused by: hudson.plugins.git.GitException: Error performing git command
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1933)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1643)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:71)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:352)
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:815)
... 11 more
Caused by: org.jvnet.winp.WinpException: Process with pid=6512 is not a 32bit process (or it is not running). Cannot query it from a 32bit library error=268435458 at envvar-cmdline.cpp:183
at org.jvnet.winp.Native.getCmdLine(Native Method)
at org.jvnet.winp.WinProcess.parseCmdLine(WinProcess.java:132)
at org.jvnet.winp.WinProcess.getCommandLine(WinProcess.java:107)
at hudson.util.ProcessTree$WindowsOSProcess.getArguments(ProcessTree.java:451)
at hudson.plugins.msbuild.MsBuildKillingVeto.vetoProcessKilling(MsBuildKillingVeto.java:56)
at hudson.util.ProcessTree$OSProcess.getVeto(ProcessTree.java:243)
at hudson.util.ProcessTree$WindowsOSProcess.killRecursively(ProcessTree.java:429)
at hudson.util.ProcessTree.killAll(ProcessTree.java:146)
at hudson.Proc$LocalProc.destroy(Proc.java:380)
at hudson.Proc$LocalProc.join(Proc.java:353)
at hudson.Proc.joinWithTimeout(Proc.java:166)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1920)
... 15 more
ERROR: Error fetching remote repo 'origin'
Finished: FAILURE