<86>Oct 26 09:34:26 userdel[2692369]: delete user 'rooter' <86>Oct 26 09:34:26 userdel[2692369]: removed group 'rooter' owned by 'rooter' <86>Oct 26 09:34:26 userdel[2692369]: removed shadow group 'rooter' owned by 'rooter' <86>Oct 26 09:34:26 groupadd[2692492]: group added to /etc/group: name=rooter, GID=681 <86>Oct 26 09:34:26 groupadd[2692492]: new group: name=rooter, GID=681 <86>Oct 26 09:34:26 useradd[2692543]: new user: name=rooter, UID=681, GID=681, home=/root, shell=/bin/bash <86>Oct 26 09:34:26 userdel[2692713]: delete user 'builder' <86>Oct 26 09:34:26 userdel[2692713]: removed group 'builder' owned by 'builder' <86>Oct 26 09:34:26 userdel[2692713]: removed shadow group 'builder' owned by 'builder' <86>Oct 26 09:34:26 groupadd[2692903]: group added to /etc/group: name=builder, GID=682 <86>Oct 26 09:34:26 groupadd[2692903]: group added to /etc/gshadow: name=builder <86>Oct 26 09:34:26 groupadd[2692903]: new group: name=builder, GID=682 <86>Oct 26 09:34:26 useradd[2693048]: new user: name=builder, UID=682, GID=682, 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>Oct 26 09:34:29 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Oct 26 09:34:29 rpmi: libexpat-2.2.10-alt1 sisyphus+259966.100.1.1 1602824518 installed <13>Oct 26 09:34:29 rpmi: libp11-kit-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Oct 26 09:34:29 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>Oct 26 09:34:29 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Oct 26 09:34:29 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Oct 26 09:34:29 rpmi: ca-certificates-2020.10.22-alt1 sisyphus+260224.300.2.1 1603549301 installed <13>Oct 26 09:34:30 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Oct 26 09:34:30 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Oct 26 09:34:30 rpmi: libcrypto1.1-1.1.1g-alt1 sisyphus+249982.60.8.1 1587743711 installed <13>Oct 26 09:34:30 rpmi: libssl1.1-1.1.1g-alt1 sisyphus+249982.60.8.1 1587743711 installed <13>Oct 26 09:34:30 rpmi: python3-3.8.6-alt1 sisyphus+259085.100.2.1 1601904174 installed <13>Oct 26 09:34:32 rpmi: python3-base-3.8.6-alt1 sisyphus+259085.100.2.1 1601904174 installed <13>Oct 26 09:34:32 rpmi: libpython3-3.8.6-alt1 sisyphus+259085.100.2.1 1601904174 installed <13>Oct 26 09:34:32 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Oct 26 09:34:32 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Oct 26 09:34:39 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Oct 26 09:34:39 rpmi: liblmdb-0.9.23-alt1 sisyphus+225277.100.2.1 1553001679 installed <13>Oct 26 09:34:39 rpmi: libkeyutils-1.6.1-alt1 sisyphus+256015.100.1.1 1596820124 installed <13>Oct 26 09:34:39 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <86>Oct 26 09:34:39 groupadd[2731520]: group added to /etc/group: name=_keytab, GID=499 <86>Oct 26 09:34:39 groupadd[2731520]: new group: name=_keytab, GID=499 <13>Oct 26 09:34:39 rpmi: libkrb5-1.18.2-alt2 sisyphus+254565.100.4.1 1594375666 installed <13>Oct 26 09:34:39 rpmi: libtirpc-1.2.6-alt1 sisyphus+250076.100.1.1 1587038270 installed <13>Oct 26 09:34:39 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Oct 26 09:34:39 rpmi: python-modules-encodings-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed <13>Oct 26 09:34:39 rpmi: python-modules-compiler-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed <13>Oct 26 09:34:39 rpmi: python-modules-email-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed <13>Oct 26 09:34:39 rpmi: python-modules-unittest-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed <13>Oct 26 09:34:40 rpmi: python-modules-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed <13>Oct 26 09:34:40 rpmi: python-modules-ctypes-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed <13>Oct 26 09:34:40 rpmi: python-modules-multiprocessing-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed <13>Oct 26 09:34:40 rpmi: python-modules-logging-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed <13>Oct 26 09:34:40 rpmi: python-tools-2to3-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python3-module-beanstalkc-0.4.0-alt2.nosrc.rpm <13>Oct 26 09:34:44 rpmi: python3-module-pkg_resources-1:46.1.3-alt1 sisyphus+250566.200.3.1 1587973342 installed <13>Oct 26 09:34:44 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Oct 26 09:34:44 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Oct 26 09:34:44 rpmi: python3-dev-3.8.6-alt1 sisyphus+259085.100.2.1 1601904174 installed <13>Oct 26 09:34:45 rpmi: python3-module-setuptools-1:46.1.3-alt1 sisyphus+250566.200.3.1 1587973342 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.89283 + 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.82212 + 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.61762 + 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.93232 + 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.Zn4HmU 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.cEWPIW 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.A6921V Wrote: /usr/src/RPM/RPMS/i586/python3-module-beanstalkc-0.4.0-alt2.i586.rpm 4.66user 0.33system 0:13.34elapsed 37%CPU (0avgtext+0avgdata 18984maxresident)k 0inputs+0outputs (0major+133680minor)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 12.04user 3.25system 0:39.82elapsed 38%CPU (0avgtext+0avgdata 111232maxresident)k 0inputs+0outputs (0major+573712minor)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-10-26 09:35:02.295192119 +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