<86>Apr 3 11:12:14 userdel[521614]: delete user 'rooter' <86>Apr 3 11:12:14 userdel[521614]: removed group 'rooter' owned by 'rooter' <86>Apr 3 11:12:14 userdel[521614]: removed shadow group 'rooter' owned by 'rooter' <86>Apr 3 11:12:14 groupadd[521629]: group added to /etc/group: name=rooter, GID=597 <86>Apr 3 11:12:14 groupadd[521629]: group added to /etc/gshadow: name=rooter <86>Apr 3 11:12:14 groupadd[521629]: new group: name=rooter, GID=597 <86>Apr 3 11:12:14 useradd[521637]: new user: name=rooter, UID=597, GID=597, home=/root, shell=/bin/bash <86>Apr 3 11:12:14 userdel[521646]: delete user 'builder' <86>Apr 3 11:12:14 userdel[521646]: removed group 'builder' owned by 'builder' <86>Apr 3 11:12:14 userdel[521646]: removed shadow group 'builder' owned by 'builder' <86>Apr 3 11:12:14 groupadd[521655]: group added to /etc/group: name=builder, GID=598 <86>Apr 3 11:12:14 groupadd[521655]: group added to /etc/gshadow: name=builder <86>Apr 3 11:12:14 groupadd[521655]: new group: name=builder, GID=598 <86>Apr 3 11:12:14 useradd[521659]: new user: name=builder, UID=598, GID=598, home=/usr/src, shell=/bin/bash /usr/src/in/srpm/python3-module-beanstalkc-0.4.0-alt2.src.rpm: The use of such a license name is ambiguous: Apache /usr/src/in/srpm/python3-module-beanstalkc-0.4.0-alt2.src.rpm: license not found in '/usr/share/license' directory: License <13>Apr 3 11:12:17 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Apr 3 11:12:17 rpmi: libexpat-2.2.4-alt1 1503305345 installed <13>Apr 3 11:12:17 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Apr 3 11:12:17 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>Apr 3 11:12:17 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Apr 3 11:12:17 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Apr 3 11:12:17 rpmi: ca-certificates-2020.01.23-alt1 sisyphus+244791.300.2.1 1580285500 installed <13>Apr 3 11:12:17 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Apr 3 11:12:17 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Apr 3 11:12:17 rpmi: libcrypto1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235729 installed <13>Apr 3 11:12:17 rpmi: libssl1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235729 installed <13>Apr 3 11:12:17 rpmi: python3-3.8.2-alt1 sisyphus+244999.100.3.1 1585218480 installed <13>Apr 3 11:12:18 rpmi: python3-base-3.8.2-alt1 sisyphus+244999.100.3.1 1585218480 installed <13>Apr 3 11:12:18 rpmi: libpython3-3.8.2-alt1 sisyphus+244999.100.3.1 1585218480 installed <13>Apr 3 11:12:18 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Apr 3 11:12:18 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Apr 3 11:12:20 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Apr 3 11:12:20 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512089 installed <13>Apr 3 11:12:20 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <86>Apr 3 11:12:20 groupadd[537439]: group added to /etc/group: name=_keytab, GID=499 <86>Apr 3 11:12:20 groupadd[537439]: group added to /etc/gshadow: name=_keytab <13>Apr 3 11:12:21 rpmi: libkrb5-1.17.1-alt1 sisyphus+242784.100.1.1 1576137330 installed <13>Apr 3 11:12:21 rpmi: libtirpc-1.0.3-alt1 1532008017 installed <13>Apr 3 11:12:21 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Apr 3 11:12:21 rpmi: python-modules-encodings-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 3 11:12:21 rpmi: python-modules-compiler-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 3 11:12:21 rpmi: python-modules-email-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 3 11:12:21 rpmi: python-modules-unittest-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 3 11:12:21 rpmi: python-modules-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 3 11:12:21 rpmi: python-modules-nis-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 3 11:12:21 rpmi: python-modules-ctypes-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 3 11:12:21 rpmi: python-modules-multiprocessing-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 3 11:12:21 rpmi: python-modules-logging-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 3 11:12:21 rpmi: python-tools-2to3-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python3-module-beanstalkc-0.4.0-alt2.nosrc.rpm <13>Apr 3 11:12:24 rpmi: python3-module-pkg_resources-1:41.4.0-alt1 sisyphus+238787.100.2.1 1570608044 installed <13>Apr 3 11:12:24 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Apr 3 11:12:24 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Apr 3 11:12:24 rpmi: python3-dev-3.8.2-alt1 sisyphus+244999.100.3.1 1585218480 installed <13>Apr 3 11:12:24 rpmi: python3-module-setuptools-1:41.4.0-alt1 sisyphus+238787.100.2.1 1570608044 installed Installing python3-module-beanstalkc-0.4.0-alt2.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.79786 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python3-module-beanstalkc-0.4.0 + echo 'Source #0 (python3-module-beanstalkc-0.4.0.tar):' Source #0 (python3-module-beanstalkc-0.4.0.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python3-module-beanstalkc-0.4.0.tar + cd python3-module-beanstalkc-0.4.0 + /bin/chmod -c -Rf u+rwX,go-w . ++ find ./ -name '*.py' + sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python3|' ./test/no-yaml_fixtures.py ./test/fixtures.py ./test/__init__.py ./setup.py ./beanstalkc.py ./TUTORIAL_fixtures.py ./README_fixtures.py + 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 ./beanstalkc.py RefactoringTool: No changes to ./setup.py RefactoringTool: No changes to ./test/fixtures.py RefactoringTool: Refactored ./test/no-yaml_fixtures.py RefactoringTool: Files that were modified: RefactoringTool: ./beanstalkc.py RefactoringTool: ./setup.py RefactoringTool: ./test/fixtures.py RefactoringTool: ./test/no-yaml_fixtures.py --- ./beanstalkc.py (original) +++ ./beanstalkc.py (refactored) @@ -39,7 +39,7 @@ def wrap(wrapped_function, *args, **kwargs): try: return wrapped_function(*args, **kwargs) - except socket.error, err: + except socket.error as err: raise SocketError(err) @@ -122,7 +122,8 @@ def _interact_peek(self, command): try: return self._interact_job(command, ['FOUND'], ['NOT_FOUND'], False) - except CommandFailed, (_, _status, _results): + except CommandFailed as xxx_todo_changeme: + (_, _status, _results) = xxx_todo_changeme.args return None # -- public interface -- @@ -147,7 +148,8 @@ return self._interact_job(command, ['RESERVED'], ['DEADLINE_SOON', 'TIMED_OUT']) - except CommandFailed, (_, status, results): + except CommandFailed as xxx_todo_changeme1: + (_, status, results) = xxx_todo_changeme1.args if status == 'TIMED_OUT': return None elif status == 'DEADLINE_SOON': --- ./test/no-yaml_fixtures.py (original) +++ ./test/no-yaml_fixtures.py (refactored) @@ -1 +1 @@ -from fixtures import setup, teardown +from .fixtures import setup, teardown + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.39393 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-beanstalkc-0.4.0 + 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 copying beanstalkc.py -> build/lib + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.80070 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python3-module-beanstalkc-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python3-module-beanstalkc-buildroot + cd python3-module-beanstalkc-0.4.0 + 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-beanstalkc-buildroot --force running install running install_lib creating /usr/src/tmp/python3-module-beanstalkc-buildroot creating /usr/src/tmp/python3-module-beanstalkc-buildroot/usr creating /usr/src/tmp/python3-module-beanstalkc-buildroot/usr/lib creating /usr/src/tmp/python3-module-beanstalkc-buildroot/usr/lib/python3 creating /usr/src/tmp/python3-module-beanstalkc-buildroot/usr/lib/python3/site-packages copying build/lib/beanstalkc.py -> /usr/src/tmp/python3-module-beanstalkc-buildroot/usr/lib/python3/site-packages byte-compiling /usr/src/tmp/python3-module-beanstalkc-buildroot/usr/lib/python3/site-packages/beanstalkc.py to beanstalkc.cpython-38.pyc running install_egg_info running egg_info creating beanstalkc.egg-info writing beanstalkc.egg-info/PKG-INFO writing dependency_links to beanstalkc.egg-info/dependency_links.txt writing top-level names to beanstalkc.egg-info/top_level.txt writing manifest file 'beanstalkc.egg-info/SOURCES.txt' reading manifest file 'beanstalkc.egg-info/SOURCES.txt' writing manifest file 'beanstalkc.egg-info/SOURCES.txt' Copying beanstalkc.egg-info to /usr/src/tmp/python3-module-beanstalkc-buildroot/usr/lib/python3/site-packages/beanstalkc-0.4.0-py3.8.egg-info running install_scripts + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python3-module-beanstalkc-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python3-module-beanstalkc-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/python3-module-beanstalkc-buildroot/ (default) Compressing files in /usr/src/tmp/python3-module-beanstalkc-buildroot (auto) Adjusting library links in /usr/src/tmp/python3-module-beanstalkc-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python3-module-beanstalkc-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-beanstalkc-buildroot using /usr/bin/python2.7 Bytecompiling python modules with optimization in /usr/src/tmp/python3-module-beanstalkc-buildroot using /usr/bin/python2.7 -O Bytecompiling python3 modules in /usr/src/tmp/python3-module-beanstalkc-buildroot using /usr/bin/python3 unlink /usr/src/tmp/python3-module-beanstalkc-buildroot/usr/lib/python3/site-packages/__pycache__/beanstalkc.cpython-38.pyc compile /usr/src/tmp/python3-module-beanstalkc-buildroot/usr/lib/python3/site-packages/beanstalkc.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python3-module-beanstalkc-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python3-module-beanstalkc-buildroot/usr/lib/python3/site-packages/beanstalkc.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python3-module-beanstalkc-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python3-module-beanstalkc-buildroot/usr/lib/python3/site-packages/beanstalkc.py Hardlinking identical .pyc and .opt-?.pyc files Hardlinking identical .pyc and .pyo files Processing files: python3-module-beanstalkc-0.4.0-alt2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.75484 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-beanstalkc-0.4.0 + DOCDIR=/usr/src/tmp/python3-module-beanstalkc-buildroot/usr/share/doc/python3-module-beanstalkc-0.4.0 + export DOCDIR + rm -rf /usr/src/tmp/python3-module-beanstalkc-buildroot/usr/share/doc/python3-module-beanstalkc-0.4.0 + /bin/mkdir -p /usr/src/tmp/python3-module-beanstalkc-buildroot/usr/share/doc/python3-module-beanstalkc-0.4.0 + cp -prL LICENSE README.mkd TUTORIAL.mkd /usr/src/tmp/python3-module-beanstalkc-buildroot/usr/share/doc/python3-module-beanstalkc-0.4.0 + chmod -R go-w /usr/src/tmp/python3-module-beanstalkc-buildroot/usr/share/doc/python3-module-beanstalkc-0.4.0 + chmod -R a+rX /usr/src/tmp/python3-module-beanstalkc-buildroot/usr/share/doc/python3-module-beanstalkc-0.4.0 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.LeHbOI 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.1QoepJ find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-beanstalkc-buildroot/usr/lib/python3/site-packages/beanstalkc.py: line=51 IGNORE (for REQ=slight and deep=20) module=yaml /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-beanstalkc-buildroot/usr/lib/python3/site-packages/beanstalkc.py: line=51 IGNORE (for REQ=slight and deep=21) module=yaml /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-beanstalkc-buildroot/usr/lib/python3/site-packages/beanstalkc.py: line=51 IGNORE (for REQ=slight and deep=22) module=yaml /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-beanstalkc-buildroot/usr/lib/python3/site-packages/beanstalkc.py: line=51 IGNORE (for REQ=slight and deep=23) module=yaml /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-beanstalkc-buildroot/usr/lib/python3/site-packages/beanstalkc.py: line=51 IGNORE (for REQ=slight and deep=24) module=yaml /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-beanstalkc-buildroot/usr/lib/python3/site-packages/beanstalkc.py: line=51 IGNORE (for REQ=slight and deep=25) module=yaml /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-beanstalkc-buildroot/usr/lib/python3/site-packages/beanstalkc.py: line=51 IGNORE (for REQ=slight and deep=26) module=yaml /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-beanstalkc-buildroot/usr/lib/python3/site-packages/beanstalkc.py: line=51 IGNORE (for REQ=slight and deep=27) module=yaml /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-beanstalkc-buildroot/usr/lib/python3/site-packages/beanstalkc.py: line=51 IGNORE (for REQ=slight and deep=28) module=yaml /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-beanstalkc-buildroot/usr/lib/python3/site-packages/beanstalkc.py: line=51 IGNORE (for REQ=slight and deep=29) module=yaml /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-beanstalkc-buildroot/usr/lib/python3/site-packages/beanstalkc.py: line=51 IGNORE (for REQ=slight and deep=30) module=yaml /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-beanstalkc-buildroot/usr/lib/python3/site-packages/beanstalkc.py: line=51 IGNORE (for REQ=slight and deep=31) module=yaml /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-beanstalkc-buildroot/usr/lib/python3/site-packages/beanstalkc.py: line=51 IGNORE (for REQ=slight and deep=32) module=yaml /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-beanstalkc-buildroot/usr/lib/python3/site-packages/beanstalkc.py: line=51 IGNORE (for REQ=slight and deep=33) module=yaml /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-beanstalkc-buildroot/usr/lib/python3/site-packages/beanstalkc.py: line=51 IGNORE (for REQ=slight and deep=34) module=yaml /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-beanstalkc-buildroot/usr/lib/python3/site-packages/beanstalkc.py: line=305 IGNORE (for REQ=slight and deep=8) module=nose shebang.req.files: executable script /usr/src/tmp/python3-module-beanstalkc-buildroot/usr/lib/python3/site-packages/beanstalkc.py is not executable Provides: python3(beanstalkc) Requires: /usr/lib/python3/site-packages, python3(logging) < 0, python3(socket) < 0 Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.PbyPbI Wrote: /usr/src/RPM/RPMS/i586/python3-module-beanstalkc-0.4.0-alt2.i586.rpm 6.21user 0.61system 0:11.05elapsed 61%CPU (0avgtext+0avgdata 19636maxresident)k 0inputs+0outputs (0major+137971minor)pagefaults 0swaps /.out/python3-module-beanstalkc-0.4.0-alt2.i586.rpm: The use of such a license name is ambiguous: Apache /.out/python3-module-beanstalkc-0.4.0-alt2.i586.rpm: license not found in '/usr/share/license' directory: License 13.36user 3.95system 0:24.09elapsed 71%CPU (0avgtext+0avgdata 108904maxresident)k 0inputs+0outputs (0major+584755minor)pagefaults 0swaps --- python3-module-beanstalkc-0.4.0-alt2.i586.rpm.repo 2019-11-15 14:47:17.000000000 +0000 +++ python3-module-beanstalkc-0.4.0-alt2.i586.rpm.hasher 2020-04-03 11:12:37.183147909 +0000 @@ -1,9 +1,9 @@ -/usr/lib/python3/site-packages/__pycache__/beanstalkc.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/__pycache__/beanstalkc.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/__pycache__/beanstalkc.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/beanstalkc-0.4.0-py3.7.egg-info 40755 -/usr/lib/python3/site-packages/beanstalkc-0.4.0-py3.7.egg-info/PKG-INFO 100644 -/usr/lib/python3/site-packages/beanstalkc-0.4.0-py3.7.egg-info/SOURCES.txt 100644 -/usr/lib/python3/site-packages/beanstalkc-0.4.0-py3.7.egg-info/dependency_links.txt 100644 -/usr/lib/python3/site-packages/beanstalkc-0.4.0-py3.7.egg-info/top_level.txt 100644 +/usr/lib/python3/site-packages/__pycache__/beanstalkc.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/__pycache__/beanstalkc.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/__pycache__/beanstalkc.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/beanstalkc-0.4.0-py3.8.egg-info 40755 +/usr/lib/python3/site-packages/beanstalkc-0.4.0-py3.8.egg-info/PKG-INFO 100644 +/usr/lib/python3/site-packages/beanstalkc-0.4.0-py3.8.egg-info/SOURCES.txt 100644 +/usr/lib/python3/site-packages/beanstalkc-0.4.0-py3.8.egg-info/dependency_links.txt 100644 +/usr/lib/python3/site-packages/beanstalkc-0.4.0-py3.8.egg-info/top_level.txt 100644 /usr/lib/python3/site-packages/beanstalkc.py 100644