Special_K has asked for the wisdom of the Perl Monks concerning the following question:
I am trying to install IO::Async::Listener under cygwin but see the following failures:
cpan[2]> install IO::Async::Listener Running install for module 'IO::Async::Listener' PEVANS/IO-Async-0.77.tar.gz Has already been unwrapped into directory /home/User/.local/share/.c +pan/build/IO-Async-0.77-5 PEVANS/IO-Async-0.77.tar.gz Has already been prepared PEVANS/IO-Async-0.77.tar.gz Has already been made Running Build test for PEVANS/IO-Async-0.77.tar.gz t/00use.t .................... ok t/01timequeue.t .............. ok t/02os.t ..................... ok t/03loop-magic.t ............. ok t/04notifier.t ............... ok t/05notifier-loop.t .......... ok t/06notifier-mixin.t ......... ok t/07notifier-future.t ........ ok t/10loop-poll-io.t ........... 1/? # Failed test 'exceptional socket invokes on_read_ready' # at /home/User/.local/share/.cpan/build/IO-Async-0.77-5/blib/lib/IO +/Async/LoopTests.pm line 387. # got: '0' # expected: '1' # Looks like you failed 1 test of 22. t/10loop-poll-io.t ........... Dubious, test returned 1 (wstat 256, 0x +100) Failed 1/22 subtests (less 2 skipped subtests: 19 okay) t/10loop-select-io.t ......... 1/? # Failed test 'exceptional socket invokes on_read_ready' # at /home/User/.local/share/.cpan/build/IO-Async-0.77-5/blib/lib/IO +/Async/LoopTests.pm line 387. # got: '0' # expected: '1' # Looks like you failed 1 test of 22. t/10loop-select-io.t ......... Dubious, test returned 1 (wstat 256, 0x +100) Failed 1/22 subtests (less 2 skipped subtests: 19 okay) t/11loop-poll-timer.t ........ ok t/11loop-select-timer.t ...... ok t/12loop-poll-signal.t ....... ok t/12loop-select-signal.t ..... ok t/13loop-poll-idle.t ......... ok t/13loop-select-idle.t ....... ok t/14loop-poll-process.t ...... ok t/14loop-select-process.t .... ok t/15loop-poll-control.t ...... ok t/15loop-select-control.t .... ok t/16loop-poll-metrics.t ...... ok t/16loop-select-metrics.t .... ok t/18loop-poll-legacy.t ....... ok t/18loop-select-legacy.t ..... ok t/19loop-future.t ............ ok t/19test.t ................... ok t/20handle.t ................. ok t/21stream-1read.t ........... ok t/21stream-2write.t .......... ok t/21stream-3split.t .......... ok t/21stream-4encoding.t ....... ok t/22timer-absolute.t ......... ok t/22timer-countdown.t ........ ok t/22timer-periodic.t ......... ok t/23signal.t ................. ok t/24listener.t ............... ok t/25socket.t ................. ok t/26pid.t .................... ok t/27file.t ................... ok t/28filestream.t ............. ok t/30loop-fork.t .............. ok t/31loop-spawnchild.t ........ ok t/32loop-spawnchild-setup.t .. ok t/33process.t ................ ok t/34process-handles.t ........ ok t/35loop-openprocess.t ....... ok t/36loop-runchild.t .......... ok t/37loop-child-root.t ........ skipped: not root t/38loop-thread.t ............ ok t/39loop-runproccess.t ....... ok t/40channel.t ................ ok t/41routine.t ................ ok t/42function.t ............... 1/? Warning: unable to close filehandle + $wr properly: Bad file descriptor during global destruction. Warning: unable to close filehandle $wr properly: Bad file descriptor +during global destruction. Warning: unable to close filehandle $out properly: Bad file descriptor + during global destruction. Warning: unable to close filehandle $out properly: Bad file descriptor + during global destruction. Warning: unable to close filehandle properly: Bad file descriptor duri +ng global destruction. Warning: unable to close filehandle properly: Bad file descriptor duri +ng global destruction. t/42function.t ............... ok t/50resolver.t ............... 1/? # Failed test '->failure [3] gives EAI_NONAME or EAI_NODATA' # at t/50resolver.t line 342. # $errno is 2 # Looks like you failed 1 test of 35. t/50resolver.t ............... Dubious, test returned 1 (wstat 256, 0x +100) Failed 1/35 subtests t/51loop-connect.t ........... ok t/52loop-listen.t ............ ok t/53loop-extend.t ............ ok t/60protocol.t ............... ok t/61protocol-stream.t ........ ok t/62protocol-linestream.t .... ok t/63handle-connect.t ......... ok t/64handle-bind.t ............ ok t/70future-io.t .............. skipped: Future::IO is not available t/99pod.t .................... ok Test Summary Report ------------------- t/10loop-poll-io.t (Wstat: 256 Tests: 22 Failed: 1) Failed test: 19 Non-zero exit status: 1 t/10loop-select-io.t (Wstat: 256 Tests: 22 Failed: 1) Failed test: 19 Non-zero exit status: 1 t/50resolver.t (Wstat: 256 Tests: 35 Failed: 1) Failed test: 28 Non-zero exit status: 1 Files=64, Tests=1668, 119 wallclock secs ( 0.28 usr 0.30 sys + 7.79 +cusr 9.73 csys = 18.10 CPU) Result: FAIL Failed 3/64 test programs. 3/1668 subtests failed. PEVANS/IO-Async-0.77.tar.gz ./Build test -- NOT OK //hint// to see the cpan-testers results for installing this module, t +ry: reports PEVANS/IO-Async-0.77.tar.gz Failed during this command: PEVANS/IO-Async-0.77.tar.gz : make_test NO
How do I debug this? Searching for "Failed test 'exceptional socket invokes on_read_ready'" does return an open bug related to cygwin (https://rt.cpan.org/Public/Bug/Display.html?id=71706) although the reporter never replied back indicating whether or not they still see the same issue with the version referenced by the author (0.61), which is quit a bit older than the most recent version (0.77). Is there anything obvious I can do to debug this further other than contacting the author?
|
|---|