Subject: | dict test fails for 0.39 on some Debian systems |
Date: | Thu, 19 May 2011 17:43:59 +0200 |
To: | bug-Inline-Python [...] rt.cpan.org |
From: | Mateusz Pavlic <mateusz.pavlic [...] gmail.com> |
Hello,
I always have this error on the one of my debian systems:
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00init.t ............. ok
t/01testpl.t ........... ok
t/02testpl.t ........... ok
t/03parse.t ............ ok
t/04func.t ............. ok
t/05JAxH.t ............. ok
t/06dict.t ............. 1/6 exceptions.KeyError: u'f\xc3\xb6\xc3\xb6'
at line 14
# Looks like you planned 6 tests but ran 4.
# Looks like your test exited with 255 just after 4.
t/06dict.t ............. Dubious, test returned 255 (wstat 65280, 0xff00)
(...)
I tried with Inline-0.46 and Inline-0.48.
1708 $>cat /etc/debian_version
6.0.1
uname -a
Linux xxxxxxxxxx 2.6.35.5-c3 #1 SMP Fri Sep 24 18:43:54 CEST 2010
x86_64 GNU/Linux
perl -v
This is perl, v5.10.1 (*) built for x86_64-linux-gnu-thread-multi
(with 51 registered patches, see perl -V for more detail)
python
Python 2.6.6 (r266:84292, Dec 26 2010, 22:31:48)
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
On the other, very similar debian system tests work just fine every time.
(both systems just upgraded with apt-get, while bad machine is real hardware,
good one is xen virtual).
cat /etc/debian_version
6.0.1
uname -a
Linux yyyyyyyyyyyy 2.6.32-5-amd64 #1 SMP Wed Jan 12 03:40:32 UTC 2011
x86_64 GNU/Linux
perl -v
This is perl, v5.10.1 (*) built for x86_64-linux-gnu-thread-multi
(with 51 registered patches, see perl -V for more detail)
python
Python 2.6.6 (r266:84292, Dec 26 2010, 22:31:48)
[GCC 4.4.5] on linux2
I found one interesting thing on "x" machine (where failures occur).
It is somehow related to blib_test/lib/*files.
Please look:
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/00init.t t/06dict.t
t/00init.t .. ok
t/06dict.t .. 1/6 exceptions.KeyError: u'f\xc3\xb6\xc3\xb6' at line 14
# Looks like you planned 6 tests but ran 4.
# Looks like your test exited with 255 just after 4.
t/06dict.t .. Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 2/6 subtests
But if I skip 00init which removes files from blib_test and files from
previous run can be found,
test is OK:
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/06dict.t
t/06dict.t .. ok
All tests successful.
Yes, it only occurs for 06dict test. Other tests are OK.
also when I copy compiled files from "good" machine to "bad", and run
make test, test fails.
If I copy compiled files from "bad" machine to "good", all tests are OK!
I'm thinkig of some filesystem/cache tuning or something but I cannot
find anything reasonable.
And still I can compile and test 0.38. Also compilation of 0.39 goes
OK but tests fail.
Please help if you have any idea ;-)
Regards,
Mateusz Pavlic