Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 335723 - Intermittent unable to delete directory fails builds
Summary: Intermittent unable to delete directory fails builds
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.2   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 0.2   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-28 13:24 EST by Andrew Niefer CLA
Modified: 2011-09-01 11:42 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Niefer CLA 2011-01-28 13:24:20 EST
There is an intermittent failure which affects the releng builds.

The build is failing attempting to delete an empty directory.  I can see no explanation for why this would happen, file permissions are fine, the directory was created by the same process that is trying to delete it.

I suspect a hardware/os problem related to bug 335274
Comment 1 Andrew Niefer CLA 2011-01-28 13:26:40 EST
The log looks like this:
  [delete] Deleting /shared/eclipse/e4/orion/I201101281253/tmp/eclipse/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.100.v20101018/about.html
   [delete] Deleting /shared/eclipse/e4/orion/I201101281253/tmp/eclipse/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.100.v20101018/eclipse_1404.so
   [delete] Deleting /shared/eclipse/e4/orion/I201101281253/tmp/eclipse/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.100.v20101018/META-INF/MANIFEST.MF
   [delete] Deleting /shared/eclipse/e4/orion/I201101281253/tmp/eclipse/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.100.v20101018/META-INF/ECLIPSEF.SF
   [delete] Deleting /shared/eclipse/e4/orion/I201101281253/tmp/eclipse/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.100.v20101018/META-INF/ECLIPSEF.RSA
   [delete] Deleting /shared/eclipse/e4/orion/I201101281253/tmp/eclipse/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.100.v20101018/META-INF/eclipse.inf
   [delete] Deleting directory /shared/eclipse/e4/orion/I201101281253/tmp/eclipse/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.100.v20101018/META-INF


 Unable to delete directory /shared/eclipse/e4/orion/I201101281253/tmp
        at org.apache.tools.ant.taskdefs.Delete.handle(Delete.java:624)
        at org.apache.tools.ant.taskdefs.Delete.removeDir(Delete.java:689)
        at org.apache.tools.ant.taskdefs.Delete.removeDir(Delete.java:679)
        at org.apache.tools.ant.taskdefs.Delete.removeDir(Delete.java:679)
        at org.apache.tools.ant.taskdefs.Delete.removeDir(Delete.java:679)
        at org.apache.tools.ant.taskdefs.Delete.removeDir(Delete.java:679)
        at org.apache.tools.ant.taskdefs.Delete.execute(Delete.java:543)

looking on disk:
e4Build@build:/shared/eclipse/e4/orion/I201101281253/tmp/eclipse/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.100.v20101018/META-INF> ls -la
total 0
drwxrwxr-x+ 2 e4Build users 48 2011-01-28 12:58 .
drwxrwxr-x+ 3 e4Build users 72 2011-01-28 12:58 ..
Comment 2 Andrew Niefer CLA 2011-01-28 18:14:05 EST
I have released changes to the builder to work around problems deleting files.

See bug 335274 comment #8
> The .nfs files are consistent with a file handle that is in the process of
> being deleted.  The NFS server (or its disk arrays) may be lagged when you see
> this.
>