Started by upstream project "bcc-pr" build number 228 originally caused by: GitHub pull request #2695 of commit 0b25cbb1a4431c0011af8cb15d9c6e9f2506949e, no merge conflicts. Running as SYSTEM Building remotely on ubuntu1604-slave-307 (ubuntu1604) in workspace /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604 No credentials specified Cloning the remote Git repository Cloning repository https://github.com/iovisor/bcc.git > git init /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604 # timeout=10 Fetching upstream changes from https://github.com/iovisor/bcc.git > git --version # timeout=10 > git fetch --tags --progress https://github.com/iovisor/bcc.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url https://github.com/iovisor/bcc.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url https://github.com/iovisor/bcc.git # timeout=10 Fetching upstream changes from https://github.com/iovisor/bcc.git > git fetch --tags --progress https://github.com/iovisor/bcc.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 JENKINS-19022: warning: possible memory leak due to Git plugin usage; see: https://wiki.jenkins.io/display/JENKINS/Remove+Git+Plugin+BuildsByBranch+BuildData Checking out Revision 6e3def2b6c2d69378e02e9e4823582b637121e7b (refs/remotes/origin/pr/2695/merge) > git config core.sparsecheckout # timeout=10 > git checkout -f 6e3def2b6c2d69378e02e9e4823582b637121e7b # timeout=10 FATAL: Could not checkout 6e3def2b6c2d69378e02e9e4823582b637121e7b hudson.plugins.git.GitException: Command "git checkout -f 6e3def2b6c2d69378e02e9e4823582b637121e7b" returned status code 128: stdout: stderr: fatal: reference is not a tree: 6e3def2b6c2d69378e02e9e4823582b637121e7b at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2372) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$1000(CliGitAPIImpl.java:80) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$9.execute(CliGitAPIImpl.java:2681) Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to ubuntu1604-slave-307 at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1743) at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357) at hudson.remoting.Channel.call(Channel.java:957) at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:146) at sun.reflect.GeneratedMethodAccessor348.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:132) at com.sun.proxy.$Proxy174.execute(Unknown Source) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1195) at hudson.scm.SCM.checkout(SCM.java:504) at hudson.model.AbstractProject.checkout(AbstractProject.java:1209) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499) at hudson.model.Run.execute(Run.java:1816) at hudson.matrix.MatrixRun.run(MatrixRun.java:153) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:429) Caused: hudson.plugins.git.GitException: Could not checkout 6e3def2b6c2d69378e02e9e4823582b637121e7b at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$9.execute(CliGitAPIImpl.java:2705) at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$GitCommandMasterToSlaveCallable.call(RemoteGitImpl.java:161) at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$GitCommandMasterToSlaveCallable.call(RemoteGitImpl.java:154) at hudson.remoting.UserRequest.perform(UserRequest.java:212) at hudson.remoting.UserRequest.perform(UserRequest.java:54) at hudson.remoting.Request$2.run(Request.java:369) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1158) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:632) at java.lang.Thread.run(Thread.java:804) Finished: FAILURE