[Python-Dev] Summary or failing regression tests...
Trent Mick
trentm@ActiveState.com
Tue, 25 Jul 2000 15:39:12 -0700
Here is a list of the regrtests that are currently failing for me on Linux32
and Win32. Is anybody looking at test_mmap, test_userstring, test_winreg,
and test_winreg2?
Skip, You and Jeremy(?) were talking about test_posixpath on Linux. It looks
like the sames errors you were talking about occur on Win32. I didn't look
too closely, can you?
Fredrik, are you aware of the test_sre failure on Win32? Am I doing something
wrong to be getting this?
On Linux32:
- test_fork1
This fails/hangs/crashes inconsistently because (some little bird told me)
the fork stuff and threads are incompatible. Am I right? Now that we are
turning threads on by default what is the proper thing to do here? SHould
test_fork1 be changed to skip if threads are enabled?
On Win32:
- test_mmap
one liner:
test test_mmap crashed -- exceptions.WindowsError : [Errno 6] The handle is invalid
full output:
Position of foo: 1.0 pages
Length of file: 2.0 pages
Contents of byte 0: '\000'
Contents of first 3 bytes: '\000\000\000'
Modifying file's content...
Contents of byte 0: '3'
Contents of first 3 bytes: '3\000\000'
Contents of second page: foobar
Regex match on mmap (page start, length of match): 1.0 6
Seek to zeroth byte
Seek to 42nd byte
Seek to last byte
Try to seek to negative position...
Try to seek beyond end of mmap...
Try to seek to negative position...
Attempting resize()
Traceback (most recent call last):
File "..\Lib\test\test_mmap.py", line 114, in ?
test_both()
File "..\Lib\test\test_mmap.py", line 100, in test_both
m.resize( 512 )
WindowsError: [Errno 6] The handle is invalid
- test_posixpath
one liner:
test test_posixpath failed -- Writing: 'error!', expected: 'No err'
full output:
error!
evaluated: posixpath.commonprefix(["/home/swenson/spam", "/home/swen/spam"])
should be: /home
returned: /home/swen
error!
evaluated: posixpath.commonprefix(["/home/swen/spam", "/home/swen/eggs"])
should be: /home/swen
returned: /home/swen/
2 errors.
- test_re
one liner:
test test_re failed -- Writing: '=== Failed incorrectly', expected: "('abc', 'abc', 0, 'fou"
full output:
Running tests on re.search and re.match
Running tests on re.sub
Running tests on symbolic references
Traceback (most recent call last):
File "..\Lib\test\test_re.py", line 122, in ?
raise TestFailed, "symbolic reference"
test_support.TestFailed: symbolic reference
discussion:
This has been discussed a litle by Mark Favas and Jeremy with no
conclusion.
http://www.python.org/pipermail/python-dev/2000-July/013963.html
- test_sre
one liner:
test test_sre failed -- Writing: '=== Failed incorrectly', expected: "===grouping error ('("
full output:
Running tests on sre.search and sre.match
Running tests on sre.sub
Running tests on symbolic references
Traceback (most recent call last):
File "..\Lib\test\test_sre.py", line 124, in ?
raise TestFailed, "symbolic reference"
test_support.TestFailed: symbolic reference
discussion:
This has been discussed a litle by Mark Favas and Jeremy with no
conclusion
http://www.python.org/pipermail/python-dev/2000-July/013963.html
- test_userstring
one liner:
test test_userstring failed -- Writing: "'a'", expected: ''
full output:
'a' <built-in method isalpha of string object at 007E1DF0> <class exceptions.TypeError at 007C5AAC> <> <class exceptions.AttributeError at 007C611C>
'A' <built-in method isalpha of string object at 00812CF0> <class exceptions.TypeError at 007C5AAC> <> <class exceptions.AttributeError at 007C611C>
'\012' <built-in method isalpha of string object at 00812CC0> <class exceptions.TypeError at 007C5AAC> <> <class exceptions.AttributeError at 007C611C>
'abc' <built-in method isalpha of string object at 008118F0> <class exceptions.TypeError a t 007C5AAC> <> <class exceptions.AttributeError at 007C611C>
'aBc123' <built-in method isalpha of string object at 00812990> <class exceptions.TypeErro r at 007C5AAC> <> <class exceptions.AttributeError at 007C611C>
'abc\012' <built-in method isalpha of string object at 00812C60> <class exceptions.TypeErr or at 007C5AAC> <> <class exceptions.AttributeError at 007C611C>
'a' <built-in method isalnum of string object at 007E1DF0> <class exceptions.TypeError at 007C5AAC> <> <class exceptions.AttributeError at 007C611C>
'A' <built-in method isalnum of string object at 00812CF0> <class exceptions.TypeError at 007C5AAC> <> <class exceptions.AttributeError at 007C611C>
'\012' <built-in method isalnum of string object at 00812CC0> <class exceptions.TypeError at 007C5AAC> <> <class exceptions.AttributeError at 007C611C>
'123abc456' <built-in method isalnum of string object at 00812930> <class exceptions.TypeE rror at 007C5AAC> <> <class exceptions.AttributeError at 007C611C>
'a1b3c' <built-in method isalnum of string object at 00812900> <class exceptions.TypeError at 007C5AAC> <> <class exceptions.AttributeError at 007C611C>
'aBc000 ' <built-in method isalnum of string object at 008128D0> <class exceptions.TypeErr or at 007C5AAC> <> <class exceptions.AttributeError at 007C611C>
'abc\012' <built-in method isalnum of string object at 00812C60> <class exceptions.TypeErr or at 007C5AAC> <> <class exceptions.AttributeError at 007C611C>
- test_winreg
one liner:
test test_winreg failed -- Unread: '\012'
full output: (this works when run standalone)
- test_winreg2 (crashes)
full output:
Fatal Python error: PyThreadState_Get: no current thread
abnormal program termination
Thanks,
Trent
--
Trent Mick
TrentM@ActiveState.com