It's odd that it's an AccessDeniedException.  That sounds like a local
filesystem issue.

Can we add a git clean -fqdx to the start of the Jenkins setup?  This
all looks very similar to an issue we had in Hadoop where mvn clean
couldn't delete directories without +x set on them, or something.

Also what's the URL for our jenkins?  Sorry for the dumb question.
Colin


On Nov 9, 2015 12:22 PM, "Stack" <[email protected]> wrote:
>
> Odd. Its like the repo went away for a little while:
>
> Cloning repository 
> https://git-wip-us.apache.org/repos/asf/incubator-htrace.git
> ERROR: Failed to clean the
> workspacejava.nio.file.AccessDeniedException
> <http://stacktrace.jenkins-ci.org/search?query=java.nio.file.AccessDeniedException>:
> /home/jenkins/jenkins-slave/workspace/HTrace-Master/htrace-flume/target/classes/META-INF/NOTICE
>
>
> St.Ack
>
>
> On Mon, Nov 9, 2015 at 5:14 AM, Apache Jenkins Server <
> [email protected]> wrote:
>
> > See <https://builds.apache.org/job/HTrace-Master/202/>
> >
> > ------------------------------------------
> > [...truncated 76 lines...]
> >         at
> > sun.nio.fs.UnixFileSystemProvider.implDelete(UnixFileSystemProvider.java:244)
> >         at
> > sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:103)
> >         at java.nio.file.Files.delete(Files.java:1079)
> >         at sun.reflect.GeneratedMethodAccessor547.invoke(Unknown Source)
> >         at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> >         at java.lang.reflect.Method.invoke(Method.java:606)
> >         at hudson.Util.deleteFile(Util.java:247)
> >         at hudson.Util.deleteRecursive(Util.java:310)
> >         at hudson.Util.deleteContentsRecursive(Util.java:212)
> >         at hudson.Util.deleteRecursive(Util.java:301)
> >         at hudson.Util.deleteContentsRecursive(Util.java:212)
> >         at hudson.Util.deleteRecursive(Util.java:301)
> >         at hudson.Util.deleteContentsRecursive(Util.java:212)
> >         at hudson.Util.deleteRecursive(Util.java:301)
> >         at hudson.Util.deleteContentsRecursive(Util.java:212)
> >         at hudson.Util.deleteRecursive(Util.java:301)
> >         at hudson.Util.deleteContentsRecursive(Util.java:212)
> >         at
> > org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:453)
> >         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)
> > ERROR: null
> > Retrying after 10 seconds
> > Cloning the remote Git repository
> > Cloning repository
> > https://git-wip-us.apache.org/repos/asf/incubator-htrace.git
> > ERROR: Failed to clean the workspace
> > java.nio.file.AccessDeniedException: <
> > https://builds.apache.org/job/HTrace-Master/ws/htrace-flume/target/classes/META-INF/NOTICE
> > >
> >         at
> > sun.nio.fs.UnixException.translateToIOException(UnixException.java:84)
> >         at
> > sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
> >         at
> > sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
> >         at
> > sun.nio.fs.UnixFileSystemProvider.implDelete(UnixFileSystemProvider.java:244)
> >         at
> > sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:103)
> >         at java.nio.file.Files.delete(Files.java:1079)
> >         at sun.reflect.GeneratedMethodAccessor547.invoke(Unknown Source)
> >         at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> >         at java.lang.reflect.Method.invoke(Method.java:606)
> >         at hudson.Util.deleteFile(Util.java:247)
> >         at hudson.Util.deleteRecursive(Util.java:310)
> >         at hudson.Util.deleteContentsRecursive(Util.java:212)
> >         at hudson.Util.deleteRecursive(Util.java:301)
> >         at hudson.Util.deleteContentsRecursive(Util.java:212)
> >         at hudson.Util.deleteRecursive(Util.java:301)
> >         at hudson.Util.deleteContentsRecursive(Util.java:212)
> >         at hudson.Util.deleteRecursive(Util.java:301)
> >         at hudson.Util.deleteContentsRecursive(Util.java:212)
> >         at hudson.Util.deleteRecursive(Util.java:301)
> >         at hudson.Util.deleteContentsRecursive(Util.java:212)
> >         at
> > org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:453)
> >         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)
> > ERROR: Error cloning remote repo 'origin'
> > hudson.plugins.git.GitException: Failed to delete workspace
> >         at
> > org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:456)
> >         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 H6(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.GeneratedMethodAccessor1350.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.$Proxy160.execute(Unknown Source)
> >         at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1003)
> >         at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1043)
> >         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.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
> >         at
> > hudson.model.ResourceController.execute(ResourceController.java:98)
> >         at hudson.model.Executor.run(Executor.java:381)
> > Caused by: java.nio.file.AccessDeniedException: <
> > https://builds.apache.org/job/HTrace-Master/ws/htrace-flume/target/classes/META-INF/NOTICE
> > >
> >         at
> > sun.nio.fs.UnixException.translateToIOException(UnixException.java:84)
> >         at
> > sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
> >         at
> > sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
> >         at
> > sun.nio.fs.UnixFileSystemProvider.implDelete(UnixFileSystemProvider.java:244)
> >         at
> > sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:103)
> >         at java.nio.file.Files.delete(Files.java:1079)
> >         at sun.reflect.GeneratedMethodAccessor547.invoke(Unknown Source)
> >         at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> >         at java.lang.reflect.Method.invoke(Method.java:606)
> >         at hudson.Util.deleteFile(Util.java:247)
> >         at hudson.Util.deleteRecursive(Util.java:310)
> >         at hudson.Util.deleteContentsRecursive(Util.java:212)
> >         at hudson.Util.deleteRecursive(Util.java:301)
> >         at hudson.Util.deleteContentsRecursive(Util.java:212)
> >         at hudson.Util.deleteRecursive(Util.java:301)
> >         at hudson.Util.deleteContentsRecursive(Util.java:212)
> >         at hudson.Util.deleteRecursive(Util.java:301)
> >         at hudson.Util.deleteContentsRecursive(Util.java:212)
> >         at hudson.Util.deleteRecursive(Util.java:301)
> >         at hudson.Util.deleteContentsRecursive(Util.java:212)
> >         at
> > org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:453)
> >         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)
> > ERROR: null
> > Retrying after 10 seconds
> > Cloning the remote Git repository
> > Cloning repository
> > https://git-wip-us.apache.org/repos/asf/incubator-htrace.git
> > ERROR: Failed to clean the workspace
> > java.nio.file.AccessDeniedException: <
> > https://builds.apache.org/job/HTrace-Master/ws/htrace-flume/target/classes/META-INF/NOTICE
> > >
> >         at
> > sun.nio.fs.UnixException.translateToIOException(UnixException.java:84)
> >         at
> > sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
> >         at
> > sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
> >         at
> > sun.nio.fs.UnixFileSystemProvider.implDelete(UnixFileSystemProvider.java:244)
> >         at
> > sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:103)
> >         at java.nio.file.Files.delete(Files.java:1079)
> >         at sun.reflect.GeneratedMethodAccessor547.invoke(Unknown Source)
> >         at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> >         at java.lang.reflect.Method.invoke(Method.java:606)
> >         at hudson.Util.deleteFile(Util.java:247)
> >         at hudson.Util.deleteRecursive(Util.java:310)
> >         at hudson.Util.deleteContentsRecursive(Util.java:212)
> >         at hudson.Util.deleteRecursive(Util.java:301)
> >         at hudson.Util.deleteContentsRecursive(Util.java:212)
> >         at hudson.Util.deleteRecursive(Util.java:301)
> >         at hudson.Util.deleteContentsRecursive(Util.java:212)
> >         at hudson.Util.deleteRecursive(Util.java:301)
> >         at hudson.Util.deleteContentsRecursive(Util.java:212)
> >         at hudson.Util.deleteRecursive(Util.java:301)
> >         at hudson.Util.deleteContentsRecursive(Util.java:212)
> >         at
> > org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:453)
> >         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)
> > ERROR: Error cloning remote repo 'origin'
> > hudson.plugins.git.GitException: Failed to delete workspace
> >         at
> > org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:456)
> >         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 H6(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.GeneratedMethodAccessor1350.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.$Proxy160.execute(Unknown Source)
> >         at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1003)
> >         at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1043)
> >         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.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
> >         at
> > hudson.model.ResourceController.execute(ResourceController.java:98)
> >         at hudson.model.Executor.run(Executor.java:381)
> > Caused by: java.nio.file.AccessDeniedException: <
> > https://builds.apache.org/job/HTrace-Master/ws/htrace-flume/target/classes/META-INF/NOTICE
> > >
> >         at
> > sun.nio.fs.UnixException.translateToIOException(UnixException.java:84)
> >         at
> > sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
> >         at
> > sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
> >         at
> > sun.nio.fs.UnixFileSystemProvider.implDelete(UnixFileSystemProvider.java:244)
> >         at
> > sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:103)
> >         at java.nio.file.Files.delete(Files.java:1079)
> >         at sun.reflect.GeneratedMethodAccessor547.invoke(Unknown Source)
> >         at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> >         at java.lang.reflect.Method.invoke(Method.java:606)
> >         at hudson.Util.deleteFile(Util.java:247)
> >         at hudson.Util.deleteRecursive(Util.java:310)
> >         at hudson.Util.deleteContentsRecursive(Util.java:212)
> >         at hudson.Util.deleteRecursive(Util.java:301)
> >         at hudson.Util.deleteContentsRecursive(Util.java:212)
> >         at hudson.Util.deleteRecursive(Util.java:301)
> >         at hudson.Util.deleteContentsRecursive(Util.java:212)
> >         at hudson.Util.deleteRecursive(Util.java:301)
> >         at hudson.Util.deleteContentsRecursive(Util.java:212)
> >         at hudson.Util.deleteRecursive(Util.java:301)
> >         at hudson.Util.deleteContentsRecursive(Util.java:212)
> >         at
> > org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:453)
> >         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)
> > ERROR: null
> > [FINDBUGS] Skipping publisher since build result is FAILURE
> > Performing Post build task...
> > Match found for :.* : True
> > Logical operation result is TRUE
> > Running script  :
> > [HTrace-Master] $ /bin/bash -xe /tmp/hudson3350698263542309600.sh
> > POST BUILD TASK : SUCCESS
> > END OF POST BUILD TASK : 0
> > Archiving artifacts
> > Recording test results
> > ERROR: Publisher 'Publish JUnit test result report' failed: Test reports
> > were found but none of them are new. Did tests run?
> > For example, <
> > https://builds.apache.org/job/HTrace-Master/202/artifact/htrace-core/target/surefire-reports/TEST-org.apache.htrace.core.TestBadClient.xml>
> > is 1 mo 20 days old
> >
> >
> >

Reply via email to