<86>Feb 2 10:53:28 userdel[1975157]: delete user 'rooter' <86>Feb 2 10:53:28 userdel[1975157]: removed group 'rooter' owned by 'rooter' <86>Feb 2 10:53:28 userdel[1975157]: removed shadow group 'rooter' owned by 'rooter' <86>Feb 2 10:53:28 groupadd[1975167]: group added to /etc/group: name=rooter, GID=579 <86>Feb 2 10:53:28 groupadd[1975167]: group added to /etc/gshadow: name=rooter <86>Feb 2 10:53:28 groupadd[1975167]: new group: name=rooter, GID=579 <86>Feb 2 10:53:28 useradd[1975174]: new user: name=rooter, UID=579, GID=579, home=/root, shell=/bin/bash <86>Feb 2 10:53:28 userdel[1975187]: delete user 'builder' <86>Feb 2 10:53:28 userdel[1975187]: removed group 'builder' owned by 'builder' <86>Feb 2 10:53:28 userdel[1975187]: removed shadow group 'builder' owned by 'builder' <86>Feb 2 10:53:28 groupadd[1975246]: group added to /etc/group: name=builder, GID=580 <86>Feb 2 10:53:28 groupadd[1975246]: group added to /etc/gshadow: name=builder <86>Feb 2 10:53:28 groupadd[1975246]: new group: name=builder, GID=580 <86>Feb 2 10:53:28 useradd[1975259]: new user: name=builder, UID=580, GID=580, home=/usr/src, shell=/bin/bash <13>Feb 2 10:53:30 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Feb 2 10:53:30 rpmi: libexpat-2.2.4-alt1 1503305345 installed <13>Feb 2 10:53:30 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Feb 2 10:53:30 rpmi: libtasn1-4.14-alt1 p9+235792.100.2.1 1565425233 installed <13>Feb 2 10:53:30 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Feb 2 10:53:30 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Feb 2 10:53:30 rpmi: ca-certificates-2019.10.28-alt1 p9+240634.100.1.1 1573575926 installed <13>Feb 2 10:53:30 rpmi: ca-trust-0.1.2-alt1 p9+233349.100.1.1 1561655062 installed <13>Feb 2 10:53:30 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Feb 2 10:53:30 rpmi: libcrypto1.1-1.1.1d-alt1.1 p9+237853.200.3.1 1569251834 installed <13>Feb 2 10:53:30 rpmi: libssl1.1-1.1.1d-alt1.1 p9+237853.200.3.1 1569251834 installed <13>Feb 2 10:53:30 rpmi: python3-3.7.4-alt2 p9+239459.100.1.1 1571444790 installed <13>Feb 2 10:53:30 rpmi: libpython3-3.7.4-alt2 p9+239459.100.1.1 1571444790 installed <13>Feb 2 10:53:31 rpmi: python3-base-3.7.4-alt2 p9+239459.100.1.1 1571444790 installed <13>Feb 2 10:53:31 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Feb 2 10:53:31 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Feb 2 10:53:34 rpmi: python3-module-pkg_resources-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Feb 2 10:53:34 rpmi: python3-module-six-1.12.0-alt1 sisyphus+219665.100.2.1 1548148570 installed <13>Feb 2 10:53:35 rpmi: python3-module-linecache2-1.0.0-alt1.git20150306.2.1 sisyphus+228360.2100.5.2 1556666704 installed <13>Feb 2 10:53:35 rpmi: python3-module-traceback2-1.4.0-alt2.1 sisyphus+227534.300.1.3 1555957009 installed <13>Feb 2 10:53:35 rpmi: python-modules-curses-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>Feb 2 10:53:35 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Feb 2 10:53:35 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Feb 2 10:53:35 rpmi: python3-dev-3.7.4-alt2 p9+239459.100.1.1 1571444790 installed <13>Feb 2 10:53:35 rpmi: python3-module-setuptools-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Feb 2 10:53:35 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Feb 2 10:53:35 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512089 installed <13>Feb 2 10:53:35 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <86>Feb 2 10:53:35 groupadd[1983657]: group added to /etc/group: name=_keytab, GID=499 <86>Feb 2 10:53:35 groupadd[1983657]: group added to /etc/gshadow: name=_keytab <86>Feb 2 10:53:35 groupadd[1983657]: new group: name=_keytab, GID=499 <13>Feb 2 10:53:35 rpmi: libkrb5-1.17.1-alt1 p9+242852.100.2.1 1576572639 installed <13>Feb 2 10:53:35 rpmi: libtirpc-1.0.3-alt1 1532008017 installed <13>Feb 2 10:53:35 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Feb 2 10:53:35 rpmi: python-modules-compiler-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>Feb 2 10:53:35 rpmi: python-modules-email-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>Feb 2 10:53:35 rpmi: python-modules-unittest-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>Feb 2 10:53:35 rpmi: python-modules-encodings-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>Feb 2 10:53:35 rpmi: python-modules-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>Feb 2 10:53:35 rpmi: python-modules-nis-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>Feb 2 10:53:35 rpmi: python-module-pkg_resources-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Feb 2 10:53:35 rpmi: python-modules-xml-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>Feb 2 10:53:35 rpmi: python-modules-ctypes-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>Feb 2 10:53:35 rpmi: python-modules-multiprocessing-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>Feb 2 10:53:35 rpmi: python-modules-logging-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>Feb 2 10:53:35 rpmi: python-module-six-1.12.0-alt1 sisyphus+219665.100.2.1 1548148570 installed <13>Feb 2 10:53:35 rpmi: python-tools-2to3-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>Feb 2 10:53:35 rpmi: python-modules-hotshot-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>Feb 2 10:53:35 rpmi: python-modules-bsddb-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>Feb 2 10:53:35 rpmi: python-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>Feb 2 10:53:35 rpmi: python-modules-distutils-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>Feb 2 10:53:35 rpmi: python-strict-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867164 installed <13>Feb 2 10:53:35 rpmi: python-modules-json-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>Feb 2 10:53:35 rpmi: python-module-linecache2-1.0.0-alt1.git20150306.2.1 sisyphus+228360.2100.5.2 1556666704 installed <13>Feb 2 10:53:35 rpmi: python-module-traceback2-1.4.0-alt2.1 sisyphus+227534.300.1.3 1555957009 installed <13>Feb 2 10:53:35 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548749 installed <13>Feb 2 10:53:35 rpmi: python-dev-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>Feb 2 10:53:35 rpmi: python-module-setuptools-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Feb 2 10:53:35 rpmi: python-tools-pep8-1.6.2-alt2 sisyphus+227563.700.2.1 1556041233 installed <13>Feb 2 10:53:35 rpmi: python-module-unittest2-1.1.0-alt3 sisyphus+227535.1100.2.1 1556009290 installed <13>Feb 2 10:53:35 rpmi: python-module-coverage-4.5.3-alt1 sisyphus+228287.200.4.1 1556524564 installed <13>Feb 2 10:53:35 rpmi: python-module-nose-1:1.3.7-alt4.git20160316 sisyphus+229068.100.1.1 1557255939 installed <13>Feb 2 10:53:35 rpmi: python-module-httplib2-0.9.1-alt1.2 sisyphus+227493.1200.1.3 1555835623 installed <13>Feb 2 10:53:35 rpmi: python-module-mockito-0.7.1-alt1.1 sisyphus+227503.400.1.2 1555851496 installed <13>Feb 2 10:53:35 rpmi: python3-tools-pep8-1.6.2-alt2 sisyphus+227563.700.2.1 1556041233 installed <13>Feb 2 10:53:35 rpmi: python3-module-unittest2-1.1.0-alt3 sisyphus+227535.1100.2.1 1556009290 installed <13>Feb 2 10:53:35 rpmi: python3-module-coverage-4.5.3-alt1 sisyphus+228287.200.4.1 1556524564 installed <13>Feb 2 10:53:35 rpmi: python3-module-nose-1:1.3.7-alt4.git20160316 sisyphus+229068.100.1.1 1557255939 installed <13>Feb 2 10:53:35 rpmi: python3-module-mockito-0.7.1-alt1.1 sisyphus+227503.400.1.2 1555851496 installed <13>Feb 2 10:53:35 rpmi: python3-module-httplib2-0.9.1-alt1.2 sisyphus+227493.1200.1.3 1555835623 installed Building target platforms: i586 Building for target i586 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: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.75864 + 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.74275 + 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 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + 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 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + 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.84443 + 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 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + 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 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + 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-37.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.7.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-37.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-37.opt-1.pyc' => './usr/lib/python3/site-packages/asynchttp/__pycache__/__init__.cpython-37.pyc' './usr/lib/python3/site-packages/asynchttp/__pycache__/__init__.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/asynchttp/__pycache__/__init__.cpython-37.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.45462 + 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: .wait asynchttp: DEBUG: .run: work= asynchttp: WARNING: .run: request raised exception: hoo! asynchttp: DEBUG: .fullfill asynchttp: DEBUG: .run: done 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/lib/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/lib/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/lib/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/lib/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.695s 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: .wait asynchttp: INFO: .wait: raising exception, hoo!, original invocation: File "/usr/bin/coverage", line 11, in load_entry_point('coverage==4.5.3', 'console_scripts', 'coverage')() File "/usr/lib/python2.7/site-packages/coverage/cmdline.py", line 756, in main status = CoverageScript().command_line(argv) File "/usr/lib/python2.7/site-packages/coverage/cmdline.py", line 491, in command_line return self.do_run(options, args) File "/usr/lib/python2.7/site-packages/coverage/cmdline.py", line 630, in do_run self.run_python_file(filename, args) File "/usr/lib/python2.7/site-packages/coverage/execfile.py", line 192, 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/lib/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/lib/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.3', 'console_scripts', 'coverage')() File "/usr/lib/python2.7/site-packages/coverage/cmdline.py", line 756, in main status = CoverageScript().command_line(argv) File "/usr/lib/python2.7/site-packages/coverage/cmdline.py", line 491, in command_line return self.do_run(options, args) File "/usr/lib/python2.7/site-packages/coverage/cmdline.py", line 630, in do_run self.run_python_file(filename, args) File "/usr/lib/python2.7/site-packages/coverage/execfile.py", line 192, 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/lib/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/lib/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.719s 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/lib/python3.7/unittest/main.py", line 101, 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/lib/python3.7/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/lib/python3.7/unittest/main.py", line 101, 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/lib/python3.7/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.284s 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.3', 'console_scripts', 'coverage')() File "/usr/lib/python3/site-packages/coverage/cmdline.py", line 756, in main status = CoverageScript().command_line(argv) File "/usr/lib/python3/site-packages/coverage/cmdline.py", line 491, in command_line return self.do_run(options, args) File "/usr/lib/python3/site-packages/coverage/cmdline.py", line 630, in do_run self.run_python_file(filename, args) File "/usr/lib/python3/site-packages/coverage/execfile.py", line 192, 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/lib/python3.7/unittest/main.py", line 101, 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/lib/python3.7/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.3', 'console_scripts', 'coverage')() File "/usr/lib/python3/site-packages/coverage/cmdline.py", line 756, in main status = CoverageScript().command_line(argv) File "/usr/lib/python3/site-packages/coverage/cmdline.py", line 491, in command_line return self.do_run(options, args) File "/usr/lib/python3/site-packages/coverage/cmdline.py", line 630, in do_run self.run_python_file(filename, args) File "/usr/lib/python3/site-packages/coverage/execfile.py", line 192, 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/lib/python3.7/unittest/main.py", line 101, 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/lib/python3.7/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.340s 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.66158 + 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.NoboDs 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.Td7xgd 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.3797 + 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.j89nVP 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.OcLHRZ 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 11.16user 0.90system 0:17.00elapsed 70%CPU (0avgtext+0avgdata 24888maxresident)k 0inputs+0outputs (0major+244316minor)pagefaults 0swaps 19.25user 3.68system 0:29.62elapsed 77%CPU (0avgtext+0avgdata 115080maxresident)k 176inputs+0outputs (0major+683538minor)pagefaults 0swaps