* Package: dev-python/pysendfile-2.0.0  * Repository: gentoo  * Maintainer: openstack@gentoo.org  * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_4 userland_GNU  * FEATURES: 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 ... * It seems that you need to set USE_PYTHON to make sure that legacy * packages will be built with respect to PYTHON_TARGETS correctly: * * USE_PYTHON='2.7' * * Please note that after changing the USE_PYTHON variable, you may need * to run 'python-updater' to rebuild affected packages. * * For more information on PYTHON_TARGETS and python.eclass * compatibility, please see the relevant Wiki article [1]. * * [1] https://wiki.gentoo.org/wiki/Project:Python/PYTHON_TARGETS * python3_4: running distutils-r1_run_phase distutils-r1_python_compile * 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 * python3_4: running distutils-r1_run_phase python_test * 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 * ERROR: dev-python/pysendfile-2.0.0::gentoo failed (test phase): * tests failed under python3.4 * * Call stack: * ebuild.sh, line 93: Called src_test * environment, line 3660: Called distutils-r1_src_test * environment, line 1214: Called _distutils-r1_run_foreach_impl 'python_test' * environment, line 304: Called python_parallel_foreach_impl 'distutils-r1_run_phase' 'python_test' * environment, line 3510: Called multibuild_parallel_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2488: Called multibuild_foreach_variant '_multibuild_parallel' '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2431: Called _multibuild_run '_multibuild_parallel' '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2429: Called _multibuild_parallel '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2479: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' * environment, line 733: Called distutils-r1_run_phase 'python_test' * environment, line 1149: Called python_test * environment, line 3554: Called die * The specific snippet of code: * nosetests test/test_sendfile.py || die "tests failed under ${EPYTHON}" * * If you need support, post the output of `emerge --info '=dev-python/pysendfile-2.0.0::gentoo'`, * 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 * The complete build log is located at '/var/log/portage/build/dev-python/pysendfile-2.0.0:20141128-110328.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/pysendfile-2.0.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/pysendfile-2.0.0/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/pysendfile-2.0.0/work/pysendfile-2.0.0' * S: '/var/tmp/portage/dev-python/pysendfile-2.0.0/work/pysendfile-2.0.0'