Subject: | Test suite hangs |
The test suite hangs for vast majority of tests:
[guillomovitch@n2 Device-Cdio-v0.2.4]$ prove -b t/02.default.t
t/02.default....v-string in use/require non-portable at
/home/guillomovitch/cooker/perl-Device-Cdio/BUILD/Device-Cdio-v0.2.4/t/../blib/lib/Device/Cdio/Util.pm
line 2.
v-string in use/require non-portable at
/home/guillomovitch/cooker/perl-Device-Cdio/BUILD/Device-Cdio-v0.2.4/t/../blib/lib/Device/Cdio.pm
line 2.
v-string in use/require non-portable at
/home/guillomovitch/cooker/perl-Device-Cdio/BUILD/Device-Cdio-v0.2.4/t/../blib/lib/Device/Cdio/Track.pm
line 2.
v-string in use/require non-portable at
/home/guillomovitch/cooker/perl-Device-Cdio/BUILD/Device-Cdio-v0.2.4/t/../blib/lib/Device/Cdio/Device.pm
line 2.
Name "swig_runtime_data::type_pointer1" used only once: possible typo at
/usr/lib/perl5/5.10.0/i386-linux-thread-multi/DynaLoader.pm line 226.
It finally aborts after some kind of time-out.
strace show the hangs occurs on a select call:
read(5, "package TAP::Formatter::Console::"..., 4096) = 4096
brk(0x8510000) = 0x8510000
read(5, " \"Bailout called. Further test"..., 4096) = 4096
read(5, "->_failure_output(\" Dubious, test"..., 4096) = 896
read(5, ""..., 4096) = 0
close(5) = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo
...}) = 0
write(1, "t/02.default...."..., 16t/02.default....) = 16
gettimeofday({1232891462, 233888}, NULL) = 0
select(8, [4 6], NULL, NULL, NULL) = 1 (in [6])
brk(0x8535000) = 0x8535000
read(6, "v-string in use/require non-porta"..., 65536) = 151
write(2, "v-string in use/require non-porta"..., 151v-string in
use/require non-portable at
/home/guillomovitch/cooker/perl-Device-Cdio/BUILD/Device-Cdio-v0.2.4/t/../blib/lib/Device/Cdio/Util.pm
line 2.
) = 151
select(8, [4 6], NULL, NULL, NULL) = 1 (in [6])
read(6, "v-string in use/require non-porta"..., 65536) = 146
write(2, "v-string in use/require non-porta"..., 146v-string in
use/require non-portable at
/home/guillomovitch/cooker/perl-Device-Cdio/BUILD/Device-Cdio-v0.2.4/t/../blib/lib/Device/Cdio.pm
line 2.
) = 146
select(8, [4 6], NULL, NULL, NULL) = 1 (in [6])
read(6, "v-string in use/require non-porta"..., 65536) = 152
write(2, "v-string in use/require non-porta"..., 152v-string in
use/require non-portable at
/home/guillomovitch/cooker/perl-Device-Cdio/BUILD/Device-Cdio-v0.2.4/t/../blib/lib/Device/Cdio/Track.pm
line 2.
) = 152
select(8, [4 6], NULL, NULL, NULL) = 1 (in [6])
read(6, "v-string in use/require non-porta"..., 65536) = 153
write(2, "v-string in use/require non-porta"..., 153v-string in
use/require non-portable at
/home/guillomovitch/cooker/perl-Device-Cdio/BUILD/Device-Cdio-v0.2.4/t/../blib/lib/Device/Cdio/Device.pm
line 2.
) = 153
select(8, [4 6], NULL, NULL, NULL) = 1 (in [4])
read(4, "1..3\n"..., 65536) = 5
select(8, [4 6], NULL, NULL, NULL) = 1 (in [6])
read(6, "Name \"swig_runtime_data::type_poi"..., 65536) = 143
write(2, "Name \"swig_runtime_data::type_poi"..., 143Name
"swig_runtime_data::type_pointer1" used only once: possible typo at
/usr/lib/perl5/5.10.0/i386-linux-thread-multi/DynaLoader.pm line 226.
) = 143
select(8, [4 6], NULL, NULL, NULL <unfinished ...>
This happens on Mandrica linux, with perl 5.10, gcc 4.3 and swig 1.3.36.