It is a bug in jenkins, albeit, a very subtle one. I'll bet you a beer it is.
NFS does temporarily put the .nfs files on the filesystem. However, it is
Jenkins which fails to account for this possibility in the way that it installs
plugins. I haven't looked a Jenkins source code at all, so I am not able to
pinpoint exactly where the problem is.
- Peter
On 8/24/12 4:33 PM, Mark Waite wrote:
I'm a little skeptical that is a Jenkins bug, since I doubt Jenkins would
write a file with that name.
Is it possible that your NFS software stack (client side or server side) has a
bug that causes it to leave lock files or other temporary files on the file
system in such a way that it prevents deletion of the directory?
Mark Waite
--------------------------------------------------------------------------------
*From:* Peter Carr <[email protected]>
*To:* [email protected]
*Sent:* Friday, August 24, 2012 2:19 PM
*Subject:* still an error with installing plugins because of .nfs errors
Still getting this error. How do I file a bug report"
hudson.util.IOException2: Failed to dynamically deploy this plugin
at
hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1184)
at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:994)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.IOException: Unable to delete
/xchip/gpint/tools/hudson/plugins/subversion/WEB-INF/lib/.nfs0000000000186b5b000036eb
at hudson.Util.deleteFile(Util.java:239)
at hudson.Util.deleteRecursive(Util.java:289)
at hudson.Util.deleteContentsRecursive(Util.java:200)
at hudson.Util.deleteRecursive(Util.java:288)
at hudson.Util.deleteContentsRecursive(Util.java:200)
at hudson.Util.deleteRecursive(Util.java:280)
at hudson.Util.deleteContentsRecursive(Util.java:200)
at hudson.Util.deleteRecursive(Util.java:280)
at hudson.ClassicPluginStrategy.explode(ClassicPluginStrategy.java:403)
at
hudson.ClassicPluginStrategy.createPluginWrapper(ClassicPluginStrategy.java:117)
at hudson.PluginManager.dynamicLoad(PluginManager.java:372)
at
hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1180)