Skip Menu |

This queue is for tickets about the Gnome2-VFS CPAN distribution.

Report information
The Basics
Id: 46331
Status: stalled
Priority: 0/
Queue: Gnome2-VFS

People
Owner: XAOC [...] cpan.org
Requestors: imacat [...] mail.imacat.idv.tw
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.081
Fixed in: (no value)



Subject: t/GnomeVFSDirectory.t and t/GnomeVFSOps.t Dies With NFS
Dear Torsten Schönfeld, Hi. This is imacat from Taiwan. I found that t/GnomeVFSDirectory.t and t/GnomeVFSDirectory.t in your Gnome2-VFS-1.081 dies when building on NFS-mounted disk. I tried to dig further. It seems that there are hidden files created and left (NFS lock files?) in the temporary working directory, and the final rmdir() call fails with the “directory not empty” error. The terminal log is attached below. I inserted a “print TMP; system "ls -a ".TMP;” before the rmdir() call. My home directory is mounted on NFS. Hope that this helps. Please tell me if you need any more information, or if I could be of any help. Thank you. imacat@cotton build/Gnome2-VFS-1.081-3bSR5A % make test t/GnomeVFS.t ........... ok t/GnomeVFSAddress.t .... ok t/GnomeVFSDirectory.t .. 1/38 Urgh, couldn't delete the scratch directory: Directory not empty # Looks like your test exited with 39 just after 38. t/GnomeVFSDirectory.t .. Dubious, test returned 39 (wstat 9984, 0x2700) All 38 subtests passed t/GnomeVFSFileInfo.t ... ok t/GnomeVFSOps.t ........ 1/48 Urgh, couldn't delete the scratch directory: Directory not empty # Looks like your test exited with 39 just after 48. t/GnomeVFSOps.t ........ Dubious, test returned 39 (wstat 9984, 0x2700) All 48 subtests passed t/GnomeVFSResolve.t .... ok t/GnomeVFSURI.t ........ ok t/GnomeVFSUtils.t ...... ok t/GnomeVFSXfer.t ....... ok Test Summary Report ------------------- t/GnomeVFSDirectory.t (Wstat: 9984 Tests: 38 Failed: 0) Non-zero exit status: 39 t/GnomeVFSOps.t (Wstat: 9984 Tests: 48 Failed: 0) Non-zero exit status: 39 Files=9, Tests=180, 4 wallclock secs ( 0.31 usr 0.03 sys + 1.58 cusr 0.27 csys = 2.19 CPU) Result: FAIL Failed 2/9 test programs. 0/180 subtests failed. make: *** [test_dynamic] Error 255 imacat@cotton build/Gnome2-VFS-1.081-3bSR5A % perl -Mblib t/GnomeVFSDirectory.t 1..38 ok 1 ok 2 - The object isa Gnome2::VFS::Directory::Handle ok 3 ok 4 ok 5 - The object isa Gnome2::VFS::Directory::Handle ok 6 ok 7 ok 8 ok 9 ok 10 ok 11 ok 12 ok 13 ok 14 ok 15 ok 16 ok 17 ok 18 ok 19 ok 20 ok 21 ok 22 ok 23 ok 24 ok 25 ok 26 ok 27 ok 28 ok 29 ok 30 ok 31 ok 32 ok 33 ok 34 ok 35 ok 36 ok 37 ok 38 /home/imacat/.cpan/build/Gnome2-VFS-1.081-3bSR5A/tmp total 8 drwxr-xr-x 2 imacat users 4096 May 25 01:06 . drwx------ 8 imacat users 4096 May 25 01:06 .. -rw-r--r-- 1 imacat users 0 May 25 01:06 .nfs00000000002d431400000044 -rw-r--r-- 1 imacat users 0 May 25 01:06 .nfs00000000002d431500000043 Urgh, couldn't delete the scratch directory: Directory not empty # Looks like your test exited with 39 just after 38. imacat@cotton build/Gnome2-VFS-1.081-3bSR5A % perl -Mblib t/GnomeVFSOps.t 1..48 ok 1 ok 2 - The object isa Gnome2::VFS::Handle ok 3 ok 4 ok 5 - The object isa Gnome2::VFS::Handle ok 6 ok 7 ok 8 - The object isa Gnome2::VFS::Handle ok 9 ok 10 ok 11 - The object isa Gnome2::VFS::Handle ok 12 ok 13 ok 14 ok 15 ok 16 ok 17 ok 18 ok 19 ok 20 ok 21 ok 22 ok 23 ok 24 ok 25 ok 26 ok 27 ok 28 ok 29 ok 30 ok 31 ok 32 ok 33 ok 34 ok 35 ok 36 ok 37 ok 38 ok 39 ok 40 ok 41 ok 42 - The object isa Gnome2::VFS::FilePermissions ok 43 ok 44 ok 45 ok 46 ok 47 ok 48 /home/imacat/.cpan/build/Gnome2-VFS-1.081-3bSR5A/tmp total 12 drwxr-xr-x 2 imacat users 4096 May 25 01:07 . drwx------ 8 imacat users 4096 May 25 01:06 .. -rw-r--r-- 1 imacat users 4 May 25 01:07 .nfs00000000002d431400000045 Urgh, couldn't delete the scratch directory: Directory not empty # Looks like your test exited with 39 just after 48. imacat@cotton build/Gnome2-VFS-1.081-3bSR5A % df $PWD Filesystem 1K-blocks Used Available Use% Mounted on rinse:/home 80961536 13720064 63128832 18% /home imacat@cotton build/Gnome2-VFS-1.081-3bSR5A %
On Sun May 24 13:09:46 2009, IMACAT wrote: Show quoted text
> Dear Torsten Schönfeld, > > Hi. This is imacat from Taiwan. I found that t/GnomeVFSDirectory.t > and t/GnomeVFSDirectory.t in your Gnome2-VFS-1.081 dies when building on > NFS-mounted disk. I tried to dig further. It seems that there are > hidden files created and left (NFS lock files?) in the temporary working > directory, and the final rmdir() call fails with the “directory not > empty” error.
Is this still an issue? 1) It would not be trivial to handle NFS-mounted home directories as a use case when building this module. 2) This module will be deprecated by the Gtk-Perl team in the next few months.