我正在使用版本为1.6.2.2.1669.g7eaf8的git和Hudson Git插件0.7.3在Hudson 1.314上。每当我触发一次构建时,Hudson会执行git fetch,但它永远没有返回。我曾经有一个卡在那里14天之久,然后我终止了它。
控制台输出只是无休止地停留在这里:
Started by user anonymous
Checkout:workspace / C:\hudson\jobs\Group1-git\workspace - hudson.remoting.LocalChannel@3d858159
Last Build : #63
Checkout:workspace / C:\hudson\jobs\Group1-git\workspace - hudson.remoting.LocalChannel@3d858159
Fetching changes from the remote Git repository
Fetching upstream changes from ssh://git@git/devl.git
[workspace] $ git.cmd fetch ssh://git@git/devl.git +refs/heads/*:refs/remotes/origin/*
以下是线程卡住的堆栈跟踪:
Executor#0 for master "Executor #0 for master" Id=35 RUNNABLE (in native) at java.lang.ProcessImpl.waitFor(Native Method) at hudson.Proc$LocalProc.join(Proc.java:166) at hudson.plugins.git.GitAPI.fetch(GitAPI.java:102) at hudson.plugins.git.GitAPI.fetch(GitAPI.java:486) at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:231) at hudson.plugins.git.GitSCM.access$000(GitSCM.java:56) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:373) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:358) at hudson.FilePath.act(FilePath.java:649) at hudson.FilePath.act(FilePath.java:633) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:358) at hudson.model.AbstractProject.checkout(AbstractProject.java:830) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:314) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:266) at hudson.model.Run.run(Run.java:938) at hudson.model.Build.run(Build.java:112) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:118)
已锁定同步器的数量=1
- java.util.concurrent.locks.ReentrantLock $ NonfairSync @ 4d9d8bfe
控制台输出只是无休止地停留在这里:
Started by user anonymous
Checkout:workspace / C:\hudson\jobs\Group1-git\workspace - hudson.remoting.LocalChannel@3d858159
Last Build : #63
Checkout:workspace / C:\hudson\jobs\Group1-git\workspace - hudson.remoting.LocalChannel@3d858159
Fetching changes from the remote Git repository
Fetching upstream changes from ssh://git@git/devl.git
[workspace] $ git.cmd fetch ssh://git@git/devl.git +refs/heads/*:refs/remotes/origin/*
以下是线程卡住的堆栈跟踪:
Executor#0 for master "Executor #0 for master" Id=35 RUNNABLE (in native) at java.lang.ProcessImpl.waitFor(Native Method) at hudson.Proc$LocalProc.join(Proc.java:166) at hudson.plugins.git.GitAPI.fetch(GitAPI.java:102) at hudson.plugins.git.GitAPI.fetch(GitAPI.java:486) at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:231) at hudson.plugins.git.GitSCM.access$000(GitSCM.java:56) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:373) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:358) at hudson.FilePath.act(FilePath.java:649) at hudson.FilePath.act(FilePath.java:633) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:358) at hudson.model.AbstractProject.checkout(AbstractProject.java:830) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:314) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:266) at hudson.model.Run.run(Run.java:938) at hudson.model.Build.run(Build.java:112) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:118)
已锁定同步器的数量=1
- java.util.concurrent.locks.ReentrantLock $ NonfairSync @ 4d9d8bfe