Bug#654783: python2.7: FTBFS(kfreebsd): testsuite hang

2012-04-06 Thread Matthias Klose

On 06.04.2012 04:03, Steven Chamberlain wrote:

reopen 654783 debian-...@lists.debian.org
notfixed 654783 python2.7/2.7.3~rc2-2
found 654783 python2.7/2.7.3~rc2-2
thanks

Log of the latest kfreebsd build failure is:

https://buildd.debian.org/status/fetch.php?pkg=python2.7arch=kfreebsd-amd64ver=2.7.3~rc2-2stamp=1333657799

I mentioned today that test_socket hangs, but only moments before this
was uploaded to unstable.


sorry, already had the binaries built :/


In the past few hours I've managed to reproduce a hang of test_io on
kfreebsd-i386, so that is apparently still an issue (but not always).
Also I've run into hangs of test_threading and test_gdb for the first time.


test_threading has issues on other architectures as well. I tend to disable 
these too for kfreebsd-*.


  Matthias



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#654783: python2.7: FTBFS(kfreebsd): testsuite hang

2012-04-05 Thread Steven Chamberlain
Hi,

With eglibc patched with Robert's timer.diff I still see a hang at
test_signal, when building python2.7-2.7.3~rc2 on kfreebsd-i386
(8.3~svn230343-1 686 kernel).

Skipping that test, I then experience a hang at test_socket.  More test
failures are in the attached file (probably less serious, known issues).

test_io was disabled, but so far it has been working.  I'll try running
it a few more times with randomised test order (-r option).

I also tried the disabled test_bsddb3 which still fails.


And just to confirm I that I'm really using the patched eglibc:

 $ ldd /home/steven/python2.7-2.7.3~rc2/build-debug/python
 libpthread.so.0 = /lib/i386-kfreebsd-gnu/i686/cmov/libpthread.so.0 
 (0x2102b000)
 libdl.so.2 = /lib/i386-kfreebsd-gnu/i686/cmov/libdl.so.2 (0x21041000)
 libutil.so.1 = /lib/i386-kfreebsd-gnu/i686/cmov/libutil.so.1 
 (0x21045000)
 libssl.so.1.0.0 = /usr/lib/i386-kfreebsd-gnu/libssl.so.1.0.0 
 (0x21049000)
 libcrypto.so.1.0.0 = /usr/lib/i386-kfreebsd-gnu/libcrypto.so.1.0.0 
 (0x210a8000)
 libz.so.1 = /usr/lib/i386-kfreebsd-gnu/libz.so.1 (0x21282000)
 libm.so.1 = /lib/i386-kfreebsd-gnu/i686/cmov/libm.so.1 (0x2129a000)
 libc.so.0.1 = /lib/i386-kfreebsd-gnu/i686/cmov/libc.so.0.1 
 (0x212c)
 /lib/ld.so.1 (0x01001000)

 $ objdump -d /lib/i386-kfreebsd-gnu/i686/cmov/libc.so.0.1 | grep 'ktimer_.*:$'
 000fbff0 __syscall_ktimer_create:
 000fc020 __syscall_ktimer_gettime:
 000fc050 __syscall_ktimer_settime:
 000fc080 __syscall_ktimer_getoverrun:
 000fc0b0 __syscall_ktimer_delete:

 $ grep ktimer /lib/i386-kfreebsd-gnu/ -R
 Binary file /lib/i386-kfreebsd-gnu/libc-2.13.so matches
 Binary file /lib/i386-kfreebsd-gnu/librt-2.13.so matches
 Binary file /lib/i386-kfreebsd-gnu/libc.so.0.1 matches
 Binary file /lib/i386-kfreebsd-gnu/librt.so.1 matches
 Binary file /lib/i386-kfreebsd-gnu/i686/cmov/libc-2.13.so matches
 Binary file /lib/i386-kfreebsd-gnu/i686/cmov/librt-2.13.so matches
 Binary file /lib/i386-kfreebsd-gnu/i686/cmov/libc.so.0.1 matches
 Binary file /lib/i386-kfreebsd-gnu/i686/cmov/librt.so.1 matches

Regards,
-- 
Steven Chamberlain
ste...@pyro.eu.org
==
FAIL: test_parse_makefile_base 
(distutils.tests.test_sysconfig.SysconfigTestCase)
--
Traceback (most recent call last):
  File 
/home/steven/python2.7-2.7.3~rc2/Lib/distutils/tests/test_sysconfig.py, line 
60, in test_parse_makefile_base
'OTHER': 'foo'})
AssertionError: {'VAR': '$OTHER', 'CONFIG_ARGS': '--arg1=optarg1' 'ENV=LIB', 
'OTHER': 'foo'} != {'CONFIG_ARGS': '--arg1=optarg1' 'ENV=LIB', 'OTHER': 'foo'}
- {'CONFIG_ARGS': '--arg1=optarg1' 'ENV=LIB', 'OTHER': 'foo', 'VAR': '$OTHER'}
? -

+ {'CONFIG_ARGS': '--arg1=optarg1' 'ENV=LIB', 'OTHER': 'foo'}

==
FAIL: test_parse_makefile_literal_dollar 
(distutils.tests.test_sysconfig.SysconfigTestCase)
--
Traceback (most recent call last):
  File 
