Skip Menu |

This queue is for tickets about the File-ShareDir CPAN distribution.

Report information
The Basics
Id: 133368
Status: resolved
Priority: 0/
Queue: File-ShareDir

People
Owner: Nobody in particular
Requestors: KENTNL [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.110
Fixed in: (no value)



Subject: Race condition between t/04_fail.t and t/06_old.t
This is kinda rare to hit naturally, even if you default HARNESS_OPTIONS for parallelism, but it can happen:

https://bugs.gentoo.org/741038

But its much easier to demonstrate synthetically:

prove -blr -j2 t/04_fail.t t/06_old.t


Every other run gives different results, and it sometimes runs without error, but the sign something is "wrong" is as follows:


cannot remove directory for /home/kent/.cpanm/work/1600515022.29502/File-ShareDir-1.116/t/lib/auto/ShareDir: No such file or directory at t/04_fail.t line 99.
cannot remove directory for /home/kent/.cpanm/work/1600515022.29502/File-ShareDir-1.116/t/lib/auto/share/dist: No such file or directory at t/06_old.t line 18.
cannot remove directory for /home/kent/.cpanm/work/1600515022.29502/File-ShareDir-1.116/t/lib/auto/share: No such file or directory at t/06_old.t line 18.
cannot remove directory for /home/kent/.cpanm/work/1600515022.29502/File-ShareDir-1.116/t/lib/auto: No such file or directory at t/06_old.t line 18.

And historical spelunking indicates this problem started happening in 1.110



-- 
- CPAN kentnl@cpan.org
- Gentoo Perl Maintainer kentnl@gentoo.org ( perl@gentoo.org )
On Fri Sep 25 09:41:16 2020, TOMHUKINS wrote: Show quoted text
> This looks like the problem I fixed in https://github.com/perl5- > utils/File-ShareDir/commit/5aea1ebb2afadc5c0e16d4aa3f1eb0bf8f884e81
I'm on filling Changes and closing tickets :) Thanks for assistance :D