You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "Evans Ye (Jira)" <ji...@apache.org> on 2020/04/25 17:42:00 UTC
[jira] [Created] (BIGTOP-3345) Failed to run smoke test due to
jenkins do not have permission to cleanup workspace
Evans Ye created BIGTOP-3345:
--------------------------------
Summary: Failed to run smoke test due to jenkins do not have permission to cleanup workspace
Key: BIGTOP-3345
URL: https://issues.apache.org/jira/browse/BIGTOP-3345
Project: Bigtop
Issue Type: Bug
Components: ci
Affects Versions: 1.4.0
Reporter: Evans Ye
{code:java}
ERROR: Failed to clean the workspace
jenkins.util.io.CompositeIOException: Unable to delete '/home/jenkins/workspace/Build-Deploy-Smoke-Test-Pull-Request-All-Distros/OS/centos-7-x86_64-deploy'. Tried 3 times (of a maximum of 3) waiting 0.1 sec between attempts.
at jenkins.util.io.PathRemover.forceRemoveDirectoryContents(PathRemover.java:90)
at hudson.Util.deleteContentsRecursive(Util.java:260)
at hudson.Util.deleteContentsRecursive(Util.java:249)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:739)
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:211)
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:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Suppressed: java.nio.file.FileSystemException: /home/jenkins/workspace/Build-Deploy-Smoke-Test-Pull-Request-All-Distros/OS/centos-7-x86_64-deploy/bigtop-tests/smoke-tests/logger-test-config/build/resources/main/log4j.properties: Operation not permitted
{code}
Ref: https://ci.bigtop.apache.org/view/Test/job/Build-Deploy-Smoke-Test-Pull-Request-All-Distros/OS=centos-7-x86_64-deploy/52/consoleFull
Guessing it's because the job error out early before the cleanup command getting executed:
{code}
./gradlew realclean docker-provisioner-destroy
{code}
Ref: https://issues.apache.org/jira/browse/BIGTOP-3344
--
This message was sent by Atlassian Jira
(v8.3.4#803005)