<86>May 13 10:54:53 userdel[3010349]: delete user 'rooter' <86>May 13 10:54:53 userdel[3010349]: removed group 'rooter' owned by 'rooter' <86>May 13 10:54:53 userdel[3010349]: removed shadow group 'rooter' owned by 'rooter' <86>May 13 10:54:53 groupadd[3010354]: group added to /etc/group: name=rooter, GID=567 <86>May 13 10:54:53 groupadd[3010354]: group added to /etc/gshadow: name=rooter <86>May 13 10:54:53 groupadd[3010354]: new group: name=rooter, GID=567 <86>May 13 10:54:53 useradd[3010358]: new user: name=rooter, UID=567, GID=567, home=/root, shell=/bin/bash <86>May 13 10:54:53 userdel[3010395]: delete user 'builder' <86>May 13 10:54:53 userdel[3010395]: removed group 'builder' owned by 'builder' <86>May 13 10:54:53 userdel[3010395]: removed shadow group 'builder' owned by 'builder' <86>May 13 10:54:53 groupadd[3010409]: group added to /etc/group: name=builder, GID=568 <86>May 13 10:54:53 groupadd[3010409]: group added to /etc/gshadow: name=builder <86>May 13 10:54:53 groupadd[3010409]: new group: name=builder, GID=568 <86>May 13 10:54:53 useradd[3010424]: new user: name=builder, UID=568, GID=568, home=/usr/src, shell=/bin/bash <13>May 13 10:54:57 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>May 13 10:54:57 rpmi: libexpat-2.2.4-alt1 1503305345 installed <13>May 13 10:54:57 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>May 13 10:54:57 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>May 13 10:54:57 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>May 13 10:54:57 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>May 13 10:54:57 rpmi: ca-certificates-2020.01.23-alt1 sisyphus+244791.300.2.1 1580285500 installed <13>May 13 10:54:57 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>May 13 10:54:57 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>May 13 10:54:58 rpmi: libcrypto1.1-1.1.1g-alt1 sisyphus+249982.60.8.1 1587743711 installed <13>May 13 10:54:58 rpmi: libssl1.1-1.1.1g-alt1 sisyphus+249982.60.8.1 1587743711 installed <13>May 13 10:54:58 rpmi: python3-3.8.2-alt1 sisyphus+244999.100.3.1 1585218480 installed <13>May 13 10:54:59 rpmi: python3-base-3.8.2-alt1 sisyphus+244999.100.3.1 1585218480 installed <13>May 13 10:54:59 rpmi: libpython3-3.8.2-alt1 sisyphus+244999.100.3.1 1585218480 installed <13>May 13 10:54:59 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>May 13 10:54:59 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>May 13 10:55:03 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>May 13 10:55:03 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>May 13 10:55:03 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>May 13 10:55:03 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512089 installed <13>May 13 10:55:03 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <86>May 13 10:55:03 groupadd[3020646]: group added to /etc/group: name=_keytab, GID=499 <86>May 13 10:55:03 groupadd[3020646]: group added to /etc/gshadow: name=_keytab <86>May 13 10:55:03 groupadd[3020646]: new group: name=_keytab, GID=499 <13>May 13 10:55:03 rpmi: libkrb5-1.17.1-alt1 sisyphus+242784.100.1.1 1576137330 installed <13>May 13 10:55:03 rpmi: libtirpc-1.2.6-alt1 sisyphus+250076.100.1.1 1587038270 installed <13>May 13 10:55:03 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>May 13 10:55:03 rpmi: python-modules-encodings-2.7.18-alt1 sisyphus+250345.100.4.1 1588665080 installed <13>May 13 10:55:03 rpmi: python-modules-compiler-2.7.18-alt1 sisyphus+250345.100.4.1 1588665080 installed <13>May 13 10:55:03 rpmi: python-modules-email-2.7.18-alt1 sisyphus+250345.100.4.1 1588665080 installed <13>May 13 10:55:03 rpmi: python-modules-unittest-2.7.18-alt1 sisyphus+250345.100.4.1 1588665080 installed <13>May 13 10:55:04 rpmi: python-modules-2.7.18-alt1 sisyphus+250345.100.4.1 1588665080 installed <13>May 13 10:55:04 rpmi: python-modules-nis-2.7.18-alt1 sisyphus+250345.100.4.1 1588665080 installed <13>May 13 10:55:04 rpmi: python-modules-ctypes-2.7.18-alt1 sisyphus+250345.100.4.1 1588665080 installed <13>May 13 10:55:04 rpmi: python-modules-multiprocessing-2.7.18-alt1 sisyphus+250345.100.4.1 1588665080 installed <13>May 13 10:55:04 rpmi: python-modules-logging-2.7.18-alt1 sisyphus+250345.100.4.1 1588665080 installed <13>May 13 10:55:04 rpmi: python-tools-2to3-2.7.18-alt1 sisyphus+250345.100.4.1 1588665080 installed <13>May 13 10:55:04 rpmi: python3-dev-3.8.2-alt1 sisyphus+244999.100.3.1 1585218480 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python3-module-geventutil-0.0.1-alt2.hg20120114.nosrc.rpm <13>May 13 10:55:07 rpmi: python3-module-pkg_resources-1:46.1.3-alt1 sisyphus+250566.200.3.1 1587973342 installed <13>May 13 10:55:07 rpmi: python3-module-setuptools-1:46.1.3-alt1 sisyphus+250566.200.3.1 1587973342 installed Installing python3-module-geventutil-0.0.1-alt2.hg20120114.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.33794 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python3-module-geventutil-0.0.1 + echo 'Source #0 (python3-module-geventutil-0.0.1.tar):' Source #0 (python3-module-geventutil-0.0.1.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python3-module-geventutil-0.0.1.tar + cd python3-module-geventutil-0.0.1 + /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: Refactored ./tests/test_threadpool.py RefactoringTool: No changes to ./setup.py RefactoringTool: Refactored ./geventutil/worker.py RefactoringTool: Files that were modified: RefactoringTool: ./tests/test_threadpool.py RefactoringTool: ./setup.py RefactoringTool: ./geventutil/worker.py --- ./tests/test_threadpool.py (original) +++ ./tests/test_threadpool.py (refactored) @@ -13,7 +13,7 @@ def myException(async_result): try: raise Exception("bob") - except Exception, e: + except Exception as e: async_result.set_exception(e) def my_exception(): @@ -75,8 +75,8 @@ except Cancelled: cancel = cancel + 1 self.assertEqual(failed, 1) - self.assert_(cancel>12) - self.assert_(success>1) + self.assertTrue(cancel>12) + self.assertTrue(success>1) gevent.sleep(0) def test_async_exception(self): @@ -96,7 +96,7 @@ try: waitany([async]) self.assertTrue(False) - except Exception, e: + except Exception as e: self.assertTrue(True) # Test that get, and wait both exit correctly when a timeout @@ -105,7 +105,7 @@ async = self.pool.apply_async(blockSleep, 1) try: async.get(timeout=0.1) - except Timeout, e: + except Timeout as e: self.assertTrue(True) self.assertTrue(not async.ready()) @@ -145,7 +145,7 @@ waitany([wait3, wait1]) self.assertTrue(wait1.ready()) - self.assert_(not wait3.ready()) + self.assertTrue(not wait3.ready()) self.assertEqual(wait1.value, 1) waitany([wait3]) --- ./geventutil/worker.py (original) +++ ./geventutil/worker.py (refactored) @@ -1,4 +1,4 @@ -from __future__ import with_statement + import sys import traceback from time import time @@ -162,7 +162,7 @@ def _run(self): import datetime - print datetime.datetime.now() + print(datetime.datetime.now()) 1/0 def __str__(self): @@ -170,11 +170,11 @@ try: p = DieQuick.spawn() - print 'before join' - p.join() - print 'after join' - except KeyboardInterrupt: - print 'got keyboardinterrupt!' + print('before join') + p.join() + print('after join') + except KeyboardInterrupt: + print('got keyboardinterrupt!') p.kill() class SmallMaxRate(Worker): @@ -184,7 +184,7 @@ def _run(self): import datetime - print datetime.datetime.now() + print(datetime.datetime.now()) 1/0 def __str__(self): @@ -204,7 +204,7 @@ def _run(self): import datetime - print datetime.datetime.now() + print(datetime.datetime.now()) 1/0 def __str__(self): @@ -214,7 +214,7 @@ p = BigPeriod.spawn() p.join() except KeyboardInterrupt: - print 'setting restart_sleep to 1 restart_rate_limit to (1, 1)' + print('setting restart_sleep to 1 restart_rate_limit to (1, 1)') p.set_sleep(1) p.set_max_rate((1, 1)) + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.79793 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-geventutil-0.0.1 + 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 running build running build_py creating build creating build/lib creating build/lib/geventutil copying geventutil/worker.py -> build/lib/geventutil copying geventutil/threadpool.py -> build/lib/geventutil copying geventutil/__init__.py -> build/lib/geventutil + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.12055 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python3-module-geventutil-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python3-module-geventutil-buildroot + cd python3-module-geventutil-0.0.1 + 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/python3-module-geventutil-buildroot --force running install running install_lib creating /usr/src/tmp/python3-module-geventutil-buildroot creating /usr/src/tmp/python3-module-geventutil-buildroot/usr creating /usr/src/tmp/python3-module-geventutil-buildroot/usr/lib creating /usr/src/tmp/python3-module-geventutil-buildroot/usr/lib/python3 creating /usr/src/tmp/python3-module-geventutil-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python3-module-geventutil-buildroot/usr/lib/python3/site-packages/geventutil copying build/lib/geventutil/__init__.py -> /usr/src/tmp/python3-module-geventutil-buildroot/usr/lib/python3/site-packages/geventutil copying build/lib/geventutil/threadpool.py -> /usr/src/tmp/python3-module-geventutil-buildroot/usr/lib/python3/site-packages/geventutil copying build/lib/geventutil/worker.py -> /usr/src/tmp/python3-module-geventutil-buildroot/usr/lib/python3/site-packages/geventutil byte-compiling /usr/src/tmp/python3-module-geventutil-buildroot/usr/lib/python3/site-packages/geventutil/__init__.py to __init__.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-geventutil-buildroot/usr/lib/python3/site-packages/geventutil/threadpool.py to threadpool.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-geventutil-buildroot/usr/lib/python3/site-packages/geventutil/worker.py to worker.cpython-38.pyc running install_egg_info Writing /usr/src/tmp/python3-module-geventutil-buildroot/usr/lib/python3/site-packages/geventutil-0.0.0-py3.8.egg-info + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python3-module-geventutil-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python3-module-geventutil-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/python3-module-geventutil-buildroot/ (default) Compressing files in /usr/src/tmp/python3-module-geventutil-buildroot (auto) Adjusting library links in /usr/src/tmp/python3-module-geventutil-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python3-module-geventutil-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-geventutil-buildroot using /usr/bin/python2.7 Bytecompiling python modules with optimization in /usr/src/tmp/python3-module-geventutil-buildroot using /usr/bin/python2.7 -O Bytecompiling python3 modules in /usr/src/tmp/python3-module-geventutil-buildroot using /usr/bin/python3 unlink /usr/src/tmp/python3-module-geventutil-buildroot/usr/lib/python3/site-packages/geventutil/__pycache__/__init__.cpython-38.pyc unlink /usr/src/tmp/python3-module-geventutil-buildroot/usr/lib/python3/site-packages/geventutil/__pycache__/threadpool.cpython-38.pyc unlink /usr/src/tmp/python3-module-geventutil-buildroot/usr/lib/python3/site-packages/geventutil/__pycache__/worker.cpython-38.pyc compile /usr/src/tmp/python3-module-geventutil-buildroot/usr/lib/python3/site-packages/geventutil/__init__.py compile /usr/src/tmp/python3-module-geventutil-buildroot/usr/lib/python3/site-packages/geventutil/threadpool.py compile /usr/src/tmp/python3-module-geventutil-buildroot/usr/lib/python3/site-packages/geventutil/worker.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python3-module-geventutil-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python3-module-geventutil-buildroot/usr/lib/python3/site-packages/geventutil/__init__.py compile /usr/src/tmp/python3-module-geventutil-buildroot/usr/lib/python3/site-packages/geventutil/threadpool.py compile /usr/src/tmp/python3-module-geventutil-buildroot/usr/lib/python3/site-packages/geventutil/worker.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python3-module-geventutil-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python3-module-geventutil-buildroot/usr/lib/python3/site-packages/geventutil/__init__.py compile /usr/src/tmp/python3-module-geventutil-buildroot/usr/lib/python3/site-packages/geventutil/threadpool.py compile /usr/src/tmp/python3-module-geventutil-buildroot/usr/lib/python3/site-packages/geventutil/worker.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/geventutil/__pycache__/threadpool.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/geventutil/__pycache__/threadpool.cpython-38.pyc' './usr/lib/python3/site-packages/geventutil/__pycache__/threadpool.cpython-38.opt-2.pyc' => './usr/lib/python3/site-packages/geventutil/__pycache__/threadpool.cpython-38.opt-1.pyc' './usr/lib/python3/site-packages/geventutil/__pycache__/__init__.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/geventutil/__pycache__/__init__.cpython-38.pyc' './usr/lib/python3/site-packages/geventutil/__pycache__/__init__.cpython-38.opt-2.pyc' => './usr/lib/python3/site-packages/geventutil/__pycache__/__init__.cpython-38.opt-1.pyc' Hardlinking identical .pyc and .pyo files Processing files: python3-module-geventutil-0.0.1-alt2.hg20120114 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ZoTz5K 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.7hHKbN find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) python3.req: /usr/src/tmp/python3-module-geventutil-buildroot/usr/lib/python3/site-packages/geventutil/worker.py: skipping sys python3.req: /usr/src/tmp/python3-module-geventutil-buildroot/usr/lib/python3/site-packages/geventutil/worker.py: skipping time /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-geventutil-buildroot/usr/lib/python3/site-packages/geventutil/worker.py: line=155 IGNORE (for REQ=slight and deep=8) module=doctest /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-geventutil-buildroot/usr/lib/python3/site-packages/geventutil/worker.py: line=164 IGNORE (for REQ=slight and deep=15) module=datetime /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-geventutil-buildroot/usr/lib/python3/site-packages/geventutil/worker.py: line=186 IGNORE (for REQ=slight and deep=15) module=datetime /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-geventutil-buildroot/usr/lib/python3/site-packages/geventutil/worker.py: line=206 IGNORE (for REQ=slight and deep=15) module=datetime Provides: python3(geventutil), python3(geventutil.threadpool), python3(geventutil.worker) Requires: /usr/lib/python3/site-packages, python3(gevent) < 0, python3(traceback) < 0 Wrote: /usr/src/RPM/RPMS/noarch/python3-module-geventutil-0.0.1-alt2.hg20120114.noarch.rpm 6.65user 0.72system 0:12.29elapsed 60%CPU (0avgtext+0avgdata 15476maxresident)k 0inputs+0outputs (0major+108141minor)pagefaults 0swaps 18.74user 7.78system 0:32.33elapsed 82%CPU (0avgtext+0avgdata 108820maxresident)k 0inputs+0outputs (0major+550724minor)pagefaults 0swaps --- python3-module-geventutil-0.0.1-alt2.hg20120114.noarch.rpm.repo 2020-01-16 12:14:19.000000000 +0000 +++ python3-module-geventutil-0.0.1-alt2.hg20120114.noarch.rpm.hasher 2020-05-13 10:55:22.357517491 +0000 @@ -1,14 +1,14 @@ /usr/lib/python3/site-packages/geventutil 40755 -/usr/lib/python3/site-packages/geventutil-0.0.0-py3.7.egg-info 100644 +/usr/lib/python3/site-packages/geventutil-0.0.0-py3.8.egg-info 100644 /usr/lib/python3/site-packages/geventutil/__init__.py 100644 /usr/lib/python3/site-packages/geventutil/__pycache__ 40755 -/usr/lib/python3/site-packages/geventutil/__pycache__/__init__.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/geventutil/__pycache__/__init__.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/geventutil/__pycache__/__init__.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/geventutil/__pycache__/threadpool.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/geventutil/__pycache__/threadpool.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/geventutil/__pycache__/threadpool.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/geventutil/__pycache__/worker.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/geventutil/__pycache__/worker.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/geventutil/__pycache__/worker.cpython-37.pyc 100644 +/usr/lib/python3/site-packages/geventutil/__pycache__/__init__.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/geventutil/__pycache__/__init__.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/geventutil/__pycache__/__init__.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/geventutil/__pycache__/threadpool.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/geventutil/__pycache__/threadpool.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/geventutil/__pycache__/threadpool.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/geventutil/__pycache__/worker.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/geventutil/__pycache__/worker.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/geventutil/__pycache__/worker.cpython-38.pyc 100644 /usr/lib/python3/site-packages/geventutil/threadpool.py 100644