<86>Jun 10 10:28:12 userdel[3742427]: delete user 'rooter' <86>Jun 10 10:28:12 userdel[3742427]: removed group 'rooter' owned by 'rooter' <86>Jun 10 10:28:12 userdel[3742427]: removed shadow group 'rooter' owned by 'rooter' <86>Jun 10 10:28:12 groupadd[3742439]: group added to /etc/group: name=rooter, GID=639 <86>Jun 10 10:28:12 groupadd[3742439]: group added to /etc/gshadow: name=rooter <86>Jun 10 10:28:12 groupadd[3742439]: new group: name=rooter, GID=639 <86>Jun 10 10:28:12 useradd[3742448]: new user: name=rooter, UID=639, GID=639, home=/root, shell=/bin/bash <86>Jun 10 10:28:12 userdel[3742466]: delete user 'builder' <86>Jun 10 10:28:12 userdel[3742466]: removed group 'builder' owned by 'builder' <86>Jun 10 10:28:12 userdel[3742466]: removed shadow group 'builder' owned by 'builder' <86>Jun 10 10:28:12 groupadd[3742474]: group added to /etc/group: name=builder, GID=640 <86>Jun 10 10:28:12 groupadd[3742474]: group added to /etc/gshadow: name=builder <86>Jun 10 10:28:12 groupadd[3742474]: new group: name=builder, GID=640 <86>Jun 10 10:28:12 useradd[3742486]: new user: name=builder, UID=640, GID=640, 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>Jun 10 10:28:15 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Jun 10 10:28:15 rpmi: libexpat-2.2.10-alt1 sisyphus+259966.100.1.1 1602824518 installed <13>Jun 10 10:28:15 rpmi: libp11-kit-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Jun 10 10:28:15 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>Jun 10 10:28:15 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jun 10 10:28:15 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jun 10 10:28:15 rpmi: ca-certificates-2021.06.03-alt1 sisyphus+273509.400.1.1 1622736045 installed <13>Jun 10 10:28:15 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Jun 10 10:28:15 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Jun 10 10:28:15 rpmi: libcrypto1.1-1.1.1k-alt1 sisyphus+268375.100.1.1 1616684255 installed <13>Jun 10 10:28:15 rpmi: libssl1.1-1.1.1k-alt1 sisyphus+268375.100.1.1 1616684255 installed <13>Jun 10 10:28:15 rpmi: python3-3.9.5-alt1 sisyphus+271461.100.1.1 1620748853 installed <13>Jun 10 10:28:16 rpmi: python3-base-3.9.5-alt1 sisyphus+271461.100.1.1 1620748853 installed <13>Jun 10 10:28:16 rpmi: libpython3-3.9.5-alt1 sisyphus+271461.100.1.1 1620748853 installed <13>Jun 10 10:28:16 rpmi: tests-for-installed-python3-pkgs-0.1.17-alt1 sisyphus+271082.100.1.1 1619820927 installed <13>Jun 10 10:28:16 rpmi: rpm-build-python3-0.1.17-alt1 sisyphus+271082.100.1.1 1619820927 installed <13>Jun 10 10:28:20 rpmi: libpython-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Jun 10 10:28:20 rpmi: python2-base-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Jun 10 10:28:20 rpmi: python-modules-encodings-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Jun 10 10:28:20 rpmi: python-modules-compiler-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Jun 10 10:28:20 rpmi: python-modules-email-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Jun 10 10:28:20 rpmi: python-modules-unittest-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Jun 10 10:28:20 rpmi: python-modules-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Jun 10 10:28:20 rpmi: python-modules-ctypes-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Jun 10 10:28:20 rpmi: python-modules-multiprocessing-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Jun 10 10:28:20 rpmi: python-modules-logging-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Jun 10 10:28:20 rpmi: python-tools-2to3-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python3-module-beanstalkc-0.4.0-alt2.nosrc.rpm (w1.gzdio) <13>Jun 10 10:28:23 rpmi: python3-module-pkg_resources-1:57.0.0-alt1 sisyphus+272429.100.1.1 1621886170 installed <13>Jun 10 10:28:23 rpmi: libtinfo-devel-6.2.20210123-alt1 sisyphus+265425.100.1.1 1611851433 installed <13>Jun 10 10:28:23 rpmi: libncurses-devel-6.2.20210123-alt1 sisyphus+265425.100.1.1 1611851433 installed <13>Jun 10 10:28:23 rpmi: python3-dev-3.9.5-alt1 sisyphus+271461.100.1.1 1620748853 installed <13>Jun 10 10:28:23 rpmi: python3-module-setuptools-1:57.0.0-alt1 sisyphus+272429.100.1.1 1621886170 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.86947 + 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.38908 + 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.66605 + 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 + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + 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-39.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' adding license file 'LICENSE' 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.9.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,gnuconfig) 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: (from :0) 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 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-39.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 Processing files: python3-module-beanstalkc-0.4.0-alt2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.72256 + 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.XtgbU1 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.EIpzl3 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:6: DeprecationWarning: The parser module is deprecated and will be removed in future versions of Python import parser, symbol, token, types /usr/lib/rpm/python3.req.py:6: DeprecationWarning: The symbol module is deprecated and will be removed in future versions of Python import parser, symbol, token, types /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.MRS6k6 Wrote: /usr/src/RPM/RPMS/i586/python3-module-beanstalkc-0.4.0-alt2.i586.rpm (w2.lzdio) 9.03user 1.00system 0:12.02elapsed 83%CPU (0avgtext+0avgdata 19524maxresident)k 0inputs+0outputs (0major+140886minor)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 20.53user 8.57system 0:29.89elapsed 97%CPU (0avgtext+0avgdata 109052maxresident)k 0inputs+0outputs (0major+582094minor)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 2021-06-10 10:28:37.916990811 +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-39.opt-1.pyc 100644 +/usr/lib/python3/site-packages/__pycache__/beanstalkc.cpython-39.opt-2.pyc 100644 +/usr/lib/python3/site-packages/__pycache__/beanstalkc.cpython-39.pyc 100644 +/usr/lib/python3/site-packages/beanstalkc-0.4.0-py3.9.egg-info 40755 +/usr/lib/python3/site-packages/beanstalkc-0.4.0-py3.9.egg-info/PKG-INFO 100644 +/usr/lib/python3/site-packages/beanstalkc-0.4.0-py3.9.egg-info/SOURCES.txt 100644 +/usr/lib/python3/site-packages/beanstalkc-0.4.0-py3.9.egg-info/dependency_links.txt 100644 +/usr/lib/python3/site-packages/beanstalkc-0.4.0-py3.9.egg-info/top_level.txt 100644 /usr/lib/python3/site-packages/beanstalkc.py 100644