You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was able to reproduce this problem consistently using docker alpine images and two different architectures (linux/amd64 and linux/arm). The problem is that test 18 does not take into account the number of file descriptors opened by the perl interpreter, which may vary depending on the architecture.
For instance: in linux/amd64, the following command: perl -e 'print scalar(() = glob qq{/proc/$$/fd/*});' results in 8, and in linux/arm the result is 4.
I proposed a fixed version of t/18.t to fix this issue.
See eg: # Failed test 'More fd's than caches: 0 > 20'
https://www.cpantesters.org/distro/C/Cache-FastMmap.html?oncpan=1&distmat=1&version=1.57&grade=3
https://www.cpantesters.org/cpan/report/36e9b006-49e2-11ec-bb92-6c451f24ea8f
https://www.cpantesters.org/cpan/report/39c8dbfc-246d-11ec-9932-30331f24ea8f
https://www.cpantesters.org/cpan/report/35907400-246d-11ec-9932-30331f24ea8f
https://www.cpantesters.org/cpan/report/3171502e-246d-11ec-9932-30331f24ea8f
https://www.cpantesters.org/cpan/report/2d65d680-246d-11ec-9932-30331f24ea8f
https://www.cpantesters.org/cpan/report/1a1928f2-246d-11ec-9932-30331f24ea8f
https://www.cpantesters.org/cpan/report/1432a6fc-246d-11ec-9932-30331f24ea8f
https://www.cpantesters.org/cpan/report/0e9f479a-246d-11ec-9932-30331f24ea8f
https://www.cpantesters.org/cpan/report/1f9a48e2-246d-11ec-9932-30331f24ea8f
https://www.cpantesters.org/cpan/report/2955f96c-246d-11ec-9932-30331f24ea8f
https://www.cpantesters.org/cpan/report/23be3b54-246d-11ec-9932-30331f24ea8f
https://www.cpantesters.org/cpan/report/0938e3f6-246d-11ec-9932-30331f24ea8f
https://www.cpantesters.org/cpan/report/025be0ba-246d-11ec-9932-30331f24ea8f
(…)
Alternatively it can fails with "Less fd's in child than caches:"
See eg: https://pkgsubmit.mageia.org/uploads/failure/cauldron/core/release/20220329135017.tv.duvel.4059698/log/perl-Cache-FastMmap-1.570.0-2.mga9/build.x86_64.0.20220329135335.log
Failed test 'Less fd's in child than caches: 29 < 20'
build.x86_64.0.20220329135335.log
The text was updated successfully, but these errors were encountered: