[ python-Bugs-1729930 ] 2.5.1 latest svn fails test_curses and test_timeout

SourceForge.net noreply at sourceforge.net
Wed Jun 6 21:00:01 CEST 2007


Bugs item #1729930, was opened at 2007-06-02 09:51
Message generated for change (Comment added) made by dfavor
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1729930&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Build
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: David Favor (dfavor)
Assigned to: Nobody/Anonymous (nobody)
Summary: 2.5.1 latest svn fails test_curses and test_timeout

Initial Comment:
[root at net1 ~]# build_python
mkdir -p /build/work/Python-2.5.1
cd /build/work/Python-2.5.1
unset CDPATH
export TESTOPS='-l -u curses -u network -u urlfetch -u decimal -u compiler -u bsddb -u subprocess'
export CFLAGS='-pipe -fwrapv'
export MALLOC_CHECK_=0
make distclean
./configure --prefix=/usr/local/pkgs/python-2.5.1 --enable-shared --disable-static --disable-ipv6 
make
make testall
... ... ...
299 tests OK.
2 tests failed:
    test_curses test_timeout
20 tests skipped:
    test_aepack test_al test_applesingle test_bsddb185 test_cd test_cl
    test_gl test_imgfile test_macfs test_macostools test_nis
    test_pep277 test_plistlib test_scriptpackages test_startfile
    test_sunaudiodev test_unicode_file test_winreg test_winsound
    test_zipfile64
Those skips are all expected on linux2.
warning: DBTxn aborted in destructor.  No prior commit() or abort().
make: *** [testall] Error 1
exp=0, got ec=2, abort=1


----------------------------------------------------------------------

>Comment By: David Favor (dfavor)
Date: 2007-06-06 14:00

Message:
Logged In: YES 
user_id=370230
Originator: YES

Answering platform request. Fedora 6 with latest patches.

----------------------------------------------------------------------

Comment By: David Favor (dfavor)
Date: 2007-06-06 10:39

Message:
Logged In: YES 
user_id=370230
Originator: YES

Latest 'svn up' shows both these tests still failing in both
the 2.5.1 and 2.6 trees.

----------------------------------------------------------------------

Comment By: David Favor (dfavor)
Date: 2007-06-06 10:37

Message:
Logged In: YES 
user_id=370230
Originator: YES

test_curses
^[[?1049h^[[1;50r^[(B^[[m^[[4l^[[?7h^[[50;1H^[[?1049l^M^[[?1l^[>test
test_curses crashed -- <class '_curses.error'>: endwin() returned ERR

----------------------------------------------------------------------

Comment By: David Favor (dfavor)
Date: 2007-06-06 10:36

Message:
Logged In: YES 
user_id=370230
Originator: YES

test test_timeout failed -- Traceback (most recent call last):
  File "/build/work/Python-2.5.1/Lib/test/test_timeout.py", line 128, in
testConnectTimeout
    %(_delta, self.fuzz, _timeout))
AssertionError: timeout (8.00152) is more than 2 seconds more than
expected (0.001) 


----------------------------------------------------------------------

Comment By: Neal Norwitz (nnorwitz)
Date: 2007-06-03 17:19

Message:
Logged In: YES 
user_id=33168
Originator: NO

test_timeout often fails depending on if the system the test connects to
is available or not (ie, the test sucks).  How does test_curses fail?  What
platform?

BTW, you can use -u all.

----------------------------------------------------------------------

Comment By: David Favor (dfavor)
Date: 2007-06-02 09:54

Message:
Logged In: YES 
user_id=370230
Originator: YES

These fixes should also be dropped into the 2.6 tree.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1729930&group_id=5470


More information about the Python-bugs-list mailing list