Subject: | t/zmq-libzmq3/echo.t: Hangs indefinitely on FreeBSD-11.1 |
Today I was attempting to assess the perl-5.28.0-readiness of certain CPAN distributions. I was testing in a FreeBSD-11.1 VM using 'cpanm' as the installer. I observed that the test suite for this library hung indefinitely shortly after the beginning of t/zmq-libzmq3/echo.t. Here are some excerpts from the cpanm build.log and other attempts at debugging.
#####
export PERL_CPANM_HOME=/home/jkeenan/var/tad/testing/perl-5.28.0/.cpanm && \
cd /home/jkeenan/var/tad/testing/perl-5.28.0/ && \
./bin/perl -Ilib ./bin/cpanm Net::Async::ZMQ
Above command hangs at:
PERL_DL_NONLAZY=1 "/usr/home/jkeenan/var/tad/testing/perl-5.28.0/bin/perl" "-MExtUtils::Command::MM" "-MTest::
Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/zmq-libzmq3/*.t t/z
mq-libzmq4/*.t
#####
#####
$ make test
PERL_DL_NONLAZY=1 "/usr/home/jkeenan/var/tad/testing/perl-5.28.0/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/zmq-libzmq3/*.t t/zmq-libzmq4/*.t
t/zmq-libzmq3/echo.t ..
[# hangs at this point ]
#####
#####
[Net-Async-ZMQ-0.001] $ /usr/home/jkeenan/var/tad/testing/perl-5.28.0/bin/prove -I/usr/home/jkeenan/var/tad/testing/perl-5.28.0/lib -vb t/zmq-libzmq3/echo.t
t/zmq-libzmq3/echo.t ..
1..1
# Subtest: Reverse echo
[# hangs at this point ]
#####
Note that in the 3rd code snippet above, by getting as far as the '# Subtest' line, we demonstrate that we have succeeded in ZMQ::LibZMQ3 and ZMQ::Constants. So it's not failing due to lack of CPAN prerequisites. Could there be other environmental requirements which are assumed to be fulfilled?
Thank you very much.
Jim Keenan