Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 390484 Details for
Bug 530970
dev-python/pysendfile-2.0.0 tests fail with python 3.4
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build.log
pysendfile-2.0.0:20141128-110328.log (text/plain), 20.56 KB, created by
Pacho Ramos
on 2014-11-28 11:05:35 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Pacho Ramos
Created:
2014-11-28 11:05:35 UTC
Size:
20.56 KB
patch
obsolete
>[32;01m * [39;49;00mPackage: dev-python/pysendfile-2.0.0 >[32;01m * [39;49;00mRepository: gentoo >[32;01m * [39;49;00mMaintainer: openstack@gentoo.org >[32;01m * [39;49;00mUSE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_4 userland_GNU >[32;01m * [39;49;00mFEATURES: ccache preserve-libs sandbox test userpriv usersandbox >>>> Unpacking source... >>>> Unpacking pysendfile-2.0.0.tar.gz to /var/tmp/portage/dev-python/pysendfile-2.0.0/work >>>> Source unpacked in /var/tmp/portage/dev-python/pysendfile-2.0.0/work >>>> Preparing source in /var/tmp/portage/dev-python/pysendfile-2.0.0/work/pysendfile-2.0.0 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-python/pysendfile-2.0.0/work/pysendfile-2.0.0 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-python/pysendfile-2.0.0/work/pysendfile-2.0.0 ... > [33;01m*[0m It seems that you need to set USE_PYTHON to make sure that legacy > [33;01m*[0m packages will be built with respect to PYTHON_TARGETS correctly: > [33;01m*[0m > [33;01m*[0m USE_PYTHON='[35;1m2.7[0m' > [33;01m*[0m > [33;01m*[0m Please note that after changing the USE_PYTHON variable, you may need > [33;01m*[0m to run 'python-updater' to rebuild affected packages. > [33;01m*[0m > [33;01m*[0m For more information on PYTHON_TARGETS and python.eclass > [33;01m*[0m compatibility, please see the relevant Wiki article [1]. > [33;01m*[0m > [33;01m*[0m [1] https://wiki.gentoo.org/wiki/Project:Python/PYTHON_TARGETS > [32;01m*[0m python3_4: running distutils-r1_run_phase distutils-r1_python_compile > [32;01m*[0m python2_7: running distutils-r1_run_phase distutils-r1_python_compile >/usr/bin/python2.7 setup.py build >/usr/bin/python3.4 setup.py build >running build >running build_ext >building 'sendfile' extension >creating /var/tmp/portage/dev-python/pysendfile-2.0.0/work/pysendfile-2.0.0-python2_7/temp.linux-x86_64-2.7 >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-stack-protector -fPIC -I/usr/include/python2.7 -c sendfilemodule.c -o /var/tmp/portage/dev-python/pysendfile-2.0.0/work/pysendfile-2.0.0-python2_7/temp.linux-x86_64-2.7/sendfilemodule.o >running build >running build_ext >building 'sendfile' extension >creating /var/tmp/portage/dev-python/pysendfile-2.0.0/work/pysendfile-2.0.0-python3_4/temp.linux-x86_64-3.4 >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-stack-protector -fPIC -I/usr/include/python3.4 -c sendfilemodule.c -o /var/tmp/portage/dev-python/pysendfile-2.0.0/work/pysendfile-2.0.0-python3_4/temp.linux-x86_64-3.4/sendfilemodule.o >creating /var/tmp/portage/dev-python/pysendfile-2.0.0/work/pysendfile-2.0.0-python2_7/lib >x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -O2 -pipe -march=native -fno-stack-protector /var/tmp/portage/dev-python/pysendfile-2.0.0/work/pysendfile-2.0.0-python2_7/temp.linux-x86_64-2.7/sendfilemodule.o -L/usr/lib64 -lpython2.7 -o /var/tmp/portage/dev-python/pysendfile-2.0.0/work/pysendfile-2.0.0-python2_7/lib/sendfile.so >creating /var/tmp/portage/dev-python/pysendfile-2.0.0/work/pysendfile-2.0.0-python3_4/lib >x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -O2 -pipe -march=native -fno-stack-protector /var/tmp/portage/dev-python/pysendfile-2.0.0/work/pysendfile-2.0.0-python3_4/temp.linux-x86_64-3.4/sendfilemodule.o -L/usr/lib64 -lpython3.4 -o /var/tmp/portage/dev-python/pysendfile-2.0.0/work/pysendfile-2.0.0-python3_4/lib/sendfile.cpython-34.so >>>> Source compiled. >>>> Test phase: dev-python/pysendfile-2.0.0 > [32;01m*[0m python3_4: running distutils-r1_run_phase python_test > [32;01m*[0m python2_7: running distutils-r1_run_phase python_test >..EEEEEEEEEtest_empty_file (test_sendfile.TestSendfile) ... ok >test_invalid_offset (test_sendfile.TestSendfile) ... ok >test_non_socket (test_sendfile.TestSendfile) ... ok >test_offset_none (test_sendfile.TestSendfile) ... ok >test_offset_overflow (test_sendfile.TestSendfile) ... ok >test_send_from_certain_offset (test_sendfile.TestSendfile) ... ok >test_send_whole_file (test_sendfile.TestSendfile) ... ok >test_small_file (test_sendfile.TestSendfile) ... ...ok >test_small_file_and_offset_overflow (test_sendfile.TestSendfile) ... ok >test_big_file (test_sendfile.TestLargeFile) ... Exception in thread Thread-24: >Traceback (most recent call last): > File "/usr/lib64/python3.4/threading.py", line 920, in _bootstrap_inner > self.run() > File "/var/tmp/portage/dev-python/pysendfile-2.0.0/work/pysendfile-2.0.0/test/test_sendfile.py", line 185, in run > asyncore.loop(timeout=0.001, count=1) > File "/usr/lib64/python3.4/asyncore.py", line 212, in loop > poll_fun(timeout, map) > File "/usr/lib64/python3.4/asyncore.py", line 153, in poll > read(obj) > File "/usr/lib64/python3.4/asyncore.py", line 87, in read > obj.handle_error() > File "/usr/lib64/python3.4/asyncore.py", line 83, in read > obj.handle_read_event() > File "/usr/lib64/python3.4/asyncore.py", line 436, in handle_read_event > self.handle_accept() > File "/var/tmp/portage/dev-python/pysendfile-2.0.0/work/pysendfile-2.0.0/test/test_sendfile.py", line 190, in handle_accept > conn, addr = self.accept() >TypeError: 'NoneType' object is not iterable > >Exception in thread Thread-26: >Traceback (most recent call last): > File "/usr/lib64/python3.4/threading.py", line 920, in _bootstrap_inner > self.run() > File "/var/tmp/portage/dev-python/pysendfile-2.0.0/work/pysendfile-2.0.0/test/test_sendfile.py", line 185, in run > asyncore.loop(timeout=0.001, count=1) > File "/usr/lib64/python3.4/asyncore.py", line 212, in loop > poll_fun(timeout, map) > File "/usr/lib64/python3.4/asyncore.py", line 153, in poll > read(obj) > File "/usr/lib64/python3.4/asyncore.py", line 87, in read > obj.handle_error() > File "/usr/lib64/python3.4/asyncore.py", line 83, in read > obj.handle_read_event() > File "/usr/lib64/python3.4/asyncore.py", line 436, in handle_read_event > self.handle_accept() > File "/var/tmp/portage/dev-python/pysendfile-2.0.0/work/pysendfile-2.0.0/test/test_sendfile.py", line 190, in handle_accept > conn, addr = self.accept() >TypeError: 'NoneType' object is not iterable > >Exception in thread Thread-31: >Traceback (most recent call last): > File "/usr/lib64/python3.4/threading.py", line 920, in _bootstrap_inner > self.run() > File "/var/tmp/portage/dev-python/pysendfile-2.0.0/work/pysendfile-2.0.0/test/test_sendfile.py", line 185, in run > asyncore.loop(timeout=0.001, count=1) > File "/usr/lib64/python3.4/asyncore.py", line 212, in loop > poll_fun(timeout, map) > File "/usr/lib64/python3.4/asyncore.py", line 153, in poll > read(obj) > File "/usr/lib64/python3.4/asyncore.py", line 87, in read > obj.handle_error() > File "/usr/lib64/python3.4/asyncore.py", line 83, in read > obj.handle_read_event() > File "/usr/lib64/python3.4/asyncore.py", line 436, in handle_read_event > self.handle_accept() > File "/var/tmp/portage/dev-python/pysendfile-2.0.0/work/pysendfile-2.0.0/test/test_sendfile.py", line 190, in handle_accept > conn, addr = self.accept() >TypeError: 'NoneType' object is not iterable > >Exception in thread Thread-28: >Traceback (most recent call last): > File "/usr/lib64/python3.4/threading.py", line 920, in _bootstrap_inner > self.run() > File "/var/tmp/portage/dev-python/pysendfile-2.0.0/work/pysendfile-2.0.0/test/test_sendfile.py", line 185, in run > asyncore.loop(timeout=0.001, count=1) > File "/usr/lib64/python3.4/asyncore.py", line 212, in loop > poll_fun(timeout, map) > File "/usr/lib64/python3.4/asyncore.py", line 153, in poll > read(obj) > File "/usr/lib64/python3.4/asyncore.py", line 87, in read > obj.handle_error() > File "/usr/lib64/python3.4/asyncore.py", line 83, in read > obj.handle_read_event() > File "/usr/lib64/python3.4/asyncore.py", line 436, in handle_read_event > self.handle_accept() > File "/var/tmp/portage/dev-python/pysendfile-2.0.0/work/pysendfile-2.0.0/test/test_sendfile.py", line 190, in handle_accept > conn, addr = self.accept() >TypeError: 'NoneType' object is not iterable > >Exception in thread Thread-30: >Traceback (most recent call last): > File "/usr/lib64/python3.4/threading.py", line 920, in _bootstrap_inner > self.run() > File "/var/tmp/portage/dev-python/pysendfile-2.0.0/work/pysendfile-2.0.0/test/test_sendfile.py", line 185, in run > asyncore.loop(timeout=0.001, count=1) > File "/usr/lib64/python3.4/asyncore.py", line 212, in loop > poll_fun(timeout, map) > File "/usr/lib64/python3.4/asyncore.py", line 153, in poll > read(obj) > File "/usr/lib64/python3.4/asyncore.py", line 87, in read > obj.handle_error() > File "/usr/lib64/python3.4/asyncore.py", line 83, in read > obj.handle_read_event() > File "/usr/lib64/python3.4/asyncore.py", line 436, in handle_read_event > self.handle_accept() > File "/var/tmp/portage/dev-python/pysendfile-2.0.0/work/pysendfile-2.0.0/test/test_sendfile.py", line 190, in handle_accept > conn, addr = self.accept() >TypeError: 'NoneType' object is not iterable > >Exception in thread Thread-29: >Traceback (most recent call last): > File "/usr/lib64/python3.4/threading.py", line 920, in _bootstrap_inner > self.run() > File "/var/tmp/portage/dev-python/pysendfile-2.0.0/work/pysendfile-2.0.0/test/test_sendfile.py", line 185, in run > asyncore.loop(timeout=0.001, count=1) > File "/usr/lib64/python3.4/asyncore.py", line 212, in loop > poll_fun(timeout, map) > File "/usr/lib64/python3.4/asyncore.py", line 153, in poll > read(obj) > File "/usr/lib64/python3.4/asyncore.py", line 87, in read > obj.handle_error() > File "/usr/lib64/python3.4/asyncore.py", line 83, in read > obj.handle_read_event() > File "/usr/lib64/python3.4/asyncore.py", line 436, in handle_read_event > self.handle_accept() > File "/var/tmp/portage/dev-python/pysendfile-2.0.0/work/pysendfile-2.0.0/test/test_sendfile.py", line 190, in handle_accept > conn, addr = self.accept() >TypeError: 'NoneType' object is not iterable > >Exception in thread Thread-27: >Traceback (most recent call last): > File "/usr/lib64/python3.4/threading.py", line 920, in _bootstrap_inner > self.run() > File "/var/tmp/portage/dev-python/pysendfile-2.0.0/work/pysendfile-2.0.0/test/test_sendfile.py", line 185, in run > asyncore.loop(timeout=0.001, count=1) > File "/usr/lib64/python3.4/asyncore.py", line 212, in loop > poll_fun(timeout, map) > File "/usr/lib64/python3.4/asyncore.py", line 153, in poll > read(obj) > File "/usr/lib64/python3.4/asyncore.py", line 87, in read > obj.handle_error() > File "/usr/lib64/python3.4/asyncore.py", line 83, in read > obj.handle_read_event() > File "/usr/lib64/python3.4/asyncore.py", line 436, in handle_read_event > self.handle_accept() > File "/var/tmp/portage/dev-python/pysendfile-2.0.0/work/pysendfile-2.0.0/test/test_sendfile.py", line 190, in handle_accept > conn, addr = self.accept() >TypeError: 'NoneType' object is not iterable > >Exception in thread Thread-23: >Traceback (most recent call last): > File "/usr/lib64/python3.4/threading.py", line 920, in _bootstrap_inner > self.run() > File "/var/tmp/portage/dev-python/pysendfile-2.0.0/work/pysendfile-2.0.0/test/test_sendfile.py", line 185, in run > asyncore.loop(timeout=0.001, count=1) > File "/usr/lib64/python3.4/asyncore.py", line 212, in loop > poll_fun(timeout, map) > File "/usr/lib64/python3.4/asyncore.py", line 153, in poll > read(obj) > File "/usr/lib64/python3.4/asyncore.py", line 87, in read > obj.handle_error() > File "/usr/lib64/python3.4/asyncore.py", line 83, in read > obj.handle_read_event() > File "/usr/lib64/python3.4/asyncore.py", line 436, in handle_read_event > self.handle_accept() > File "/var/tmp/portage/dev-python/pysendfile-2.0.0/work/pysendfile-2.0.0/test/test_sendfile.py", line 190, in handle_accept > conn, addr = self.accept() >TypeError: 'NoneType' object is not iterable > >Exception in thread Thread-25: >Traceback (most recent call last): > File "/usr/lib64/python3.4/threading.py", line 920, in _bootstrap_inner > self.run() > File "/var/tmp/portage/dev-python/pysendfile-2.0.0/work/pysendfile-2.0.0/test/test_sendfile.py", line 185, in run > asyncore.loop(timeout=0.001, count=1) > File "/usr/lib64/python3.4/asyncore.py", line 212, in loop > poll_fun(timeout, map) > File "/usr/lib64/python3.4/asyncore.py", line 159, in poll > write(obj) > File "/usr/lib64/python3.4/asyncore.py", line 95, in write > obj.handle_error() > File "/usr/lib64/python3.4/asyncore.py", line 91, in write > obj.handle_write_event() > File "/usr/lib64/python3.4/asyncore.py", line 461, in handle_write_event > self.handle_write() > File "/usr/lib64/python3.4/asynchat.py", line 178, in handle_write > self.initiate_send() > File "/usr/lib64/python3.4/asynchat.py", line 250, in initiate_send > del self.producer_fifo[0] >IndexError: deque index out of range > >......test_empty_file (test_sendfile.TestSendfile) ... ok >test_invalid_offset (test_sendfile.TestSendfile) ... ok >test_non_socket (test_sendfile.TestSendfile) ... ok >test_offset_none (test_sendfile.TestSendfile) ... ok >test_offset_overflow (test_sendfile.TestSendfile) ... ok >test_send_from_certain_offset (test_sendfile.TestSendfile) ... ok >test_send_whole_file (test_sendfile.TestSendfile) ... ok >test_small_file (test_sendfile.TestSendfile) ... ok >test_small_file_and_offset_overflow (test_sendfile.TestSendfile) ... ok >test_big_file (test_sendfile.TestLargeFile) ... ok > >---------------------------------------------------------------------- >Ran 10 tests in 2.600s > >OK >. >====================================================================== >ERROR: test_empty_file (test_sendfile.TestSendfile) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pysendfile-2.0.0/work/pysendfile-2.0.0/test/test_sendfile.py", line 236, in setUp > self.file = open(TESTFN, 'rb') >FileNotFoundError: [Errno 2] No such file or directory: '$testfile' > >====================================================================== >ERROR: test_invalid_offset (test_sendfile.TestSendfile) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pysendfile-2.0.0/work/pysendfile-2.0.0/test/test_sendfile.py", line 236, in setUp > self.file = open(TESTFN, 'rb') >FileNotFoundError: [Errno 2] No such file or directory: '$testfile' > >====================================================================== >ERROR: test_non_socket (test_sendfile.TestSendfile) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pysendfile-2.0.0/work/pysendfile-2.0.0/test/test_sendfile.py", line 236, in setUp > self.file = open(TESTFN, 'rb') >FileNotFoundError: [Errno 2] No such file or directory: '$testfile' > >====================================================================== >ERROR: test_offset_none (test_sendfile.TestSendfile) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pysendfile-2.0.0/work/pysendfile-2.0.0/test/test_sendfile.py", line 236, in setUp > self.file = open(TESTFN, 'rb') >FileNotFoundError: [Errno 2] No such file or directory: '$testfile' > >====================================================================== >ERROR: test_offset_overflow (test_sendfile.TestSendfile) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pysendfile-2.0.0/work/pysendfile-2.0.0/test/test_sendfile.py", line 236, in setUp > self.file = open(TESTFN, 'rb') >FileNotFoundError: [Errno 2] No such file or directory: '$testfile' > >====================================================================== >ERROR: test_send_from_certain_offset (test_sendfile.TestSendfile) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pysendfile-2.0.0/work/pysendfile-2.0.0/test/test_sendfile.py", line 236, in setUp > self.file = open(TESTFN, 'rb') >FileNotFoundError: [Errno 2] No such file or directory: '$testfile' > >====================================================================== >ERROR: test_send_whole_file (test_sendfile.TestSendfile) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pysendfile-2.0.0/work/pysendfile-2.0.0/test/test_sendfile.py", line 236, in setUp > self.file = open(TESTFN, 'rb') >FileNotFoundError: [Errno 2] No such file or directory: '$testfile' > >====================================================================== >ERROR: test_small_file (test_sendfile.TestSendfile) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pysendfile-2.0.0/work/pysendfile-2.0.0/test/test_sendfile.py", line 236, in setUp > self.file = open(TESTFN, 'rb') >FileNotFoundError: [Errno 2] No such file or directory: '$testfile' > >====================================================================== >ERROR: test_small_file_and_offset_overflow (test_sendfile.TestSendfile) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pysendfile-2.0.0/work/pysendfile-2.0.0/test/test_sendfile.py", line 236, in setUp > self.file = open(TESTFN, 'rb') >FileNotFoundError: [Errno 2] No such file or directory: '$testfile' > >---------------------------------------------------------------------- >Ran 11 tests in 27.637s > >FAILED (errors=9) >ERROR > >====================================================================== >ERROR: test_big_file (test_sendfile.TestLargeFile) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/pysendfile-2.0.0/work/pysendfile-2.0.0/test/test_sendfile.py", line 537, in test_big_file > file_size = os.path.getsize(TESTFN3) > File "/usr/lib64/python2.7/genericpath.py", line 49, in getsize > return os.stat(filename).st_size >OSError: [Errno 2] No such file or directory: '$testfile3' > >---------------------------------------------------------------------- >Ran 10 tests in 2.869s > >FAILED (errors=1) >. >---------------------------------------------------------------------- >Ran 11 tests in 28.615s > >OK > [31;01m*[0m ERROR: dev-python/pysendfile-2.0.0::gentoo failed (test phase): > [31;01m*[0m tests failed under python3.4 > [31;01m*[0m > [31;01m*[0m Call stack: > [31;01m*[0m ebuild.sh, line 93: Called src_test > [31;01m*[0m environment, line 3660: Called distutils-r1_src_test > [31;01m*[0m environment, line 1214: Called _distutils-r1_run_foreach_impl 'python_test' > [31;01m*[0m environment, line 304: Called python_parallel_foreach_impl 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 3510: Called multibuild_parallel_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 2488: Called multibuild_foreach_variant '_multibuild_parallel' '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 2431: Called _multibuild_run '_multibuild_parallel' '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 2429: Called _multibuild_parallel '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 2479: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 733: Called distutils-r1_run_phase 'python_test' > [31;01m*[0m environment, line 1149: Called python_test > [31;01m*[0m environment, line 3554: Called die > [31;01m*[0m The specific snippet of code: > [31;01m*[0m nosetests test/test_sendfile.py || die "tests failed under ${EPYTHON}" > [31;01m*[0m > [31;01m*[0m If you need support, post the output of `emerge --info '=dev-python/pysendfile-2.0.0::gentoo'`, > [31;01m*[0m the complete build log and the output of `emerge -pqv '=dev-python/pysendfile-2.0.0::gentoo'`. >/usr/lib/portage/python3.4/isolated-functions.sh: line 195: wait: `tests failed under python3.4': not a pid or valid job spec > [31;01m*[0m The complete build log is located at '/var/log/portage/build/dev-python/pysendfile-2.0.0:20141128-110328.log'. > [31;01m*[0m For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/pysendfile-2.0.0/temp/build.log'. > [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/dev-python/pysendfile-2.0.0/temp/environment'. > [31;01m*[0m Working directory: '/var/tmp/portage/dev-python/pysendfile-2.0.0/work/pysendfile-2.0.0' > [31;01m*[0m S: '/var/tmp/portage/dev-python/pysendfile-2.0.0/work/pysendfile-2.0.0'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 530970
: 390484