/home/steven/python2.7-2.7.3~rc2/Lib/distutils/tests/test_sysconfig.py, line 
72, in test_parse_makefile_literal_dollar
'OTHER': 'foo'})
AssertionError: {'VAR': '$OTHER', 'CONFIG_ARGS': '--arg1=optarg1' 
'ENV=\\$LIB', 'OTHER': 'foo' [truncated]... != {'CONFIG_ARGS': 
'--arg1=optarg1' 'ENV=\\$LIB', 'OTHER': 'foo'}
- {'CONFIG_ARGS': '--arg1=optarg1' 'ENV=\\$LIB',
+ {'CONFIG_ARGS': '--arg1=optarg1' 'ENV=\\$LIB', 'OTHER': 'foo'}
? 

-  'OTHER': 'foo',
-  'VAR': '$OTHER'}

--
Ran 181 tests in 42.963s

FAILED (failures=2, skipped=13)
Warning -- os.environ was modified by test_distutils
test test_distutils failed -- multiple errors occurred
Re-running test 'test_posix' in verbose mode
testNoArgFunctions (test.test_posix.PosixTester) ... ok
test_access (test.test_posix.PosixTester) ... ok
test_chdir (test.test_posix.PosixTester) ... ok
test_chflags (test.test_posix.PosixTester) ... ERROR
test_chown (test.test_posix.PosixTester) ... ok
test_confstr (test.test_posix.PosixTester) ... ok
test_dup (test.test_posix.PosixTester) ... ok
test_dup2 (test.test_posix.PosixTester) ... ok
test_fchown (test.test_posix.PosixTester) ... ok
test_fdopen (test.test_posix.PosixTester) ... ok
test_fstat (test.test_posix.PosixTester) ... ok
test_fstatvfs (test.test_posix.PosixTester) ... ok
test_ftruncate (test.test_posix.PosixTester) ... ok
test_getcwd_long_pathnames (test.test_posix.PosixTester) ... FAIL
test_getgroups (test.test_posix.PosixTester) ... ok
test_getresgid (test.test_posix.PosixTester) ... ok
test_getresuid (test.test_posix.PosixTester) ... ok
test_initgroups (test.test_posix.PosixTester) ... ok

Bug#654783: python2.7: FTBFS(kfreebsd): testsuite hang

2012-04-05 Thread Steven Chamberlain
reopen 654783 debian-...@lists.debian.org
notfixed 654783 python2.7/2.7.3~rc2-2
found 654783 python2.7/2.7.3~rc2-2
thanks

Log of the latest kfreebsd build failure is:

https://buildd.debian.org/status/fetch.php?pkg=python2.7arch=kfreebsd-amd64ver=2.7.3~rc2-2stamp=1333657799

I mentioned today that test_socket hangs, but only moments before this
was uploaded to unstable.


In the past few hours I've managed to reproduce a hang of test_io on
kfreebsd-i386, so that is apparently still an issue (but not always).
Also I've run into hangs of test_threading and test_gdb for the first time.

The picture is beginning to look quite similar across hurd-i386,
kfreebsd-amd64, kfreebsd-i386, sparc (and previously also hppa), with
mostly the same set of tests failing, even if some of them fail more or
less often.

Regards,
-- 
Steven Chamberlain
ste...@pyro.eu.org



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#654783: python2.7: FTBFS(kfreebsd): testsuite hang

2012-04-04 Thread Robert Millan
Hi,

I narrowed down the problem a bit.

test_signal works fine when run standalone:

  $ ./build-static/python -Wd -3 -E -tt Lib/test/regrtest.py -w -l test_signal
  test_signal
  1 test OK.

However, if it's run after test___all___, it hangs:

  $ ./build-static/python -Wd -3 -E -tt Lib/test/regrtest.py -w -l
test___all__ test_signal
  [... hang ]

test___all__ does lots of things.  Its purpose is to run the test
routine in each of the modules in Lib/.  I found that only one of
these routines is responsible for the crash: idlelib.  If you
blacklist idlelib (see attachment), then test_signal doesn't crash.

As this is most likely a bug in glibc, we need to keep shrinking the
problem down.  However, to get python out of FTBFS state, perhaps
it'll be enough to either blacklist idlelib or disable test_signal.

-- 
Robert Millan


idlelib.diff
Description: Binary data


Bug#654783: python2.7: FTBFS(kfreebsd): testsuite hang

2012-01-24 Thread peter green

Reopen 654783
found 654783 2.7.2-13
thanks

The testsuite still seems to be hanging on both the kfreebsd-i386 and 
kfreebsd-amd64 buildds (now tried three times on each).

test_signal
E: Caught signal 'Terminated': terminating immediately
make: *** [stamps/stamp-check] Terminated
Build killed with signal TERM after 150 minutes of inactivity




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#654783: python2.7: FTBFS(kfreebsd): testsuite hang

2012-01-05 Thread Christoph Egger
Package: src:python2.7
Version: 2.7.2-9
Severity: serious
Tags: sid wheezy
User: debian-...@lists.debian.org
Usertags: kfreebsd
X-Debbugs-Cc: debian-...@lists.debian.org

Hi!

  I'm trying to figure out why python2.7 testsuite is hanging on
kfreebsd. Reporting as bug to track the status.

 * running the testsuite by hand makes it stop in

test_interrupted_write_buffered (test.test_io.CSignalsTest) ... 

 * Running only the test_io part manually doesn't hang at all.

 * Adding a single print before the write [1] (line 2727) makes it go
   firther but still hangs later on:

test_itimer_prof (test.test_signal.ItimerTest) ... ('SIGPROF handler invoked', 
(27, frame object at 0x6181780))
ok
test_itimer_real (test.test_signal.ItimerTest) ... 
call pause()...


[1] self.assertRaises(ZeroDivisionError,
  wio.write, item * (1024 * 1024))

Regards

Christoph



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org