<86>Feb 3 01:07:21 userdel[104345]: delete user 'rooter' <86>Feb 3 01:07:21 groupadd[104386]: group added to /etc/group: name=rooter, GID=699 <86>Feb 3 01:07:21 groupadd[104386]: group added to /etc/gshadow: name=rooter <86>Feb 3 01:07:21 groupadd[104386]: new group: name=rooter, GID=699 <86>Feb 3 01:07:21 useradd[104450]: new user: name=rooter, UID=699, GID=699, home=/root, shell=/bin/bash <86>Feb 3 01:07:21 userdel[104481]: delete user 'builder' <86>Feb 3 01:07:21 userdel[104481]: removed group 'builder' owned by 'builder' <86>Feb 3 01:07:21 userdel[104481]: removed shadow group 'builder' owned by 'builder' <86>Feb 3 01:07:21 groupadd[104538]: group added to /etc/group: name=builder, GID=700 <86>Feb 3 01:07:21 groupadd[104538]: group added to /etc/gshadow: name=builder <86>Feb 3 01:07:21 groupadd[104538]: new group: name=builder, GID=700 <86>Feb 3 01:07:21 useradd[104583]: new user: name=builder, UID=700, GID=700, home=/usr/src, shell=/bin/bash <13>Feb 3 01:07:25 rpmi: ca-certificates-2016.02.25-alt1 1462368370 installed <13>Feb 3 01:07:26 rpmi: libcrypto10-1.0.2n-alt0.M80P.1 1512766129 installed <13>Feb 3 01:07:26 rpmi: libyaml2-0.1.6-alt1 1397147705 installed <13>Feb 3 01:07:26 rpmi: libidn2-2.0.4-alt3.M80P.1 1520307194 installed <13>Feb 3 01:07:26 rpmi: libexpat-2.2.4-alt0.M80P.1 1503871120 installed <13>Feb 3 01:07:26 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Feb 3 01:07:26 rpmi: python-module-z3c-3.0.0-alt2.a2.dev0.git20130313.1.1.1 1460417103 installed <13>Feb 3 01:07:26 rpmi: python-module-pycares-0.6.3-alt1.1.1 1459598195 installed <13>Feb 3 01:07:26 rpmi: python-module-certifi-2015.04.28-alt1.1 1457893771 installed <13>Feb 3 01:07:26 rpmi: publicsuffix-list-dafsa-20181106-alt1 p8.216229.100 1541669077 installed <13>Feb 3 01:07:26 rpmi: libpsl-0.18.0-alt0.M80P.1 1502785107 installed <13>Feb 3 01:07:26 rpmi: libnghttp2-1.8.0-alt1 1456818805 installed <13>Feb 3 01:07:26 rpmi: libbrotlicommon0-1.0.4-alt0.M80P.1 1528205024 installed <13>Feb 3 01:07:26 rpmi: libbrotlidec0-1.0.4-alt0.M80P.1 1528205024 installed <13>Feb 3 01:07:26 rpmi: libtinfo-devel-5.9-alt8 1456756459 installed <13>Feb 3 01:07:26 rpmi: libncurses-devel-5.9-alt8 1456756459 installed <13>Feb 3 01:07:26 rpmi: python-modules-curses-2.7.11-alt6.M80P.1 1527682470 installed <13>Feb 3 01:07:26 rpmi: libverto-0.2.6-alt1_6 1455633234 installed <13>Feb 3 01:07:26 rpmi: libkeyutils-1.5.10-alt0.M80P.2 p8+216694.100.6.1 1547827915 installed <13>Feb 3 01:07:26 rpmi: libcom_err-1.42.13-alt2 1449075846 installed <13>Feb 3 01:07:26 rpmi: libssl10-1.0.2n-alt0.M80P.1 1512766129 installed <86>Feb 3 01:07:26 groupadd[118358]: group added to /etc/group: name=_keytab, GID=499 <86>Feb 3 01:07:26 groupadd[118358]: group added to /etc/gshadow: name=_keytab <86>Feb 3 01:07:26 groupadd[118358]: new group: name=_keytab, GID=499 <13>Feb 3 01:07:26 rpmi: libkrb5-1.14.6-alt1.M80P.1 1525355673 installed <86>Feb 3 01:07:26 groupadd[118767]: group added to /etc/group: name=sasl, GID=498 <86>Feb 3 01:07:26 groupadd[118767]: group added to /etc/gshadow: name=sasl <13>Feb 3 01:07:26 rpmi: libsasl2-3-2.1.26-alt7 1479477445 installed <13>Feb 3 01:07:26 rpmi: libldap-2.4.45-alt1.M80P.1 1513980376 installed <13>Feb 3 01:07:27 rpmi: libcurl-7.62.0-alt3 p8.216462.100 1542193807 installed <13>Feb 3 01:07:27 rpmi: python3-base-3.5.4-alt2.M80P.1 1527753911 installed <13>Feb 3 01:07:27 rpmi: python-modules-compiler-2.7.11-alt6.M80P.1 1527682470 installed <13>Feb 3 01:07:28 rpmi: python3-module-certifi-2015.04.28-alt1.1 1457893771 installed <13>Feb 3 01:07:28 rpmi: python3-module-py-1.4.34-alt0.M80P.1 1503506764 installed <13>Feb 3 01:07:28 rpmi: python3-module-z3c-3.0.0-alt2.a2.dev0.git20130313.1.1.1 1460417103 installed <13>Feb 3 01:07:28 rpmi: python3-module-zc-1.0.0-alt6.2 1458024144 installed <13>Feb 3 01:07:28 rpmi: python3-3.5.4-alt2.M80P.1 1527753911 installed <13>Feb 3 01:07:28 rpmi: python-modules-email-2.7.11-alt6.M80P.1 1527682470 installed <13>Feb 3 01:07:28 rpmi: python3-module-hiredis-0.2.0-alt1.1.1 1459591448 installed <13>Feb 3 01:07:28 rpmi: python3-module-pycares-0.6.3-alt1.1.1 1459598195 installed <13>Feb 3 01:07:28 rpmi: rpm-build-python3-0.1.10.10-alt1.M80P.1 1530521451 installed <13>Feb 3 01:07:28 rpmi: python3-module-yaml-3.11-alt1.hg20141128.1 1459664840 installed <13>Feb 3 01:07:28 rpmi: python3-module-zope-3.3.0-alt8.4 1458261152 installed <13>Feb 3 01:07:28 rpmi: python-modules-unittest-2.7.11-alt6.M80P.1 1527682470 installed <13>Feb 3 01:07:28 rpmi: python3-module-tornado-4.2.1-alt2.M80P.1 1496088637 installed <13>Feb 3 01:07:28 rpmi: python3-module-zope.interface-4.1.3-alt1.dev0.git20150601.4 1459629874 installed <13>Feb 3 01:07:28 rpmi: python3-module-pytest-3.2.1-alt0.M80P.1 1503499784 installed <13>Feb 3 01:07:28 rpmi: python3-module-setuptools-1:18.5-alt0.M80P.1 1497527461 installed <13>Feb 3 01:07:28 rpmi: python3-module-toredis-0.1.2-alt1.git20140515.1.1 1458136712 installed <13>Feb 3 01:07:29 rpmi: python-modules-2.7.11-alt6.M80P.1 1527682470 installed <13>Feb 3 01:07:29 rpmi: python-modules-ctypes-2.7.11-alt6.M80P.1 1527682470 installed <13>Feb 3 01:07:29 rpmi: python-modules-json-2.7.11-alt6.M80P.1 1527682470 installed <13>Feb 3 01:07:29 rpmi: python-modules-encodings-2.7.11-alt6.M80P.1 1527682470 installed <13>Feb 3 01:07:29 rpmi: python-modules-multiprocessing-2.7.11-alt6.M80P.1 1527682470 installed <13>Feb 3 01:07:29 rpmi: python-modules-logging-2.7.11-alt6.M80P.1 1527682470 installed <13>Feb 3 01:07:29 rpmi: python-tools-2to3-2.7.11-alt6.M80P.1 1527682470 installed <13>Feb 3 01:07:29 rpmi: python-modules-xml-2.7.11-alt6.M80P.1 1527682470 installed <13>Feb 3 01:07:29 rpmi: python-modules-hotshot-2.7.11-alt6.M80P.1 1527682470 installed <13>Feb 3 01:07:29 rpmi: python-modules-bsddb-2.7.11-alt6.M80P.1 1527682470 installed <13>Feb 3 01:07:29 rpmi: python-2.7.11-alt6.M80P.1 1527682470 installed <13>Feb 3 01:07:29 rpmi: python-strict-2.7.11-alt6.M80P.1 1527682534 installed <13>Feb 3 01:07:29 rpmi: python-module-hiredis-0.2.0-alt1.1.1 1459591448 installed <13>Feb 3 01:07:29 rpmi: python-module-pycurl-7.19.5.3-alt1.1.1 1459598459 installed <13>Feb 3 01:07:29 rpmi: python-module-zc-1.0.0-alt6.2 1458024144 installed <13>Feb 3 01:07:29 rpmi: python-dev-2.7.11-alt6.M80P.1 1527682470 installed <13>Feb 3 01:07:29 rpmi: python-module-backports-3.5.0.1-alt0.M80P.1 1525453027 installed <13>Feb 3 01:07:29 rpmi: python-module-backports.ssl_match_hostname-3.5.0.1-alt0.M80P.1 1525453027 installed <13>Feb 3 01:07:29 rpmi: python-module-py-1.4.34-alt0.M80P.1 1503506764 installed <13>Feb 3 01:07:29 rpmi: python-module-simplejson-3.15.0-alt1.M80P.1 1528995430 installed <13>Feb 3 01:07:29 rpmi: python-modules-wsgiref-2.7.11-alt6.M80P.1 1527682470 installed <13>Feb 3 01:07:30 rpmi: python-module-yaml-3.11-alt1.hg20141128.1 1459664840 installed <13>Feb 3 01:07:30 rpmi: python-module-tornado-4.2.1-alt2.M80P.1 1496088637 installed <13>Feb 3 01:07:30 rpmi: python-module-setuptools-1:18.5-alt0.M80P.1 1497527461 installed <13>Feb 3 01:07:30 rpmi: python-module-pytest-3.2.1-alt0.M80P.1 1503499784 installed <13>Feb 3 01:07:30 rpmi: python-module-zope.interface-4.1.3-alt1.dev0.git20150601.4 1459629874 installed <13>Feb 3 01:07:30 rpmi: python-module-toredis-0.1.2-alt1.git20140515.1.1 1458136712 installed Installing python-module-tornadopush-0.7.2-alt1.git20150808.1.1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.26754 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python-module-tornadopush-0.7.2 + echo 'Source #0 (python-module-tornadopush-0.7.2.tar):' Source #0 (python-module-tornadopush-0.7.2.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python-module-tornadopush-0.7.2.tar + cd python-module-tornadopush-0.7.2 + /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/tornadopush/server/queue.py RefactoringTool: Refactored ../python3/tornadopush/server/presence.py RefactoringTool: No changes to ../python3/tornadopush/server/handlers.py RefactoringTool: No changes to ../python3/tornadopush/server/base.py RefactoringTool: No changes to ../python3/tornadopush/server/__init__.py RefactoringTool: No changes to ../python3/tornadopush/client.py RefactoringTool: Refactored ../python3/tornadopush/cli.py RefactoringTool: No changes to ../python3/tornadopush/assets.py RefactoringTool: No changes to ../python3/setup.py RefactoringTool: Files that were modified: RefactoringTool: ../python3/tornadopush/server/queue.py RefactoringTool: ../python3/tornadopush/server/presence.py RefactoringTool: ../python3/tornadopush/server/handlers.py RefactoringTool: ../python3/tornadopush/server/base.py RefactoringTool: ../python3/tornadopush/server/__init__.py RefactoringTool: ../python3/tornadopush/client.py RefactoringTool: ../python3/tornadopush/cli.py RefactoringTool: ../python3/tornadopush/assets.py RefactoringTool: ../python3/setup.py --- ../python3/tornadopush/server/presence.py (original) +++ ../python3/tornadopush/server/presence.py (refactored) @@ -22,7 +22,7 @@ self.users = {} def broadcast(self, msg, ignore_user=None): - for user in self.users.itervalues(): + for user in self.users.values(): if not ignore_user or user.uid != ignore_user: user.send("%s:%s" % (self.name, msg)) @@ -56,7 +56,7 @@ logger.debug('Presence: %s left #%s' % (uid, self.name)) def send_user_list(self, handler, ignore_user=None): - for user in self.users.itervalues(): + for user in self.users.values(): if not ignore_user or user.uid != ignore_user: handler.handle_presence("%s:+:%s;%s" % (self.name, user.uid, user.meta)) @@ -84,7 +84,7 @@ del self.presence_channels[channel] def notify_leave_all(self): - for channel in self.presence_channels.itervalues(): + for channel in self.presence_channels.values(): channel.leave(self.user_id, self) self.presence_channels = {} --- ../python3/tornadopush/cli.py (original) +++ ../python3/tornadopush/cli.py (refactored) @@ -13,7 +13,7 @@ def signal_handler(signum, frame): global is_closing - print "Closing..." + print("Closing...") is_closing = True @@ -71,8 +71,8 @@ if os.path.exists(args.config): with open(args.config) as f: settings.update(yaml.load(f.read())) - print "Starting tornadopush on port %s" % args.port - print "Press Ctrl+C to exit" + print("Starting tornadopush on port %s" % args.port) + print("Press Ctrl+C to exit") signal.signal(signal.SIGINT, signal_handler) tornado.ioloop.PeriodicCallback(try_exit, 100).start() start_server(args.port, **settings) + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.97326 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-tornadopush-0.7.2 + 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/tornadopush copying tornadopush/client.py -> build/lib/tornadopush copying tornadopush/cli.py -> build/lib/tornadopush copying tornadopush/assets.py -> build/lib/tornadopush copying tornadopush/__main__.py -> build/lib/tornadopush copying tornadopush/__init__.py -> build/lib/tornadopush creating build/lib/tornadopush/server copying tornadopush/server/queue.py -> build/lib/tornadopush/server copying tornadopush/server/presence.py -> build/lib/tornadopush/server copying tornadopush/server/handlers.py -> build/lib/tornadopush/server copying tornadopush/server/base.py -> build/lib/tornadopush/server copying tornadopush/server/__init__.py -> build/lib/tornadopush/server creating build/lib/tornadopush/static copying tornadopush/static/websocket.js -> build/lib/tornadopush/static copying tornadopush/static/push.js -> build/lib/tornadopush/static copying tornadopush/static/presence.js -> build/lib/tornadopush/static copying tornadopush/static/eventsource.js -> build/lib/tornadopush/static + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-tornadopush-0.7.2 + 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/tornadopush copying tornadopush/client.py -> build/lib/tornadopush copying tornadopush/cli.py -> build/lib/tornadopush copying tornadopush/assets.py -> build/lib/tornadopush copying tornadopush/__main__.py -> build/lib/tornadopush copying tornadopush/__init__.py -> build/lib/tornadopush creating build/lib/tornadopush/server copying tornadopush/server/queue.py -> build/lib/tornadopush/server copying tornadopush/server/presence.py -> build/lib/tornadopush/server copying tornadopush/server/handlers.py -> build/lib/tornadopush/server copying tornadopush/server/base.py -> build/lib/tornadopush/server copying tornadopush/server/__init__.py -> build/lib/tornadopush/server creating build/lib/tornadopush/static copying tornadopush/static/websocket.js -> build/lib/tornadopush/static copying tornadopush/static/push.js -> build/lib/tornadopush/static copying tornadopush/static/presence.js -> build/lib/tornadopush/static copying tornadopush/static/eventsource.js -> build/lib/tornadopush/static + popd ~/RPM/BUILD/python-module-tornadopush-0.7.2 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.82205 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python-module-tornadopush-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python-module-tornadopush-buildroot + cd python-module-tornadopush-0.7.2 + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-tornadopush-0.7.2 + python3 setup.py install --skip-build --root=/usr/src/tmp/python-module-tornadopush-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-tornadopush-buildroot creating /usr/src/tmp/python-module-tornadopush-buildroot/usr creating /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib creating /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3 creating /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush creating /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/static copying build/lib/tornadopush/static/eventsource.js -> /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/static copying build/lib/tornadopush/static/presence.js -> /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/static copying build/lib/tornadopush/static/push.js -> /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/static copying build/lib/tornadopush/static/websocket.js -> /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/static creating /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/server copying build/lib/tornadopush/server/__init__.py -> /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/server copying build/lib/tornadopush/server/base.py -> /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/server copying build/lib/tornadopush/server/handlers.py -> /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/server copying build/lib/tornadopush/server/presence.py -> /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/server copying build/lib/tornadopush/server/queue.py -> /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/server copying build/lib/tornadopush/__init__.py -> /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush copying build/lib/tornadopush/__main__.py -> /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush copying build/lib/tornadopush/assets.py -> /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush copying build/lib/tornadopush/cli.py -> /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush copying build/lib/tornadopush/client.py -> /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush byte-compiling /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/server/__init__.py to __init__.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/server/base.py to base.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/server/handlers.py to handlers.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/server/presence.py to presence.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/server/queue.py to queue.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/__init__.py to __init__.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/__main__.py to __main__.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/assets.py to assets.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/cli.py to cli.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/client.py to client.cpython-35.pyc running install_egg_info running egg_info creating tornadopush.egg-info writing dependency_links to tornadopush.egg-info/dependency_links.txt writing top-level names to tornadopush.egg-info/top_level.txt writing tornadopush.egg-info/PKG-INFO writing entry points to tornadopush.egg-info/entry_points.txt writing requirements to tornadopush.egg-info/requires.txt writing manifest file 'tornadopush.egg-info/SOURCES.txt' reading manifest file 'tornadopush.egg-info/SOURCES.txt' writing manifest file 'tornadopush.egg-info/SOURCES.txt' Copying tornadopush.egg-info to /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush-0.7.2-py3.5.egg-info running install_scripts Installing tornadopush script to /usr/src/tmp/python-module-tornadopush-buildroot/usr/bin + popd ~/RPM/BUILD/python-module-tornadopush-0.7.2 + pushd /usr/src/tmp/python-module-tornadopush-buildroot/usr/bin ~/tmp/python-module-tornadopush-buildroot/usr/bin ~/RPM/BUILD/python-module-tornadopush-0.7.2 ++ ls + for i in '$(ls)' + mv tornadopush tornadopush.py3 + popd ~/RPM/BUILD/python-module-tornadopush-0.7.2 + /usr/bin/python setup.py install --skip-build --root=/usr/src/tmp/python-module-tornadopush-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python2.7 creating /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python2.7/site-packages creating /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python2.7/site-packages/tornadopush creating /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python2.7/site-packages/tornadopush/static copying build/lib/tornadopush/static/eventsource.js -> /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python2.7/site-packages/tornadopush/static copying build/lib/tornadopush/static/presence.js -> /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python2.7/site-packages/tornadopush/static copying build/lib/tornadopush/static/push.js -> /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python2.7/site-packages/tornadopush/static copying build/lib/tornadopush/static/websocket.js -> /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python2.7/site-packages/tornadopush/static creating /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python2.7/site-packages/tornadopush/server copying build/lib/tornadopush/server/__init__.py -> /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python2.7/site-packages/tornadopush/server copying build/lib/tornadopush/server/base.py -> /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python2.7/site-packages/tornadopush/server copying build/lib/tornadopush/server/handlers.py -> /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python2.7/site-packages/tornadopush/server copying build/lib/tornadopush/server/presence.py -> /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python2.7/site-packages/tornadopush/server copying build/lib/tornadopush/server/queue.py -> /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python2.7/site-packages/tornadopush/server copying build/lib/tornadopush/__init__.py -> /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python2.7/site-packages/tornadopush copying build/lib/tornadopush/__main__.py -> /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python2.7/site-packages/tornadopush copying build/lib/tornadopush/assets.py -> /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python2.7/site-packages/tornadopush copying build/lib/tornadopush/cli.py -> /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python2.7/site-packages/tornadopush copying build/lib/tornadopush/client.py -> /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python2.7/site-packages/tornadopush byte-compiling /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python2.7/site-packages/tornadopush/server/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python2.7/site-packages/tornadopush/server/base.py to base.pyc byte-compiling /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python2.7/site-packages/tornadopush/server/handlers.py to handlers.pyc byte-compiling /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python2.7/site-packages/tornadopush/server/presence.py to presence.pyc byte-compiling /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python2.7/site-packages/tornadopush/server/queue.py to queue.pyc byte-compiling /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python2.7/site-packages/tornadopush/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python2.7/site-packages/tornadopush/__main__.py to __main__.pyc byte-compiling /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python2.7/site-packages/tornadopush/assets.py to assets.pyc byte-compiling /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python2.7/site-packages/tornadopush/cli.py to cli.pyc byte-compiling /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python2.7/site-packages/tornadopush/client.py to client.pyc running install_egg_info running egg_info creating tornadopush.egg-info writing requirements to tornadopush.egg-info/requires.txt writing tornadopush.egg-info/PKG-INFO writing top-level names to tornadopush.egg-info/top_level.txt writing dependency_links to tornadopush.egg-info/dependency_links.txt writing entry points to tornadopush.egg-info/entry_points.txt writing manifest file 'tornadopush.egg-info/SOURCES.txt' reading manifest file 'tornadopush.egg-info/SOURCES.txt' writing manifest file 'tornadopush.egg-info/SOURCES.txt' Copying tornadopush.egg-info to /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python2.7/site-packages/tornadopush-0.7.2-py2.7.egg-info running install_scripts Installing tornadopush script to /usr/src/tmp/python-module-tornadopush-buildroot/usr/bin + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python-module-tornadopush-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python-module-tornadopush-buildroot (binconfig,pkgconfig,libtool,desktop) Compressing files in /usr/src/tmp/python-module-tornadopush-buildroot (auto) Adjusting library links in /usr/src/tmp/python-module-tornadopush-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python-module-tornadopush-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-tornadopush-buildroot using /usr/bin/python unlink /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python2.7/site-packages/tornadopush/server/__init__.pyc unlink /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python2.7/site-packages/tornadopush/server/base.pyc unlink /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python2.7/site-packages/tornadopush/server/handlers.pyc unlink /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python2.7/site-packages/tornadopush/server/presence.pyc unlink /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python2.7/site-packages/tornadopush/server/queue.pyc compile /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python2.7/site-packages/tornadopush/server/__init__.py compile /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python2.7/site-packages/tornadopush/server/base.py compile /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python2.7/site-packages/tornadopush/server/handlers.py compile /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python2.7/site-packages/tornadopush/server/presence.py compile /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python2.7/site-packages/tornadopush/server/queue.py unlink /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python2.7/site-packages/tornadopush/__init__.pyc unlink /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python2.7/site-packages/tornadopush/__main__.pyc unlink /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python2.7/site-packages/tornadopush/assets.pyc unlink /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python2.7/site-packages/tornadopush/cli.pyc unlink /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python2.7/site-packages/tornadopush/client.pyc compile /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python2.7/site-packages/tornadopush/__init__.py compile /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python2.7/site-packages/tornadopush/__main__.py compile /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python2.7/site-packages/tornadopush/assets.py compile /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python2.7/site-packages/tornadopush/cli.py compile /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python2.7/site-packages/tornadopush/client.py Bytecompiling python modules with optimization in /usr/src/tmp/python-module-tornadopush-buildroot using /usr/bin/python -O compile /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python2.7/site-packages/tornadopush/server/__init__.py compile /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python2.7/site-packages/tornadopush/server/base.py compile /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python2.7/site-packages/tornadopush/server/handlers.py compile /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python2.7/site-packages/tornadopush/server/presence.py compile /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python2.7/site-packages/tornadopush/server/queue.py compile /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python2.7/site-packages/tornadopush/__init__.py compile /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python2.7/site-packages/tornadopush/__main__.py compile /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python2.7/site-packages/tornadopush/assets.py compile /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python2.7/site-packages/tornadopush/cli.py compile /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python2.7/site-packages/tornadopush/client.py Bytecompiling python3 modules in /usr/src/tmp/python-module-tornadopush-buildroot using python3 unlink /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/__pycache__/__init__.cpython-35.pyc unlink /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/__pycache__/__main__.cpython-35.pyc unlink /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/__pycache__/assets.cpython-35.pyc unlink /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/__pycache__/cli.cpython-35.pyc unlink /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/__pycache__/client.cpython-35.pyc unlink /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/server/__pycache__/__init__.cpython-35.pyc unlink /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/server/__pycache__/base.cpython-35.pyc unlink /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/server/__pycache__/handlers.cpython-35.pyc unlink /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/server/__pycache__/presence.cpython-35.pyc unlink /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/server/__pycache__/queue.cpython-35.pyc compile /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/server/__init__.py compile /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/server/base.py compile /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/server/handlers.py compile /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/server/presence.py compile /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/server/queue.py compile /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/__init__.py compile /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/__main__.py compile /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/assets.py compile /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/cli.py compile /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/client.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python-module-tornadopush-buildroot using python3 -O compile /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/server/__init__.py compile /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/server/base.py compile /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/server/handlers.py compile /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/server/presence.py compile /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/server/queue.py compile /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/__init__.py compile /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/__main__.py compile /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/assets.py compile /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/cli.py compile /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/client.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python-module-tornadopush-buildroot using python3 -OO compile /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/server/__init__.py compile /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/server/base.py compile /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/server/handlers.py compile /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/server/presence.py compile /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/server/queue.py compile /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/__init__.py compile /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/__main__.py compile /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/assets.py compile /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/cli.py compile /usr/src/tmp/python-module-tornadopush-buildroot/usr/lib/python3/site-packages/tornadopush/client.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/tornadopush/__pycache__/client.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/tornadopush/__pycache__/client.cpython-35.pyc' './usr/lib/python3/site-packages/tornadopush/__pycache__/client.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/tornadopush/__pycache__/client.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/tornadopush/__pycache__/cli.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/tornadopush/__pycache__/cli.cpython-35.pyc' './usr/lib/python3/site-packages/tornadopush/__pycache__/cli.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/tornadopush/__pycache__/cli.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/tornadopush/__pycache__/assets.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/tornadopush/__pycache__/assets.cpython-35.pyc' './usr/lib/python3/site-packages/tornadopush/__pycache__/assets.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/tornadopush/__pycache__/assets.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/tornadopush/__pycache__/__main__.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/tornadopush/__pycache__/__main__.cpython-35.pyc' './usr/lib/python3/site-packages/tornadopush/__pycache__/__main__.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/tornadopush/__pycache__/__main__.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/tornadopush/__pycache__/__init__.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/tornadopush/__pycache__/__init__.cpython-35.pyc' './usr/lib/python3/site-packages/tornadopush/__pycache__/__init__.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/tornadopush/__pycache__/__init__.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/tornadopush/server/__pycache__/queue.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/tornadopush/server/__pycache__/queue.cpython-35.pyc' './usr/lib/python3/site-packages/tornadopush/server/__pycache__/queue.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/tornadopush/server/__pycache__/queue.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/tornadopush/server/__pycache__/presence.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/tornadopush/server/__pycache__/presence.cpython-35.pyc' './usr/lib/python3/site-packages/tornadopush/server/__pycache__/presence.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/tornadopush/server/__pycache__/presence.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/tornadopush/server/__pycache__/handlers.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/tornadopush/server/__pycache__/handlers.cpython-35.pyc' './usr/lib/python3/site-packages/tornadopush/server/__pycache__/handlers.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/tornadopush/server/__pycache__/handlers.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/tornadopush/server/__pycache__/base.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/tornadopush/server/__pycache__/base.cpython-35.pyc' './usr/lib/python3/site-packages/tornadopush/server/__pycache__/base.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/tornadopush/server/__pycache__/base.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/tornadopush/server/__pycache__/__init__.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/tornadopush/server/__pycache__/__init__.cpython-35.pyc' './usr/lib/python3/site-packages/tornadopush/server/__pycache__/__init__.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/tornadopush/server/__pycache__/__init__.cpython-35.opt-1.pyc' Hardlinking identical .pyc and .pyo files './usr/lib/python2.7/site-packages/tornadopush/client.pyo' => './usr/lib/python2.7/site-packages/tornadopush/client.pyc' './usr/lib/python2.7/site-packages/tornadopush/cli.pyo' => './usr/lib/python2.7/site-packages/tornadopush/cli.pyc' './usr/lib/python2.7/site-packages/tornadopush/assets.pyo' => './usr/lib/python2.7/site-packages/tornadopush/assets.pyc' './usr/lib/python2.7/site-packages/tornadopush/__main__.pyo' => './usr/lib/python2.7/site-packages/tornadopush/__main__.pyc' './usr/lib/python2.7/site-packages/tornadopush/__init__.pyo' => './usr/lib/python2.7/site-packages/tornadopush/__init__.pyc' './usr/lib/python2.7/site-packages/tornadopush/server/queue.pyo' => './usr/lib/python2.7/site-packages/tornadopush/server/queue.pyc' './usr/lib/python2.7/site-packages/tornadopush/server/presence.pyo' => './usr/lib/python2.7/site-packages/tornadopush/server/presence.pyc' './usr/lib/python2.7/site-packages/tornadopush/server/handlers.pyo' => './usr/lib/python2.7/site-packages/tornadopush/server/handlers.pyc' './usr/lib/python2.7/site-packages/tornadopush/server/base.pyo' => './usr/lib/python2.7/site-packages/tornadopush/server/base.pyc' './usr/lib/python2.7/site-packages/tornadopush/server/__init__.pyo' => './usr/lib/python2.7/site-packages/tornadopush/server/__init__.pyc' Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.56633 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-tornadopush-0.7.2 + python setup.py test running test running egg_info deleting tornadopush.egg-info/requires.txt writing tornadopush.egg-info/PKG-INFO writing top-level names to tornadopush.egg-info/top_level.txt writing dependency_links to tornadopush.egg-info/dependency_links.txt writing entry points to tornadopush.egg-info/entry_points.txt reading manifest file 'tornadopush.egg-info/SOURCES.txt' writing manifest file 'tornadopush.egg-info/SOURCES.txt' running build_ext ---------------------------------------------------------------------- Ran 0 tests in 0.000s OK + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-tornadopush-0.7.2 + python3 setup.py test running test running egg_info writing dependency_links to tornadopush.egg-info/dependency_links.txt writing top-level names to tornadopush.egg-info/top_level.txt writing tornadopush.egg-info/PKG-INFO writing entry points to tornadopush.egg-info/entry_points.txt deleting tornadopush.egg-info/requires.txt reading manifest file 'tornadopush.egg-info/SOURCES.txt' writing manifest file 'tornadopush.egg-info/SOURCES.txt' running build_ext tornadopush (unittest.loader._FailedTest) ... ERROR ====================================================================== ERROR: tornadopush (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: tornadopush Traceback (most recent call last): File "/usr/lib64/python3.5/unittest/loader.py", line 462, in _find_test_path package = self._get_module_from_name(name) File "/usr/lib64/python3.5/unittest/loader.py", line 369, in _get_module_from_name __import__(name) File "/usr/src/RPM/BUILD/python3/tornadopush/__init__.py", line 1, in from .client import Channel, EventEmitter, connect, emit File "/usr/src/RPM/BUILD/python3/tornadopush/client.py", line 2, in from itsdangerous import URLSafeTimedSerializer ImportError: No module named 'itsdangerous' ---------------------------------------------------------------------- Ran 1 test in 0.000s FAILED (errors=1) error: Bad exit status from /usr/src/tmp/rpm-tmp.56633 (%check) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.56633 (%check) Command exited with non-zero status 1 2.71user 0.34system 0:06.63elapsed 46%CPU (0avgtext+0avgdata 24900maxresident)k 0inputs+0outputs (0major+125968minor)pagefaults 0swaps hsh-rebuild: rebuild of `python-module-tornadopush-0.7.2-alt1.git20150808.1.1.src.rpm' failed. Command exited with non-zero status 1 12.98user 2.43system 0:26.77elapsed 57%CPU (0avgtext+0avgdata 125252maxresident)k 4600inputs+0outputs (0major+453625minor)pagefaults 0swaps