You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-issues@apache.org by "Tae-Geon Um (JIRA)" <ji...@apache.org> on 2015/08/14 03:51:46 UTC

[jira] [Created] (INFRA-10124) Ubuntu Git fails to checkout because of short timeout

Tae-Geon Um created INFRA-10124:
-----------------------------------

             Summary: Ubuntu Git fails to checkout because of short timeout
                 Key: INFRA-10124
                 URL: https://issues.apache.org/jira/browse/INFRA-10124
             Project: Infrastructure
          Issue Type: Bug
          Components: Jenkins
         Environment: ubuntu 
            Reporter: Tae-Geon Um


Sometimes ubuntu git fails to checkout. It looks like it fails because of short timeout.

The below is the log of the failure. (https://builds.apache.org/job/Reef-pull-request-ubuntu/312/console) Could you please increase the timeout? 

GitHub pull request #370 to apache/incubator-reef
Building remotely on ubuntu-2 (docker Ubuntu ubuntu) in workspace /home/jenkins/jenkins-slave/workspace/Reef-pull-request-ubuntu
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url git://github.com/apache/incubator-reef.git # timeout=10
Fetching upstream changes from git://github.com/apache/incubator-reef.git
 > git --version # timeout=10
 > git fetch --tags --progress git://github.com/apache/incubator-reef.git +refs/heads/*:refs/remotes/origin/*
 > git config core.sparsecheckout # timeout=10
 > git checkout -f origin/master # timeout=10
 > git branch -a # timeout=10
 > git rev-parse remotes/origin/branch-0.10.0-incubating^{commit} # timeout=10
 > git rev-parse remotes/origin/branch-0.10.0-incubating-maven^{commit} # timeout=10
 > git rev-parse remotes/origin/branch-0.11.0-incubating^{commit} # timeout=10
 > git rev-parse remotes/origin/branch-0.11.0-incubating-maven^{commit} # timeout=10
 > git rev-parse remotes/origin/branch-0.12.0-incubating^{commit} # timeout=10
 > git rev-parse remotes/origin/master^{commit} # timeout=10
 > git checkout -b master origin/master
FATAL: Could not checkout master with start point origin/master
hudson.plugins.git.GitException: Could not checkout master with start point origin/master
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$8.execute(CliGitAPIImpl.java:1619)
	at org.jenkinsci.plugins.gitclient.AbstractGitAPIImpl.checkoutBranch(AbstractGitAPIImpl.java:72)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.checkoutBranch(CliGitAPIImpl.java:85)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:310)
	at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:290)
	at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:249)
	at hudson.remoting.UserRequest.perform(UserRequest.java:118)
	at hudson.remoting.UserRequest.perform(UserRequest.java:48)
	at hudson.remoting.Request$2.run(Request.java:328)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
Caused by: hudson.plugins.git.GitException: Command "git checkout -b master origin/master" returned status code 1:
stdout: lang/cs/Org.Apache.REEF.Examples.AllHandlers/AnotherHelloAllocatedEvaluatorHandler.cs: needs merge
lang/cs/Org.Apache.REEF.Examples.AllHandlers/HelloActiveContextHandler.cs: needs merge
lang/cs/Org.Apache.REEF.Examples.AllHandlers/HelloAllocatedEvaluatorHandler.cs: needs merge
lang/cs/Org.Apache.REEF.Examples.AllHandlers/HelloCompletedEvaluatorHandler.cs: needs merge
lang/cs/Org.Apache.REEF.Examples.AllHandlers/HelloDriverRestartActiveContextHandler.cs: needs merge
lang/cs/Org.Apache.REEF.Examples.AllHandlers/HelloDriverRestartRunningTaskHandler.cs: needs merge
lang/cs/Org.Apache.REEF.Examples.AllHandlers/HelloDriverStartHandler.cs: needs merge
lang/cs/Org.Apache.REEF.Examples.AllHandlers/HelloFailedEvaluatorHandler.cs: needs merge
lang/cs/Org.Apache.REEF.Examples.AllHandlers/HelloFailedTaskHandler.cs: needs merge
lang/cs/Org.Apache.REEF.Examples.AllHandlers/HelloHttpHandler.cs: needs merge
lang/cs/Org.Apache.REEF.Examples.AllHandlers/HelloRestartHandler.cs: needs merge
lang/cs/Org.Apache.REEF.Examples.AllHandlers/HelloRunningTaskHandler.cs: needs merge
lang/cs/Org.Apache.REEF.Examples.AllHandlers/HelloTaskMessageHandler.cs: needs merge
lang/cs/Org.Apache.REEF.Examples.AllHandlers/HelloTraceListener.cs: needs merge
lang/cs/Org.Apache.REEF.Examples/Tasks/FailedTask/FailedTask.cs: needs merge
lang/cs/Org.Apache.REEF.Examples/Tasks/HelloTask/HelloService.cs: needs merge
lang/cs/Org.Apache.REEF.Examples/Tasks/HelloTask/HelloTask.cs: needs merge
lang/cs/Org.Apache.REEF.Examples/Tasks/HelloTask/HelloTaskMessage.cs: needs merge
lang/cs/Org.Apache.REEF.Examples/Tasks/ShellTask/ShellTask.cs: needs merge
lang/cs/Org.Apache.REEF.Examples/Tasks/StreamingTasks/StreamTask1.cs: needs merge
lang/cs/Org.Apache.REEF.Examples/Tasks/StreamingTasks/StreamTask2.cs: needs merge
lang/cs/Org.Apache.REEF.IO/PartitionedData/Random/RandomPartitionDescriptor.cs: needs merge
lang/cs/Org.Apache.REEF.Tests/Functional/Bridge/HelloSimpleEventHandlers.cs: needs merge

stderr: error: you need to resolve your current index first

	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1435)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$500(CliGitAPIImpl.java:85)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$8.execute(CliGitAPIImpl.java:1614)
	... 17 more
```



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)