mesos-builds mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benjamin Mahler <benjamin.mah...@gmail.com>
Subject Re: Build failed in Jenkins: Mesos » clang,--verbose,ubuntu:14.04,docker||Hadoop #1333
Date Wed, 09 Dec 2015 02:15:03 GMT
Hm.. the following looks like a bug in the git plugin:

stderr: fatal: reference is not a tree: 8833974195e76e6e7cd8377fb511aa
2f96e409e6

I suspect this might be related to the fact that we do a shallow clone, and
there seems to be a double fetch in the above output. If the SHA is
obtained after the first fetch, and the second fetch retrieves another
commit, we can no longer check out that SHA.

E.g.
http://help.appveyor.com/discussions/problems/1272-fatal-reference-is-not-a-tree-sha-on-git-checkout

On Tue, Dec 8, 2015 at 3:59 PM, Apache Jenkins Server <
jenkins@builds.apache.org> wrote:

> See <
> https://builds.apache.org/job/Mesos/COMPILER=clang,CONFIGURATION=--verbose,OS=ubuntu%3A14.04,label_exp=docker%7C%7CHadoop/1333/
> >
>
> ------------------------------------------
> Started by upstream project "Mesos" build number 1333
> originally caused by:
>  Started by an SCM change
>  Started by an SCM change
>  Started by an SCM change
>  Started by an SCM change
>  Started by an SCM change
>  Started by an SCM change
>  Started by an SCM change
>  Started by an SCM change
>  Started by an SCM change
> [EnvInject] - Loading node environment variables.
> Building remotely on H0 (Hadoop Tez) in workspace <
> https://builds.apache.org/job/Mesos/COMPILER=clang,CONFIGURATION=--verbose,OS=ubuntu%3A14.04,label_exp=docker%7C%7CHadoop/ws/
> >
> Cloning the remote Git repository
> Using shallow clone
> Cloning repository https://git-wip-us.apache.org/repos/asf/mesos.git
>  > git init <
> https://builds.apache.org/job/Mesos/COMPILER=clang,CONFIGURATION=--verbose,OS=ubuntu%3A14.04,label_exp=docker%7C%7CHadoop/ws/>
> # timeout=10
> Fetching upstream changes from
> https://git-wip-us.apache.org/repos/asf/mesos.git
>  > git --version # timeout=10
>  > git -c core.askpass=true fetch --tags --progress
> https://git-wip-us.apache.org/repos/asf/mesos.git
> +refs/heads/*:refs/remotes/origin/* --depth=1 # timeout=60
>  > git config remote.origin.url
> https://git-wip-us.apache.org/repos/asf/mesos.git # timeout=10
>  > git config --add remote.origin.fetch
> +refs/heads/*:refs/remotes/origin/* # timeout=10
>  > git config remote.origin.url
> https://git-wip-us.apache.org/repos/asf/mesos.git # timeout=10
> Fetching upstream changes from
> https://git-wip-us.apache.org/repos/asf/mesos.git
>  > git -c core.askpass=true fetch --tags --progress
> https://git-wip-us.apache.org/repos/asf/mesos.git
> +refs/heads/*:refs/remotes/origin/* # timeout=60
> Checking out Revision 8833974195e76e6e7cd8377fb511aa2f96e409e6
> (origin/master)
>  > git config core.sparsecheckout # timeout=10
>  > git checkout -f 8833974195e76e6e7cd8377fb511aa2f96e409e6
> FATAL: Could not checkout 8833974195e76e6e7cd8377fb511aa2f96e409e6
> hudson.plugins.git.GitException: Could not checkout
> 8833974195e76e6e7cd8377fb511aa2f96e409e6
>         at
> org.jenkinsci.plugins.gitclient.CliGitAPIImpl$8.execute(CliGitAPIImpl.java:1907)
>         at
> org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:152)
>         at
> org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:145)
>         at hudson.remoting.UserRequest.perform(UserRequest.java:121)
>         at hudson.remoting.UserRequest.perform(UserRequest.java:49)
>         at hudson.remoting.Request$2.run(Request.java:326)
>         at
> hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
>         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)
>         at ......remote call to H0(Native Method)
>         at
> hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1413)
>         at hudson.remoting.UserResponse.retrieve(UserRequest.java:221)
>         at hudson.remoting.Channel.call(Channel.java:778)
>         at
> org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:145)
>         at sun.reflect.GeneratedMethodAccessor440.invoke(Unknown Source)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:606)
>         at
> org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:131)
>         at com.sun.proxy.$Proxy137.execute(Unknown Source)
>         at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1060)
>         at hudson.scm.SCM.checkout(SCM.java:484)
>         at hudson.model.AbstractProject.checkout(AbstractProject.java:1274)
>         at
> hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:609)
>         at
> jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
>         at
> hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:531)
>         at hudson.model.Run.execute(Run.java:1738)
>         at hudson.matrix.MatrixRun.run(MatrixRun.java:146)
>         at
> hudson.model.ResourceController.execute(ResourceController.java:98)
>         at hudson.model.Executor.run(Executor.java:381)
> Caused by: hudson.plugins.git.GitException: Command "git checkout -f
> 8833974195e76e6e7cd8377fb511aa2f96e409e6" returned status code 128:
> stdout:
> stderr: fatal: reference is not a tree:
> 8833974195e76e6e7cd8377fb511aa2f96e409e6
>
>         at
> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1640)
>         at
> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$500(CliGitAPIImpl.java:62)
>         at
> org.jenkinsci.plugins.gitclient.CliGitAPIImpl$8.execute(CliGitAPIImpl.java:1899)
>         at
> org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:152)
>         at
> org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:145)
>         at hudson.remoting.UserRequest.perform(UserRequest.java:121)
>         at hudson.remoting.UserRequest.perform(UserRequest.java:49)
>         at hudson.remoting.Request$2.run(Request.java:326)
>         at
> hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
>         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)
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message