[Python-checkins] Python Regression Test Failures basics (2)

Neal Norwitz neal at metaslash.com
Mon May 29 22:12:43 CEST 2006


-----------------------------------------------
Modules/Setup.dist is newer than Modules/Setup;
check to make sure you have all the updates you
need in your Modules/Setup file.
Usually, copying Setup.dist to Setup will work.
-----------------------------------------------
case $MAKEFLAGS in \
*-s*)  CC='gcc -pthread' LDSHARED='gcc -pthread -shared' OPT='-g -Wall -Wstrict-prototypes' ./python -E ./setup.py -q build;; \
*)  CC='gcc -pthread' LDSHARED='gcc -pthread -shared' OPT='-g -Wall -Wstrict-prototypes' ./python -E ./setup.py build;; \
esac
running build
running build_ext
db.h: found (4, 1) in /usr/include
db lib: using (4, 1) db-4.1
sqlite: found /usr/include/sqlite3.h
/usr/include/sqlite3.h: version 3.2.1
INFO: Can't locate Tcl/Tk libs and/or headers
running build_scripts
[34112 refs]
./python -E -c 'import sys ; from distutils.util import get_platform ; print get_platform()+"-"+sys.version[0:3]' >platform
[8662 refs]
find ./Lib -name '*.py[co]' -print | xargs rm -f
./python -E -tt ./Lib/test/regrtest.py -l 
test_grammar
test_opcodes
test_operations
test_builtin
test_exceptions
test_types
test_MimeWriter
test_StringIO
test___all__
test___future__
test__locale
test_aepack
test_aepack skipped -- No module named aepack
test_al
test_al skipped -- No module named al
test_anydbm
test_applesingle
test_applesingle skipped -- No module named macostools
test_array
test_ast
test_asynchat
test_atexit
test_audioop
test_augassign
test_base64
test_bastion
test_bigmem
test_binascii
test_binhex
test_binop
test_bisect
test_bool
test_bsddb
test_bsddb185
test_bsddb185 skipped -- No module named bsddb185
test_bsddb3
test_bsddb3 skipped -- Use of the `bsddb' resource not enabled
test_bufio
test_bz2
test_cProfile
test_calendar
test_call
test_capi
test_cd
test_cd skipped -- No module named cd
test_cfgparser
test_cgi
test_charmapcodec
test_cl
test_cl skipped -- No module named cl
test_class
test_cmath
test_cmd_line
test_code
test_codeccallbacks
test_codecencodings_cn
test_codecencodings_hk
test_codecencodings_jp
test_codecencodings_kr
test_codecencodings_tw
test_codecmaps_cn
test_codecmaps_hk
test_codecmaps_jp
test_codecmaps_kr
test_codecmaps_tw
test_codecs
test_codeop
test_coding
test_coercion
test_colorsys
test_commands
test_compare
test_compile
test_compiler
test_complex
test_contains
test_contextlib
test_cookie
test_cookielib
test_copy
test_copy_reg
test_cpickle
test_crypt
test_csv
test_ctypes
test_curses
test_curses skipped -- Use of the `curses' resource not enabled
test_datetime
test_dbm
test_decimal
test_decorators
test_defaultdict
test_deque
test_descr
test_descrtut
test_dict
test_difflib
test_dircache
test_dis
test_distutils
test_dl
test_doctest
test_doctest2
test_dumbdbm
test_dummy_thread
test_dummy_threading
test_email
test_email_codecs
test_email_renamed
test_enumerate
test_eof
test_errno
test_exception_variations
test_extcall
test_fcntl
test_file
test_filecmp
test_fileinput
test_float
test_fnmatch
test_fork1
test_format
test_fpformat
test_frozen
test_funcattrs
test_functools
test_future
test_gc
test_gdbm
test_generators
test_genexps
test_getargs
test_getargs2
test_getopt
test_gettext
test_gl
test_gl skipped -- No module named gl
test_glob
test_global
test_grp
test_gzip
test_hash
test_hashlib
test_heapq
test_hexoct
test_hmac
test_hotshot
test_htmllib
test_htmlparser
test_httplib
test_imageop
test_imaplib
test_imgfile
test_imgfile skipped -- No module named imgfile
test_imp
test_import
test_importhooks
test_index
test_inspect
test_ioctl
test_ioctl skipped -- Unable to open /dev/tty
test_isinstance
test_iter
test_iterlen
test_itertools
test_largefile
test_linuxaudiodev
test_linuxaudiodev skipped -- Use of the `audio' resource not enabled
test_list
test_locale
test_logging
test_long
test_long_future
test_longexp
test_macfs
test_macfs skipped -- No module named macfs
test_macostools
test_macostools skipped -- No module named macostools
test_macpath
test_mailbox
test_marshal
test_math
test_md5
test_mhlib
test_mimetools
test_mimetypes
test_minidom
test_mmap
test_module
test_multibytecodec
test_multibytecodec_support
test_multifile
test_mutants
test_netrc
test_new
test_nis
test_nis skipped -- Local domain name not set
test_normalization
test_ntpath
test_old_mailbox
test_openpty
test_operator
test_optparse
test_os
test_ossaudiodev
test_ossaudiodev skipped -- Use of the `audio' resource not enabled
test_parser
test_peepholer
test_pep247
test_pep263
test_pep277
test_pep277 skipped -- test works only on NT+
test_pep292
test_pep352
test_pickle
test_pickletools
test_pkg
test_pkgimport
test_platform
test_plistlib
test_plistlib skipped -- No module named plistlib
test_poll
test_popen
[8667 refs]
[8667 refs]
[8667 refs]
test_popen2
test_posix
test_posixpath
test_pow
test_pprint
test_profile
test_profilehooks
test_pty
test_pwd
test_pyclbr
test_pyexpat
test_queue
test_quopri
[9015 refs]
[9015 refs]
test_random
test_re
test_repr
test_resource
test_rfc822
test_rgbimg
test_richcmp
test_robotparser
test_runpy
test_sax
test_scope
test_scriptpackages
test_scriptpackages skipped -- No module named aetools
test_select
test_set
test_sets
test_sgmllib
test_sha
test_shelve
test_shlex
test_shutil
test_signal
test_site
test_slice
test_socket
test_socket_ssl
test_socket_ssl skipped -- Use of the `network' resource not enabled
test_socketserver
test_socketserver skipped -- Use of the `network' resource not enabled
test_softspace
test_sort
test_sqlite
test_startfile
test_startfile skipped -- cannot import name startfile
test_str
test test_str failed -- Traceback (most recent call last):
  File "/home/neal/python/trunk/Lib/test/string_tests.py", line 118, in test_count
    self.checkequal(1, 'aaa', 'count', '', 10)
  File "/home/neal/python/trunk/Lib/test/string_tests.py", line 56, in checkequal
    realresult
