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

Neal Norwitz nnorwitz at gmail.com
Tue Apr 20 22:32:14 CEST 2010


346 tests OK.
2 tests failed:
    test_fork1 test_ftplib
36 tests skipped:
    test_aepack test_al test_applesingle test_bsddb185 test_bsddb3
    test_cd test_cl test_curses test_epoll test_gdb test_gl
    test_imgfile test_ioctl test_kqueue test_linuxaudiodev test_macos
    test_macostools test_multiprocessing test_ossaudiodev
    test_py3kwarn test_scriptpackages test_smtpnet test_socketserver
    test_startfile test_sunaudiodev test_tcl test_timeout test_tk
    test_ttk_guionly test_ttk_textonly test_unicode_file
    test_urllib2net test_urllibnet test_winreg test_winsound
    test_zipfile64
7 skips unexpected on linux2:
    test_epoll test_gdb test_ioctl test_multiprocessing test_tk
    test_ttk_guionly test_ttk_textonly

== CPython 2.7b1+ (trunk:80276M, Apr 20 2010, 16:02:32) [GCC 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6)]
==   Linux-2.6.9-gentoo-r1-i686-AMD_Athlon-tm-_XP_3000+-with-gentoo-1.4.16
==   /tmp/test_python_7396
test_grammar
test_opcodes
test_dict
test_builtin
test_exceptions
test_types
test_unittest
test_doctest
test_doctest2
test_MimeWriter
test_SimpleHTTPServer
test_StringIO
test___all__
test___future__
test__locale
test_abc
test_abstract_numbers
test_aepack
test_aepack skipped -- No module named aetypes
test_aifc
test_al
test_al skipped -- No module named al
test_anydbm
test_applesingle
test_applesingle skipped -- No module named MacOS
test_argparse
test_array
test_ascii_formatd
test_ast
test_asynchat
test_asyncore
test_atexit
test_audioop
test_augassign
test_base64
test_bastion
test_bigaddrspace
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_buffer
test_bufio
test_bytes
test_bz2
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
test_cmd_line
test_cmd_line_script
test_code
test_codeccallbacks
test_codecencodings_cn
test_codecencodings_hk
test_codecencodings_jp
test_codecencodings_kr
test_codecencodings_tw
test_codecmaps_cn
	fetching http://source.icu-project.org/repos/icu/data/trunk/charset/data/xml/gb-18030-2000.xml ...
	fetching http://people.freebsd.org/~perky/i18n/EUC-CN.TXT ...
	fetching http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP936.TXT ...
test_codecmaps_hk
	fetching http://people.freebsd.org/~perky/i18n/BIG5HKSCS-2004.TXT ...
test_codecmaps_jp
	fetching http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP932.TXT ...
	fetching http://people.freebsd.org/~perky/i18n/EUC-JISX0213.TXT ...
	fetching http://people.freebsd.org/~perky/i18n/EUC-JP.TXT ...
	fetching http://www.unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/JIS/SHIFTJIS.TXT ...
	fetching http://people.freebsd.org/~perky/i18n/SHIFT_JISX0213.TXT ...
test_codecmaps_kr
	fetching http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP949.TXT ...
	fetching http://people.freebsd.org/~perky/i18n/EUC-KR.TXT ...
	fetching http://www.unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/KSC/JOHAB.TXT ...
test_codecmaps_tw
	fetching http://www.unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/OTHER/BIG5.TXT ...
	fetching http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP950.TXT ...
test_codecs
test_codeop
test_coding
test_coercion
test_collections
test_colorsys
test_commands
test_compare
test_compile
test_compileall
test_compiler
test_complex
test_complex_args
test_contains
test_contextlib
test_cookie
test_cookielib
test_copy
test_copy_reg
test_cpickle
test_cprofile
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_dictcomps
test_dictviews
test_difflib
test_dircache
test_dis
test_distutils
[20646 refs]
test_dl
test_docxmlrpc
test_dumbdbm
test_dummy_thread
test_dummy_threading
test_email
test_email_codecs
test_email_renamed
test_enumerate
test_eof
test_epoll
test_epoll skipped -- kernel doesn't support epoll()
test_errno
test_exception_variations
test_extcall
test_fcntl
test_file
test_file2k
test_filecmp
test_fileinput
test_fileio
test_float
test_fnmatch
test_fork1
test test_fork1 failed -- Traceback (most recent call last):
  File "/tmp/python-test/local/lib/python2.7/test/fork_wait.py", line 55, in test_wait
    self.assertEquals(a, range(NUM_THREADS))
