<86>Jan 5 02:10:12 userdel[99191]: delete user 'rooter' <86>Jan 5 02:10:12 userdel[99191]: removed group 'rooter' owned by 'rooter' <86>Jan 5 02:10:12 userdel[99191]: removed shadow group 'rooter' owned by 'rooter' <86>Jan 5 02:10:12 groupadd[99210]: group added to /etc/group: name=rooter, GID=585 <86>Jan 5 02:10:12 groupadd[99210]: group added to /etc/gshadow: name=rooter <86>Jan 5 02:10:12 groupadd[99210]: new group: name=rooter, GID=585 <86>Jan 5 02:10:12 useradd[99225]: new user: name=rooter, UID=585, GID=585, home=/root, shell=/bin/bash <86>Jan 5 02:10:12 userdel[99234]: delete user 'builder' <86>Jan 5 02:10:12 userdel[99234]: removed group 'builder' owned by 'builder' <86>Jan 5 02:10:12 userdel[99234]: removed shadow group 'builder' owned by 'builder' <86>Jan 5 02:10:12 groupadd[99293]: group added to /etc/group: name=builder, GID=586 <86>Jan 5 02:10:12 groupadd[99293]: new group: name=builder, GID=586 <86>Jan 5 02:10:12 useradd[99312]: new user: name=builder, UID=586, GID=586, home=/usr/src, shell=/bin/bash <13>Jan 5 02:10:16 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Jan 5 02:10:16 rpmi: libexpat-2.2.4-alt1 1503305341 installed <13>Jan 5 02:10:16 rpmi: libtasn1-4.13-alt2 1521133848 installed <13>Jan 5 02:10:16 rpmi: libp11-kit-0.23.9-alt5 1525798241 installed <13>Jan 5 02:10:16 rpmi: ed-1:0.2-alt10 1449768441 installed <13>Jan 5 02:10:16 rpmi: rpm-macros-alternatives-0.4.5-alt1.1 1404382149 installed <13>Jan 5 02:10:16 rpmi: alternatives-0.4.5-alt1.1 1404382149 installed <13>Jan 5 02:10:16 rpmi: ca-certificates-2018.11.12-alt1 sisyphus.216395.300 1542114035 installed <13>Jan 5 02:10:16 rpmi: ca-trust-0.1.1-alt2 1515595785 installed <13>Jan 5 02:10:16 rpmi: p11-kit-trust-0.23.9-alt5 1525798241 installed <13>Jan 5 02:10:16 rpmi: libcrypto1.1-1.1.0j-alt1 sisyphus.216647.100 1542743840 installed <13>Jan 5 02:10:16 rpmi: libssl1.1-1.1.0j-alt1 sisyphus.216647.100 1542743840 installed <13>Jan 5 02:10:16 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Jan 5 02:10:16 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Jan 5 02:10:16 rpmi: python3-3.6.5-alt1.1 1535734400 installed <13>Jan 5 02:10:17 rpmi: python3-base-3.6.5-alt1.1 1535734400 installed <13>Jan 5 02:10:17 rpmi: libpython3-3.6.5-alt1.1 1535734400 installed <13>Jan 5 02:10:24 rpmi: python3-module-pkg_resources-1:40.5.0-alt1 sisyphus.216029.100 1541106477 installed <13>Jan 5 02:10:24 rpmi: python3-module-six-1.11.0-alt2 1535611135 installed <13>Jan 5 02:10:24 rpmi: python3-module-linecache2-1.0.0-alt1.git20150306.2.1 1517783491 installed <13>Jan 5 02:10:24 rpmi: python3-module-traceback2-1.4.0-alt2.1 1526367302 installed <13>Jan 5 02:10:24 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus.215627.200 1540831969 installed <13>Jan 5 02:10:24 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus.215627.200 1540831969 installed <13>Jan 5 02:10:24 rpmi: python3-dev-3.6.5-alt1.1 1535734400 installed <13>Jan 5 02:10:24 rpmi: python3-module-setuptools-1:40.5.0-alt1 sisyphus.216029.100 1541106477 installed <13>Jan 5 02:10:24 rpmi: python-modules-curses-2.7.15-alt1 sisyphus.217364.100 1544022396 installed <13>Jan 5 02:10:24 rpmi: libverto-0.3.0-alt1_5 1525957716 installed <13>Jan 5 02:10:24 rpmi: libkeyutils-1.6-alt2 sisyphus.217337.100 1544003165 installed <13>Jan 5 02:10:24 rpmi: libcom_err-1.44.5-alt1 sisyphus.218838.100 1546206092 installed <86>Jan 5 02:10:24 groupadd[2095]: group added to /etc/group: name=_keytab, GID=499 <86>Jan 5 02:10:24 groupadd[2095]: group added to /etc/gshadow: name=_keytab <86>Jan 5 02:10:24 groupadd[2095]: new group: name=_keytab, GID=499 <13>Jan 5 02:10:24 rpmi: libkrb5-1.16.2-alt2 sisyphus.216877.200 1543483170 installed <13>Jan 5 02:10:24 rpmi: libtirpc-1.0.3-alt1 1532008015 installed <13>Jan 5 02:10:24 rpmi: libnsl2-1.1.0-alt1_1 1511548748 installed <13>Jan 5 02:10:24 rpmi: python-modules-email-2.7.15-alt1 sisyphus.217364.100 1544022396 installed <13>Jan 5 02:10:24 rpmi: python-modules-unittest-2.7.15-alt1 sisyphus.217364.100 1544022396 installed <13>Jan 5 02:10:24 rpmi: python-modules-nis-2.7.15-alt1 sisyphus.217364.100 1544022396 installed <13>Jan 5 02:10:24 rpmi: python-modules-encodings-2.7.15-alt1 sisyphus.217364.100 1544022396 installed <13>Jan 5 02:10:25 rpmi: python-modules-2.7.15-alt1 sisyphus.217364.100 1544022396 installed <13>Jan 5 02:10:25 rpmi: python-modules-compiler-2.7.15-alt1 sisyphus.217364.100 1544022396 installed <13>Jan 5 02:10:25 rpmi: python-module-pkg_resources-1:40.5.0-alt1 sisyphus.216029.100 1541106477 installed <13>Jan 5 02:10:25 rpmi: python-modules-xml-2.7.15-alt1 sisyphus.217364.100 1544022396 installed <13>Jan 5 02:10:25 rpmi: python-modules-ctypes-2.7.15-alt1 sisyphus.217364.100 1544022396 installed <13>Jan 5 02:10:25 rpmi: python-modules-multiprocessing-2.7.15-alt1 sisyphus.217364.100 1544022396 installed <13>Jan 5 02:10:25 rpmi: python-modules-logging-2.7.15-alt1 sisyphus.217364.100 1544022396 installed <13>Jan 5 02:10:25 rpmi: python-module-six-1.11.0-alt2 1535611135 installed <13>Jan 5 02:10:25 rpmi: python-tools-2to3-2.7.15-alt1 sisyphus.217364.100 1544022396 installed <13>Jan 5 02:10:25 rpmi: python-module-linecache2-1.0.0-alt1.git20150306.2.1 1517783491 installed <13>Jan 5 02:10:25 rpmi: python-module-traceback2-1.4.0-alt2.1 1526367302 installed <13>Jan 5 02:10:25 rpmi: python-modules-hotshot-2.7.15-alt1 sisyphus.217364.100 1544022396 installed <13>Jan 5 02:10:25 rpmi: python-modules-bsddb-2.7.15-alt1 sisyphus.217364.100 1544022396 installed <13>Jan 5 02:10:25 rpmi: python-2.7.15-alt1 sisyphus.217364.100 1544022396 installed <13>Jan 5 02:10:25 rpmi: python-modules-distutils-2.7.15-alt1 sisyphus.217364.100 1544022396 installed <13>Jan 5 02:10:25 rpmi: python-strict-2.7.15-alt1 sisyphus.217364.100 1544022396 installed <13>Jan 5 02:10:25 rpmi: python-modules-json-2.7.15-alt1 sisyphus.217364.100 1544022396 installed <13>Jan 5 02:10:25 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548748 installed <13>Jan 5 02:10:25 rpmi: python-dev-2.7.15-alt1 sisyphus.217364.100 1544022396 installed <13>Jan 5 02:10:25 rpmi: python-module-setuptools-1:40.5.0-alt1 sisyphus.216029.100 1541106477 installed <13>Jan 5 02:10:25 rpmi: python-tools-pep8-1.6.2-alt1.1.1 1460077570 installed <13>Jan 5 02:10:25 rpmi: python-module-coverage-4.5.1-alt1 1527495634 installed <13>Jan 5 02:10:25 rpmi: python-module-nose-1:1.3.7-alt4.git20160316 sisyphus.213223.100 1537286725 installed <13>Jan 5 02:10:25 rpmi: python-module-unittest2-1.1.0-alt3 1526305790 installed <13>Jan 5 02:10:25 rpmi: python-module-mockito-0.7.1-alt1.1 1517772881 installed <13>Jan 5 02:10:25 rpmi: python-module-httplib2-0.9.1-alt1.2 1526985469 installed <13>Jan 5 02:10:25 rpmi: python3-tools-pep8-1.6.2-alt1.1.1 1460077570 installed <13>Jan 5 02:10:25 rpmi: python3-module-unittest2-1.1.0-alt3 1526305790 installed <13>Jan 5 02:10:25 rpmi: python3-module-coverage-4.5.1-alt1 1527495634 installed <13>Jan 5 02:10:25 rpmi: python3-module-nose-1:1.3.7-alt4.git20160316 sisyphus.213223.100 1537286725 installed <13>Jan 5 02:10:25 rpmi: python3-module-mockito-0.7.1-alt1.1 1517772881 installed <13>Jan 5 02:10:26 rpmi: python3-module-httplib2-0.9.1-alt1.2 1526985469 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/python-module-asynchttp-0.0.4-alt1.git20120701.1.1.nosrc.rpm Installing python-module-asynchttp-0.0.4-alt1.git20120701.1.1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.26557 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python-module-asynchttp-0.0.4 + echo 'Source #0 (python-module-asynchttp-0.0.4.tar):' Source #0 (python-module-asynchttp-0.0.4.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python-module-asynchttp-0.0.4.tar + cd python-module-asynchttp-0.0.4 + /bin/chmod -c -Rf u+rwX,go-w . + cp -fR . ../python3 + find ../python3 -type f -name '*.py' -exec 2to3 -w -n '{}' + RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored ../python3/tests/test_response.py RefactoringTool: Refactored ../python3/tests/test_promise.py RefactoringTool: Refactored ../python3/tests/test_http.py RefactoringTool: Refactored ../python3/test.py RefactoringTool: No changes to ../python3/setup.py RefactoringTool: Refactored ../python3/examples/simple.py RefactoringTool: Refactored ../python3/examples/client.py RefactoringTool: Refactored ../python3/examples/callback.py RefactoringTool: Refactored ../python3/asynchttp/__init__.py --- ../python3/tests/test_response.py (original) +++ ../python3/tests/test_response.py (refactored) @@ -2,7 +2,7 @@ # # -from __future__ import absolute_import + from asynchttp import Promise, Response from unittest2 import TestCase @@ -29,9 +29,9 @@ self.assertTrue('status' in response, 'status missing') self.assertEqual(response['status'], 200, 'unexpected status item') self.assertEqual(response.status, 200, 'unexpected status attr') - self.assertEqual(response.keys(), ['status'], 'unexpected keys') - self.assertEqual(response.values(), [200], 'unexpected values') - self.assertEqual(response.items(), [('status', 200)], 'unexpected values') + self.assertEqual(list(response.keys()), ['status'], 'unexpected keys') + self.assertEqual(list(response.values()), [200], 'unexpected values') + self.assertEqual(list(response.items()), [('status', 200)], 'unexpected values') self.assertEqual(len(response), 1, 'unexpected len') self.assertTrue(iter(response), 'iter failed') --- ../python3/tests/test_promise.py (original) +++ ../python3/tests/test_promise.py (refactored) @@ -2,7 +2,7 @@ # # -from __future__ import absolute_import + from asynchttp import Promise from datetime import datetime, timedelta --- ../python3/tests/test_http.py (original) +++ ../python3/tests/test_http.py (refactored) @@ -2,7 +2,7 @@ # # -from __future__ import absolute_import + from asynchttp import Http, _Worker from datetime import datetime, timedelta --- ../python3/test.py (original) +++ ../python3/test.py (refactored) @@ -1,6 +1,6 @@ #!/usr/bin/env python -from __future__ import absolute_import + import nose --- ../python3/examples/simple.py (original) +++ ../python3/examples/simple.py (refactored) @@ -2,7 +2,7 @@ # # -from __future__ import absolute_import + from asynchttp import Http from httplib2 import ServerNotFoundError @@ -32,4 +32,4 @@ try: response.status except ServerNotFoundError: - print "caught the expected exception" + print("caught the expected exception") --- ../python3/examples/client.py (original) +++ ../python3/examples/client.py (refactored) @@ -2,7 +2,7 @@ # # -from __future__ import absolute_import + from asynchttp import Http from pprint import pprint --- ../python3/examples/callback.py (original) +++ ../python3/examples/callback.py (refactored) @@ -2,7 +2,7 @@ # # -from __future__ import absolute_import + from asynchttp import Http from pprint import pprint @@ -37,5 +37,5 @@ try: response.status -except SomeException, e: - print "caught the expected exception, caused by the callback: %s" % e +except SomeException as e: + print("caught the expected exception, caused by the callback: %s" % e) --- ../python3/asynchttp/__init__.py (original) +++ ../python3/asynchttp/__init__.py (refactored) @@ -2,14 +2,14 @@ # # -from __future__ import absolute_import + __version__ = '0.0.4' __date__ = '2011-10-27' __author__ = 'Ross McFarland' __credits__ = '''Ross McFarland''' -from Queue import Queue +from queue import Queue from sys import exc_info from threading import Event, Thread from traceback import extract_stack, format_list @@ -48,7 +48,7 @@ logger.debug('%s.fullfill invoking callback', self) try: self.__callback(self) - except Exception, e: + except Exception as e: logger.exception('%s.fullfill callback threw an exception,' ' %s, original invocation:\n%s', self, e, ''.join(format_list(self.__stack))) @@ -70,8 +70,7 @@ logger.info('%s.wait: raising exception, %s, original invocation:' '\n%s', self, self.caught_exc_info[1], ''.join(format_list(self.__stack))) - raise self.caught_exc_info[0], self.caught_exc_info[1], \ - self.caught_exc_info[2] + raise self.caught_exc_info[0](sRefactoringTool: Files that were modified: RefactoringTool: ../python3/tests/test_response.py RefactoringTool: ../python3/tests/test_promise.py RefactoringTool: ../python3/tests/test_http.py RefactoringTool: ../python3/test.py RefactoringTool: ../python3/setup.py RefactoringTool: ../python3/examples/simple.py RefactoringTool: ../python3/examples/client.py RefactoringTool: ../python3/examples/callback.py RefactoringTool: ../python3/asynchttp/__init__.py elf.caught_exc_info[1]).with_traceback(self.caught_exc_info[2]) def get_response(self): self.wait() @@ -105,13 +104,13 @@ return self.__promise.get_response().__delitem__(key) def keys(self): - return self.__promise.get_response().keys() + return list(self.__promise.get_response().keys()) def values(self): - return self.__promise.get_response().values() + return list(self.__promise.get_response().values()) def items(self): - return self.__promise.get_response().items() + return list(self.__promise.get_response().items()) def __iter__(self): return self.__promise.get_response().__iter__() @@ -167,7 +166,7 @@ try: response, content = self.__handle.request(*args, **kwargs) promise.fulfill(response, content) - except Exception, e: + except Exception as e: logger.warn('%s.run: request raised exception: %s', self, e) promise.fulfill(None, None, exc_info()) @@ -205,9 +204,9 @@ def __get_client(self): logger.debug('%s.__get_client', self) client = self.Client(*self.__client_args, **self.__client_kwargs) - for method, params in self.__client_methods.items(): + for method, params in list(self.__client_methods.items()): getattr(client, method)(*params[0], **params[1]) - for attribute, value in self.__dict__.items(): + for attribute, value in list(self.__dict__.items()): # don't copy max_workers or any of our 'private' attrs if attribute != 'max_workers' \ and not attribute.startswith('_Http__'): + sed -i 's|coverage|coverage3|' ../python3/coverage.sh + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.58160 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-asynchttp-0.0.4 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + /usr/bin/python setup.py build --debug running build running build_py creating build creating build/lib creating build/lib/asynchttp copying asynchttp/__init__.py -> build/lib/asynchttp + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-asynchttp-0.0.4 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + /usr/bin/python3 setup.py build --debug running build running build_py creating build creating build/lib creating build/lib/asynchttp copying asynchttp/__init__.py -> build/lib/asynchttp + popd ~/RPM/BUILD/python-module-asynchttp-0.0.4 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.88457 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python-module-asynchttp-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python-module-asynchttp-buildroot + cd python-module-asynchttp-0.0.4 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + /usr/bin/python setup.py install --skip-build --root=/usr/src/tmp/python-module-asynchttp-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-asynchttp-buildroot creating /usr/src/tmp/python-module-asynchttp-buildroot/usr creating /usr/src/tmp/python-module-asynchttp-buildroot/usr/lib creating /usr/src/tmp/python-module-asynchttp-buildroot/usr/lib/python2.7 creating /usr/src/tmp/python-module-asynchttp-buildroot/usr/lib/python2.7/site-packages creating /usr/src/tmp/python-module-asynchttp-buildroot/usr/lib/python2.7/site-packages/asynchttp copying build/lib/asynchttp/__init__.py -> /usr/src/tmp/python-module-asynchttp-buildroot/usr/lib/python2.7/site-packages/asynchttp byte-compiling /usr/src/tmp/python-module-asynchttp-buildroot/usr/lib/python2.7/site-packages/asynchttp/__init__.py to __init__.pyc running install_egg_info running egg_info creating asynchttp.egg-info writing requirements to asynchttp.egg-info/requires.txt writing asynchttp.egg-info/PKG-INFO writing top-level names to asynchttp.egg-info/top_level.txt writing dependency_links to asynchttp.egg-info/dependency_links.txt writing manifest file 'asynchttp.egg-info/SOURCES.txt' reading manifest file 'asynchttp.egg-info/SOURCES.txt' writing manifest file 'asynchttp.egg-info/SOURCES.txt' Copying asynchttp.egg-info to /usr/src/tmp/python-module-asynchttp-buildroot/usr/lib/python2.7/site-packages/asynchttp-0.0.4-py2.7.egg-info running install_scripts + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-asynchttp-0.0.4 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + /usr/bin/python3 setup.py install --skip-build --root=/usr/src/tmp/python-module-asynchttp-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-asynchttp-buildroot/usr/lib/python3 creating /usr/src/tmp/python-module-asynchttp-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python-module-asynchttp-buildroot/usr/lib/python3/site-packages/asynchttp copying build/lib/asynchttp/__init__.py -> /usr/src/tmp/python-module-asynchttp-buildroot/usr/lib/python3/site-packages/asynchttp byte-compiling /usr/src/tmp/python-module-asynchttp-buildroot/usr/lib/python3/site-packages/asynchttp/__init__.py to __init__.cpython-36.pyc running install_egg_info running egg_info creating asynchttp.egg-info writing asynchttp.egg-info/PKG-INFO writing dependency_links to asynchttp.egg-info/dependency_links.txt writing requirements to asynchttp.egg-info/requires.txt writing top-level names to asynchttp.egg-info/top_level.txt writing manifest file 'asynchttp.egg-info/SOURCES.txt' reading manifest file 'asynchttp.egg-info/SOURCES.txt' writing manifest file 'asynchttp.egg-info/SOURCES.txt' Copying asynchttp.egg-info to /usr/src/tmp/python-module-asynchttp-buildroot/usr/lib/python3/site-packages/asynchttp-0.0.4-py3.6.egg-info running install_scripts + popd ~/RPM/BUILD/python-module-asynchttp-0.0.4 + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python-module-asynchttp-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python-module-asynchttp-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/python-module-asynchttp-buildroot/ (default) Compressing files in /usr/src/tmp/python-module-asynchttp-buildroot (auto) Adjusting library links in /usr/src/tmp/python-module-asynchttp-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python-module-asynchttp-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Bytecompiling python modules in /usr/src/tmp/python-module-asynchttp-buildroot using /usr/bin/python unlink /usr/src/tmp/python-module-asynchttp-buildroot/usr/lib/python2.7/site-packages/asynchttp/__init__.pyc compile /usr/src/tmp/python-module-asynchttp-buildroot/usr/lib/python2.7/site-packages/asynchttp/__init__.py Bytecompiling python modules with optimization in /usr/src/tmp/python-module-asynchttp-buildroot using /usr/bin/python -O compile /usr/src/tmp/python-module-asynchttp-buildroot/usr/lib/python2.7/site-packages/asynchttp/__init__.py Bytecompiling python3 modules in /usr/src/tmp/python-module-asynchttp-buildroot using /usr/bin/python3 unlink /usr/src/tmp/python-module-asynchttp-buildroot/usr/lib/python3/site-packages/asynchttp/__pycache__/__init__.cpython-36.pyc compile /usr/src/tmp/python-module-asynchttp-buildroot/usr/lib/python3/site-packages/asynchttp/__init__.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python-module-asynchttp-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python-module-asynchttp-buildroot/usr/lib/python3/site-packages/asynchttp/__init__.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python-module-asynchttp-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python-module-asynchttp-buildroot/usr/lib/python3/site-packages/asynchttp/__init__.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/asynchttp/__pycache__/__init__.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/asynchttp/__pycache__/__init__.cpython-36.pyc' './usr/lib/python3/site-packages/asynchttp/__pycache__/__init__.cpython-36.opt-2.pyc' => './usr/lib/python3/site-packages/asynchttp/__pycache__/__init__.cpython-36.opt-1.pyc' Hardlinking identical .pyc and .pyo files './usr/lib/python2.7/site-packages/asynchttp/__init__.pyo' => './usr/lib/python2.7/site-packages/asynchttp/__init__.pyc' Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.43111 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-asynchttp-0.0.4 + python setup.py test running test running egg_info deleting asynchttp.egg-info/requires.txt writing asynchttp.egg-info/PKG-INFO writing top-level names to asynchttp.egg-info/top_level.txt writing dependency_links to asynchttp.egg-info/dependency_links.txt reading manifest file 'asynchttp.egg-info/SOURCES.txt' writing manifest file 'asynchttp.egg-info/SOURCES.txt' running build_ext ---------------------------------------------------------------------- Ran 0 tests in 0.000s OK ---------------------------------------------------------------------- Ran 0 tests in 0.000s OK + python test.py ....E........ ====================================================================== ERROR: test_request_errors (test_http.HttpTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/src/RPM/BUILD/python-module-asynchttp-0.0.4/tests/test_http.py", line 237, in test_request_errors self.assertRaises(BooException, content) File "/usr/lib/python2.7/site-packages/unittest2/case.py", line 748, in assertRaises return context.handle('assertRaises', args, kwargs) File "/usr/lib/python2.7/site-packages/unittest2/case.py", line 190, in handle self.obj_name = callable_obj.__name__ File "/usr/src/RPM/BUILD/python-module-asynchttp-0.0.4/asynchttp/__init__.py", line 144, in __getattr__ return getattr(self.__promise.get_content(), name) File "/usr/src/RPM/BUILD/python-module-asynchttp-0.0.4/asynchttp/__init__.py", line 81, in get_content self.wait() File "/usr/src/RPM/BUILD/python-module-asynchttp-0.0.4/asynchttp/__init__.py", line 168, in run response, content = self.__handle.request(*args, **kwargs) File "/usr/lib/python2.7/site-packages/mockito/mocking.py", line 45, in __call__ return invoc(*params, **named_params) File "/usr/lib/python2.7/site-packages/mockito/invocation.py", line 92, in __call__ return matching_invocation.answer_first() File "/usr/lib/python2.7/site-packages/mockito/invocation.py", line 51, in answer_first return self.answers[0].answer() if self.answers is not None else None File "/usr/lib/python2.7/site-packages/mockito/invocation.py", line 205, in answer return a.answer() File "/usr/lib/python2.7/site-packages/mockito/invocation.py", line 213, in answer raise self.exception BooException: hoo! -------------------- >> begin captured logging << -------------------- asynchttp: DEBUG: .__init__ asynchttp: DEBUG: .request: args=('http://localhost',), kwargs={} asynchttp: DEBUG: .__init__ asynchttp: DEBUG: .__get_client asynchttp: DEBUG: .__init__ asynchttp: DEBUG: .run asynchttp: DEBUG: .run: work= asynchttp: WARNING: .run: request raised exception: hoo! asynchttp: DEBUG: .fullfill asynchttp: DEBUG: .run: done asynchttp: DEBUG: .wait asynchttp: INFO: .wait: raising exception, hoo!, original invocation: File "test.py", line 7, in nose.run() File "/usr/lib/python2.7/site-packages/nose/core.py", line 301, in run return TestProgram(*arg, **kw).success File "/usr/lib/python2.7/site-packages/nose/core.py", line 121, in __init__ **extra_args) File "/usr/lib64/python2.7/unittest/main.py", line 95, in __init__ self.runTests() File "/usr/lib/python2.7/site-packages/nose/core.py", line 207, in runTests result = self.testRunner.run(self.test) File "/usr/lib/python2.7/site-packages/nose/core.py", line 62, in run test(result) File "/usr/lib/python2.7/site-packages/nose/suite.py", line 177, in __call__ return self.run(*arg, **kw) File "/usr/lib/python2.7/site-packages/nose/suite.py", line 222, in run test(orig) File "/usr/lib64/python2.7/unittest/suite.py", line 70, in __call__ return self.run(*args, **kwds) File "/usr/lib/python2.7/site-packages/nose/suite.py", line 75, in run test(result) File "/usr/lib/python2.7/site-packages/nose/suite.py", line 177, in __call__ return self.run(*arg, **kw) File "/usr/lib/python2.7/site-packages/nose/suite.py", line 222, in run test(orig) File "/usr/lib/python2.7/site-packages/nose/suite.py", line 177, in __call__ return self.run(*arg, **kw) File "/usr/lib/python2.7/site-packages/nose/suite.py", line 222, in run test(orig) File "/usr/lib/python2.7/site-packages/nose/suite.py", line 177, in __call__ return self.run(*arg, **kw) File "/usr/lib/python2.7/site-packages/nose/suite.py", line 222, in run test(orig) File "/usr/lib/python2.7/site-packages/nose/case.py", line 45, in __call__ return self.run(*arg, **kwarg) File "/usr/lib/python2.7/site-packages/nose/case.py", line 133, in run self.runTest(result) File "/usr/lib/python2.7/site-packages/nose/case.py", line 151, in runTest test(result) File "/usr/lib/python2.7/site-packages/unittest2/case.py", line 673, in __call__ return self.run(*args, **kwds) File "/usr/lib/python2.7/site-packages/unittest2/case.py", line 625, in run testMethod() File "/usr/src/RPM/BUILD/python-module-asynchttp-0.0.4/tests/test_http.py", line 235, in test_request_errors response, content = h.request(url) asynchttp: DEBUG: .wait asynchttp: INFO: .wait: raising exception, hoo!, original invocation: File "test.py", line 7, in nose.run() File "/usr/lib/python2.7/site-packages/nose/core.py", line 301, in run return TestProgram(*arg, **kw).success File "/usr/lib/python2.7/site-packages/nose/core.py", line 121, in __init__ **extra_args) File "/usr/lib64/python2.7/unittest/main.py", line 95, in __init__ self.runTests() File "/usr/lib/python2.7/site-packages/nose/core.py", line 207, in runTests result = self.testRunner.run(self.test) File "/usr/lib/python2.7/site-packages/nose/core.py", line 62, in run test(result) File "/usr/lib/python2.7/site-packages/nose/suite.py", line 177, in __call__ return self.run(*arg, **kw) File "/usr/lib/python2.7/site-packages/nose/suite.py", line 222, in run test(orig) File "/usr/lib64/python2.7/unittest/suite.py", line 70, in __call__ return self.run(*args, **kwds) File "/usr/lib/python2.7/site-packages/nose/suite.py", line 75, in run test(result) File "/usr/lib/python2.7/site-packages/nose/suite.py", line 177, in __call__ return self.run(*arg, **kw) File "/usr/lib/python2.7/site-packages/nose/suite.py", line 222, in run test(orig) File "/usr/lib/python2.7/site-packages/nose/suite.py", line 177, in __call__ return self.run(*arg, **kw) File "/usr/lib/python2.7/site-packages/nose/suite.py", line 222, in run test(orig) File "/usr/lib/python2.7/site-packages/nose/suite.py", line 177, in __call__ return self.run(*arg, **kw) File "/usr/lib/python2.7/site-packages/nose/suite.py", line 222, in run test(orig) File "/usr/lib/python2.7/site-packages/nose/case.py", line 45, in __call__ return self.run(*arg, **kwarg) File "/usr/lib/python2.7/site-packages/nose/case.py", line 133, in run self.runTest(result) File "/usr/lib/python2.7/site-packages/nose/case.py", line 151, in runTest test(result) File "/usr/lib/python2.7/site-packages/unittest2/case.py", line 673, in __call__ return self.run(*args, **kwds) File "/usr/lib/python2.7/site-packages/unittest2/case.py", line 625, in run testMethod() File "/usr/src/RPM/BUILD/python-module-asynchttp-0.0.4/tests/test_http.py", line 235, in test_request_errors response, content = h.request(url) --------------------- >> end captured logging << --------------------- ---------------------------------------------------------------------- Ran 13 tests in 0.724s FAILED (errors=1) + ./coverage.sh ....E........ ====================================================================== ERROR: test_request_errors (test_http.HttpTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/src/RPM/BUILD/python-module-asynchttp-0.0.4/tests/test_http.py", line 237, in test_request_errors self.assertRaises(BooException, content) File "/usr/lib/python2.7/site-packages/unittest2/case.py", line 748, in assertRaises return context.handle('assertRaises', args, kwargs) File "/usr/lib/python2.7/site-packages/unittest2/case.py", line 190, in handle self.obj_name = callable_obj.__name__ File "/usr/src/RPM/BUILD/python-module-asynchttp-0.0.4/asynchttp/__init__.py", line 144, in __getattr__ return getattr(self.__promise.get_content(), name) File "/usr/src/RPM/BUILD/python-module-asynchttp-0.0.4/asynchttp/__init__.py", line 81, in get_content self.wait() File "/usr/src/RPM/BUILD/python-module-asynchttp-0.0.4/asynchttp/__init__.py", line 168, in run response, content = self.__handle.request(*args, **kwargs) File "/usr/lib/python2.7/site-packages/mockito/mocking.py", line 45, in __call__ return invoc(*params, **named_params) File "/usr/lib/python2.7/site-packages/mockito/invocation.py", line 92, in __call__ return matching_invocation.answer_first() File "/usr/lib/python2.7/site-packages/mockito/invocation.py", line 51, in answer_first return self.answers[0].answer() if self.answers is not None else None File "/usr/lib/python2.7/site-packages/mockito/invocation.py", line 205, in answer return a.answer() File "/usr/lib/python2.7/site-packages/mockito/invocation.py", line 213, in answer raise self.exception BooException: hoo! -------------------- >> begin captured logging << -------------------- asynchttp: DEBUG: .__init__ asynchttp: DEBUG: .request: args=('http://localhost',), kwargs={} asynchttp: DEBUG: .__init__ asynchttp: DEBUG: .__get_client asynchttp: DEBUG: .__init__ asynchttp: DEBUG: .run asynchttp: DEBUG: .run: work= asynchttp: WARNING: .run: request raised exception: hoo! asynchttp: DEBUG: .fullfill asynchttp: DEBUG: .run: done asynchttp: DEBUG: .wait asynchttp: INFO: .wait: raising exception, hoo!, original invocation: File "/usr/bin/coverage", line 11, in load_entry_point('coverage==4.5.1', 'console_scripts', 'coverage')() File "/usr/lib64/python2.7/site-packages/coverage/cmdline.py", line 753, in main status = CoverageScript().command_line(argv) File "/usr/lib64/python2.7/site-packages/coverage/cmdline.py", line 488, in command_line return self.do_run(options, args) File "/usr/lib64/python2.7/site-packages/coverage/cmdline.py", line 627, in do_run self.run_python_file(filename, args) File "/usr/lib64/python2.7/site-packages/coverage/execfile.py", line 184, in run_python_file exec(code, main_mod.__dict__) File "./test.py", line 7, in nose.run() File "/usr/lib/python2.7/site-packages/nose/core.py", line 301, in run return TestProgram(*arg, **kw).success File "/usr/lib/python2.7/site-packages/nose/core.py", line 121, in __init__ **extra_args) File "/usr/lib64/python2.7/unittest/main.py", line 95, in __init__ self.runTests() File "/usr/lib/python2.7/site-packages/nose/core.py", line 207, in runTests result = self.testRunner.run(self.test) File "/usr/lib/python2.7/site-packages/nose/core.py", line 62, in run test(result) File "/usr/lib/python2.7/site-packages/nose/suite.py", line 177, in __call__ return self.run(*arg, **kw) File "/usr/lib/python2.7/site-packages/nose/suite.py", line 222, in run test(orig) File "/usr/lib64/python2.7/unittest/suite.py", line 70, in __call__ return self.run(*args, **kwds) File "/usr/lib/python2.7/site-packages/nose/suite.py", line 75, in run test(result) File "/usr/lib/python2.7/site-packages/nose/suite.py", line 177, in __call__ return self.run(*arg, **kw) File "/usr/lib/python2.7/site-packages/nose/suite.py", line 222, in run test(orig) File "/usr/lib/python2.7/site-packages/nose/suite.py", line 177, in __call__ return self.run(*arg, **kw) File "/usr/lib/python2.7/site-packages/nose/suite.py", line 222, in run test(orig) File "/usr/lib/python2.7/site-packages/nose/suite.py", line 177, in __call__ return self.run(*arg, **kw) File "/usr/lib/python2.7/site-packages/nose/suite.py", line 222, in run test(orig) File "/usr/lib/python2.7/site-packages/nose/case.py", line 45, in __call__ return self.run(*arg, **kwarg) File "/usr/lib/python2.7/site-packages/nose/case.py", line 133, in run self.runTest(result) File "/usr/lib/python2.7/site-packages/nose/case.py", line 151, in runTest test(result) File "/usr/lib/python2.7/site-packages/unittest2/case.py", line 673, in __call__ return self.run(*args, **kwds) File "/usr/lib/python2.7/site-packages/unittest2/case.py", line 625, in run testMethod() File "/usr/src/RPM/BUILD/python-module-asynchttp-0.0.4/tests/test_http.py", line 235, in test_request_errors response, content = h.request(url) asynchttp: DEBUG: .wait asynchttp: INFO: .wait: raising exception, hoo!, original invocation: File "/usr/bin/coverage", line 11, in load_entry_point('coverage==4.5.1', 'console_scripts', 'coverage')() File "/usr/lib64/python2.7/site-packages/coverage/cmdline.py", line 753, in main status = CoverageScript().command_line(argv) File "/usr/lib64/python2.7/site-packages/coverage/cmdline.py", line 488, in command_line return self.do_run(options, args) File "/usr/lib64/python2.7/site-packages/coverage/cmdline.py", line 627, in do_run self.run_python_file(filename, args) File "/usr/lib64/python2.7/site-packages/coverage/execfile.py", line 184, in run_python_file exec(code, main_mod.__dict__) File "./test.py", line 7, in nose.run() File "/usr/lib/python2.7/site-packages/nose/core.py", line 301, in run return TestProgram(*arg, **kw).success File "/usr/lib/python2.7/site-packages/nose/core.py", line 121, in __init__ **extra_args) File "/usr/lib64/python2.7/unittest/main.py", line 95, in __init__ self.runTests() File "/usr/lib/python2.7/site-packages/nose/core.py", line 207, in runTests result = self.testRunner.run(self.test) File "/usr/lib/python2.7/site-packages/nose/core.py", line 62, in run test(result) File "/usr/lib/python2.7/site-packages/nose/suite.py", line 177, in __call__ return self.run(*arg, **kw) File "/usr/lib/python2.7/site-packages/nose/suite.py", line 222, in run test(orig) File "/usr/lib64/python2.7/unittest/suite.py", line 70, in __call__ return self.run(*args, **kwds) File "/usr/lib/python2.7/site-packages/nose/suite.py", line 75, in run test(result) File "/usr/lib/python2.7/site-packages/nose/suite.py", line 177, in __call__ return self.run(*arg, **kw) File "/usr/lib/python2.7/site-packages/nose/suite.py", line 222, in run test(orig) File "/usr/lib/python2.7/site-packages/nose/suite.py", line 177, in __call__ return self.run(*arg, **kw) File "/usr/lib/python2.7/site-packages/nose/suite.py", line 222, in run test(orig) File "/usr/lib/python2.7/site-packages/nose/suite.py", line 177, in __call__ return self.run(*arg, **kw) File "/usr/lib/python2.7/site-packages/nose/suite.py", line 222, in run test(orig) File "/usr/lib/python2.7/site-packages/nose/case.py", line 45, in __call__ return self.run(*arg, **kwarg) File "/usr/lib/python2.7/site-packages/nose/case.py", line 133, in run self.runTest(result) File "/usr/lib/python2.7/site-packages/nose/case.py", line 151, in runTest test(result) File "/usr/lib/python2.7/site-packages/unittest2/case.py", line 673, in __call__ return self.run(*args, **kwds) File "/usr/lib/python2.7/site-packages/unittest2/case.py", line 625, in run testMethod() File "/usr/src/RPM/BUILD/python-module-asynchttp-0.0.4/tests/test_http.py", line 235, in test_request_errors response, content = h.request(url) --------------------- >> end captured logging << --------------------- ---------------------------------------------------------------------- Ran 13 tests in 0.759s FAILED (errors=1) + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-asynchttp-0.0.4 + python3 setup.py test running test running egg_info writing asynchttp.egg-info/PKG-INFO writing dependency_links to asynchttp.egg-info/dependency_links.txt deleting asynchttp.egg-info/requires.txt writing top-level names to asynchttp.egg-info/top_level.txt reading manifest file 'asynchttp.egg-info/SOURCES.txt' writing manifest file 'asynchttp.egg-info/SOURCES.txt' running build_ext ---------------------------------------------------------------------- Ran 0 tests in 0.000s OK ---------------------------------------------------------------------- Ran 0 tests in 0.000s OK + python3 test.py F..FE.F...... ====================================================================== ERROR: test_request_errors (test_http.HttpTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/src/RPM/BUILD/python3/tests/test_http.py", line 237, in test_request_errors self.assertRaises(BooException, content) File "/usr/lib/python3/site-packages/unittest2/case.py", line 748, in assertRaises return context.handle('assertRaises', args, kwargs) File "/usr/lib/python3/site-packages/unittest2/case.py", line 190, in handle self.obj_name = callable_obj.__name__ File "/usr/src/RPM/BUILD/python3/asynchttp/__init__.py", line 143, in __getattr__ return getattr(self.__promise.get_content(), name) File "/usr/src/RPM/BUILD/python3/asynchttp/__init__.py", line 80, in get_content self.wait() File "/usr/src/RPM/BUILD/python3/asynchttp/__init__.py", line 73, in wait raise self.caught_exc_info[0](self.caught_exc_info[1]).with_traceback(self.caught_exc_info[2]) File "/usr/src/RPM/BUILD/python3/asynchttp/__init__.py", line 167, in run response, content = self.__handle.request(*args, **kwargs) File "/usr/lib/python3/site-packages/mockito/mocking.py", line 45, in __call__ return invoc(*params, **named_params) File "/usr/lib/python3/site-packages/mockito/invocation.py", line 92, in __call__ return matching_invocation.answer_first() File "/usr/lib/python3/site-packages/mockito/invocation.py", line 51, in answer_first return self.answers[0].answer() if self.answers is not None else None File "/usr/lib/python3/site-packages/mockito/invocation.py", line 205, in answer return a.answer() File "/usr/lib/python3/site-packages/mockito/invocation.py", line 213, in answer raise self.exception test_http.HttpTest.test_request_errors..BooException: hoo! -------------------- >> begin captured logging << -------------------- asynchttp: DEBUG: .__init__ asynchttp: DEBUG: .request: args=('http://localhost',), kwargs={} asynchttp: DEBUG: .__init__ asynchttp: DEBUG: .__get_client asynchttp: DEBUG: .__init__ asynchttp: DEBUG: .run asynchttp: DEBUG: .run: work= asynchttp: WARNING: .run: request raised exception: hoo! asynchttp: DEBUG: .fullfill asynchttp: DEBUG: .run: done asynchttp: DEBUG: .wait asynchttp: INFO: .wait: raising exception, hoo!, original invocation: File "test.py", line 7, in nose.run() File "/usr/lib/python3/site-packages/nose/core.py", line 301, in run return TestProgram(*arg, **kw).success File "/usr/lib/python3/site-packages/nose/core.py", line 121, in __init__ **extra_args) File "/usr/lib64/python3.6/unittest/main.py", line 95, in __init__ self.runTests() File "/usr/lib/python3/site-packages/nose/core.py", line 207, in runTests result = self.testRunner.run(self.test) File "/usr/lib/python3/site-packages/nose/core.py", line 62, in run test(result) File "/usr/lib/python3/site-packages/nose/suite.py", line 177, in __call__ return self.run(*arg, **kw) File "/usr/lib/python3/site-packages/nose/suite.py", line 222, in run test(orig) File "/usr/lib64/python3.6/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib/python3/site-packages/nose/suite.py", line 75, in run test(result) File "/usr/lib/python3/site-packages/nose/suite.py", line 177, in __call__ return self.run(*arg, **kw) File "/usr/lib/python3/site-packages/nose/suite.py", line 222, in run test(orig) File "/usr/lib/python3/site-packages/nose/suite.py", line 177, in __call__ return self.run(*arg, **kw) File "/usr/lib/python3/site-packages/nose/suite.py", line 222, in run test(orig) File "/usr/lib/python3/site-packages/nose/suite.py", line 177, in __call__ return self.run(*arg, **kw) File "/usr/lib/python3/site-packages/nose/suite.py", line 222, in run test(orig) File "/usr/lib/python3/site-packages/nose/case.py", line 45, in __call__ return self.run(*arg, **kwarg) File "/usr/lib/python3/site-packages/nose/case.py", line 133, in run self.runTest(result) File "/usr/lib/python3/site-packages/nose/case.py", line 151, in runTest test(result) File "/usr/lib/python3/site-packages/unittest2/case.py", line 673, in __call__ return self.run(*args, **kwds) File "/usr/lib/python3/site-packages/unittest2/case.py", line 625, in run testMethod() File "/usr/src/RPM/BUILD/python3/tests/test_http.py", line 235, in test_request_errors response, content = h.request(url) asynchttp: DEBUG: .wait asynchttp: INFO: .wait: raising exception, hoo!, original invocation: File "test.py", line 7, in nose.run() File "/usr/lib/python3/site-packages/nose/core.py", line 301, in run return TestProgram(*arg, **kw).success File "/usr/lib/python3/site-packages/nose/core.py", line 121, in __init__ **extra_args) File "/usr/lib64/python3.6/unittest/main.py", line 95, in __init__ self.runTests() File "/usr/lib/python3/site-packages/nose/core.py", line 207, in runTests result = self.testRunner.run(self.test) File "/usr/lib/python3/site-packages/nose/core.py", line 62, in run test(result) File "/usr/lib/python3/site-packages/nose/suite.py", line 177, in __call__ return self.run(*arg, **kw) File "/usr/lib/python3/site-packages/nose/suite.py", line 222, in run test(orig) File "/usr/lib64/python3.6/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib/python3/site-packages/nose/suite.py", line 75, in run test(result) File "/usr/lib/python3/site-packages/nose/suite.py", line 177, in __call__ return self.run(*arg, **kw) File "/usr/lib/python3/site-packages/nose/suite.py", line 222, in run test(orig) File "/usr/lib/python3/site-packages/nose/suite.py", line 177, in __call__ return self.run(*arg, **kw) File "/usr/lib/python3/site-packages/nose/suite.py", line 222, in run test(orig) File "/usr/lib/python3/site-packages/nose/suite.py", line 177, in __call__ return self.run(*arg, **kw) File "/usr/lib/python3/site-packages/nose/suite.py", line 222, in run test(orig) File "/usr/lib/python3/site-packages/nose/case.py", line 45, in __call__ return self.run(*arg, **kwarg) File "/usr/lib/python3/site-packages/nose/case.py", line 133, in run self.runTest(result) File "/usr/lib/python3/site-packages/nose/case.py", line 151, in runTest test(result) File "/usr/lib/python3/site-packages/unittest2/case.py", line 673, in __call__ return self.run(*args, **kwds) File "/usr/lib/python3/site-packages/unittest2/case.py", line 625, in run testMethod() File "/usr/src/RPM/BUILD/python3/tests/test_http.py", line 235, in test_request_errors response, content = h.request(url) --------------------- >> end captured logging << --------------------- ====================================================================== FAIL: test_basic (test_http.HttpTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/src/RPM/BUILD/python3/tests/test_http.py", line 70, in test_basic self.assertEqual(response, mock_response, 'received expected response') AssertionError: != {} : received expected response -------------------- >> begin captured logging << -------------------- asynchttp: DEBUG: .__init__ asynchttp: DEBUG: .request: args=('http://localhost',), kwargs={} asynchttp: DEBUG: .__init__ asynchttp: DEBUG: .__get_client asynchttp: DEBUG: .__init__ asynchttp: DEBUG: .run asynchttp: DEBUG: .run: work= asynchttp: DEBUG: .fullfill asynchttp: DEBUG: .run: done --------------------- >> end captured logging << --------------------- ====================================================================== FAIL: test_request (test_http.HttpTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/src/RPM/BUILD/python3/tests/test_http.py", line 150, in test_request 'received expected response') AssertionError: != {} : received expected response -------------------- >> begin captured logging << -------------------- asynchttp: DEBUG: .__init__ asynchttp: DEBUG: .request: args=('http://localhost',), kwargs={} asynchttp: DEBUG: .__init__ asynchttp: DEBUG: .__get_client asynchttp: DEBUG: .__init__ asynchttp: DEBUG: .run asynchttp: DEBUG: .run: work= asynchttp: DEBUG: .fullfill asynchttp: DEBUG: .run: done asynchttp: DEBUG: .request: args=('http://localhost',), kwargs={'headers': {'cache-control': 'no-cache'}, 'body': 'this is a body'} asynchttp: DEBUG: .__init__ asynchttp: DEBUG: .__get_client asynchttp: DEBUG: .__init__ asynchttp: DEBUG: .run asynchttp: DEBUG: .run: work= asynchttp: DEBUG: .fullfill asynchttp: DEBUG: .run: done --------------------- >> end captured logging << --------------------- ====================================================================== FAIL: test_workers (test_http.HttpTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/src/RPM/BUILD/python3/tests/test_http.py", line 178, in test_workers 'received expected response') AssertionError: != {} : received expected response -------------------- >> begin captured logging << -------------------- asynchttp: DEBUG: .__init__ asynchttp: DEBUG: .request: args=('http://localhost',), kwargs={} asynchttp: DEBUG: .__init__ asynchttp: DEBUG: .__get_client asynchttp: DEBUG: .__init__ asynchttp: DEBUG: .run asynchttp: DEBUG: .run: work= asynchttp: DEBUG: .request: args=('http://localhost',), kwargs={} asynchttp: DEBUG: .__init__ asynchttp: DEBUG: .__get_client asynchttp: DEBUG: .__init__ asynchttp: DEBUG: .run asynchttp: DEBUG: .run: work= asynchttp: DEBUG: .request: args=('http://localhost',), kwargs={} asynchttp: DEBUG: .__init__ asynchttp: DEBUG: .__get_client asynchttp: DEBUG: .__init__ asynchttp: DEBUG: .run asynchttp: DEBUG: .run: work= asynchttp: DEBUG: .request: args=('http://localhost',), kwargs={} asynchttp: DEBUG: .__init__ asynchttp: DEBUG: .__get_client asynchttp: DEBUG: .__init__ asynchttp: DEBUG: .run asynchttp: DEBUG: .run: work= asynchttp: DEBUG: .request: args=('http://localhost',), kwargs={} asynchttp: DEBUG: .__init__ asynchttp: DEBUG: .__get_client asynchttp: DEBUG: .__init__ asynchttp: DEBUG: .run asynchttp: DEBUG: .run: work= asynchttp: DEBUG: .request: args=('http://localhost',), kwargs={} asynchttp: DEBUG: .__init__ asynchttp: DEBUG: .request: args=('http://localhost',), kwargs={} asynchttp: DEBUG: .__init__ asynchttp: DEBUG: .request: args=('http://localhost',), kwargs={} asynchttp: DEBUG: .__init__ --------------------- >> end captured logging << --------------------- ---------------------------------------------------------------------- Ran 13 tests in 0.315s FAILED (errors=1, failures=3) + ./coverage.sh F..FE.F...... ====================================================================== ERROR: test_request_errors (test_http.HttpTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/src/RPM/BUILD/python3/tests/test_http.py", line 237, in test_request_errors self.assertRaises(BooException, content) File "/usr/lib/python3/site-packages/unittest2/case.py", line 748, in assertRaises return context.handle('assertRaises', args, kwargs) File "/usr/lib/python3/site-packages/unittest2/case.py", line 190, in handle self.obj_name = callable_obj.__name__ File "/usr/src/RPM/BUILD/python3/asynchttp/__init__.py", line 143, in __getattr__ return getattr(self.__promise.get_content(), name) File "/usr/src/RPM/BUILD/python3/asynchttp/__init__.py", line 80, in get_content self.wait() File "/usr/src/RPM/BUILD/python3/asynchttp/__init__.py", line 73, in wait raise self.caught_exc_info[0](self.caught_exc_info[1]).with_traceback(self.caught_exc_info[2]) File "/usr/src/RPM/BUILD/python3/asynchttp/__init__.py", line 167, in run response, content = self.__handle.request(*args, **kwargs) File "/usr/lib/python3/site-packages/mockito/mocking.py", line 45, in __call__ return invoc(*params, **named_params) File "/usr/lib/python3/site-packages/mockito/invocation.py", line 92, in __call__ return matching_invocation.answer_first() File "/usr/lib/python3/site-packages/mockito/invocation.py", line 51, in answer_first return self.answers[0].answer() if self.answers is not None else None File "/usr/lib/python3/site-packages/mockito/invocation.py", line 205, in answer return a.answer() File "/usr/lib/python3/site-packages/mockito/invocation.py", line 213, in answer raise self.exception test_http.HttpTest.test_request_errors..BooException: hoo! -------------------- >> begin captured logging << -------------------- asynchttp: DEBUG: .__init__ asynchttp: DEBUG: .request: args=('http://localhost',), kwargs={} asynchttp: DEBUG: .__init__ asynchttp: DEBUG: .__get_client asynchttp: DEBUG: .__init__ asynchttp: DEBUG: .run asynchttp: DEBUG: .run: work= asynchttp: WARNING: .run: request raised exception: hoo! asynchttp: DEBUG: .fullfill asynchttp: DEBUG: .run: done asynchttp: DEBUG: .wait asynchttp: INFO: .wait: raising exception, hoo!, original invocation: File "/usr/bin/coverage3", line 11, in load_entry_point('coverage==4.5.1', 'console_scripts', 'coverage')() File "/usr/lib64/python3/site-packages/coverage/cmdline.py", line 753, in main status = CoverageScript().command_line(argv) File "/usr/lib64/python3/site-packages/coverage/cmdline.py", line 488, in command_line return self.do_run(options, args) File "/usr/lib64/python3/site-packages/coverage/cmdline.py", line 627, in do_run self.run_python_file(filename, args) File "/usr/lib64/python3/site-packages/coverage/execfile.py", line 184, in run_python_file exec(code, main_mod.__dict__) File "./test.py", line 7, in nose.run() File "/usr/lib/python3/site-packages/nose/core.py", line 301, in run return TestProgram(*arg, **kw).success File "/usr/lib/python3/site-packages/nose/core.py", line 121, in __init__ **extra_args) File "/usr/lib64/python3.6/unittest/main.py", line 95, in __init__ self.runTests() File "/usr/lib/python3/site-packages/nose/core.py", line 207, in runTests result = self.testRunner.run(self.test) File "/usr/lib/python3/site-packages/nose/core.py", line 62, in run test(result) File "/usr/lib/python3/site-packages/nose/suite.py", line 177, in __call__ return self.run(*arg, **kw) File "/usr/lib/python3/site-packages/nose/suite.py", line 222, in run test(orig) File "/usr/lib64/python3.6/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib/python3/site-packages/nose/suite.py", line 75, in run test(result) File "/usr/lib/python3/site-packages/nose/suite.py", line 177, in __call__ return self.run(*arg, **kw) File "/usr/lib/python3/site-packages/nose/suite.py", line 222, in run test(orig) File "/usr/lib/python3/site-packages/nose/suite.py", line 177, in __call__ return self.run(*arg, **kw) File "/usr/lib/python3/site-packages/nose/suite.py", line 222, in run test(orig) File "/usr/lib/python3/site-packages/nose/suite.py", line 177, in __call__ return self.run(*arg, **kw) File "/usr/lib/python3/site-packages/nose/suite.py", line 222, in run test(orig) File "/usr/lib/python3/site-packages/nose/case.py", line 45, in __call__ return self.run(*arg, **kwarg) File "/usr/lib/python3/site-packages/nose/case.py", line 133, in run self.runTest(result) File "/usr/lib/python3/site-packages/nose/case.py", line 151, in runTest test(result) File "/usr/lib/python3/site-packages/unittest2/case.py", line 673, in __call__ return self.run(*args, **kwds) File "/usr/lib/python3/site-packages/unittest2/case.py", line 625, in run testMethod() File "/usr/src/RPM/BUILD/python3/tests/test_http.py", line 235, in test_request_errors response, content = h.request(url) asynchttp: DEBUG: .wait asynchttp: INFO: .wait: raising exception, hoo!, original invocation: File "/usr/bin/coverage3", line 11, in load_entry_point('coverage==4.5.1', 'console_scripts', 'coverage')() File "/usr/lib64/python3/site-packages/coverage/cmdline.py", line 753, in main status = CoverageScript().command_line(argv) File "/usr/lib64/python3/site-packages/coverage/cmdline.py", line 488, in command_line return self.do_run(options, args) File "/usr/lib64/python3/site-packages/coverage/cmdline.py", line 627, in do_run self.run_python_file(filename, args) File "/usr/lib64/python3/site-packages/coverage/execfile.py", line 184, in run_python_file exec(code, main_mod.__dict__) File "./test.py", line 7, in nose.run() File "/usr/lib/python3/site-packages/nose/core.py", line 301, in run return TestProgram(*arg, **kw).success File "/usr/lib/python3/site-packages/nose/core.py", line 121, in __init__ **extra_args) File "/usr/lib64/python3.6/unittest/main.py", line 95, in __init__ self.runTests() File "/usr/lib/python3/site-packages/nose/core.py", line 207, in runTests result = self.testRunner.run(self.test) File "/usr/lib/python3/site-packages/nose/core.py", line 62, in run test(result) File "/usr/lib/python3/site-packages/nose/suite.py", line 177, in __call__ return self.run(*arg, **kw) File "/usr/lib/python3/site-packages/nose/suite.py", line 222, in run test(orig) File "/usr/lib64/python3.6/unittest/suite.py", line 84, in __call__ return self.run(*args, **kwds) File "/usr/lib/python3/site-packages/nose/suite.py", line 75, in run test(result) File "/usr/lib/python3/site-packages/nose/suite.py", line 177, in __call__ return self.run(*arg, **kw) File "/usr/lib/python3/site-packages/nose/suite.py", line 222, in run test(orig) File "/usr/lib/python3/site-packages/nose/suite.py", line 177, in __call__ return self.run(*arg, **kw) File "/usr/lib/python3/site-packages/nose/suite.py", line 222, in run test(orig) File "/usr/lib/python3/site-packages/nose/suite.py", line 177, in __call__ return self.run(*arg, **kw) File "/usr/lib/python3/site-packages/nose/suite.py", line 222, in run test(orig) File "/usr/lib/python3/site-packages/nose/case.py", line 45, in __call__ return self.run(*arg, **kwarg) File "/usr/lib/python3/site-packages/nose/case.py", line 133, in run self.runTest(result) File "/usr/lib/python3/site-packages/nose/case.py", line 151, in runTest test(result) File "/usr/lib/python3/site-packages/unittest2/case.py", line 673, in __call__ return self.run(*args, **kwds) File "/usr/lib/python3/site-packages/unittest2/case.py", line 625, in run testMethod() File "/usr/src/RPM/BUILD/python3/tests/test_http.py", line 235, in test_request_errors response, content = h.request(url) --------------------- >> end captured logging << --------------------- ====================================================================== FAIL: test_basic (test_http.HttpTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/src/RPM/BUILD/python3/tests/test_http.py", line 70, in test_basic self.assertEqual(response, mock_response, 'received expected response') AssertionError: != {} : received expected response -------------------- >> begin captured logging << -------------------- asynchttp: DEBUG: .__init__ asynchttp: DEBUG: .request: args=('http://localhost',), kwargs={} asynchttp: DEBUG: .__init__ asynchttp: DEBUG: .__get_client asynchttp: DEBUG: .__init__ asynchttp: DEBUG: .run asynchttp: DEBUG: .run: work= asynchttp: DEBUG: .fullfill asynchttp: DEBUG: .run: done --------------------- >> end captured logging << --------------------- ====================================================================== FAIL: test_request (test_http.HttpTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/src/RPM/BUILD/python3/tests/test_http.py", line 150, in test_request 'received expected response') AssertionError: != {} : received expected response -------------------- >> begin captured logging << -------------------- asynchttp: DEBUG: .__init__ asynchttp: DEBUG: .request: args=('http://localhost',), kwargs={} asynchttp: DEBUG: .__init__ asynchttp: DEBUG: .__get_client asynchttp: DEBUG: .__init__ asynchttp: DEBUG: .run asynchttp: DEBUG: .run: work= asynchttp: DEBUG: .fullfill asynchttp: DEBUG: .run: done asynchttp: DEBUG: .request: args=('http://localhost',), kwargs={'headers': {'cache-control': 'no-cache'}, 'body': 'this is a body'} asynchttp: DEBUG: .__init__ asynchttp: DEBUG: .__get_client asynchttp: DEBUG: .__init__ asynchttp: DEBUG: .run asynchttp: DEBUG: .run: work= asynchttp: DEBUG: .fullfill asynchttp: DEBUG: .run: done --------------------- >> end captured logging << --------------------- ====================================================================== FAIL: test_workers (test_http.HttpTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/src/RPM/BUILD/python3/tests/test_http.py", line 178, in test_workers 'received expected response') AssertionError: != {} : received expected response -------------------- >> begin captured logging << -------------------- asynchttp: DEBUG: .__init__ asynchttp: DEBUG: .request: args=('http://localhost',), kwargs={} asynchttp: DEBUG: .__init__ asynchttp: DEBUG: .__get_client asynchttp: DEBUG: .__init__ asynchttp: DEBUG: .run asynchttp: DEBUG: .run: work= asynchttp: DEBUG: .request: args=('http://localhost',), kwargs={} asynchttp: DEBUG: .__init__ asynchttp: DEBUG: .__get_client asynchttp: DEBUG: .__init__ asynchttp: DEBUG: .run asynchttp: DEBUG: .run: work= asynchttp: DEBUG: .request: args=('http://localhost',), kwargs={} asynchttp: DEBUG: .__init__ asynchttp: DEBUG: .__get_client asynchttp: DEBUG: .__init__ asynchttp: DEBUG: .run asynchttp: DEBUG: .run: work= asynchttp: DEBUG: .request: args=('http://localhost',), kwargs={} asynchttp: DEBUG: .__init__ asynchttp: DEBUG: .__get_client asynchttp: DEBUG: .__init__ asynchttp: DEBUG: .run asynchttp: DEBUG: .run: work= asynchttp: DEBUG: .request: args=('http://localhost',), kwargs={} asynchttp: DEBUG: .__init__ asynchttp: DEBUG: .__get_client asynchttp: DEBUG: .__init__ asynchttp: DEBUG: .run asynchttp: DEBUG: .run: work= asynchttp: DEBUG: .request: args=('http://localhost',), kwargs={} asynchttp: DEBUG: .__init__ asynchttp: DEBUG: .request: args=('http://localhost',), kwargs={} asynchttp: DEBUG: .__init__ asynchttp: DEBUG: .request: args=('http://localhost',), kwargs={} asynchttp: DEBUG: .__init__ --------------------- >> end captured logging << --------------------- ---------------------------------------------------------------------- Ran 13 tests in 0.364s FAILED (errors=1, failures=3) + popd ~/RPM/BUILD/python-module-asynchttp-0.0.4 + exit 0 Processing files: python-module-asynchttp-0.0.4-alt1.git20120701.1.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.26318 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-asynchttp-0.0.4 + DOCDIR=/usr/src/tmp/python-module-asynchttp-buildroot/usr/share/doc/python-module-asynchttp-0.0.4 + export DOCDIR + rm -rf /usr/src/tmp/python-module-asynchttp-buildroot/usr/share/doc/python-module-asynchttp-0.0.4 + /bin/mkdir -p /usr/src/tmp/python-module-asynchttp-buildroot/usr/share/doc/python-module-asynchttp-0.0.4 + cp -prL README.rst examples /usr/src/tmp/python-module-asynchttp-buildroot/usr/share/doc/python-module-asynchttp-0.0.4 + chmod -R go-w /usr/src/tmp/python-module-asynchttp-buildroot/usr/share/doc/python-module-asynchttp-0.0.4 + chmod -R a+rX /usr/src/tmp/python-module-asynchttp-buildroot/usr/share/doc/python-module-asynchttp-0.0.4 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.PXFt8h find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.VcSPMV find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) python.req: /usr/src/tmp/python-module-asynchttp-buildroot/usr/lib/python2.7/site-packages/asynchttp/__init__.py: skipping sys Provides: python2.7(asynchttp) Requires: python2.7(httplib2), /usr/lib/python2.7/site-packages, python-modules, python2.7(logging) Processing files: python3-module-asynchttp-0.0.4-alt1.git20120701.1.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.44817 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-asynchttp-0.0.4 + DOCDIR=/usr/src/tmp/python-module-asynchttp-buildroot/usr/share/doc/python3-module-asynchttp-0.0.4 + export DOCDIR + rm -rf /usr/src/tmp/python-module-asynchttp-buildroot/usr/share/doc/python3-module-asynchttp-0.0.4 + /bin/mkdir -p /usr/src/tmp/python-module-asynchttp-buildroot/usr/share/doc/python3-module-asynchttp-0.0.4 + cp -prL README.rst examples /usr/src/tmp/python-module-asynchttp-buildroot/usr/share/doc/python3-module-asynchttp-0.0.4 + chmod -R go-w /usr/src/tmp/python-module-asynchttp-buildroot/usr/share/doc/python3-module-asynchttp-0.0.4 + chmod -R a+rX /usr/src/tmp/python-module-asynchttp-buildroot/usr/share/doc/python3-module-asynchttp-0.0.4 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Bsr0eH find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.3gU0xx find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) python3.req: /usr/src/tmp/python-module-asynchttp-buildroot/usr/lib/python3/site-packages/asynchttp/__init__.py: skipping sys Provides: python3(asynchttp) Requires: python3(httplib2) < 0, /usr/lib/python3/site-packages, python3(logging) < 0, python3(queue) < 0, python3(threading) < 0, python3(traceback) < 0 Wrote: /usr/src/RPM/RPMS/noarch/python-module-asynchttp-0.0.4-alt1.git20120701.1.1.noarch.rpm Wrote: /usr/src/RPM/RPMS/noarch/python3-module-asynchttp-0.0.4-alt1.git20120701.1.1.noarch.rpm 15.15user 1.06system 0:30.23elapsed 53%CPU (0avgtext+0avgdata 33800maxresident)k 0inputs+0outputs (0major+408841minor)pagefaults 0swaps 29.84user 4.34system 0:57.50elapsed 59%CPU (0avgtext+0avgdata 122464maxresident)k 176inputs+0outputs (0major+1050408minor)pagefaults 0swaps --- python3-module-asynchttp-0.0.4-alt1.git20120701.1.1.noarch.rpm.repo 2018-02-03 07:15:24.000000000 +0000 +++ python3-module-asynchttp-0.0.4-alt1.git20120701.1.1.noarch.rpm.hasher 2019-01-05 02:11:01.386914137 +0000 @@ -1,13 +1,13 @@ /usr/lib/python3/site-packages/asynchttp 40755 -/usr/lib/python3/site-packages/asynchttp-0.0.4-py3.5.egg-info 40755 -/usr/lib/python3/site-packages/asynchttp-0.0.4-py3.5.egg-info/PKG-INFO 100644 -/usr/lib/python3/site-packages/asynchttp-0.0.4-py3.5.egg-info/SOURCES.txt 100644 -/usr/lib/python3/site-packages/asynchttp-0.0.4-py3.5.egg-info/dependency_links.txt 100644 -/usr/lib/python3/site-packages/asynchttp-0.0.4-py3.5.egg-info/requires.txt 100644 -/usr/lib/python3/site-packages/asynchttp-0.0.4-py3.5.egg-info/top_level.txt 100644 +/usr/lib/python3/site-packages/asynchttp-0.0.4-py3.6.egg-info 40755 +/usr/lib/python3/site-packages/asynchttp-0.0.4-py3.6.egg-info/PKG-INFO 100644 +/usr/lib/python3/site-packages/asynchttp-0.0.4-py3.6.egg-info/SOURCES.txt 100644 +/usr/lib/python3/site-packages/asynchttp-0.0.4-py3.6.egg-info/dependency_links.txt 100644 +/usr/lib/python3/site-packages/asynchttp-0.0.4-py3.6.egg-info/requires.txt 100644 +/usr/lib/python3/site-packages/asynchttp-0.0.4-py3.6.egg-info/top_level.txt 100644 /usr/lib/python3/site-packages/asynchttp/__init__.py 100644 /usr/lib/python3/site-packages/asynchttp/__pycache__ 40755 -/usr/lib/python3/site-packages/asynchttp/__pycache__/__init__.cpython-35.opt-1.pyc 100644 -/usr/lib/python3/site-packages/asynchttp/__pycache__/__init__.cpython-35.opt-2.pyc 100644 -/usr/lib/python3/site-packages/asynchttp/__pycache__/__init__.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/asynchttp/__pycache__/__init__.cpython-36.opt-1.pyc 100644 +/usr/lib/python3/site-packages/asynchttp/__pycache__/__init__.cpython-36.opt-2.pyc 100644 +/usr/lib/python3/site-packages/asynchttp/__pycache__/__init__.cpython-36.pyc 100644 /usr/share/doc/python3-module-asynchttp-0.0.4 40755 @@ -26,3 +26,2 @@ Provides: python3(asynchttp) -Provides: python3.3(asynchttp) Provides: python3-module-asynchttp = 0.0.4-alt1.git20120701.1.1