AssertionError: 1 != -6

test_strftime
test_string
test test_string failed -- Traceback (most recent call last):
  File "/home/neal/python/trunk/Lib/test/string_tests.py", line 118, in test_count
    self.checkequal(1, 'aaa', 'count', '', 10)
  File "/home/neal/python/trunk/Lib/test/test_string.py", line 16, in checkequal
    realresult
AssertionError: 1 != -6

test_stringprep
test_strop
test_strptime
test_struct
test_structseq
test_subprocess
[8662 refs]
[8662 refs]
[8662 refs]
[8662 refs]
[8662 refs]
[8662 refs]
[8662 refs]
[8662 refs]
[8662 refs]
[8662 refs]
[8662 refs]
[8662 refs]
[8878 refs]
[8662 refs]
[8662 refs]
[8662 refs]
[8662 refs]
[8662 refs]
[8662 refs]
[8662 refs]
    this bit of output is from a test of stdout in a different process ...
[8662 refs]
[8662 refs]
[8878 refs]
test_sunaudiodev
test_sunaudiodev skipped -- No module named sunaudiodev
test_sundry
test_symtable
test_syntax
test_sys
[8662 refs]
[8662 refs]
test_tarfile
test_tcl
test_tcl skipped -- No module named _tkinter
test_tempfile
[8662 refs]
test_textwrap
test_thread
test_threaded_import
test_threadedtempfile
test_threading
test_threading_local
test_threadsignals
test_time
test_timeout
test_timeout skipped -- Use of the `network' resource not enabled
test_tokenize
test_trace
test_traceback
test_transformer
test_tuple
test_ucn
test_unary
test_unicode
test test_unicode failed -- Traceback (most recent call last):
  File "/home/neal/python/trunk/Lib/test/test_unicode.py", line 97, in test_count
    string_tests.CommonTest.test_count(self)
  File "/home/neal/python/trunk/Lib/test/string_tests.py", line 118, in test_count
    self.checkequal(1, 'aaa', 'count', '', 10)
  File "/home/neal/python/trunk/Lib/test/string_tests.py", line 56, in checkequal
    realresult
AssertionError: 1 != -6

test_unicode_file
test_unicode_file skipped -- No Unicode filesystem semantics on this platform.
test_unicodedata
test_unittest
test_univnewlines
test_unpack
test_urllib
test_urllib2
test_urllib2net
test_urllib2net skipped -- Use of the `network' resource not enabled
test_urllibnet
test_urllibnet skipped -- Use of the `network' resource not enabled
test_urlparse
test_userdict
test_userlist
test_userstring
test test_userstring failed -- errors occurred; run in verbose mode for details
test_uu
test_wait3
test_wait4
test_warnings
test_wave
test_weakref
test_whichdb
test_winreg
test_winreg skipped -- No module named _winreg
test_winsound
test_winsound skipped -- No module named winsound
test_with
test_xdrlib
test_xml_etree
test_xml_etree_c
test_xmllib
test_xmlrpc
test_xpickle
test_xrange
test_zipfile
test_zipimport
/home/neal/python/trunk/Lib/test/test_zipimport.py:91: ImportWarning: Not importing directory '/home/neal/python/trunk/Modules/zlib': missing __init__.py
  ["__dummy__"])
test_zlib
/home/neal/python/trunk/Lib/test/test_zlib.py:3: ImportWarning: Not importing directory '/home/neal/python/trunk/Modules/zlib': missing __init__.py
  import zlib
281 tests OK.
4 tests failed:
    test_str test_string test_unicode test_userstring
30 tests skipped:
    test_aepack test_al test_applesingle test_bsddb185 test_bsddb3
    test_cd test_cl test_curses test_gl test_imgfile test_ioctl
    test_linuxaudiodev test_macfs test_macostools test_nis
    test_ossaudiodev test_pep277 test_plistlib test_scriptpackages
    test_socket_ssl test_socketserver test_startfile test_sunaudiodev
    test_tcl test_timeout test_unicode_file test_urllib2net
    test_urllibnet test_winreg test_winsound
1 skip unexpected on linux2:
    test_ioctl
[424640 refs]
make: [test] Error 1 (ignored)
./python -E -tt ./Lib/test/regrtest.py -l 
test_grammar
test_opcodes
test_operations
test_builtin
test_exceptions
test_types
test_MimeWriter
test_StringIO
test___all__
test___future__
test__locale
test_aepack
test_aepack skipped -- No module named aepack
test_al
test_al skipped -- No module named al
test_anydbm
test_applesingle
test_applesingle skipped -- No module named macostools
test_array
test_ast
test_asynchat
test_atexit
test_audioop
test_augassign
test_base64
test_bastion
test_bigmem
test_binascii
test_binhex
test_binop
test_bisect
test_bool
test_bsddb
test_bsddb185
test_bsddb185 skipped -- No module named bsddb185
test_bsddb3
test_bsddb3 skipped -- Use of the `bsddb' resource not enabled
test_bufio
test_bz2
test_cProfile
test_calendar
test_call
test_capi
test_cd
test_cd skipped -- No module named cd
test_cfgparser
test_cgi
test_charmapcodec
test_cl
test_cl skipped -- No module named cl
test_class
test_cmath
test_cmd_line
test_code
test_codeccallbacks
test_codecencodings_cn
test_codecencodings_hk
test_codecencodings_jp
test_codecencodings_kr
test_codecencodings_tw
test_codecmaps_cn
test_codecmaps_hk
test_codecmaps_jp
test_codecmaps_kr
test_codecmaps_tw
test_codecs
test_codeop
test_coding
test_coercion
test_colorsys
test_commands
test_compare
test_compile
test_compiler
test_complex
test_contains
test_contextlib
test_cookie
test_cookielib
test_copy
test_copy_reg
test_cpickle
test_crypt
test_csv
test_ctypes
test_curses
test_curses skipped -- Use of the `curses' resource not enabled
test_datetime
test_dbm
test_decimal
test_decorators
test_defaultdict
test_deque
test_descr
test_descrtut
test_dict
test_difflib
test_dircache
test_dis
test_distutils
test_dl
test_doctest
test_doctest2
test_dumbdbm
test_dummy_thread
test_dummy_threading
test_email
test_email_codecs
test_email_renamed
test_enumerate
test_eof
test_errno
test_exception_variations
test_extcall
test_fcntl
test_file
test_filecmp
test_fileinput
test_float
test_fnmatch
test_fork1
test_format
test_fpformat
test_frozen
test_funcattrs
test_functools
test_future
test_gc
test_gdbm
test_generators
test_genexps
test_getargs
test_getargs2
test_getopt
test_gettext
test_gl
test_gl skipped -- No module named gl
test_glob
test_global
test_grp
test_gzip
test_hash
test_hashlib
test_heapq
test_hexoct
test_hmac
test_hotshot
test_htmllib
test_htmlparser
test_httplib
test_imageop
test_imaplib
test_imgfile
test_imgfile skipped -- No module named imgfile
test_imp
test_import
test_importhooks
test_index
test_inspect
test_ioctl
test_ioctl skipped -- Unable to open /dev/tty
test_isinstance
test_iter
test_iterlen
test_itertools
test_largefile
test_linuxaudiodev
test_linuxaudiodev skipped -- Use of the `audio' resource not enabled
test_list
test_locale
test_logging
test_long
test_long_future
test_longexp
test_macfs
test_macfs skipped -- No module named macfs
test_macostools
test_macostools skipped -- No module named macostools
test_macpath
test_mailbox
test_marshal
test_math
test_md5
test_mhlib
test_mimetools
test_mimetypes
test_minidom
test_mmap
test_module
test_multibytecodec
test_multibytecodec_support
test_multifile
test_mutants
test_netrc
test_new
test_nis
test_nis skipped -- Local domain name not set
test_normalization
test_ntpath
test_old_mailbox
test_openpty
test_operator
test_optparse
test_os
test_ossaudiodev
test_ossaudiodev skipped -- Use of the `audio' resource not enabled
test_parser
test_peepholer
test_pep247
test_pep263
test_pep277
test_pep277 skipped -- test works only on NT+
test_pep292
test_pep352
test_pickle
test_pickletools
test_pkg
test_pkgimport
test_platform
test_plistlib
test_plistlib skipped -- No module named plistlib
test_poll
test_popen
[8667 refs]
[8667 refs]
[8667 refs]
test_popen2
test_posix
test_posixpath
test_pow
test_pprint
test_profile
test_profilehooks
test_pty
test_pwd
test_pyclbr
test_pyexpat
test_queue
test_quopri
[9015 refs]
[9015 refs]
test_random
test_re
test_repr
test_resource
test_rfc822
test_rgbimg
test_richcmp
test_robotparser
test_runpy
test_sax
test_scope
test_scriptpackages
test_scriptpackages skipped -- No module named aetools
test_select
test_set
test_sets
test_sgmllib
test_sha
test_shelve
test_shlex
test_shutil
test_signal
test_site
test_slice
test_socket
test_socket_ssl
test_socket_ssl skipped -- Use of the `network' resource not enabled
test_socketserver
test_socketserver skipped -- Use of the `network' resource not enabled
test_softspace
test_sort
test_sqlite
test_startfile
test_startfile skipped -- cannot import name startfile
test_str
test test_str failed -- Traceback (most recent call last):
  File "/home/neal/python/trunk/Lib/test/string_tests.py", line 118, in test_count
    self.checkequal(1, 'aaa', 'count', '', 10)
  File "/home/neal/python/trunk/Lib/test/string_tests.py", line 56, in checkequal
    realresult
AssertionError: 1 != -6

test_strftime
test_string
test test_string failed -- Traceback (most recent call last):
  File "/home/neal/python/trunk/Lib/test/string_tests.py", line 118, in test_count
    self.checkequal(1, 'aaa', 'count', '', 10)
  File "/home/neal/python/trunk/Lib/test/test_string.py", line 16, in checkequal
    realresult
AssertionError: 1 != -6

test_stringprep
test_strop
test_strptime
test_struct
test_structseq
test_subprocess
[8662 refs]
[8662 refs]
[8662 refs]
[8662 refs]
[8662 refs]
[8662 refs]
[8662 refs]
[8662 refs]
[8662 refs]
[8662 refs]
[8662 refs]
[8662 refs]
[8878 refs]
[8662 refs]
[8662 refs]
[8662 refs]
[8662 refs]
[8662 refs]
[8662 refs]
[8662 refs]
    this bit of output is from a test of stdout in a different process ...
[8662 refs]
[8662 refs]
[8878 refs]
test_sunaudiodev
test_sunaudiodev skipped -- No module named sunaudiodev
test_sundry
test_symtable
test_syntax
test_sys
[8662 refs]
[8662 refs]
test_tarfile
test_tcl
test_tcl skipped -- No module named _tkinter
test_tempfile
[8662 refs]
test_textwrap
test_thread
test_threaded_import
test_threadedtempfile
test_threading
test_threading_local
test_threadsignals
test_time
test_timeout
test_timeout skipped -- Use of the `network' resource not enabled
test_tokenize
test_trace
test_traceback
test_transformer
test_tuple
test_ucn
test_unary
test_unicode
test test_unicode failed -- Traceback (most recent call last):
  File "/home/neal/python/trunk/Lib/test/test_unicode.py", line 97, in test_count
    string_tests.CommonTest.test_count(self)
  File "/home/neal/python/trunk/Lib/test/string_tests.py", line 118, in test_count
    self.checkequal(1, 'aaa', 'count', '', 10)
  File "/home/neal/python/trunk/Lib/test/string_tests.py", line 56, in checkequal
    realresult
