Skip Menu |

This queue is for tickets about the CPAN CPAN distribution.

Report information
The Basics
Id: 43779
Status: resolved
Priority: 0/
Queue: CPAN

People
Owner: Nobody in particular
Requestors: toddr [...] cpanel.net
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.9304
Fixed in: 1.94



Subject: t/30shell acting on deleted files?
Hi, While installing the new CPAN, I was getting unexpected messages during tests. Here is the output from prove -lvm t/30shell.t 2>&1: t/30shell.... 1..239 ok 1 - histsize is 100 before testing ... ok 239 - histsize is 100 after testing cannot unlink file for t/dot-cpan/prefs/.nfs0000000000032e4d00016e25: Device or resource busy at t/local_utils.pm line 33 cannot restore permissions to 0100640 for t/dot- cpan/prefs/.nfs0000000000032e4d00016e25: Device or resource busy at t/local_utils.pm line 33 cannot remove directory for t/dot-cpan/prefs: Directory not empty at t/local_utils.pm line 33 cannot remove directory for t/dot-cpan: Directory not empty at t/local_utils.pm line 33 ok All tests successful. Files=1, Tests=239, 61 wallclock secs ( 0.34 usr 0.02 sys + 12.55 cusr 3.93 csys = 16.84 CPU) Result: PASS We run our disk on a netapp appliance. This means the directories are remote nfs mounted. .nfs files are created when a file that is held open by some other process is deleted. My guess is that you have some sequence in your tests where you're not closing a file handle and then attempting to delete a directory and/or all the files. Please let me know if you have any questions. Todd
Mac 02 14:09:31 2009, todd_rinaldo wrote: Show quoted text
> While installing the new CPAN, I was getting unexpected messages > during tests. > > cannot unlink file for t/dot-cpan/prefs/.nfs0000000000032e4d00016e25: > Device or resource busy at t/local_utils.pm line 33
Show quoted text
> We run our disk on a netapp appliance. This means the directories are > remote nfs mounted. .nfs files are created when a file that is held > open by some other process is deleted. My guess is that you have some > sequence in your tests where you're not closing a file handle and then > attempting to delete a directory and/or all the files. Please let me > know if you have any questions.
Please try CPAN 1.94 - it contains fixes for this problem. -- Alexandr Ciornii, http://chorny.net
From: todd.e.rinaldo [...] jpmorgan.com
1.94 works without errors now. Thanks!