I'd make sure you don't have any processes that have locks on your key 
files (.rsa).

Sometimes when Jenkins doesn't shutdown jobs correctly it will leave a 
process open that maintains the lock.

I'd shutdown the jenkins slaves on the machines, then use whatever tool is 
appropriate for your OS to determine if it is locked.

-b

On Tuesday, December 11, 2012 9:34:28 AM UTC-5, Johannes Wienke wrote:
>
> Hi everyone, 
>
> we are successfully using GIT with several of our jobs but today we 
> encountered a problem with a cloned matrix job. More specifically, we 
> cloned a job, where the original job had a publicly accessible GIT 
> repository, and after cloning changed the URL to a git repository 
> accessible over https using http authentication. Now we ended up with 
> the problem that some of the slaves of the new job refuse to work 
> correctly, while others work perfectly. E.g. our mac slave completely 
> hangs after these lines: 
>
> Using strategy: Default 
> Last Built Revision: Revision 572fdbb240e27c0c137727f6c556584587a0a03b 
> (remotes/origin/0.7) 
> Wiping out workspace first. 
> Cloning the remote Git repository 
> Cloning repository origin 
>
> Another ubuntu-based slave generates these exceptions: 
>
> Last Built Revision: Revision 572fdbb240e27c0c137727f6c556584587a0a03b 
> (remotes/origin/0.7) 
> Wiping out workspace first. 
> Cloning the remote Git repository 
> Cloning repository origin 
> ERROR: Error cloning remote repo 'origin' : Could not clone 
> https://code.humavips.eu/git/rst.git.proto 
> hudson.plugins.git.GitException: Could not clone 
> https://code.humavips.eu/git/rst.git.proto 
>         at hudson.plugins.git.GitAPI.clone(GitAPI.java:268) 
>         at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1122) 
>         at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1064) 
>         at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2273) 
>         at hudson.remoting.UserRequest.perform(UserRequest.java:118) 
>         at hudson.remoting.UserRequest.perform(UserRequest.java:48) 
>         at hudson.remoting.Request$2.run(Request.java:326) 
>         at 
> hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
>  
>
>         at 
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) 
>         at java.util.concurrent.FutureTask.run(FutureTask.java:166) 
>         at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>  
>
>         at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>  
>
>         at java.lang.Thread.run(Thread.java:679) 
> Caused by: hudson.plugins.git.GitException: Command "git clone 
> --progress -o origin https://code.humavips.eu/git/rst.git.proto 
> /home/jenkins/workspace/rst-humavips/label/ubuntu_precise_32bit<https://code.humavips.eu/git/rst.git.proto/home/jenkins/workspace/rst-humavips/label/ubuntu_precise_32bit>"
>  
>
> returned status code 128: 
> stdout: Cloning into 
> '/home/jenkins/workspace/rst-humavips/label/ubuntu_precise_32bit'... 
>
> stderr: fatal: could not read Username for 'https://code.humavips.eu': 
> No such device or address 
>
>         at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:855) 
>         at hudson.plugins.git.GitAPI.access$000(GitAPI.java:40) 
>         at hudson.plugins.git.GitAPI$1.invoke(GitAPI.java:264) 
>         at hudson.plugins.git.GitAPI$1.invoke(GitAPI.java:244) 
>         at hudson.FilePath.act(FilePath.java:852) 
>         at hudson.FilePath.act(FilePath.java:825) 
>         at hudson.plugins.git.GitAPI.clone(GitAPI.java:244) 
>         ... 12 more 
> Trying next repository 
> ERROR: Could not clone repository 
> FATAL: Could not clone 
> hudson.plugins.git.GitException: Could not clone 
>         at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1134) 
>         at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1064) 
>         at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2273) 
>         at hudson.remoting.UserRequest.perform(UserRequest.java:118) 
>         at hudson.remoting.UserRequest.perform(UserRequest.java:48) 
>         at hudson.remoting.Request$2.run(Request.java:326) 
>         at 
> hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
>  
>
>         at 
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) 
>         at java.util.concurrent.FutureTask.run(FutureTask.java:166) 
>         at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>  
>
>         at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>  
>
>         at java.lang.Thread.run(Thread.java:679) 
>
> Any idea what is going on here? 
>
> Kind regards, 
> Johannes 
>
>

Reply via email to