AssertionError: Lists differ: [] != [0, 1, 2, 3]

Second list contains 4 additional elements.
First extra element 0:
0

- []
+ [0, 1, 2, 3]

Re-running test 'test_fork1' in verbose mode
test_import_lock_fork (test.test_fork1.ForkTest) ... ok
test_wait (test.test_fork1.ForkTest) ... FAIL

======================================================================
FAIL: test_wait (test.test_fork1.ForkTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/python-test/local/lib/python2.7/test/fork_wait.py", line 55, in test_wait
    self.assertEquals(a, range(NUM_THREADS))
AssertionError: Lists differ: [] != [0, 1, 2, 3]

Second list contains 4 additional elements.
First extra element 0:
0

- []
+ [0, 1, 2, 3]

----------------------------------------------------------------------
Ran 2 tests in 7.085s

FAILED (failures=1)
test test_fork1 failed -- Traceback (most recent call last):
  File "/tmp/python-test/local/lib/python2.7/test/fork_wait.py", line 55, in test_wait
    self.assertEquals(a, range(NUM_THREADS))
AssertionError: Lists differ: [] != [0, 1, 2, 3]

Second list contains 4 additional elements.
First extra element 0:
0

- []
+ [0, 1, 2, 3]

test_format
test_fpformat
test_fractions
test_frozen
test_ftplib
test test_ftplib failed -- Traceback (most recent call last):
  File "/tmp/python-test/local/lib/python2.7/test/test_ftplib.py", line 510, in test_dir
    self.client.dir(lambda x: l.append(x))
  File "/tmp/python-test/local/lib/python2.7/ftplib.py", line 515, in dir
    self.retrlines(cmd, func)
  File "/tmp/python-test/local/lib/python2.7/ftplib.py", line 421, in retrlines
    resp = self.sendcmd('TYPE A')
  File "/tmp/python-test/local/lib/python2.7/ftplib.py", line 244, in sendcmd
    return self.getresp()
  File "/tmp/python-test/local/lib/python2.7/ftplib.py", line 210, in getresp
    resp = self.getmultiline()
  File "/tmp/python-test/local/lib/python2.7/ftplib.py", line 196, in getmultiline
    line = self.getline()
  File "/tmp/python-test/local/lib/python2.7/ftplib.py", line 183, in getline
    line = self.file.readline()
  File "/tmp/python-test/local/lib/python2.7/socket.py", line 445, in readline
    data = self._sock.recv(self._rbufsize)
timeout: timed out

Re-running test 'test_ftplib' in verbose mode
test_acct (test.test_ftplib.TestFTPClass) ... ok
test_all_errors (test.test_ftplib.TestFTPClass) ... ok
test_delete (test.test_ftplib.TestFTPClass) ... ok
test_dir (test.test_ftplib.TestFTPClass) ... ok
test_exceptions (test.test_ftplib.TestFTPClass) ... ok
test_getwelcome (test.test_ftplib.TestFTPClass) ... ok
test_login (test.test_ftplib.TestFTPClass) ... ok
test_makepasv (test.test_ftplib.TestFTPClass) ... ok
test_makeport (test.test_ftplib.TestFTPClass) ... ok
test_mkd (test.test_ftplib.TestFTPClass) ... ok
test_nlst (test.test_ftplib.TestFTPClass) ... ok
test_pwd (test.test_ftplib.TestFTPClass) ... ok
test_quit (test.test_ftplib.TestFTPClass) ... ok
test_rename (test.test_ftplib.TestFTPClass) ... ok
test_retrbinary (test.test_ftplib.TestFTPClass) ... ok
test_retrbinary_rest (test.test_ftplib.TestFTPClass) ... ok
test_retrlines (test.test_ftplib.TestFTPClass) ... ok
test_rmd (test.test_ftplib.TestFTPClass) ... ok
test_sanitize (test.test_ftplib.TestFTPClass) ... ok
test_set_pasv (test.test_ftplib.TestFTPClass) ... ok
test_size (test.test_ftplib.TestFTPClass) ... ok
test_storbinary (test.test_ftplib.TestFTPClass) ... ok
test_storbinary_rest (test.test_ftplib.TestFTPClass) ... ok
test_storlines (test.test_ftplib.TestFTPClass) ... ok
test_voidcmd (test.test_ftplib.TestFTPClass) ... ok
testTimeoutConnect (test.test_ftplib.TestTimeouts) ... ok
testTimeoutDefault (test.test_ftplib.TestTimeouts) ... ok
testTimeoutDifferentOrder (test.test_ftplib.TestTimeouts) ... ok
testTimeoutDirectAccess (test.test_ftplib.TestTimeouts) ... ok
testTimeoutNone (test.test_ftplib.TestTimeouts) ... ok
testTimeoutValue (test.test_ftplib.TestTimeouts) ... ok
test_acct (test.test_ftplib.TestTLS_FTPClassMixin) ... ok
test_all_errors (test.test_ftplib.TestTLS_FTPClassMixin) ... ok
test_delete (test.test_ftplib.TestTLS_FTPClassMixin) ... ok
test_dir (test.test_ftplib.TestTLS_FTPClassMixin) ... ok
test_exceptions (test.test_ftplib.TestTLS_FTPClassMixin) ... ok
test_getwelcome (test.test_ftplib.TestTLS_FTPClassMixin) ... ok
test_login (test.test_ftplib.TestTLS_FTPClassMixin) ... ok
test_makepasv (test.test_ftplib.TestTLS_FTPClassMixin) ... ok
test_makeport (test.test_ftplib.TestTLS_FTPClassMixin) ... ok
test_mkd (test.test_ftplib.TestTLS_FTPClassMixin) ... ok
test_nlst (test.test_ftplib.TestTLS_FTPClassMixin) ... ok
test_pwd (test.test_ftplib.TestTLS_FTPClassMixin) ... ok
test_quit (test.test_ftplib.TestTLS_FTPClassMixin) ... ok
test_rename (test.test_ftplib.TestTLS_FTPClassMixin) ... ok
test_retrbinary (test.test_ftplib.TestTLS_FTPClassMixin) ... ok
test_retrbinary_rest (test.test_ftplib.TestTLS_FTPClassMixin) ... ok
test_retrlines (test.test_ftplib.TestTLS_FTPClassMixin) ... ok
test_rmd (test.test_ftplib.TestTLS_FTPClassMixin) ... ok
test_sanitize (test.test_ftplib.TestTLS_FTPClassMixin) ... ok
test_set_pasv (test.test_ftplib.TestTLS_FTPClassMixin) ... ok
test_size (test.test_ftplib.TestTLS_FTPClassMixin) ... ok
test_storbinary (test.test_ftplib.TestTLS_FTPClassMixin) ... ok
test_storbinary_rest (test.test_ftplib.TestTLS_FTPClassMixin) ... ok
test_storlines (test.test_ftplib.TestTLS_FTPClassMixin) ... ok
test_voidcmd (test.test_ftplib.TestTLS_FTPClassMixin) ... ok
test_auth_issued_twice (test.test_ftplib.TestTLS_FTPClass) ... ok
test_auth_ssl (test.test_ftplib.TestTLS_FTPClass) ... ok
test_control_connection (test.test_ftplib.TestTLS_FTPClass) ... ok
test_data_connection (test.test_ftplib.TestTLS_FTPClass) ... ok
test_login (test.test_ftplib.TestTLS_FTPClass) ... ok

----------------------------------------------------------------------
Ran 61 tests in 5.007s

OK
test_funcattrs
test_functools
test_future
test_future3
test_future4
test_future5
test_future_builtins
test_gc
test_gdb
test_gdb skipped -- gdb versions before 7.0 didn't support python embedding Saw:
GNU gdb 6.2.1
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-pc-linux-gnu".

test_gdbm
test_generators
test_genericpath
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_hmac
test_hotshot
test_htmllib
test_htmlparser
test_httplib
test_httpservers
[16651 refs]
[16651 refs]
[16651 refs]
[27029 refs]
test_imageop
test_imaplib
test_imgfile
test_imgfile skipped -- No module named imgfile
test_imp
test_import
test_importhooks
test_importlib
test_index
test_inspect
test_int
test_int_literal
test_io
test_ioctl
test_ioctl skipped -- Unable to open /dev/tty
test_isinstance
test_iter
test_iterlen
test_itertools
test_json
test_kqueue
test_kqueue skipped -- test works only on BSD
test_largefile
test_lib2to3
test_linecache
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_macos
test_macos skipped -- No module named MacOS
test_macostools
test_macostools skipped -- No module named MacOS
test_macpath
test_mailbox
test_marshal
test_math
test_md5
test_memoryio
test_memoryview
test_mhlib
test_mimetools
test_mimetypes
test_minidom
test_mmap
test_module
test_modulefinder
test_multibytecodec
test_multibytecodec_support
test_multifile
test_multiprocessing
test_multiprocessing skipped -- This platform lacks a functioning sem_open implementation, therefore, the required synchronization primitives needed will not function, see issue 3770.
test_mutants
test_mutex
test_netrc
test_new
test_nis
test_normalization
	fetching http://www.unicode.org/Public/5.2.0/ucd/NormalizationTest.txt ...
test_ntpath
test_old_mailbox
test_openpty
test_operator
test_optparse
test_os
[16651 refs]
[16651 refs]
test_ossaudiodev
test_ossaudiodev skipped -- Use of the `audio' resource not enabled
test_parser
Expecting 's_push: parser stack overflow' in next line
s_push: parser stack overflow
test_pdb
test_peepholer
test_pep247
test_pep263
test_pep277
test_pep292
test_pep352
test_pickle
test_pickletools
test_pipes
test_pkg
test_pkgimport
test_pkgutil
test_platform
[18047 refs]
[18047 refs]
test_plistlib
test_poll
test_popen
[16656 refs]
[16656 refs]
[16656 refs]
test_popen2
test_poplib
test_posix
test_posixpath
test_pow
test_pprint
test_print
test_profile
test_profilehooks
test_property
test_pstats
test_pty
test_pwd
test_py3kwarn
test_py3kwarn skipped -- test.test_py3kwarn must be run with the -3 flag
test_pyclbr
test_pydoc
[21863 refs]
[21863 refs]
[21863 refs]
[21863 refs]
[21863 refs]
[21862 refs]
[21862 refs]
test_pyexpat
test_queue
test_quopri
[19480 refs]
[19480 refs]
test_random
test_re
test_readline
test_repr
test_resource
test_rfc822
test_richcmp
test_robotparser
test_runpy
test_sax
test_scope
test_scriptpackages
test_scriptpackages skipped -- No module named aetools
test_select
test_set
test_setcomps
test_sets
test_sgmllib
test_sha
test_shelve
test_shlex
test_shutil
test_signal
test_site
[16651 refs]
[16651 refs]
[16651 refs]
[16651 refs]
test_slice
test_smtplib
test_smtpnet
test_smtpnet skipped -- Use of the `network' resource not enabled
test_socket
test_socketserver
test_socketserver skipped -- Use of the `network' resource not enabled
test_softspace
test_sort
test_sqlite
test_ssl
test_startfile
test_startfile skipped -- module os has no attribute startfile
test_str
test_strftime
test_string
test_stringprep
test_strop
test_strptime
test_strtod
test_struct
test_structmembers
test_structseq
test_subprocess
[16651 refs]
[16651 refs]
[16651 refs]
[16651 refs]
[16651 refs]
[16651 refs]
[16651 refs]
[16651 refs]
[16651 refs]
[16651 refs]
[16651 refs]
[16651 refs]
[16651 refs]
[16651 refs]
[16866 refs]
[16651 refs]
[16651 refs]
[16651 refs]
[16651 refs]
[16651 refs]
.
[16651 refs]
[16651 refs]
    this bit of output is from a test of stdout in a different process ...
[16651 refs]
[16651 refs]
[16866 refs]
[16651 refs]
[16651 refs]
[16651 refs]
[16651 refs]
[16651 refs]
[16651 refs]
[16651 refs]
[16651 refs]
[16651 refs]
[16651 refs]
[16651 refs]
[16651 refs]
[16651 refs]
[16651 refs]
[16651 refs]
[16651 refs]
[16651 refs]
[16866 refs]
[16651 refs]
[16651 refs]
[16651 refs]
[16651 refs]
[16651 refs]
.
[16651 refs]
[16651 refs]
    this bit of output is from a test of stdout in a different process ...
[16651 refs]
[16651 refs]
[16866 refs]
test_sunaudiodev
test_sunaudiodev skipped -- No module named sunaudiodev
test_sundry
test_symtable
test_syntax
test_sys
[16651 refs]
[16651 refs]
[16651 refs]
[16880 refs]
[16674 refs]
test_sysconfig
[16651 refs]
[16651 refs]
test_tarfile
test_tcl
test_tcl skipped -- No module named _tkinter
test_telnetlib
test_tempfile
[16651 refs]
test_textwrap
test_thread
test_threaded_import
test_threadedtempfile
test_threading
[19951 refs]
[21220 refs]
[21034 refs]
[21034 refs]
[21034 refs]
[21034 refs]
test_threading_local
test_threadsignals
test_time
test_timeout
test_timeout skipped -- Use of the `network' resource not enabled
test_tk
test_tk skipped -- No module named _tkinter
test_tokenize
test_trace
test_traceback
test_transformer
test_ttk_guionly
test_ttk_guionly skipped -- No module named _tkinter
test_ttk_textonly
test_ttk_textonly skipped -- No module named _tkinter
test_tuple
test_typechecks
test_ucn
test_unary
test_undocumented_details
test_unicode
test_unicode_file
test_unicode_file skipped -- No Unicode filesystem semantics on this platform.
test_unicodedata
test_univnewlines
test_univnewlines2k
test_unpack
test_urllib
test_urllib2
test_urllib2_localnet
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_uu
test_uuid
test_wait3
test_wait4
test_warnings
[16682 refs]
[16682 refs]
[16675 refs]
[16682 refs]
[16682 refs]
[16675 refs]
test_wave
test_weakref
test_weakset
test_whichdb
test_winreg
test_winreg skipped -- No module named _winreg
test_winsound
test_winsound skipped -- No module named winsound
test_with
test_wsgiref
test_xdrlib
test_xml_etree
test_xml_etree_c
test_xmllib
test_xmlrpc
test_xpickle
test_xpickle -- skipping backwards compat tests.
Use 'regrtest.py -u xpickle' to run them.
test_xrange
test_zipfile
test_zipfile64
test_zipfile64 skipped -- test requires loads of disk-space bytes and a long time to run
test_zipimport
test_zipimport_support
test_zlib
346 tests OK.
2 tests failed:
    test_fork1 test_ftplib
36 tests skipped:
    test_aepack test_al test_applesingle test_bsddb185 test_bsddb3
    test_cd test_cl test_curses test_epoll test_gdb test_gl
    test_imgfile test_ioctl test_kqueue test_linuxaudiodev test_macos
    test_macostools test_multiprocessing test_ossaudiodev
    test_py3kwarn test_scriptpackages test_smtpnet test_socketserver
    test_startfile test_sunaudiodev test_tcl test_timeout test_tk
    test_ttk_guionly test_ttk_textonly test_unicode_file
    test_urllib2net test_urllibnet test_winreg test_winsound
    test_zipfile64
7 skips unexpected on linux2:
    test_epoll test_gdb test_ioctl test_multiprocessing test_tk
    test_ttk_guionly test_ttk_textonly
[959293 refs]


More information about the Python-checkins mailing list