Leont / io-async-loop-epoll-fd

Use IO::Async with Epoll and special filehandles
0 stars 0 forks source link

Expected that 'handle' has defined ->fileno #1

Open eserte opened 3 months ago

eserte commented 3 months ago

On most of my smokers the t/05loop-child.t fails like this:

Expected that 'handle' has defined ->fileno at /home/cpansand/.local/share/.cpan/build/2024063013/IO-Async-0.803-1/blib/lib/IO/Async/LoopTests.pm line 709.
# Seeded srand with seed '20240630' from local date.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 29 just after 3.
t/05loop-child.t .... 
Dubious, test returned 29 (wstat 7424, 0x1d00)
All 3 subtests passed 
Leont commented 3 months ago

I though I had fixed that issue. On a system where this fails, can you tell me what is returned by this:

perl -MLinux::FD::Pid -E 'say Linux::FD::Pid->VERSION; say Linux::FD::Pid->isa("IO::Handle"); say Linux::FD::Pid->can("fileno")'

Also, what does uname -r show? Does the failure relate to the Linux version.

eserte commented 3 months ago

A suspicion, not proved, just verified with one smoke configuration: it fails in CPAN.pm test-only mode if Linux::FD::Pid is not yet installed.

Leont commented 3 months ago

A suspicion, not proved, just verified with one smoke configuration: it fails in CPAN.pm test-only mode if Linux::FD::Pid is not yet installed.

I don't understand how that could matter.