Failed tests for IO::AIO
Winfried Neessen
wn at neessen.net
Wed Feb 19 08:24:55 CET 2020
Hi,
I am currently porting my Application that is based on AnyEvent to a
Docker container. For this I need to install
the IO::AIO module. cpanm fails with an error, so I had a closer look.
The compilation of the module works fine,
but the make test fails for some parts. I am not sure what might be the
reason. Could it be related to the
docker environment (using some syscalls that docker does not support?).
Here is the output of "make test":
bash-5.0$ make test
"/sysalert-ng/perl5/perlbrew/perls/perl-5.30.1/bin/perl"
-MExtUtils::Command::MM -e 'cp_nonempty' -- AIO.bs
blib/arch/auto/IO/AIO/AIO.bs 644
PERL_DL_NONLAZY=1
"/sysalert-ng/perl5/perlbrew/perls/perl-5.30.1/bin/perl"
"-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef
*Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')"
t/*.t
t/00_load.t ..... ok
t/01_stat.t ..... ok
t/02_read.t ..... ok
t/03_errors.t ... ok
t/04_fork.t ..... ok
t/05_readdir.t .. 1/12 # Test 2 got: "0" (t/05_readdir.t at line 26)
# Expected: "1" (Bad file descriptor)
# t/05_readdir.t line 26 is: ok (0,1,"$!");
# Failed test 5 in t/05_readdir.t at line 42
# t/05_readdir.t line 42 is: ok (!keys %x);
# Failed test 6 in t/05_readdir.t at line 54
# t/05_readdir.t line 54 is: ok (! ! $entries1);
# Failed test 7 in t/05_readdir.t at line 61
# t/05_readdir.t line 61 is: ok (! ! $entries2);
t/05_readdir.t .. Failed 6/12 subtests
t/06_group.t .... ok
t/07_feeder.t ... ok
Test Summary Report
-------------------
t/05_readdir.t (Wstat: 0 Tests: 10 Failed: 4)
Failed tests: 2, 5-7
Parse errors: Bad plan. You planned 12 tests but ran 10.
Files=8, Tests=65, 1 wallclock secs ( 0.03 usr 0.02 sys + 0.17 cusr 0.05
csys = 0.27 CPU)
Result: FAIL
Failed 1/8 test programs. 4/65 subtests failed.
make: *** [Makefile:1051: test_dynamic] Error 255
Perl version: This is perl 5, version 30, subversion 1 (v5.30.1) built
for x86_64-linux
Linux distribution: Alpine 3.11.3
Kernel: Linux bb2dd2b984cd 5.1.2-arch1-1-ARCH #1 SMP PREEMPT Wed May 15
00:09:47 UTC 2019 x86_64 Linux
Any idea why the tests in t/05.t are failing?
Thanks!
Winni
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schmorp.de/pipermail/perl/attachments/20200219/05a0e0e9/attachment.htm>
More information about the perl
mailing list