<86>Feb 3 00:41:22 userdel[97414]: delete user 'rooter' <86>Feb 3 00:41:22 userdel[97414]: removed group 'rooter' owned by 'rooter' <86>Feb 3 00:41:22 groupadd[97437]: group added to /etc/group: name=rooter, GID=681 <86>Feb 3 00:41:22 groupadd[97437]: group added to /etc/gshadow: name=rooter <86>Feb 3 00:41:22 groupadd[97437]: new group: name=rooter, GID=681 <86>Feb 3 00:41:22 useradd[97456]: new user: name=rooter, UID=681, GID=681, home=/root, shell=/bin/bash <86>Feb 3 00:41:22 userdel[97478]: delete user 'builder' <86>Feb 3 00:41:22 userdel[97478]: removed group 'builder' owned by 'builder' <86>Feb 3 00:41:22 userdel[97478]: removed shadow group 'builder' owned by 'builder' <86>Feb 3 00:41:22 groupadd[97500]: group added to /etc/group: name=builder, GID=682 <86>Feb 3 00:41:22 groupadd[97500]: group added to /etc/gshadow: name=builder <86>Feb 3 00:41:22 groupadd[97500]: new group: name=builder, GID=682 <86>Feb 3 00:41:22 useradd[97514]: new user: name=builder, UID=682, GID=682, home=/usr/src, shell=/bin/bash <13>Feb 3 00:41:25 rpmi: libexpat-2.2.4-alt0.M80P.1 1503871120 installed <13>Feb 3 00:41:25 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Feb 3 00:41:25 rpmi: libtinfo-devel-5.9-alt8 1456756459 installed <13>Feb 3 00:41:25 rpmi: libncurses-devel-5.9-alt8 1456756459 installed <13>Feb 3 00:41:25 rpmi: python-modules-curses-2.7.11-alt6.M80P.1 1527682470 installed <13>Feb 3 00:41:25 rpmi: libverto-0.2.6-alt1_6 1455633234 installed <13>Feb 3 00:41:25 rpmi: libkeyutils-1.5.10-alt0.M80P.2 p8+216694.100.6.1 1547827915 installed <13>Feb 3 00:41:25 rpmi: libcom_err-1.42.13-alt2 1449075846 installed <13>Feb 3 00:41:25 rpmi: ca-certificates-2016.02.25-alt1 1462368370 installed <13>Feb 3 00:41:26 rpmi: libcrypto10-1.0.2n-alt0.M80P.1 1512766129 installed <13>Feb 3 00:41:26 rpmi: python-module-setproctitle-1.1.10-alt0.M80P.1 1484052723 installed <13>Feb 3 00:41:26 rpmi: libssl10-1.0.2n-alt0.M80P.1 1512766129 installed <86>Feb 3 00:41:26 groupadd[109621]: group added to /etc/group: name=_keytab, GID=499 <86>Feb 3 00:41:26 groupadd[109621]: group added to /etc/gshadow: name=_keytab <86>Feb 3 00:41:26 groupadd[109621]: new group: name=_keytab, GID=499 <13>Feb 3 00:41:26 rpmi: libkrb5-1.14.6-alt1.M80P.1 1525355673 installed <13>Feb 3 00:41:26 rpmi: python3-base-3.5.4-alt2.M80P.1 1527753911 installed <13>Feb 3 00:41:26 rpmi: python-modules-compiler-2.7.11-alt6.M80P.1 1527682470 installed <13>Feb 3 00:41:26 rpmi: python3-module-itsdangerous-0.24-alt1.git20140328.1 1457977329 installed <13>Feb 3 00:41:26 rpmi: python3-module-werkzeug-0.10.1-alt1.1.1 1458168909 installed <13>Feb 3 00:41:26 rpmi: python3-module-py-1.4.34-alt0.M80P.1 1503506764 installed <13>Feb 3 00:41:26 rpmi: python-modules-email-2.7.11-alt6.M80P.1 1527682470 installed <13>Feb 3 00:41:26 rpmi: python3-3.5.4-alt2.M80P.1 1527753911 installed <13>Feb 3 00:41:26 rpmi: python3-module-markupsafe-0.23-alt1.2.1 1459593526 installed <13>Feb 3 00:41:26 rpmi: rpm-build-python3-0.1.10.10-alt1.M80P.1 1530521451 installed <13>Feb 3 00:41:26 rpmi: python3-module-setproctitle-1.1.10-alt0.M80P.1 1484052723 installed <13>Feb 3 00:41:26 rpmi: python3-module-setuptools-1:18.5-alt0.M80P.1 1497527461 installed <13>Feb 3 00:41:26 rpmi: python3-module-jinja2-2.9-alt1.dev.git20150726.1.1.1 1460400640 installed <13>Feb 3 00:41:26 rpmi: python-modules-unittest-2.7.11-alt6.M80P.1 1527682470 installed <13>Feb 3 00:41:26 rpmi: python3-module-pytest-3.2.1-alt0.M80P.1 1503499784 installed <13>Feb 3 00:41:26 rpmi: python3-module-jinja2-tests-2.9-alt1.dev.git20150726.1.1.1 1460400640 installed <13>Feb 3 00:41:26 rpmi: python3-module-flask-0.10.1-alt1.1.1 1457949402 installed <13>Feb 3 00:41:26 rpmi: python3-module-pyres-1.5-alt1.git20140901.1.1 1458077712 installed <13>Feb 3 00:41:27 rpmi: python-modules-2.7.11-alt6.M80P.1 1527682470 installed <13>Feb 3 00:41:27 rpmi: python-modules-ctypes-2.7.11-alt6.M80P.1 1527682470 installed <13>Feb 3 00:41:27 rpmi: python-modules-json-2.7.11-alt6.M80P.1 1527682470 installed <13>Feb 3 00:41:27 rpmi: python-modules-encodings-2.7.11-alt6.M80P.1 1527682470 installed <13>Feb 3 00:41:27 rpmi: python-modules-multiprocessing-2.7.11-alt6.M80P.1 1527682470 installed <13>Feb 3 00:41:27 rpmi: python-modules-logging-2.7.11-alt6.M80P.1 1527682470 installed <13>Feb 3 00:41:27 rpmi: python-tools-2to3-2.7.11-alt6.M80P.1 1527682470 installed <13>Feb 3 00:41:27 rpmi: python-modules-xml-2.7.11-alt6.M80P.1 1527682470 installed <13>Feb 3 00:41:27 rpmi: python-modules-hotshot-2.7.11-alt6.M80P.1 1527682470 installed <13>Feb 3 00:41:27 rpmi: python-modules-bsddb-2.7.11-alt6.M80P.1 1527682470 installed <13>Feb 3 00:41:27 rpmi: python-2.7.11-alt6.M80P.1 1527682470 installed <13>Feb 3 00:41:27 rpmi: python-strict-2.7.11-alt6.M80P.1 1527682534 installed <13>Feb 3 00:41:27 rpmi: python-module-werkzeug-0.10.1-alt1.1.1 1458168909 installed <13>Feb 3 00:41:27 rpmi: python-dev-2.7.11-alt6.M80P.1 1527682470 installed <13>Feb 3 00:41:27 rpmi: python-module-itsdangerous-0.24-alt1.git20140328.1 1457977329 installed <13>Feb 3 00:41:27 rpmi: python-module-markupsafe-0.23-alt1.2.1 1459593526 installed <13>Feb 3 00:41:27 rpmi: python-module-py-1.4.34-alt0.M80P.1 1503506764 installed <13>Feb 3 00:41:27 rpmi: python-module-setuptools-1:18.5-alt0.M80P.1 1497527461 installed <13>Feb 3 00:41:27 rpmi: python-module-jinja2-2.9-alt1.dev.git20150726.1.1.1 1460400640 installed <13>Feb 3 00:41:27 rpmi: python-module-jinja2-tests-2.9-alt1.dev.git20150726.1.1.1 1460400640 installed <13>Feb 3 00:41:27 rpmi: python-module-flask-0.10.1-alt1.1.1 1457949402 installed <13>Feb 3 00:41:27 rpmi: python-module-pytest-3.2.1-alt0.M80P.1 1503499784 installed <13>Feb 3 00:41:27 rpmi: python-module-pyres-1.5-alt1.git20140901.1.1 1458077712 installed Installing python-module-resweb-0.1.7-alt1.git20130813.1.1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.78979 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python-module-resweb-0.1.7 + echo 'Source #0 (python-module-resweb-0.1.7.tar):' Source #0 (python-module-resweb-0.1.7.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python-module-resweb-0.1.7.tar + cd python-module-resweb-0.1.7 + /bin/chmod -c -Rf u+rwX,go-w . + cp -fR . ../python3 + find ../python3 -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 ../python3/setup.py RefactoringTool: Refactored ../python3/resweb/views.py RefactoringTool: No changes to ../python3/resweb/default_settings.py RefactoringTool: Refactored ../python3/resweb/core.py RefactoringTool: No changes to ../python3/resweb/__init__.py RefactoringTool: Files that were modified: RefactoringTool: ../python3/setup.py RefactoringTool: ../python3/resweb/views.py RefactoringTool: ../python3/resweb/default_settings.py RefactoringTool: ../python3/resweb/core.py RefactoringTool: ../python3/resweb/__init__.py --- ../python3/resweb/views.py (original) +++ ../python3/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), --- ../python3/resweb/core.py (original) +++ ../python3/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.78979 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-resweb-0.1.7 + CFLAGS='-pipe -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -Wall -g -O2' + export FFLAGS + /usr/bin/python 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 requirements to resweb.egg-info/requires.txt writing resweb.egg-info/PKG-INFO writing top-level names to resweb.egg-info/top_level.txt writing dependency_links to resweb.egg-info/dependency_links.txt writing entry points to resweb.egg-info/entry_points.txt writing manifest file 'resweb.egg-info/SOURCES.txt' 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 + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-resweb-0.1.7 + CFLAGS='-pipe -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -Wall -g -O2' + export FFLAGS + 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 entry points to resweb.egg-info/entry_points.txt writing resweb.egg-info/PKG-INFO writing requirements to resweb.egg-info/requires.txt writing dependency_links to resweb.egg-info/dependency_links.txt writing top-level names to resweb.egg-info/top_level.txt writing manifest file 'resweb.egg-info/SOURCES.txt' 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 + popd ~/RPM/BUILD/python-module-resweb-0.1.7 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.58910 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python-module-resweb-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python-module-resweb-buildroot + cd python-module-resweb-0.1.7 + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-resweb-0.1.7 + python3 setup.py install --skip-build --root=/usr/src/tmp/python-module-resweb-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-resweb-buildroot creating /usr/src/tmp/python-module-resweb-buildroot/usr creating /usr/src/tmp/python-module-resweb-buildroot/usr/lib creating /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python3 creating /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python3/site-packages/resweb creating /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/templates copying build/lib/resweb/templates/queue_full.mustache -> /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/templates copying build/lib/resweb/templates/working_full.mustache -> /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/templates copying build/lib/resweb/templates/working.html -> /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/templates copying build/lib/resweb/templates/workers.html -> /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/templates copying build/lib/resweb/templates/worker.html -> /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/templates copying build/lib/resweb/templates/stats.html -> /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/templates copying build/lib/resweb/templates/stat.html -> /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/templates copying build/lib/resweb/templates/queues.html -> /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/templates copying build/lib/resweb/templates/queue.html -> /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/templates copying build/lib/resweb/templates/overview.html -> /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/templates copying build/lib/resweb/templates/macros.html -> /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/templates copying build/lib/resweb/templates/failed.html -> /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/templates copying build/lib/resweb/templates/delayed_timestamp.html -> /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/templates copying build/lib/resweb/templates/delayed.html -> /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/templates copying build/lib/resweb/templates/base.html -> /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/templates creating /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/static copying build/lib/resweb/static/working.png -> /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/static copying build/lib/resweb/static/style.css -> /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/static copying build/lib/resweb/static/reset.css -> /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/static copying build/lib/resweb/static/ranger.js -> /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/static copying build/lib/resweb/static/poll.png -> /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/static copying build/lib/resweb/static/jquery.relatize_date.js -> /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/static copying build/lib/resweb/static/jquery-1.3.2.min.js -> /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/static copying build/lib/resweb/static/idle.png -> /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/static copying build/lib/resweb/__init__.py -> /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python3/site-packages/resweb copying build/lib/resweb/core.py -> /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python3/site-packages/resweb copying build/lib/resweb/default_settings.py -> /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python3/site-packages/resweb copying build/lib/resweb/views.py -> /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python3/site-packages/resweb byte-compiling /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/__init__.py to __init__.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/core.py to core.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/default_settings.py to default_settings.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/views.py to views.cpython-35.pyc running install_egg_info running egg_info writing entry points to resweb.egg-info/entry_points.txt writing requirements to resweb.egg-info/requires.txt writing dependency_links to resweb.egg-info/dependency_links.txt writing resweb.egg-info/PKG-INFO writing top-level names to resweb.egg-info/top_level.txt 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/python-module-resweb-buildroot/usr/lib/python3/site-packages/resweb-0.1.7-py3.5.egg-info running install_scripts Installing resweb script to /usr/src/tmp/python-module-resweb-buildroot/usr/bin + popd ~/RPM/BUILD/python-module-resweb-0.1.7 + pushd /usr/src/tmp/python-module-resweb-buildroot/usr/bin ~/tmp/python-module-resweb-buildroot/usr/bin ~/RPM/BUILD/python-module-resweb-0.1.7 ++ ls + for i in '$(ls)' + mv resweb resweb.py3 + popd ~/RPM/BUILD/python-module-resweb-0.1.7 + /usr/bin/python setup.py install --skip-build --root=/usr/src/tmp/python-module-resweb-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python2.7 creating /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python2.7/site-packages creating /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python2.7/site-packages/resweb creating /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python2.7/site-packages/resweb/templates copying build/lib/resweb/templates/queue_full.mustache -> /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python2.7/site-packages/resweb/templates copying build/lib/resweb/templates/working_full.mustache -> /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python2.7/site-packages/resweb/templates copying build/lib/resweb/templates/working.html -> /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python2.7/site-packages/resweb/templates copying build/lib/resweb/templates/workers.html -> /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python2.7/site-packages/resweb/templates copying build/lib/resweb/templates/worker.html -> /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python2.7/site-packages/resweb/templates copying build/lib/resweb/templates/stats.html -> /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python2.7/site-packages/resweb/templates copying build/lib/resweb/templates/stat.html -> /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python2.7/site-packages/resweb/templates copying build/lib/resweb/templates/queues.html -> /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python2.7/site-packages/resweb/templates copying build/lib/resweb/templates/queue.html -> /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python2.7/site-packages/resweb/templates copying build/lib/resweb/templates/overview.html -> /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python2.7/site-packages/resweb/templates copying build/lib/resweb/templates/macros.html -> /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python2.7/site-packages/resweb/templates copying build/lib/resweb/templates/failed.html -> /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python2.7/site-packages/resweb/templates copying build/lib/resweb/templates/delayed_timestamp.html -> /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python2.7/site-packages/resweb/templates copying build/lib/resweb/templates/delayed.html -> /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python2.7/site-packages/resweb/templates copying build/lib/resweb/templates/base.html -> /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python2.7/site-packages/resweb/templates creating /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python2.7/site-packages/resweb/static copying build/lib/resweb/static/working.png -> /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python2.7/site-packages/resweb/static copying build/lib/resweb/static/style.css -> /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python2.7/site-packages/resweb/static copying build/lib/resweb/static/reset.css -> /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python2.7/site-packages/resweb/static copying build/lib/resweb/static/ranger.js -> /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python2.7/site-packages/resweb/static copying build/lib/resweb/static/poll.png -> /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python2.7/site-packages/resweb/static copying build/lib/resweb/static/jquery.relatize_date.js -> /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python2.7/site-packages/resweb/static copying build/lib/resweb/static/jquery-1.3.2.min.js -> /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python2.7/site-packages/resweb/static copying build/lib/resweb/static/idle.png -> /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python2.7/site-packages/resweb/static copying build/lib/resweb/__init__.py -> /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python2.7/site-packages/resweb copying build/lib/resweb/core.py -> /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python2.7/site-packages/resweb copying build/lib/resweb/default_settings.py -> /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python2.7/site-packages/resweb copying build/lib/resweb/views.py -> /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python2.7/site-packages/resweb byte-compiling /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python2.7/site-packages/resweb/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python2.7/site-packages/resweb/core.py to core.pyc byte-compiling /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python2.7/site-packages/resweb/default_settings.py to default_settings.pyc byte-compiling /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python2.7/site-packages/resweb/views.py to views.pyc running install_egg_info running egg_info writing requirements to resweb.egg-info/requires.txt writing resweb.egg-info/PKG-INFO writing top-level names to resweb.egg-info/top_level.txt writing dependency_links to resweb.egg-info/dependency_links.txt writing entry points to resweb.egg-info/entry_points.txt 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/python-module-resweb-buildroot/usr/lib/python2.7/site-packages/resweb-0.1.7-py2.7.egg-info running install_scripts Installing resweb script to /usr/src/tmp/python-module-resweb-buildroot/usr/bin + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python-module-resweb-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python-module-resweb-buildroot (binconfig,pkgconfig,libtool,desktop) Compressing files in /usr/src/tmp/python-module-resweb-buildroot (auto) Adjusting library links in /usr/src/tmp/python-module-resweb-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python-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/python-module-resweb-buildroot using /usr/bin/python unlink /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python2.7/site-packages/resweb/__init__.pyc unlink /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python2.7/site-packages/resweb/core.pyc unlink /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python2.7/site-packages/resweb/default_settings.pyc unlink /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python2.7/site-packages/resweb/views.pyc compile /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python2.7/site-packages/resweb/__init__.py compile /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python2.7/site-packages/resweb/core.py compile /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python2.7/site-packages/resweb/default_settings.py compile /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python2.7/site-packages/resweb/views.py Bytecompiling python modules with optimization in /usr/src/tmp/python-module-resweb-buildroot using /usr/bin/python -O compile /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python2.7/site-packages/resweb/__init__.py compile /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python2.7/site-packages/resweb/core.py compile /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python2.7/site-packages/resweb/default_settings.py compile /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python2.7/site-packages/resweb/views.py Bytecompiling python3 modules in /usr/src/tmp/python-module-resweb-buildroot using python3 unlink /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/__pycache__/__init__.cpython-35.pyc unlink /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/__pycache__/core.cpython-35.pyc unlink /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/__pycache__/default_settings.cpython-35.pyc unlink /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/__pycache__/views.cpython-35.pyc compile /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/__init__.py compile /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/core.py compile /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/default_settings.py compile /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/views.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python-module-resweb-buildroot using python3 -O compile /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/__init__.py compile /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/core.py compile /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/default_settings.py compile /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/views.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python-module-resweb-buildroot using python3 -OO compile /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/__init__.py compile /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/core.py compile /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/default_settings.py compile /usr/src/tmp/python-module-resweb-buildroot/usr/lib/python3/site-packages/resweb/views.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/resweb/__pycache__/views.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/resweb/__pycache__/views.cpython-35.pyc' './usr/lib/python3/site-packages/resweb/__pycache__/views.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/resweb/__pycache__/views.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/resweb/__pycache__/default_settings.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/resweb/__pycache__/default_settings.cpython-35.pyc' './usr/lib/python3/site-packages/resweb/__pycache__/default_settings.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/resweb/__pycache__/default_settings.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/resweb/__pycache__/core.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/resweb/__pycache__/core.cpython-35.pyc' './usr/lib/python3/site-packages/resweb/__pycache__/__init__.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/resweb/__pycache__/__init__.cpython-35.pyc' './usr/lib/python3/site-packages/resweb/__pycache__/__init__.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/resweb/__pycache__/__init__.cpython-35.opt-1.pyc' Hardlinking identical .pyc and .pyo files './usr/lib/python2.7/site-packages/resweb/views.pyo' => './usr/lib/python2.7/site-packages/resweb/views.pyc' './usr/lib/python2.7/site-packages/resweb/default_settings.pyo' => './usr/lib/python2.7/site-packages/resweb/default_settings.pyc' './usr/lib/python2.7/site-packages/resweb/core.pyo' => './usr/lib/python2.7/site-packages/resweb/core.pyc' './usr/lib/python2.7/site-packages/resweb/__init__.pyo' => './usr/lib/python2.7/site-packages/resweb/__init__.pyc' Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.89904 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-resweb-0.1.7 + python setup.py test running test running egg_info deleting resweb.egg-info/requires.txt writing resweb.egg-info/PKG-INFO writing top-level names to resweb.egg-info/top_level.txt writing dependency_links to resweb.egg-info/dependency_links.txt writing entry points to resweb.egg-info/entry_points.txt reading manifest file 'resweb.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'resweb.egg-info/SOURCES.txt' running build_ext ---------------------------------------------------------------------- Ran 0 tests in 0.000s OK + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-resweb-0.1.7 + python3 setup.py test running test running egg_info writing resweb.egg-info/PKG-INFO writing entry points to resweb.egg-info/entry_points.txt writing dependency_links to resweb.egg-info/dependency_links.txt deleting resweb.egg-info/requires.txt writing top-level names to resweb.egg-info/top_level.txt reading manifest file 'resweb.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'resweb.egg-info/SOURCES.txt' running build_ext views (unittest.loader._FailedTest) ... ERROR core (unittest.loader._FailedTest) ... ERROR ====================================================================== ERROR: views (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: views Traceback (most recent call last): File "/usr/lib64/python3.5/unittest/loader.py", line 153, in loadTestsFromName module = __import__(module_name) File "/usr/src/RPM/BUILD/python3/resweb/views.py", line 1, in from pyres import __version__ File "/usr/lib/python3/site-packages/pyres/__init__.py", line 3, in from redis import Redis ImportError: No module named 'redis' ====================================================================== ERROR: core (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: core Traceback (most recent call last): File "/usr/lib64/python3.5/unittest/loader.py", line 153, in loadTestsFromName module = __import__(module_name) File "/usr/src/RPM/BUILD/python3/resweb/core.py", line 3, in from pyres import ResQ, failure File "/usr/lib/python3/site-packages/pyres/__init__.py", line 3, in from redis import Redis ImportError: No module named 'redis' ---------------------------------------------------------------------- Ran 2 tests in 0.000s FAILED (errors=2) error: Bad exit status from /usr/src/tmp/rpm-tmp.89904 (%check) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.89904 (%check) Command exited with non-zero status 1 2.31user 0.35system 0:02.81elapsed 95%CPU (0avgtext+0avgdata 29340maxresident)k 0inputs+0outputs (0major+123542minor)pagefaults 0swaps hsh-rebuild: rebuild of `python-module-resweb-0.1.7-alt1.git20130813.1.1.src.rpm' failed. Command exited with non-zero status 1 10.91user 2.45system 0:14.70elapsed 90%CPU (0avgtext+0avgdata 125236maxresident)k 3240inputs+0outputs (0major+444046minor)pagefaults 0swaps