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 )
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 )