AssertionError: 1 != -6

test_unicode_file
test_unicode_file skipped -- No Unicode filesystem semantics on this platform.
test_unicodedata
test_unittest
test_univnewlines
test_unpack
test_urllib
test_urllib2
test_urllib2net
test_urllib2net skipped -- Use of the `network' resource not enabled
test_urllibnet
test_urllibnet skipped -- Use of the `network' resource not enabled
test_urlparse
test_userdict
test_userlist
test_userstring
test test_userstring failed -- errors occurred; run in verbose mode for details
test_uu
test_wait3
test_wait4
test_warnings
test_wave
test_weakref
test_whichdb
test_winreg
test_winreg skipped -- No module named _winreg
test_winsound
test_winsound skipped -- No module named winsound
test_with
test_xdrlib
test_xml_etree
test_xml_etree_c
test_xmllib
test_xmlrpc
test_xpickle
test_xrange
test_zipfile
test_zipimport
/home/neal/python/trunk/Lib/test/test_zipimport.py:91: ImportWarning: Not importing directory '/home/neal/python/trunk/Modules/zlib': missing __init__.py
  ["__dummy__"])
test_zlib
/home/neal/python/trunk/Lib/test/test_zlib.py:3: ImportWarning: Not importing directory '/home/neal/python/trunk/Modules/zlib': missing __init__.py
  import zlib
281 tests OK.
4 tests failed:
    test_str test_string test_unicode test_userstring
30 tests skipped:
    test_aepack test_al test_applesingle test_bsddb185 test_bsddb3
    test_cd test_cl test_curses test_gl test_imgfile test_ioctl
    test_linuxaudiodev test_macfs test_macostools test_nis
    test_ossaudiodev test_pep277 test_plistlib test_scriptpackages
    test_socket_ssl test_socketserver test_startfile test_sunaudiodev
    test_tcl test_timeout test_unicode_file test_urllib2net
    test_urllibnet test_winreg test_winsound
1 skip unexpected on linux2:
    test_ioctl
[424068 refs]
make: *** [test] Error 1


More information about the Python-checkins mailing list