<86>Apr 29 09:05:59 userdel[2261379]: delete user 'rooter' <86>Apr 29 09:05:59 userdel[2261379]: removed group 'rooter' owned by 'rooter' <86>Apr 29 09:05:59 userdel[2261379]: removed shadow group 'rooter' owned by 'rooter' <86>Apr 29 09:05:59 groupadd[2261399]: group added to /etc/group: name=rooter, GID=648 <86>Apr 29 09:05:59 groupadd[2261399]: group added to /etc/gshadow: name=rooter <86>Apr 29 09:05:59 groupadd[2261399]: new group: name=rooter, GID=648 <86>Apr 29 09:05:59 useradd[2261417]: new user: name=rooter, UID=648, GID=648, home=/root, shell=/bin/bash <86>Apr 29 09:05:59 userdel[2261444]: delete user 'builder' <86>Apr 29 09:05:59 userdel[2261444]: removed group 'builder' owned by 'builder' <86>Apr 29 09:05:59 userdel[2261444]: removed shadow group 'builder' owned by 'builder' <86>Apr 29 09:05:59 groupadd[2261465]: group added to /etc/group: name=builder, GID=649 <86>Apr 29 09:05:59 groupadd[2261465]: group added to /etc/gshadow: name=builder <86>Apr 29 09:05:59 groupadd[2261465]: new group: name=builder, GID=649 <86>Apr 29 09:05:59 useradd[2261473]: new user: name=builder, UID=649, GID=649, home=/usr/src, shell=/bin/bash <13>Apr 29 09:06:00 rpmi: rpm-macros-python3-0.1.14-alt1 sisyphus+270922.100.1.1 1619661227 installed <13>Apr 29 09:06:00 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Apr 29 09:06:00 rpmi: libexpat-2.2.10-alt1 sisyphus+259966.100.1.1 1602824518 installed <13>Apr 29 09:06:00 rpmi: libp11-kit-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Apr 29 09:06:00 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>Apr 29 09:06:00 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Apr 29 09:06:00 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Apr 29 09:06:01 rpmi: ca-certificates-2021.03.24-alt1 sisyphus+268304.300.1.1 1616591829 installed <13>Apr 29 09:06:01 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Apr 29 09:06:01 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Apr 29 09:06:01 rpmi: libcrypto1.1-1.1.1k-alt1 sisyphus+268375.100.1.1 1616684255 installed <13>Apr 29 09:06:01 rpmi: libssl1.1-1.1.1k-alt1 sisyphus+268375.100.1.1 1616684255 installed <13>Apr 29 09:06:01 rpmi: python3-3.9.4-alt1 sisyphus+268966.100.1.1 1617609166 installed <13>Apr 29 09:06:01 rpmi: python3-base-3.9.4-alt1 sisyphus+268966.100.1.1 1617609166 installed <13>Apr 29 09:06:02 rpmi: libpython3-3.9.4-alt1 sisyphus+268966.100.1.1 1617609166 installed <13>Apr 29 09:06:02 rpmi: tests-for-installed-python3-pkgs-0.1.14-alt1 sisyphus+270922.100.1.1 1619661227 installed <13>Apr 29 09:06:02 rpmi: rpm-build-python3-0.1.14-alt1 sisyphus+270922.100.1.1 1619661227 installed <13>Apr 29 09:06:04 rpmi: python3-module-pkg_resources-1:56.0.0-alt1 sisyphus+269911.100.2.1 1618475070 installed <13>Apr 29 09:06:04 rpmi: python3-module-redis-py-3.4.1-alt1 sisyphus+248406.100.1.1 1585049606 installed <13>Apr 29 09:06:04 rpmi: python3-module-werkzeug-0.16.1-alt2 sisyphus+260995.40.3.1 1604555982 installed <13>Apr 29 09:06:04 rpmi: python3-module-markupsafe-1.1.1-alt1 sisyphus+265234.15700.49.1 1613753625 installed <13>Apr 29 09:06:04 rpmi: python3-module-jinja2-2.11.3-alt1 sisyphus+267903.300.1.1 1615896587 installed <13>Apr 29 09:06:04 rpmi: python3-module-itsdangerous-1.1.0-alt1 sisyphus+248369.400.1.1 1585046335 installed <13>Apr 29 09:06:04 rpmi: python3-module-click-7.1.2-alt2 sisyphus+260950.100.1.1 1604486258 installed <13>Apr 29 09:06:04 rpmi: libpython-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Apr 29 09:06:04 rpmi: python2-base-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Apr 29 09:06:04 rpmi: python-modules-encodings-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Apr 29 09:06:04 rpmi: python-modules-compiler-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Apr 29 09:06:04 rpmi: python-modules-email-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Apr 29 09:06:04 rpmi: python-modules-unittest-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Apr 29 09:06:05 rpmi: python-modules-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Apr 29 09:06:05 rpmi: python-modules-ctypes-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Apr 29 09:06:05 rpmi: python-modules-multiprocessing-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Apr 29 09:06:05 rpmi: python-modules-logging-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Apr 29 09:06:05 rpmi: python-tools-2to3-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Apr 29 09:06:05 rpmi: python3-module-flask-1.1.2-alt2 sisyphus+261235.100.1.1 1604803295 installed <13>Apr 29 09:06:05 rpmi: python3-module-pyres-1.5-alt3 sisyphus+249291.100.2.1 1586164465 installed <13>Apr 29 09:06:05 rpmi: python3-module-simplejson-3.15.0-alt3.qa1 sisyphus+265234.17200.49.1 1613755119 installed <13>Apr 29 09:06:05 rpmi: python3-module-setproctitle-1.1.10-alt3 sisyphus+265234.24200.49.1 1613759886 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python3-module-resweb-0.1.7-alt3.nosrc.rpm (w1.gzdio) <13>Apr 29 09:06:06 rpmi: libtinfo-devel-6.2.20210123-alt1 sisyphus+265425.100.1.1 1611851433 installed <13>Apr 29 09:06:06 rpmi: libncurses-devel-6.2.20210123-alt1 sisyphus+265425.100.1.1 1611851433 installed <13>Apr 29 09:06:06 rpmi: python3-dev-3.9.4-alt1 sisyphus+268966.100.1.1 1617609166 installed <13>Apr 29 09:06:07 rpmi: python3-module-setuptools-1:56.0.0-alt1 sisyphus+269911.100.2.1 1618475070 installed Installing python3-module-resweb-0.1.7-alt3.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.27351 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python3-module-resweb-0.1.7 + echo 'Source #0 (python3-module-resweb-0.1.7.tar):' Source #0 (python3-module-resweb-0.1.7.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python3-module-resweb-0.1.7.tar + cd python3-module-resweb-0.1.7 + /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: Refactored ./resweb/views.py RefactoringTool: No changes to ./resweb/default_settings.py RefactoringTool: Refactored ./resweb/core.py RefactoringTool: No changes to ./resweb/__init__.py RefactoringTool: Files that were modified: RefactoringTool: ./setup.py RefactoringTool: ./resweb/views.py RefactoringTool: ./resweb/default_settings.py RefactoringTool: ./resweb/core.py RefactoringTool: ./resweb/__init__.py --- ./resweb/views.py (original) +++ ./resweb/views.py (refactored) @@ -285,7 +285,7 @@ def resque_info(self): stats = [] - for key, value in self.resq.info().items(): + for key, value in list(self.resq.info().items()): stats.append({ 'key': str(key), 'value': str(value) @@ -294,7 +294,7 @@ def redis_info(self): stats = [] - for key, value in self.resq.redis.info().items(): + for key, value in list(self.resq.redis.info().items()): stats.append({ 'key': str(key), 'value': str(value) @@ -303,7 +303,7 @@ def key_info(self): stats = [] - for key in self.resq.keys(): + for key in list(self.resq.keys()): stats.append({ 'key': str(key), --- ./resweb/core.py (original) +++ ./resweb/core.py (refactored) @@ -38,7 +38,7 @@ def requires_auth(f): @wraps(f) def decorated(*args, **kwargs): - print app.config.get('BASIC_AUTH') + print(app.config.get('BASIC_AUTH')) auth = request.authorization if app.config.get('BASIC_AUTH') and (not auth or not check_auth(auth.username, auth.password)): return authenticate() @@ -192,7 +192,7 @@ 'resweb_version': view_worker.resweb_version(), 'address': view_worker.address() } - print data + print(data) return render_template('worker.html', data=data) @app.route('/workers/') @@ -207,7 +207,7 @@ 'resweb_version': view_workers.resweb_version(), 'address': view_workers.address() } - print data + print(data) return render_template('workers.html', data=data) @app.route('/stats/') @@ -228,7 +228,7 @@ 'resweb_version': view_stats.resweb_version(), 'address': view_stats.address() } - print data + print(data) return render_template('stats.html', data=data) @app.route('/stat//') @@ -239,13 +239,13 @@ 'stat_id': stat_id, 'key': view_stat.key(), 'key_type': view_stat.key_type(), - 'stat_items': view_stat.items(), + 'stat_items': list(view_stat.items()), 'size': view_stat.size(), 'version': view_stat.version(), 'resweb_version': view_stat.resweb_version(), 'address': view_stat.address() } - print data + print(data) return render_template('stat.html', data=data) @app.route('/delayed/') @@ -262,7 +262,7 @@ 'resweb_version': view_delayed.resweb_version(), 'address': view_delayed.address() } - print data + print(data) return render_template('delayed.html', data=data) @app.route('/delayed//') @@ -280,7 +280,7 @@ 'resweb_version': view_dt.resweb_version(), 'address': view_dt.address() } - print data + print(data) return render_template('delayed_timestamp.html', data=data) def main(): + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.53256 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-resweb-0.1.7 + 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 --debug running build running build_py creating build creating build/lib creating build/lib/resweb copying resweb/views.py -> build/lib/resweb copying resweb/default_settings.py -> build/lib/resweb copying resweb/core.py -> build/lib/resweb copying resweb/__init__.py -> build/lib/resweb running egg_info creating resweb.egg-info writing resweb.egg-info/PKG-INFO writing dependency_links to resweb.egg-info/dependency_links.txt writing entry points to resweb.egg-info/entry_points.txt writing requirements to resweb.egg-info/requires.txt writing top-level names to resweb.egg-info/top_level.txt writing manifest file 'resweb.egg-info/SOURCES.txt' adding license file 'LICENSE' (matched pattern 'LICEN[CS]E*') reading manifest file 'resweb.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'resweb.egg-info/SOURCES.txt' creating build/lib/resweb/static copying resweb/static/idle.png -> build/lib/resweb/static copying resweb/static/jquery-1.3.2.min.js -> build/lib/resweb/static copying resweb/static/jquery.relatize_date.js -> build/lib/resweb/static copying resweb/static/poll.png -> build/lib/resweb/static copying resweb/static/ranger.js -> build/lib/resweb/static copying resweb/static/reset.css -> build/lib/resweb/static copying resweb/static/style.css -> build/lib/resweb/static copying resweb/static/working.png -> build/lib/resweb/static creating build/lib/resweb/templates copying resweb/templates/base.html -> build/lib/resweb/templates copying resweb/templates/delayed.html -> build/lib/resweb/templates copying resweb/templates/delayed_timestamp.html -> build/lib/resweb/templates copying resweb/templates/failed.html -> build/lib/resweb/templates copying resweb/templates/macros.html -> build/lib/resweb/templates copying resweb/templates/overview.html -> build/lib/resweb/templates copying resweb/templates/queue.html -> build/lib/resweb/templates copying resweb/templates/queues.html -> build/lib/resweb/templates copying resweb/templates/stat.html -> build/lib/resweb/templates copying resweb/templates/stats.html -> build/lib/resweb/templates copying resweb/templates/worker.html -> build/lib/resweb/templates copying resweb/templates/workers.html -> build/lib/resweb/templates copying resweb/templates/working.html -> build/lib/resweb/templates copying resweb/templates/working_full.mustache -> build/lib/resweb/templates copying resweb/templates/queue_full.mustache -> build/lib/resweb/templates + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.85430 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python3-module-resweb-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python3-module-resweb-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd python3-module-resweb-0.1.7 + 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-resweb-buildroot --force running install running install_lib creating /usr/src/tmp/python3-module-resweb-buildroot creating /usr/src/tmp/python3-module-resweb-buildroot/usr creating /usr/src/tmp/python3-module-resweb-buildroot/usr/lib creating /usr/src/tmp/python3-module-resweb-buildroot/usr/lib/python3 creating /usr/src/tmp/python3-module-resweb-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python3-module-resweb-buildroot/usr/lib/python3/site-packages/resweb creating /usr/src/tmp/python3-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/templates copying build/lib/resweb/templates/queue_full.mustache -> /usr/src/tmp/python3-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/templates copying build/lib/resweb/templates/working_full.mustache -> /usr/src/tmp/python3-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/templates copying build/lib/resweb/templates/working.html -> /usr/src/tmp/python3-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/templates copying build/lib/resweb/templates/workers.html -> /usr/src/tmp/python3-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/templates copying build/lib/resweb/templates/worker.html -> /usr/src/tmp/python3-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/templates copying build/lib/resweb/templates/stats.html -> /usr/src/tmp/python3-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/templates copying build/lib/resweb/templates/stat.html -> /usr/src/tmp/python3-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/templates copying build/lib/resweb/templates/queues.html -> /usr/src/tmp/python3-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/templates copying build/lib/resweb/templates/queue.html -> /usr/src/tmp/python3-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/templates copying build/lib/resweb/templates/overview.html -> /usr/src/tmp/python3-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/templates copying build/lib/resweb/templates/macros.html -> /usr/src/tmp/python3-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/templates copying build/lib/resweb/templates/failed.html -> /usr/src/tmp/python3-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/templates copying build/lib/resweb/templates/delayed_timestamp.html -> /usr/src/tmp/python3-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/templates copying build/lib/resweb/templates/delayed.html -> /usr/src/tmp/python3-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/templates copying build/lib/resweb/templates/base.html -> /usr/src/tmp/python3-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/templates creating /usr/src/tmp/python3-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/static copying build/lib/resweb/static/working.png -> /usr/src/tmp/python3-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/static copying build/lib/resweb/static/style.css -> /usr/src/tmp/python3-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/static copying build/lib/resweb/static/reset.css -> /usr/src/tmp/python3-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/static copying build/lib/resweb/static/ranger.js -> /usr/src/tmp/python3-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/static copying build/lib/resweb/static/poll.png -> /usr/src/tmp/python3-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/static copying build/lib/resweb/static/jquery.relatize_date.js -> /usr/src/tmp/python3-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/static copying build/lib/resweb/static/jquery-1.3.2.min.js -> /usr/src/tmp/python3-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/static copying build/lib/resweb/static/idle.png -> /usr/src/tmp/python3-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/static copying build/lib/resweb/__init__.py -> /usr/src/tmp/python3-module-resweb-buildroot/usr/lib/python3/site-packages/resweb copying build/lib/resweb/core.py -> /usr/src/tmp/python3-module-resweb-buildroot/usr/lib/python3/site-packages/resweb copying build/lib/resweb/default_settings.py -> /usr/src/tmp/python3-module-resweb-buildroot/usr/lib/python3/site-packages/resweb copying build/lib/resweb/views.py -> /usr/src/tmp/python3-module-resweb-buildroot/usr/lib/python3/site-packages/resweb byte-compiling /usr/src/tmp/python3-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/__init__.py to __init__.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/core.py to core.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/default_settings.py to default_settings.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/views.py to views.cpython-39.pyc running install_egg_info running egg_info writing resweb.egg-info/PKG-INFO writing dependency_links to resweb.egg-info/dependency_links.txt writing entry points to resweb.egg-info/entry_points.txt writing requirements to resweb.egg-info/requires.txt writing top-level names to resweb.egg-info/top_level.txt adding license file 'LICENSE' (matched pattern 'LICEN[CS]E*') reading manifest file 'resweb.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'resweb.egg-info/SOURCES.txt' Copying resweb.egg-info to /usr/src/tmp/python3-module-resweb-buildroot/usr/lib/python3/site-packages/resweb-0.1.7-py3.9.egg-info running install_scripts Installing resweb script to /usr/src/tmp/python3-module-resweb-buildroot/usr/bin + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python3-module-resweb-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python3-module-resweb-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/python3-module-resweb-buildroot/ (default) Compressing files in /usr/src/tmp/python3-module-resweb-buildroot (auto) Adjusting library links in /usr/src/tmp/python3-module-resweb-buildroot ./usr/lib: (from :0) Verifying ELF objects in /usr/src/tmp/python3-module-resweb-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-resweb-buildroot using /usr/bin/python2.7 /usr/bin/python2.7: can't open file '/usr/lib/rpm/python.compileall.py': [Errno 2] No such file or directory error: Bad exit status from /usr/src/tmp/rpm-tmp.85430 (%install) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.85430 (%install) Command exited with non-zero status 1 2.81user 0.21system 0:03.06elapsed 98%CPU (0avgtext+0avgdata 19100maxresident)k 0inputs+0outputs (0major+61477minor)pagefaults 0swaps hsh-rebuild: rebuild of `python3-module-resweb-0.1.7-alt3.src.rpm' failed. Command exited with non-zero status 1 9.86user 3.68system 0:14.28elapsed 94%CPU (0avgtext+0avgdata 107156maxresident)k 360inputs+0outputs (0major+472533minor)pagefaults 0swaps