<86>Apr 21 00:57:04 userdel[80705]: delete user 'rooter' <86>Apr 21 00:57:04 userdel[80705]: removed shadow group 'rooter' owned by 'rooter' <86>Apr 21 00:57:04 groupadd[80729]: group added to /etc/group: name=rooter, GID=573 <86>Apr 21 00:57:04 groupadd[80729]: group added to /etc/gshadow: name=rooter <86>Apr 21 00:57:04 groupadd[80729]: new group: name=rooter, GID=573 <86>Apr 21 00:57:04 useradd[80768]: new user: name=rooter, UID=573, GID=573, home=/root, shell=/bin/bash <86>Apr 21 00:57:04 userdel[80796]: delete user 'builder' <86>Apr 21 00:57:04 userdel[80796]: removed group 'builder' owned by 'builder' <86>Apr 21 00:57:04 userdel[80796]: removed shadow group 'builder' owned by 'builder' <86>Apr 21 00:57:04 groupadd[80833]: group added to /etc/group: name=builder, GID=574 <86>Apr 21 00:57:04 groupadd[80833]: group added to /etc/gshadow: name=builder <86>Apr 21 00:57:04 groupadd[80833]: new group: name=builder, GID=574 <86>Apr 21 00:57:04 useradd[80924]: new user: name=builder, UID=574, GID=574, home=/usr/src, shell=/bin/bash <13>Apr 21 00:57:08 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Apr 21 00:57:08 rpmi: libverto-0.2.6-alt1_6 1455633234 installed <13>Apr 21 00:57:08 rpmi: libtinfo-devel-5.9-alt8 1456756459 installed <13>Apr 21 00:57:08 rpmi: libncurses-devel-5.9-alt8 1456756459 installed <13>Apr 21 00:57:08 rpmi: libkeyutils-1.5.10-alt0.M80P.2 p8+216694.100.6.1 1547827915 installed <13>Apr 21 00:57:08 rpmi: libexpat-2.2.4-alt0.M80P.1 1503871120 installed <13>Apr 21 00:57:08 rpmi: libcom_err-1.42.13-alt2 1449075846 installed <13>Apr 21 00:57:08 rpmi: ca-certificates-2016.02.25-alt1 1462368370 installed <13>Apr 21 00:57:08 rpmi: libcrypto10-1.0.2n-alt0.M80P.1 1512766129 installed <13>Apr 21 00:57:08 rpmi: libssl10-1.0.2n-alt0.M80P.1 1512766129 installed <86>Apr 21 00:57:08 groupadd[95477]: group added to /etc/group: name=_keytab, GID=499 <86>Apr 21 00:57:08 groupadd[95477]: group added to /etc/gshadow: name=_keytab <86>Apr 21 00:57:08 groupadd[95477]: new group: name=_keytab, GID=499 <13>Apr 21 00:57:08 rpmi: libkrb5-1.14.6-alt1.M80P.1 1525355673 installed <13>Apr 21 00:57:09 rpmi: python3-base-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 21 00:57:09 rpmi: python3-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 21 00:57:09 rpmi: rpm-build-python3-0.1.10.10-alt1.M80P.1 1530521451 installed <13>Apr 21 00:57:09 rpmi: libpython3-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 21 00:57:09 rpmi: python3-module-py-1.4.34-alt0.M80P.1 1503506764 installed <13>Apr 21 00:57:09 rpmi: python-modules-encodings-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 00:57:10 rpmi: python3-dev-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 21 00:57:10 rpmi: python3-module-setuptools-1:18.5-alt0.M80P.1 1497527461 installed <13>Apr 21 00:57:10 rpmi: python3-module-pytest-3.2.1-alt0.M80P.1 1503499784 installed <13>Apr 21 00:57:10 rpmi: python-modules-compiler-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 00:57:10 rpmi: python3-module-nose-1:1.3.7-alt1.git20160316.1 1460404907 installed <13>Apr 21 00:57:10 rpmi: python-modules-email-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 00:57:10 rpmi: python-modules-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 00:57:10 rpmi: python-modules-ctypes-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 00:57:10 rpmi: python-modules-multiprocessing-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 00:57:10 rpmi: python-modules-logging-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 00:57:10 rpmi: python-modules-unittest-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 00:57:10 rpmi: python-tools-2to3-2.7.11-alt6.M80P.1 1527682470 installed Installing python3-module-fudge-1.0.3-alt1.1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.44793 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python3-module-fudge-1.0.3 + echo 'Source #0 (python3-module-fudge-1.0.3.tar):' Source #0 (python3-module-fudge-1.0.3.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python3-module-fudge-1.0.3.tar + cd python3-module-fudge-1.0.3 + /bin/chmod -c -Rf u+rwX,go-w . + find -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: No changes to ./setup.py RefactoringTool: No changes to ./javascript/fudge/testserver.py RefactoringTool: Refactored ./fudge/util.py RefactoringTool: Refactored ./fudge/tests/test_registry.py RefactoringTool: Refactored ./fudge/tests/test_patcher.py RefactoringTool: No changes to ./fudge/tests/test_inspector_import_all.py RefactoringTool: Refactored ./fudge/tests/test_inspector.py --- ./fudge/util.py (original) +++ ./fudge/util.py (refactored) @@ -30,7 +30,7 @@ """Returns list of key=val pairs formatted for inclusion in an informative text string. """ - items = dict_vals.items() + items = list(dict_vals.items()) if not items: return [fmt_val(None, shorten=shorten)] return ["%s=%s" % (k, fmt_val(v, shorten=shorten)) for k,v in items] --- ./fudge/tests/test_registry.py (original) +++ ./fudge/tests/test_registry.py (refactored) @@ -85,13 +85,13 @@ eq_(len(self.reg.get_expected_calls()), 1) exp_order = ExpectedCallOrder(self.fake) self.reg.remember_expected_call_order(exp_order) - eq_(self.reg.get_expected_call_order().keys(), [self.fake]) + eq_(list(self.reg.get_expected_call_order().keys()), [self.fake]) fudge.clear_expectations() eq_(len(self.reg.get_expected_calls()), 0, "clear_expectations() should reset expectations") - eq_(len(self.reg.get_expected_call_order().keys()), 0, + eq_(len(list(self.reg.get_expected_call_order().keys())), 0, "clear_expectations() should reset expected call order") def test_multithreading(self): @@ -114,7 +114,7 @@ exp_order = ExpectedCallOrder(self.fake) reg.remember_expected_call_order(exp_order) - eq_(len(reg.get_expected_call_order().keys()), 1) + eq_(len(list(reg.get_expected_call_order().keys())), 1) # registered first time on __init__ : exp = ExpectedCall(self.fake, 'callMe', call_order=exp_order) @@ -131,7 +131,7 @@ fudge.verify() fudge.clear_expectations() - except Exception, er: + except Exception as er: thread_run.errors.append(er) raise finally: --- ./fudge/tests/test_patcher.py (original) +++ ./fudge/tests/test_patcher.py (refactored) @@ -1,4 +1,4 @@ -from __future__ import with_statement + import inspect import unittest --- ./fudge/tests/test_inspector.py (original) +++ ./fudge/tests/test_inspector.py (refactored) @@ -129,9 +129,9 @@ eq_(repr(o), "arg.has_attr(one=1, two='two')") def test_objectlike_unicode(self): - o = inspector.HasAttr(one=1, ivan=u"Ivan_Krsti\u0107") + o = inspector.HasAttr(one=1, ivan="Ivan_Krsti\u0107") assert repr(o).startswith("arg.has_attr(ivan=") - assert repr(o).endswith("'Ivan_Krsti\u0107', one=1)") + assert repr(o).endswith("'Ivan_Krsti\\u0107', one=1)") def test_objectlike_repr_long_val(self): o = inspector.HasAttr( @@ -154,26 +154,26 @@ db.execute("select from") def test_startswith_ok_uni(self): - db = Fake("db").expects("execute").with_args(arg.startswith(u"Ivan_Krsti\u0107")) - db.execute(u"Ivan_Krsti\u0107(); foo();") + db = Fake("db").expects("execute").with_args(arg.startswith("Ivan_Krsti\u0107")) + db.execute("Ivan_Krsti\u0107(); foo();") def test_startswith_unicode(self): - p = inspector.Startswith(u"Ivan_Krsti\u0107") + p = inspector.Startswith("Ivan_Krsti\u0107") assert repr(p).startswith("arg.startswith(") - assert repr(p).endswith("'Ivan_Krsti\u0107')") + assert repr(p).endswith("'Ivan_Krsti\\u0107')") def test_endswith_ok(self): db = Fake("db").expects("execute").with_args(arg.endswith("values (1,2,3,4)")) db.execute("insert into foo values (1,2,3,4)") def test_endswith_ok_uni(self): - db = Fake("db").expects("execute").with_args(arg.endswith(u"Ivan Krsti\u0107")) - db.execute(u"select Ivan Krsti\u0107") + db = Fake("db").expects("execute").with_args(arg.endswith("Ivan Krsti\u0107")) + db.execute("select Ivan Krsti\u0107") def test_endswith_unicode(self): - p = inspector.Endswith(u"Ivan_Krsti\u0107") + RefactoringTool: No changes to ./fudge/tests/test_import_all.py RefactoringTool: Refactored ./fudge/tests/test_fudge.py RefactoringTool: Refactored ./fudge/patcher.py RefactoringTool: Refactored ./fudge/inspector.py RefactoringTool: No changes to ./fudge/exc.py RefactoringTool: Refactored ./fudge/__init__.py p = inspector.Endswith("Ivan_Krsti\u0107") assert repr(p).startswith("arg.endswith(") - assert repr(p).endswith("'Ivan_Krsti\u0107')") + assert repr(p).endswith("'Ivan_Krsti\\u0107')") def test_startswith_repr(self): p = inspector.Startswith("_start") @@ -246,9 +246,9 @@ eq_(repr(c), "arg.contains(':part:')") def test_unicode(self): - c = inspector.Contains(u"Ivan_Krsti\u0107") + c = inspector.Contains("Ivan_Krsti\u0107") assert repr(c).startswith("arg.contains(") - assert repr(c).endswith("'Ivan_Krsti\u0107')") + assert repr(c).endswith("'Ivan_Krsti\\u0107')") class TestMakeValueTest(unittest.TestCase): --- ./fudge/tests/test_fudge.py (original) +++ ./fudge/tests/test_fudge.py (refactored) @@ -1,4 +1,4 @@ -from __future__ import with_statement + import sys import unittest @@ -76,7 +76,7 @@ ) try: fake.set_bits() - except AssertionError, exc: + except AssertionError as exc: eq_(str(exc), "fake:widget.set_bits('123456789101112131415161718192021222324252627...') " "was called unexpectedly with args ()") @@ -179,7 +179,7 @@ try: # this should not be shortened but the above arg spec should: fake.set_bits("99999999999999999999999999999999999999999999999999999999") - except AssertionError, exc: + except AssertionError as exc: eq_(str(exc), "fake:widget.set_bits('123456789101112131415161718192021222324252627...') " "was called unexpectedly with args " @@ -194,7 +194,7 @@ try: # this should not be shortened but the above arg spec should: fake.set_bits(newbits="99999999999999999999999999999999999999999999999999999999") - except AssertionError, exc: + except AssertionError as exc: eq_(str(exc), "fake:widget.set_bits(newbits='123456789101112131415161718192021222324252627...') " "was called unexpectedly with args " --- ./fudge/patcher.py (original) +++ ./fudge/patcher.py (refactored) @@ -80,7 +80,7 @@ except: etype, val, tb = sys.exc_info() self.__exit__(etype, val, tb) - raise etype, val, tb + raise etype(val).with_traceback(tb) else: self.__exit__(None, None, None) return value @@ -239,7 +239,7 @@ 'clean' """ - if isinstance(obj, (str, unicode)): + if isinstance(obj, str): obj_path = adjusted_path = obj done = False exc = None @@ -259,7 +259,7 @@ # We're at the top level module and it doesn't exist. # Raise the first exception since it will make more sense: etype, val, tb = exc - raise etype, val, tb + raise etype(val).with_traceback(tb) if not adjusted_path.count('.'): at_top_level = True for part in obj_path.split('.')[1:]: --- ./fudge/inspector.py (original) +++ ./fudge/inspector.py (refactored) @@ -505,7 +505,7 @@ return self._make_argspec(fmt_val(self.part)) def stringlike(self, value): - if isinstance(value, (str, unicode)): + if isinstance(value, str): return value else: return str(value) @@ -530,7 +530,7 @@ return self._make_argspec(", ".join(sorted(fmt_dict_vals(self.attributes)))) def __eq__(self, other): - for name, value in self.attributes.items(): + for name, value in list(self.attributes.items()): if not hasattr(other, name): return False if getattr(other, name) != value: --- ./fudge/__init__.py (original) +++ ./fudge/__init__.py (refactored) @@ -49,7 +49,7 @@ self.clear_actual_calls() for stack in self.call_stacks: stack.reset() - for fake, call_order in self.get_exRefactoringTool: No changes to ./docs/conf.py RefactoringTool: No changes to ./docs/_doctest_support/oauthtwitter/__init__.py RefactoringTool: No changes to ./docs/_doctest_support/auth/__init__.py RefactoringTool: Files that were modified: RefactoringTool: ./setup.py RefactoringTool: ./javascript/fudge/testserver.py RefactoringTool: ./fudge/util.py RefactoringTool: ./fudge/tests/test_registry.py RefactoringTool: ./fudge/tests/test_patcher.py RefactoringTool: ./fudge/tests/test_inspector_import_all.py RefactoringTool: ./fudge/tests/test_inspector.py RefactoringTool: ./fudge/tests/test_import_all.py RefactoringTool: ./fudge/tests/test_fudge.py RefactoringTool: ./fudge/patcher.py RefactoringTool: ./fudge/inspector.py RefactoringTool: ./fudge/exc.py RefactoringTool: ./fudge/__init__.py RefactoringTool: ./docs/conf.py RefactoringTool: ./docs/_doctest_support/oauthtwitter/__init__.py RefactoringTool: ./docs/_doctest_support/auth/__init__.py pected_call_order().items(): + for fake, call_order in list(self.get_expected_call_order().items()): call_order.reset_calls() def clear_expectations(self): @@ -94,7 +94,7 @@ for exp in self.get_expected_calls(): exp.assert_called() exp.assert_times_called() - for fake, call_order in self.get_expected_call_order().items(): + for fake, call_order in list(self.get_expected_call_order().items()): call_order.assert_order_met(finalize=True) finally: self.clear_calls() @@ -305,7 +305,7 @@ # i.e. keyword args that are only checked if the call provided them if self.expected_matching_kwargs: for expected_arg, expected_value in \ - self.expected_matching_kwargs.items(): + list(self.expected_matching_kwargs.items()): if expected_arg in kwargs: if expected_value != kwargs[expected_arg]: raise AssertionError( @@ -340,13 +340,13 @@ if self.expected_kwarg_count is None: self.expected_kwarg_count = 0 - if len(kwargs.keys()) != self.expected_kwarg_count: + if len(list(kwargs.keys())) != self.expected_kwarg_count: raise AssertionError( "%s was called with %s keyword arg(s) but expected %s" % ( - self, len(kwargs.keys()), self.expected_kwarg_count)) + self, len(list(kwargs.keys())), self.expected_kwarg_count)) if self.unexpected_kwargs: - for un_key, un_val in self.unexpected_kwargs.items(): + for un_key, un_val in list(self.unexpected_kwargs.items()): if un_key in kwargs and kwargs[un_key] == un_val: raise AssertionError( "%s was called unexpectedly with kwarg %s=%s" % + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.58349 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-fudge-1.0.3 + CFLAGS='-pipe -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -Wall -g -O2' + export FFLAGS + python3 setup.py build --debug running build running build_py creating build creating build/lib creating build/lib/fudge copying fudge/util.py -> build/lib/fudge copying fudge/patcher.py -> build/lib/fudge copying fudge/inspector.py -> build/lib/fudge copying fudge/exc.py -> build/lib/fudge copying fudge/__init__.py -> build/lib/fudge creating build/lib/fudge/tests copying fudge/tests/test_registry.py -> build/lib/fudge/tests copying fudge/tests/test_patcher.py -> build/lib/fudge/tests copying fudge/tests/test_inspector_import_all.py -> build/lib/fudge/tests copying fudge/tests/test_inspector.py -> build/lib/fudge/tests copying fudge/tests/test_import_all.py -> build/lib/fudge/tests copying fudge/tests/test_fudge.py -> build/lib/fudge/tests copying fudge/tests/_py3_suite.py -> build/lib/fudge/tests copying fudge/tests/__init__.py -> build/lib/fudge/tests creating build/lib/fudge/tests/support copying fudge/tests/support/_for_patch.py -> build/lib/fudge/tests/support copying fudge/tests/support/__init__.py -> build/lib/fudge/tests/support running egg_info writing dependency_links to fudge_je.egg-info/dependency_links.txt writing fudge_je.egg-info/PKG-INFO writing top-level names to fudge_je.egg-info/top_level.txt reading manifest file 'fudge_je.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.txt' under directory 'javascript/fudge' no previously-included directories found matching 'docs/_build' writing manifest file 'fudge_je.egg-info/SOURCES.txt' Fixing build/lib/fudge/util.py build/lib/fudge/patcher.py build/lib/fudge/inspector.py build/lib/fudge/exc.py build/lib/fudge/__init__.py build/lib/fudge/tests/test_registry.py build/lib/fudge/tests/test_patcher.py build/lib/fudge/tests/test_inspector_import_all.py build/lib/fudge/tests/test_inspector.py build/lib/fudge/tests/test_import_all.py build/lib/fudge/tests/test_fudge.py build/lib/fudge/tests/_py3_suite.py build/lib/fudge/tests/__init__.py build/lib/fudge/tests/support/_for_patch.py build/lib/fudge/tests/support/__init__.py Skipping optional fixer: buffer Skipping optional fixer: idioms Skipping optional fixer: set_literal Skipping optional fixer: ws_comma Fixing build/lib/fudge/util.py build/lib/fudge/patcher.py build/lib/fudge/inspector.py build/lib/fudge/exc.py build/lib/fudge/__init__.py build/lib/fudge/tests/test_registry.py build/lib/fudge/tests/test_patcher.py build/lib/fudge/tests/test_inspector_import_all.py build/lib/fudge/tests/test_inspector.py build/lib/fudge/tests/test_import_all.py build/lib/fudge/tests/test_fudge.py build/lib/fudge/tests/_py3_suite.py build/lib/fudge/tests/__init__.py build/lib/fudge/tests/support/_for_patch.py build/lib/fudge/tests/support/__init__.py Skipping optional fixer: buffer Skipping optional fixer: idioms Skipping optional fixer: set_literal Skipping optional fixer: ws_comma + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.19083 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python3-module-fudge-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python3-module-fudge-buildroot + cd python3-module-fudge-1.0.3 + python3 setup.py install --skip-build --root=/usr/src/tmp/python3-module-fudge-buildroot --force running install running install_lib creating /usr/src/tmp/python3-module-fudge-buildroot creating /usr/src/tmp/python3-module-fudge-buildroot/usr creating /usr/src/tmp/python3-module-fudge-buildroot/usr/lib creating /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3 creating /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge creating /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests creating /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests/support copying build/lib/fudge/tests/support/__init__.py -> /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests/support copying build/lib/fudge/tests/support/_for_patch.py -> /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests/support copying build/lib/fudge/tests/__init__.py -> /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests copying build/lib/fudge/tests/_py3_suite.py -> /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests copying build/lib/fudge/tests/test_fudge.py -> /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests copying build/lib/fudge/tests/test_import_all.py -> /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests copying build/lib/fudge/tests/test_inspector.py -> /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests copying build/lib/fudge/tests/test_inspector_import_all.py -> /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests copying build/lib/fudge/tests/test_patcher.py -> /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests copying build/lib/fudge/tests/test_registry.py -> /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests copying build/lib/fudge/__init__.py -> /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge copying build/lib/fudge/exc.py -> /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge copying build/lib/fudge/inspector.py -> /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge copying build/lib/fudge/patcher.py -> /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge copying build/lib/fudge/util.py -> /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge byte-compiling /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests/support/__init__.py to __init__.cpython-35.pyc byte-compiling /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests/support/_for_patch.py to _for_patch.cpython-35.pyc byte-compiling /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests/__init__.py to __init__.cpython-35.pyc byte-compiling /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests/_py3_suite.py to _py3_suite.cpython-35.pyc byte-compiling /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests/test_fudge.py to test_fudge.cpython-35.pyc byte-compiling /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests/test_import_all.py to test_import_all.cpython-35.pyc byte-compiling /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests/test_inspector.py to test_inspector.cpython-35.pyc byte-compiling /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests/test_inspector_import_all.py to test_inspector_import_all.cpython-35.pyc byte-compiling /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests/test_patcher.py to test_patcher.cpython-35.pyc byte-compiling /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests/test_registry.py to test_registry.cpython-35.pyc byte-compiling /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/__init__.py to __init__.cpython-35.pyc byte-compiling /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/exc.py to exc.cpython-35.pyc byte-compiling /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/inspector.py to inspector.cpython-35.pyc byte-compiling /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/patcher.py to patcher.cpython-35.pyc byte-compiling /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/util.py to util.cpython-35.pyc running install_egg_info running egg_info writing top-level names to fudge_je.egg-info/top_level.txt writing fudge_je.egg-info/PKG-INFO writing dependency_links to fudge_je.egg-info/dependency_links.txt reading manifest file 'fudge_je.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.txt' under directory 'javascript/fudge' no previously-included directories found matching 'docs/_build' writing manifest file 'fudge_je.egg-info/SOURCES.txt' Copying fudge_je.egg-info to /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge_je-1.0.3-py3.5.egg-info running install_scripts + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python3-module-fudge-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python3-module-fudge-buildroot (binconfig,pkgconfig,libtool,desktop) Compressing files in /usr/src/tmp/python3-module-fudge-buildroot (auto) Adjusting library links in /usr/src/tmp/python3-module-fudge-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python3-module-fudge-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Bytecompiling python modules in /usr/src/tmp/python3-module-fudge-buildroot using /usr/bin/python Bytecompiling python modules with optimization in /usr/src/tmp/python3-module-fudge-buildroot using /usr/bin/python -O Bytecompiling python3 modules in /usr/src/tmp/python3-module-fudge-buildroot using python3 unlink /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/__pycache__/__init__.cpython-35.pyc unlink /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/__pycache__/exc.cpython-35.pyc unlink /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/__pycache__/inspector.cpython-35.pyc unlink /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/__pycache__/patcher.cpython-35.pyc unlink /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/__pycache__/util.cpython-35.pyc unlink /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests/__pycache__/__init__.cpython-35.pyc unlink /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests/__pycache__/_py3_suite.cpython-35.pyc unlink /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests/__pycache__/test_fudge.cpython-35.pyc unlink /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests/__pycache__/test_import_all.cpython-35.pyc unlink /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests/__pycache__/test_inspector.cpython-35.pyc unlink /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests/__pycache__/test_inspector_import_all.cpython-35.pyc unlink /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests/__pycache__/test_patcher.cpython-35.pyc unlink /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests/__pycache__/test_registry.cpython-35.pyc unlink /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests/support/__pycache__/__init__.cpython-35.pyc unlink /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests/support/__pycache__/_for_patch.cpython-35.pyc compile /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests/support/__init__.py compile /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests/support/_for_patch.py compile /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests/__init__.py compile /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests/_py3_suite.py compile /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests/test_fudge.py compile /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests/test_import_all.py compile /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests/test_inspector.py compile /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests/test_inspector_import_all.py compile /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests/test_patcher.py compile /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests/test_registry.py compile /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/__init__.py compile /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/exc.py compile /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/inspector.py compile /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/patcher.py compile /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/util.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python3-module-fudge-buildroot using python3 -O compile /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests/support/__init__.py compile /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests/support/_for_patch.py compile /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests/__init__.py compile /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests/_py3_suite.py compile /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests/test_fudge.py compile /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests/test_import_all.py compile /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests/test_inspector.py compile /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests/test_inspector_import_all.py compile /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests/test_patcher.py compile /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests/test_registry.py compile /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/__init__.py compile /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/exc.py compile /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/inspector.py compile /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/patcher.py compile /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/util.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python3-module-fudge-buildroot using python3 -OO compile /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests/support/__init__.py compile /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests/support/_for_patch.py compile /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests/__init__.py compile /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests/_py3_suite.py compile /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests/test_fudge.py compile /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests/test_import_all.py compile /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests/test_inspector.py compile /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests/test_inspector_import_all.py compile /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests/test_patcher.py compile /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/tests/test_registry.py compile /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/__init__.py compile /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/exc.py compile /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/inspector.py compile /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/patcher.py compile /usr/src/tmp/python3-module-fudge-buildroot/usr/lib/python3/site-packages/fudge/util.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/fudge/__pycache__/util.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/fudge/__pycache__/util.cpython-35.pyc' './usr/lib/python3/site-packages/fudge/__pycache__/patcher.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/fudge/__pycache__/patcher.cpython-35.pyc' './usr/lib/python3/site-packages/fudge/__pycache__/inspector.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/fudge/__pycache__/inspector.cpython-35.pyc' './usr/lib/python3/site-packages/fudge/__pycache__/exc.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/fudge/__pycache__/exc.cpython-35.pyc' './usr/lib/python3/site-packages/fudge/__pycache__/__init__.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/fudge/__pycache__/__init__.cpython-35.pyc' './usr/lib/python3/site-packages/fudge/tests/__pycache__/test_registry.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/fudge/tests/__pycache__/test_registry.cpython-35.pyc' './usr/lib/python3/site-packages/fudge/tests/__pycache__/test_registry.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/fudge/tests/__pycache__/test_registry.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/fudge/tests/__pycache__/test_patcher.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/fudge/tests/__pycache__/test_patcher.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/fudge/tests/__pycache__/test_inspector_import_all.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/fudge/tests/__pycache__/test_inspector_import_all.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/fudge/tests/__pycache__/test_inspector.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/fudge/tests/__pycache__/test_inspector.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/fudge/tests/__pycache__/test_import_all.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/fudge/tests/__pycache__/test_import_all.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/fudge/tests/__pycache__/test_fudge.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/fudge/tests/__pycache__/test_fudge.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/fudge/tests/__pycache__/_py3_suite.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/fudge/tests/__pycache__/_py3_suite.cpython-35.pyc' './usr/lib/python3/site-packages/fudge/tests/__pycache__/_py3_suite.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/fudge/tests/__pycache__/_py3_suite.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/fudge/tests/__pycache__/__init__.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/fudge/tests/__pycache__/__init__.cpython-35.pyc' './usr/lib/python3/site-packages/fudge/tests/__pycache__/__init__.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/fudge/tests/__pycache__/__init__.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/fudge/tests/support/__pycache__/_for_patch.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/fudge/tests/support/__pycache__/_for_patch.cpython-35.pyc' './usr/lib/python3/site-packages/fudge/tests/support/__pycache__/_for_patch.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/fudge/tests/support/__pycache__/_for_patch.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/fudge/tests/support/__pycache__/__init__.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/fudge/tests/support/__pycache__/__init__.cpython-35.pyc' './usr/lib/python3/site-packages/fudge/tests/support/__pycache__/__init__.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/fudge/tests/support/__pycache__/__init__.cpython-35.opt-1.pyc' Hardlinking identical .pyc and .pyo files Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.75298 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-fudge-1.0.3 + python3 setup.py test running test running build_py running egg_info writing dependency_links to fudge_je.egg-info/dependency_links.txt writing top-level names to fudge_je.egg-info/top_level.txt writing fudge_je.egg-info/PKG-INFO reading manifest file 'fudge_je.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.txt' under directory 'javascript/fudge' no previously-included directories found matching 'docs/_build' writing manifest file 'fudge_je.egg-info/SOURCES.txt' running egg_info creating /usr/src/RPM/BUILD/python3-module-fudge-1.0.3/build/lib/fudge_je.egg-info writing dependency_links to /usr/src/RPM/BUILD/python3-module-fudge-1.0.3/build/lib/fudge_je.egg-info/dependency_links.txt writing top-level names to /usr/src/RPM/BUILD/python3-module-fudge-1.0.3/build/lib/fudge_je.egg-info/top_level.txt writing /usr/src/RPM/BUILD/python3-module-fudge-1.0.3/build/lib/fudge_je.egg-info/PKG-INFO writing manifest file '/usr/src/RPM/BUILD/python3-module-fudge-1.0.3/build/lib/fudge_je.egg-info/SOURCES.txt' reading manifest file '/usr/src/RPM/BUILD/python3-module-fudge-1.0.3/build/lib/fudge_je.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.txt' under directory 'javascript/fudge' no previously-included directories found matching 'docs/_build' writing manifest file '/usr/src/RPM/BUILD/python3-module-fudge-1.0.3/build/lib/fudge_je.egg-info/SOURCES.txt' running build_ext Traceback (most recent call last): File "setup.py", line 70, in **extra_setup File "/usr/lib64/python3.5/distutils/core.py", line 148, in setup dist.run_commands() File "/usr/lib64/python3.5/distutils/dist.py", line 955, in run_commands self.run_command(cmd) File "/usr/lib64/python3.5/distutils/dist.py", line 974, in run_command cmd_obj.run() File "/usr/lib/python3/site-packages/setuptools/command/test.py", line 151, in run self.with_project_on_sys_path(self.run_tests) File "/usr/lib/python3/site-packages/setuptools/command/test.py", line 127, in with_project_on_sys_path func() File "/usr/lib/python3/site-packages/setuptools/command/test.py", line 158, in run_tests module = self.test_suite.split('.')[0] AttributeError: 'NoneType' object has no attribute 'split' error: Bad exit status from /usr/src/tmp/rpm-tmp.75298 (%check) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.75298 (%check) Command exited with non-zero status 1 6.65user 0.42system 0:08.37elapsed 84%CPU (0avgtext+0avgdata 47244maxresident)k 0inputs+0outputs (0major+122116minor)pagefaults 0swaps hsh-rebuild: rebuild of `python3-module-fudge-1.0.3-alt1.1.src.rpm' failed. Command exited with non-zero status 1 12.60user 2.78system 0:17.14elapsed 89%CPU (0avgtext+0avgdata 121956maxresident)k 0inputs+0outputs (0major+303634minor)pagefaults 0swaps