[JIRA] (JENKINS-50729) exception when cleaning workspace
Title: Message Title Mark Waite edited a comment on JENKINS-50729 Re: exception when cleaning workspace [~msanders] and [~michal_gliniecki] please open a new bug report. The stack trace in your bug reports do not include the exotically named file that is mentioned as the critical attribute of this bug report. There was a [Jenkins core change|https://github.com/jenkinsci/jenkins/commits/65ecd43ecea3c3798b517959ce3e84201442492d/core/src/main/java/jenkins/util/io/PathRemover.java] by [~jvz] in Jenkins 2.157 that seems like it might be involved in this case but is not involved in the original bug report to which you attached your stack trace.When you open that new bug, please make the component {{core}} and the assignee [~jvz]. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50729) exception when cleaning workspace
Title: Message Title Michał Gliniecki commented on JENKINS-50729 Re: exception when cleaning workspace Mark Waite please see https://issues.jenkins-ci.org/browse/JENKINS-55471 Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50729) exception when cleaning workspace
Title: Message Title Michael Sanders commented on JENKINS-50729 Re: exception when cleaning workspace Thank you! See https://issues.jenkins-ci.org/browse/JENKINS-55478 please. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50729) exception when cleaning workspace
Title: Message Title Mark Waite edited a comment on JENKINS-50729 Re: exception when cleaning workspace [~msanders] and [~michal_gliniecki] please open a new bug report. The stack trace in your bug reports do not include the exotically named file that is mentioned as the critical attribute of this bug report. There was a [Jenkins core change|https://github.com/jenkinsci/jenkins/commits/65ecd43ecea3c3798b517959ce3e84201442492d/core/src/main/java/jenkins/util/io/PathRemover.java] by [~jvz] in Jenkins 2.157 that seems like it might be involved in this case but is not involved in the original bug report to which you attached your stack trace.When you open that new bug, please make the component {{core}} and the assignee [~jvz]. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50729) exception when cleaning workspace
Title: Message Title Mark Waite edited a comment on JENKINS-50729 Re: exception when cleaning workspace [~msanders] and [~michal_gliniecki] please open a new bug report. The stack trace in your bug reports do not include the exotically named file that is mentioned as the critical attribute of this file bug report . There was a [Jenkins core change|https://github.com/jenkinsci/jenkins/commits/65ecd43ecea3c3798b517959ce3e84201442492d/core/src/main/java/jenkins/util/io/PathRemover.java] by [~jvz] that seems like it might be involved in this case but is not involved in the original bug report to which you attached your stack trace.When you open that new bug, please make the component {{core}} and the assignee [~jvz]. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50729) exception when cleaning workspace
Title: Message Title Mark Waite commented on JENKINS-50729 Re: exception when cleaning workspace Michael Sanders and Michał Gliniecki please open a new bug report. The stack trace in your bug reports do not include the exotically named file that is mentioned as the critical attribute of this file. There was a Jenkins core change by Matt Sicker that seems like it might be involved in this case but is not involved in the original bug report to which you attached your stack trace. When you open that new bug, please make the component core and the assignee Matt Sicker. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50729) exception when cleaning workspace
Title: Message Title Mark Waite updated an issue Jenkins / JENKINS-50729 exception when cleaning workspace Change By: Mark Waite Component/s: git-plugin Component/s: core Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50729) exception when cleaning workspace
Title: Message Title Mark Waite updated an issue Jenkins / JENKINS-50729 exception when cleaning workspace Change By: Mark Waite Component/s: core Component/s: git-plugin Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50729) exception when cleaning workspace
Title: Message Title Michael Sanders commented on JENKINS-50729 Re: exception when cleaning workspace I had the same issue. A downgrade to 2.156 fixed this. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50729) exception when cleaning workspace
Title: Message Title Michał Gliniecki commented on JENKINS-50729 Re: exception when cleaning workspace I got the same problem after updating Jenkins to the 2.157. Rollback to the 2.155 fixed it for now. Jenkins 2.157 git-client 2.7.5 git-plugin 3.9.1 Cloning the remote Git repositoryCloning the remote Git repositoryCloning repository g...@bitbucket.org/repo.gitERROR: Failed to clean the workspacejenkins.util.io.CompositeIOException: Unable to delete '/users/jenkins/core-agent/workspace/Core/Installer Legacy'. Tried 3 times (of a maximum of 3) waiting 0.1 sec between attempts. at jenkins.util.io.PathRemover.forceRemoveDirectoryContents(PathRemover.java:84) at hudson.Util.deleteContentsRecursive(Util.java:244) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:592) at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153) at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146) 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:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)jenkins.util.io.CompositeIOException: Unable to remove directory /users/jenkins/core-agent/workspace/Core/Installer Legacy/Dll with directory contents: [/users/jenkins/core-agent/workspace/Core/Installer Legacy/Dll/Info, /users/jenkins/core-agent/workspace/Core/Installer Legacy/Dll/Installer.1.10.0-p10.nupkg, /users/jenkins/core-agent/workspace/Core/Installer Legacy/Dll/Installer.nuspec, /users/jenkins/core-agent/workspace/Core/Installer Legacy/Dll/Unity2017.4, /users/jenkins/core-agent/workspace/Core/Installer Legacy/Dll/Unity2018.1] at jenkins.util.io.PathRemover.removeOrMakeRemovableThenRemove(PathRemover.java:233) at jenkins.util.io.PathRemover.tryRemoveFile(PathRemover.java:191) at jenkins.util.io.PathRemover.tryRemoveRecursive(PathRemover.java:201) at jenkins.util.io.PathRemover.tryRemoveDirectoryContents(PathRemover.java:210) at jenkins.util.io.PathRemover.forceRemoveDirectoryContents(PathRemover.java:81) at hudson.Util.deleteContentsRecursive(Util.java:244) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:592) at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153) at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146) 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:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)java.nio.file.DirectoryNotEmptyException: /users/jenkins/core-agent/workspace/Core/Installer Legacy/Dll at
[JIRA] (JENKINS-50729) exception when cleaning workspace
Title: Message Title Eduard Weiss edited a comment on JENKINS-50729 Re: exception when cleaning workspace I have the same problem. Our files have german umlaut in its name.Is there are a workaround? PS:I can successfuly remove this files via *sh rm*. The Jenkins slave is started with JVM Options *-Dfile.encoding="UTF-8" -Dsun.jnu.encoding="UTF-8"* and env variable *LANG=en_US.UTF-8* Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50729) exception when cleaning workspace
Title: Message Title Eduard Weiss commented on JENKINS-50729 Re: exception when cleaning workspace I have the same problem. Our files have german umlaut in its name. Is there are a workaround? PS: I can successfuly remove this files via sh rm. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50729) exception when cleaning workspace
Title: Message Title Mark Waite updated an issue Jenkins / JENKINS-50729 exception when cleaning workspace Change By: Mark Waite Jenkins is not able to clean workspace before updating strace git checkout. It crashes with { { noformat } } {{ Started by upstream project "[strace]" build number [98] }} {{ originally caused by: }} {{ Started by an SCM change }} {{ Building remotely on }}{{[p8-ppc64le] }} {{ (Fedora F27 ppc64le) in workspace /home/jenkins/workspace/strace/label/ppc64le }} {{ Cloning the remote Git repository }} {{ Cloning repository }}{{[https://github.com/strace/strace.git] }} {{ ERROR: Failed to clean the workspace }} {{ java.io.IOException: Unable to delete '/home/jenkins/workspace/strace/label/ppc64le'. Tried 3 times (of a maximum of 3) waiting 0.1 sec between attempts. }} {{ at hudson.Util.deleteContentsRecursive(Util.java:238) }} {{ at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:555) }} {{ at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153) }} {{ at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146) }} {{ at hudson.remoting.UserRequest.perform(UserRequest.java:210) }} {{ at hudson.remoting.UserRequest.perform(UserRequest.java:53) }} {{ at hudson.remoting.Request$2.run(Request.java:364) }} {{ 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) }} {{ Caused by: java.io.IOException: Unable to delete /home/jenkins/workspace/strace/label/ppc64le/tests/fsync-y.dir - files in dir: [/home/jenkins/workspace/strace/label/ppc64le/tests/fsync-y.dir/078 9 }} {{ 1 }} {{ 78 \'"<<0::0>>1~ ��] }} {{ at hudson.Util.tryOnceDeleteFile(Util.java:303) }} {{ at hudson.Util.tryOnceDeleteRecursive(Util.java:369) }} {{ at hudson.Util.tryOnceDeleteContentsRecursive(Util.java:388) }} {{ at hudson.Util.tryOnceDeleteRecursive(Util.java:368) }} {{ at hudson.Util.tryOnceDeleteContentsRecursive(Util.java:388) }} {{ at hudson.Util.deleteContentsRecursive(Util.java:233) }} {{ ... 11 more }} {{ Caused by: java.nio.file.DirectoryNotEmptyException: /home/jenkins/workspace/strace/label/ppc64le/tests/fsync-y.dir }} {{ at sun.nio.fs.UnixFileSystemProvider.implDelete(UnixFileSystemProvider.java:242) }} {{ at sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:108) }} {{ at java.nio.file.Files.deleteIfExists(Files.java:1165) }} {{ at hudson.Util.tryOnceDeleteFile(Util.java:297) }} {{ ... 16 more }} {{ ERROR: Error cloning remote repo 'origin' }} {{ hudson.plugins.git.GitException: Failed to delete workspace }} {{ at
[JIRA] (JENKINS-50729) exception when cleaning workspace
Title: Message Title Dan Horák commented on JENKINS-50729 Re: exception when cleaning workspace The attached jenkins-clean-bug.tar.gz file contains /var/lib/jenkins/workspace provoking the crash (on a x86_64 system). Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50729) exception when cleaning workspace
Title: Message Title Dan Horák updated an issue Jenkins / JENKINS-50729 exception when cleaning workspace Change By: Dan Horák Attachment: jenkins-clean-bug.tar.gz Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50729) exception when cleaning workspace
Title: Message Title Dan Horák commented on JENKINS-50729 Re: exception when cleaning workspace [jenkins@guest02 ~]$ ll workspace/strace/label/ppc64le/tests/fsync-y.dir/ total 0 rw--. 1 jenkins jenkins 0 Apr 3 13:27 '\001\002''0'$'\v\004''7'$'\f\005''8'$'\t\a''9'$'\n\b\017''1'$'\r\016''7'$'\021''8'$'\037'' \'\''"<<0::0>>1~'$'\177\200\377' I can upload a tar with the offending filename. yes, rm -rf removes the dir yes, git clean -xfd removes the dir Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50729) exception when cleaning workspace
Title: Message Title Mark Waite commented on JENKINS-50729 Re: exception when cleaning workspace What are the precise file names of the files which can't be deleted? Are the files removed by a rm -rf directory-name? Are the files removed by git clean -xffd? Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50729) exception when cleaning workspace
Title: Message Title Mark Waite assigned an issue to Unassigned Jenkins / JENKINS-50729 exception when cleaning workspace Change By: Mark Waite Assignee: Mark Waite Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50729) exception when cleaning workspace
Title: Message Title Dan Horák created an issue Jenkins / JENKINS-50729 exception when cleaning workspace Issue Type: Bug Assignee: Mark Waite Components: git-plugin Created: 2018-04-11 08:45 Environment: Jenkins ver. 2.107.1 Git plugin 3.8.0 Priority: Major Reporter: Dan Horák Jenkins is not able to clean workspace before updating strace git checkout. It crashes with {{ Started by upstream project "[strace]" build number [98]}} {{ originally caused by:}} {{ Started by an SCM change}} {{ Building remotely on }} {{ [p8-ppc64le]}} {{ (Fedora F27 ppc64le) in workspace /home/jenkins/workspace/strace/label/ppc64le}} {{ Cloning the remote Git repository}} {{ Cloning repository }} {{ https://github.com/strace/strace.git}} {{ ERROR: Failed to clean the workspace}} {{ java.io.IOException: Unable to delete '/home/jenkins/workspace/strace/label/ppc64le'. Tried 3 times (of a maximum of 3) waiting 0.1 sec between attempts.}} {{ at hudson.Util.deleteContentsRecursive(Util.java:238)}} {{ at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:555)}} {{ at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153)}} {{ at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146)}} {{ at hudson.remoting.UserRequest.perform(UserRequest.java:210)}} {{ at hudson.remoting.UserRequest.perform(UserRequest.java:53)}} {{ at hudson.remoting.Request$2.run(Request.java:364)}} {{ 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