no, it's not the network, a threading test does hang. I cannot reproduce this 
one.

the packaging is prepared to exclude the network test, when run on a buildd:

on_buildd := $(shell [ -f /CurrentlyBuilding -o "$$LOGNAME" = buildd ] && echo 
yes)

could you adjust this check, or configure your builds in such a way that the test succeeds?


On 15.08.2010 09:45, Lucas Nussbaum wrote:
Source: python3.1
Version: 3.1.2+20100707-1
Severity: serious
Tags: squeeze sid
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20100815 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
make[1]: Entering directory 
`/build/user-python3.1_3.1.2+20100707-1-amd64-x5C2LE/python3.1-3.1.2+20100707/build-static'
gcc -pthread -c  -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. 
-IInclude -I../Include   -DPy_BUILD_CORE -o Python/ast.o ../Python/ast.c
gcc -pthread -c  -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. 
-IInclude -I../Include   -DPy_BUILD_CORE -o Python/compile.o ../Python/compile.c
gcc -pthread -c  -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. 
-IInclude -I../Include   -DPy_BUILD_CORE -o Python/graminit.o 
../Python/graminit.c
gcc -pthread -c  -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. 
-IInclude -I../Include   -DPy_BUILD_CORE -o Python/symtable.o 
../Python/symtable.c
gcc -pthread -c  -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude 
-I../Include   -DPy_BUILD_CORE -DSVNVERSION="\"`LC_ALL=C echo Unversioned 
directory`\"" -o Modules/getbuildinfo.o ../Modules/getbuildinfo.c
rm -f libpython3.1.a
ar rc libpython3.1.a Modules/getbuildinfo.o
ar rc libpython3.1.a Parser/acceler.o Parser/grammar1.o Parser/listnode.o 
Parser/node.o Parser/parser.o Parser/parsetok.o Parser/bitset.o 
Parser/metagrammar.o Parser/firstsets.o Parser/grammar.o Parser/pgen.o 
Parser/myreadline.o Parser/tokenizer.o
ar rc libpython3.1.a Objects/abstract.o Objects/boolobject.o 
Objects/bytes_methods.o Objects/bytearrayobject.o Objects/bytesobject.o 
Objects/cellobject.o Objects/classobject.o Objects/cobject.o 
Objects/codeobject.o Objects/complexobject.o Objects/descrobject.o 
Objects/enumobject.o Objects/exceptions.o Objects/genobject.o 
Objects/fileobject.o Objects/floatobject.o Objects/frameobject.o 
Objects/funcobject.o Objects/iterobject.o Objects/listobject.o 
Objects/longobject.o Objects/dictobject.o Objects/memoryobject.o 
Objects/methodobject.o Objects/moduleobject.o Objects/object.o 
Objects/obmalloc.o Objects/capsule.o Objects/rangeobject.o Objects/setobject.o 
Objects/sliceobject.o Objects/structseq.o Objects/tupleobject.o 
Objects/typeobject.o Objects/unicodeobject.o Objects/unicodectype.o 
Objects/weakrefobject.o
ar rc libpython3.1.a Python/_warnings.o Python/Python-ast.o Python/asdl.o 
Python/ast.o Python/bltinmodule.o Python/ceval.o Python/compile.o 
Python/codecs.o Python/errors.o Python/frozen.o Python/frozenmain.o 
Python/future.o Python/getargs.o Python/getcompiler.o Python/getcopyright.o 
Python/getplatform.o Python/getversion.o Python/graminit.o Python/import.o 
Python/importdl.o Python/marshal.o Python/modsupport.o Python/mystrtoul.o 
Python/mysnprintf.o Python/peephole.o Python/pyarena.o Python/pyctype.o 
Python/pyfpe.o Python/pymath.o Python/pystate.o Python/pythonrun.o 
Python/structmember.o Python/symtable.o Python/sysmodule.o Python/traceback.o 
Python/getopt.o Python/pystrcmp.o Python/pystrtod.o Python/dtoa.o 
Python/formatter_unicode.o Python/dynload_shlib.o   Python/thread.o
ar rc libpython3.1.a Modules/config.o Modules/getpath.o Modules/main.o 
Modules/gcmodule.o
ar rc libpython3.1.a Modules/_threadmodule.o  Modules/signalmodule.o  
Modules/arraymodule.o  Modules/cmathmodule.o  Modules/mathmodule.o  
Modules/_struct.o  Modules/timemodule.o  Modules/operator.o  
Modules/_randommodule.o  Modules/_collectionsmodule.o  
Modules/itertoolsmodule.o  Modules/atexitmodule.o  Modules/_elementtree.o  
Modules/_pickle.o  Modules/datetimemodule.o  Modules/_bisectmodule.o  
Modules/_heapqmodule.o  Modules/unicodedata.o  Modules/fcntlmodule.o  
Modules/spwdmodule.o  Modules/grpmodule.o  Modules/selectmodule.o  
Modules/socketmodule.o  Modules/_ssl.o  Modules/_hashopenssl.o  
Modules/syslogmodule.o  Modules/binascii.o  Modules/_ctypes.o 
Modules/callbacks.o Modules/callproc.o Modules/stgdict.o Modules/cfield.o 
Modules/malloc_closure.o  Modules/zlibmodule.o  Modules/xmlparse.o 
Modules/xmlrole.o Modules/xmltok.o Modules/pyexpat.o  Modules/posixmodule.o  
Modules/errnomodule.o  Modules/pwdmodule.o  Modules/_sre.o  
Modules/_codecsmodule.o  Modules/_weakref.o  Mo
dules/_functoolsmodule.o  Modules/_localemodule.o  Modules/_iomodule.o 
Modules/iobase.o Modules/fileio.o Modules/bytesio.o Modules/bufferedio.o 
Modules/textio.o Modules/stringio.o  Modules/zipimport.o  
Modules/symtablemodule.o  Modules/xxsubtype.o
ranlib libpython3.1.a
gcc -pthread  -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -o 
python \
                        Modules/python.o \
                        libpython3.1.a -lpthread -ldl  -lutil -lssl -lcrypto  
-lssl -lcrypto    -Wl,-Bstatic -lffi -Wl,-Bdynamic  -L/usr/lib -lz              
 -lm
/build/user-python3.1_3.1.2+20100707-1-amd64-x5C2LE/python3.1-3.1.2+20100707/Modules/_multiprocessing/multiprocessing.c:
 In function 'multiprocessing_sendfd':
/build/user-python3.1_3.1.2+20100707-1-amd64-x5C2LE/python3.1-3.1.2+20100707/Modules/_multiprocessing/multiprocessing.c:125:
 warning: dereferencing type-punned pointer will break strict-aliasing rules
/build/user-python3.1_3.1.2+20100707-1-amd64-x5C2LE/python3.1-3.1.2+20100707/Modules/_multiprocessing/multiprocessing.c:
 In function 'multiprocessing_recvfd':
/build/user-python3.1_3.1.2+20100707-1-amd64-x5C2LE/python3.1-3.1.2+20100707/Modules/_multiprocessing/multiprocessing.c:168:
 warning: dereferencing type-punned pointer will break strict-aliasing rules
building dbm using bdb

Python build finished, but the necessary bits to build these modules were not 
found:
_gdbm
To find the necessary bits, look in setup.py in detect_modules() for the 
module's name.

./python -E -c 'import sys ; from distutils.util import get_platform ; 
print(get_platform()+"-"+sys.version[0:3])'>platform
find ../Lib -name '*.py[co]' -print | xargs rm -f
./python -E -bb ../Lib/test/regrtest.py -w -l -uall -x test_cprofile 
test_profile test_pstats
test_grammar
test_opcodes
test_dict
test_builtin
test_exceptions
test_types
test_unittest
test_doctest
test_doctest2
test_SimpleHTTPServer
test___all__
test___future__
test__locale
test_abc
test_abstract_numbers
test_aifc
test_array
test_ascii_formatd
test_ast
test_asynchat
test_asyncore
test_atexit
test_audioop
test_augassign
test_base64
test_bigaddrspace
test_bigmem
test_binascii
test_binhex
test_binop
test_bisect
test_bool
test_bufio
test_bytes
test_bz2
test_calendar
test_call
test_capi
test_cfgparser
test_cgi
test_charmapcodec
test_class
test_cmath
test_cmd
test_cmd_line
Warning: os.environ was modified by 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
 ...
test_codecmaps_cn skipped -- Could not retrieve 
http://source.icu-project.org/repos/icu/data/trunk/charset/data/xml/gb-18030-2000.xml
test_codecmaps_hk
        fetching http://people.freebsd.org/~perky/i18n/BIG5HKSCS-2004.TXT ...
test_codecmaps_hk skipped -- Could not retrieve 
http://people.freebsd.org/~perky/i18n/BIG5HKSCS-2004.TXT
test_codecmaps_jp
        fetching 
http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP932.TXT ...
test_codecmaps_jp skipped -- Could not retrieve 
http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP932.TXT
test_codecmaps_kr
        fetching 
http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP949.TXT ...
test_codecmaps_kr skipped -- Could not retrieve 
http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP949.TXT
test_codecmaps_tw
        fetching 
http://www.unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/OTHER/BIG5.TXT ...
test_codecmaps_tw skipped -- Could not retrieve 
http://www.unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/OTHER/BIG5.TXT
test_codecs
test_codeop
test_coding
test_collections
test_colorsys
test_compare
test_compile
test_compileall
test_complex
test_contains
test_contextlib
test_copy
test_copyreg
test_crypt
test_csv
test_ctypes
test_curses
test_curses skipped -- $TERM=None, calling initscr() may cause exit
test_datetime
test_dbm
test_dbm_dumb
test_dbm_gnu
test_dbm_gnu skipped -- No module named _gdbm
test_dbm_ndbm
test_decimal
test_decorators
test_defaultdict
test_deque
test_descr
test_descrtut
test_dictcomps
test_dictviews
test_difflib
test_dis
test_distutils
test_docxmlrpc
test_dummy_thread
test_dummy_threading
test_email
test_enumerate
test_eof
test_epoll
test_errno
test_exception_variations
test_extcall
test_fcntl
test_file
test_filecmp
test_fileinput
test_fileio
test_float
test_flufl
test_fnmatch
test_fork1
test_format
test_fractions
test_frozen
test_ftplib
test_funcattrs
test_functools
test_future
test_future3
test_future4
test_future5
test_gc
test_gdb
test test_gdb failed -- multiple errors occurred; run in verbose mode for 
details
test_generators
test_genericpath
test_genexps
test_getargs2
test_getopt
test_gettext
test_glob
test_global
test_grp
test_gzip
test_hash
test_hashlib
test_heapq
test_hmac
test_htmlparser
test_http_cookiejar
test_http_cookies
test_httplib
test_httpservers
Warning: os.environ was modified by test_httpservers
test_imaplib
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_keywordonlyarg
test_kqueue
test_kqueue skipped -- test works only on BSD
test_largefile
test_lib2to3
test_linecache
test_list
test_listcomps
test_locale
test_logging
test_long
test_longexp
test_macpath
test_mailbox
test_marshal
test_math
test_memoryio
test_memoryview
test_metaclass
test_mimetypes
test_minidom
test_mmap
test_module
test_modulefinder
test_multibytecodec
test_multibytecodec_support
test_multiprocessing
test_mutants
test_netrc
test_nis
test_nis skipped -- test_nis hangs on Solaris
test_normalization
        fetching http://www.unicode.org/Public/5.1.0/ucd/NormalizationTest.txt 
...
test_ntpath
test_openpty
test_operator
test_optparse
test_os
test_ossaudiodev
test_ossaudiodev skipped -- [Errno 2] No such file or directory: '/dev/dsp'
test_osx_env
test_parser
s_push: parser stack overflow
test_pdb
Expecting 's_push: parser stack overflow' in next line
test_peepholer
test_pep247
test_pep263
test_pep277
test_pep277 skipped -- test works only on NT+
test_pep292
test_pep3120
test_pep3131
test_pep352
test_pickle
test_pickletools
test_pipes
test_pkg
test_pkgimport
test_pkgutil
test_platform
test_plistlib
test_poll
test_popen
test_poplib
test_posix
test_posixpath
test_pow
test_pprint
test_print
test_profilehooks
test_property
test_pty
test_pwd
test_pyclbr
test_pydoc
test_pyexpat
test_queue
test_quopri
test_raise
test_random
test_range
test_re
test_reprlib
test_resource
test_richcmp
test_robotparser
test test_robotparser failed -- Traceback (most recent call last):
   File 
"/build/user-python3.1_3.1.2+20100707-1-amd64-x5C2LE/python3.1-3.1.2+20100707/Lib/urllib/request.py",
 line 1081, in do_open
     h.request(req.get_method(), req.selector, req.data, headers)
   File 
"/build/user-python3.1_3.1.2+20100707-1-amd64-x5C2LE/python3.1-3.1.2+20100707/Lib/http/client.py",
 line 936, in request
     self._send_request(method, url, body, headers)
   File 
"/build/user-python3.1_3.1.2+20100707-1-amd64-x5C2LE/python3.1-3.1.2+20100707/Lib/http/client.py",
 line 974, in _send_request
     self.endheaders(body)
   File 
"/build/user-python3.1_3.1.2+20100707-1-amd64-x5C2LE/python3.1-3.1.2+20100707/Lib/http/client.py",
 line 932, in endheaders
     self._send_output(message_body)
   File 
"/build/user-python3.1_3.1.2+20100707-1-amd64-x5C2LE/python3.1-3.1.2+20100707/Lib/http/client.py",
 line 786, in _send_output
     self.send(msg)
   File 
"/build/user-python3.1_3.1.2+20100707-1-amd64-x5C2LE/python3.1-3.1.2+20100707/Lib/http/client.py",
 line 727, in send
     self.connect()
   File 
"/build/user-python3.1_3.1.2+20100707-1-amd64-x5C2LE/python3.1-3.1.2+20100707/Lib/http/client.py",
 line 709, in connect
     self.timeout)
   File 
"/build/user-python3.1_3.1.2+20100707-1-amd64-x5C2LE/python3.1-3.1.2+20100707/Lib/socket.py",
 line 307, in create_connection
     raise error(msg)
socket.error: [Errno 101] Network is unreachable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
   File 
"/build/user-python3.1_3.1.2+20100707-1-amd64-x5C2LE/python3.1-3.1.2+20100707/Lib/test/test_robotparser.py",
 line 227, in testPythonOrg
     parser.read()
   File 
"/build/user-python3.1_3.1.2+20100707-1-amd64-x5C2LE/python3.1-3.1.2+20100707/Lib/urllib/robotparser.py",
 line 56, in read
     f = urllib.request.urlopen(self.url)
   File 
"/build/user-python3.1_3.1.2+20100707-1-amd64-x5C2LE/python3.1-3.1.2+20100707/Lib/urllib/request.py",
 line 121, in urlopen
     return _opener.open(url, data, timeout)
   File 
"/build/user-python3.1_3.1.2+20100707-1-amd64-x5C2LE/python3.1-3.1.2+20100707/Lib/urllib/request.py",
 line 349, in open
     response = self._open(req, data)
   File 
"/build/user-python3.1_3.1.2+20100707-1-amd64-x5C2LE/python3.1-3.1.2+20100707/Lib/urllib/request.py",
 line 367, in _open
     '_open', req)
   File 
"/build/user-python3.1_3.1.2+20100707-1-amd64-x5C2LE/python3.1-3.1.2+20100707/Lib/urllib/request.py",
 line 327, in _call_chain
     result = func(*args)
   File 
"/build/user-python3.1_3.1.2+20100707-1-amd64-x5C2LE/python3.1-3.1.2+20100707/Lib/urllib/request.py",
 line 1099, in http_open
     return self.do_open(http.client.HTTPConnection, req)
   File 
"/build/user-python3.1_3.1.2+20100707-1-amd64-x5C2LE/python3.1-3.1.2+20100707/Lib/urllib/request.py",
 line 1084, in do_open
     raise URLError(err)
urllib.error.URLError:<urlopen error [Errno 101] Network is unreachable>

test_runpy
test_sax
test_scope
test_select
test_set
test_setcomps
test_shelve
test_shlex
test_shutil
test_signal
test test_signal failed -- Traceback (most recent call last):
   File 
"/build/user-python3.1_3.1.2+20100707-1-amd64-x5C2LE/python3.1-3.1.2+20100707/Lib/test/test_signal.py",
 line 182, in test_main
     self.fail(tb)
AssertionError: Traceback (most recent call last):
   File 
"/build/user-python3.1_3.1.2+20100707-1-amd64-x5C2LE/python3.1-3.1.2+20100707/Lib/test/test_signal.py",
 line 165, in test_main
     self.run_test()
   File 
"/build/user-python3.1_3.1.2+20100707-1-amd64-x5C2LE/python3.1-3.1.2+20100707/Lib/test/test_signal.py",
 line 94, in run_test
     child = ignoring_eintr(subprocess.Popen, ['kill', '-HUP', str(pid)])
   File 
"/build/user-python3.1_3.1.2+20100707-1-amd64-x5C2LE/python3.1-3.1.2+20100707/Lib/test/test_signal.py",
 line 33, in ignoring_eintr
     return __func(*args, **kwargs)
   File 
"/build/user-python3.1_3.1.2+20100707-1-amd64-x5C2LE/python3.1-3.1.2+20100707/Lib/subprocess.py",
 line 647, in __init__
     errread, errwrite)
   File 
"/build/user-python3.1_3.1.2+20100707-1-amd64-x5C2LE/python3.1-3.1.2+20100707/Lib/subprocess.py",
 line 1157, in _execute_child
     raise child_exception
OSError: [Errno 2] No such file or directory


test_site
test_slice
test_smtplib
test_smtpnet
test test_smtpnet failed -- Traceback (most recent call last):
   File 
"/build/user-python3.1_3.1.2+20100707-1-amd64-x5C2LE/python3.1-3.1.2+20100707/Lib/test/test_smtpnet.py",
 line 15, in test_connect
     server = smtplib.SMTP_SSL(self.testServer, self.remotePort)
   File 
"/build/user-python3.1_3.1.2+20100707-1-amd64-x5C2LE/python3.1-3.1.2+20100707/Lib/smtplib.py",
 line 757, in __init__
     SMTP.__init__(self, host, port, local_hostname, timeout)
   File 
"/build/user-python3.1_3.1.2+20100707-1-amd64-x5C2LE/python3.1-3.1.2+20100707/Lib/smtplib.py",
 line 239, in __init__
     (code, msg) = self.connect(host, port)
   File 
"/build/user-python3.1_3.1.2+20100707-1-amd64-x5C2LE/python3.1-3.1.2+20100707/Lib/smtplib.py",
 line 295, in connect
     self.sock = self._get_socket(host, port, self.timeout)
   File 
"/build/user-python3.1_3.1.2+20100707-1-amd64-x5C2LE/python3.1-3.1.2+20100707/Lib/smtplib.py",
 line 762, in _get_socket
     new_socket = socket.create_connection((host, port), timeout)
   File 
"/build/user-python3.1_3.1.2+20100707-1-amd64-x5C2LE/python3.1-3.1.2+20100707/Lib/socket.py",
 line 307, in create_connection
     raise error(msg)
socket.error: [Errno 111] Connection refused

test_socket
test_socketserver
test_sort
test_sqlite
test_ssl
test test_ssl failed -- multiple errors occurred; run in verbose mode for 
details
test_startfile
test_startfile skipped -- module os has no attribute startfile
test_strftime
test_string
test_stringprep
test_strlit
test_strptime
test_strtod
test_struct
test_structmembers
test_structseq
test_subprocess
.
     this bit of output is from a test of stdout in a different process ...
.
     this bit of output is from a test of stdout in a different process ...
test_sunau
test_sundry
test test_sundry failed -- Traceback (most recent call last):
   File 
"/build/user-python3.1_3.1.2+20100707-1-amd64-x5C2LE/python3.1-3.1.2+20100707/Lib/test/test_sundry.py",
 line 61, in test_at_least_import_untested_modules
     import pstats      # separated out into the python-profiler package
ImportError: No module named pstats

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
   File 
"/build/user-python3.1_3.1.2+20100707-1-amd64-x5C2LE/python3.1-3.1.2+20100707/Lib/test/test_sundry.py",
 line 63, in test_at_least_import_untested_modules
     if test_support.verbose:
NameError: global name 'test_support' is not defined

test_super
test_symtable
test_syntax
test_sys
test_syslog
test_tarfile
test_tcl
test_telnetlib
test_tempfile
test_textwrap
test_thread
test_threaded_import
test_threadedtempfile
test_threading
E: Caught signal 'Terminated': terminating immediately
make: *** wait: No child processes.  Stop.
make: *** Waiting for unfinished jobs....
make: *** wait: No child processes.  Stop.
Build killed with signal TERM after 60 minutes of inactivity
────────────────────────────────────────────────────────────────────────────────
Build finished at 20100815-0200



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

Reply via email to