<86>Apr 14 01:18:36 userdel[11795]: delete user 'rooter' <86>Apr 14 01:18:36 groupadd[11823]: group added to /etc/group: name=rooter, GID=567 <86>Apr 14 01:18:36 groupadd[11823]: group added to /etc/gshadow: name=rooter <86>Apr 14 01:18:36 groupadd[11823]: new group: name=rooter, GID=567 <86>Apr 14 01:18:36 useradd[11837]: new user: name=rooter, UID=567, GID=567, home=/root, shell=/bin/bash <86>Apr 14 01:18:36 userdel[11858]: delete user 'builder' <86>Apr 14 01:18:36 userdel[11858]: removed group 'builder' owned by 'builder' <86>Apr 14 01:18:36 userdel[11858]: removed shadow group 'builder' owned by 'builder' <86>Apr 14 01:18:36 groupadd[11873]: group added to /etc/group: name=builder, GID=568 <86>Apr 14 01:18:36 groupadd[11873]: group added to /etc/gshadow: name=builder <86>Apr 14 01:18:36 groupadd[11873]: new group: name=builder, GID=568 <86>Apr 14 01:18:36 useradd[11888]: new user: name=builder, UID=568, GID=568, home=/usr/src, shell=/bin/bash <13>Apr 14 01:18:42 rpmi: ca-certificates-2016.02.25-alt1 1462368370 installed <13>Apr 14 01:18:42 rpmi: libcrypto10-1.0.2n-alt0.M80P.1 1512766129 installed <13>Apr 14 01:18:42 rpmi: libyaml2-0.1.6-alt1 1397147705 installed <13>Apr 14 01:18:42 rpmi: libexpat-2.2.4-alt0.M80P.1 1503871120 installed <13>Apr 14 01:18:42 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Apr 14 01:18:42 rpmi: python-module-ndg-0.4.0-alt2.1.1 1460404734 installed <13>Apr 14 01:18:42 rpmi: python-module-enum34-1.0.4-alt1.1.1 1457942288 installed <13>Apr 14 01:18:42 rpmi: libtinfo-devel-5.9-alt8 1456756459 installed <13>Apr 14 01:18:42 rpmi: libncurses-devel-5.9-alt8 1456756459 installed <13>Apr 14 01:18:42 rpmi: python-modules-curses-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:18:42 rpmi: libverto-0.2.6-alt1_6 1455633234 installed <13>Apr 14 01:18:42 rpmi: libkeyutils-1.5.10-alt0.M80P.2 p8+216694.100.6.1 1547827915 installed <13>Apr 14 01:18:42 rpmi: libcom_err-1.42.13-alt2 1449075846 installed <13>Apr 14 01:18:42 rpmi: libssl10-1.0.2n-alt0.M80P.1 1512766129 installed <86>Apr 14 01:18:42 groupadd[23174]: group added to /etc/group: name=_keytab, GID=499 <86>Apr 14 01:18:42 groupadd[23174]: group added to /etc/gshadow: name=_keytab <86>Apr 14 01:18:42 groupadd[23174]: new group: name=_keytab, GID=499 <13>Apr 14 01:18:42 rpmi: libkrb5-1.14.6-alt1.M80P.1 1525355673 installed <13>Apr 14 01:18:43 rpmi: python3-base-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 14 01:18:43 rpmi: python-modules-compiler-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:18:43 rpmi: python3-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 14 01:18:43 rpmi: python3-module-py-1.4.34-alt0.M80P.1 1503506764 installed <13>Apr 14 01:18:43 rpmi: rpm-build-python3-0.1.10.10-alt1.M80P.1 1530521451 installed <13>Apr 14 01:18:43 rpmi: python3-module-argcomplete-0.8.3-alt1.git20141109.1.1 1457887253 installed <13>Apr 14 01:18:43 rpmi: python3-module-bottle-0.13-alt1.dev.git20141002.1.1 1457892498 installed <13>Apr 14 01:18:43 rpmi: python3-module-bson-3.0.3-alt1.1.1 1459599114 installed <13>Apr 14 01:18:43 rpmi: python3-module-pymongo-3.0.3-alt1.1.1 1459599114 installed <13>Apr 14 01:18:43 rpmi: python3-module-yaml-3.11-alt1.hg20141128.1 1459664840 installed <13>Apr 14 01:18:43 rpmi: python-module-rlcompleter2-0.98-alt1 1408347464 installed <13>Apr 14 01:18:43 rpmi: libpython3-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 14 01:18:43 rpmi: python3-module-argh-0.26.1-alt1.git20141030.1.1 1457887538 installed <13>Apr 14 01:18:43 rpmi: python3-module-chardet-3.0.4-alt1 1506613818 installed <13>Apr 14 01:18:43 rpmi: python3-module-pathtools-0.1.1-alt1.git20111003.1.1 1458059003 installed <13>Apr 14 01:18:44 rpmi: python3-dev-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 14 01:18:44 rpmi: python-modules-email-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:18:44 rpmi: python3-module-setuptools-1:18.5-alt0.M80P.1 1497527461 installed <13>Apr 14 01:18:44 rpmi: python3-module-yieldfrom-0.1.2-alt4.git20141229 1461857760 installed <13>Apr 14 01:18:44 rpmi: python3-module-pytest-3.2.1-alt0.M80P.1 1503499784 installed <13>Apr 14 01:18:44 rpmi: python3-module-yieldfrom.http-0.1.2-alt2.git20150311 1461873106 installed <13>Apr 14 01:18:44 rpmi: python3-module-yieldfrom.http.client-0.1.2-alt2.git20150311 1461873106 installed <13>Apr 14 01:18:44 rpmi: python3-module-yieldfrom.urllib3-0.1.2-alt4.git20141229 1461857760 installed <13>Apr 14 01:18:44 rpmi: python3-module-yieldfrom.requests-0.1.1-alt1.git20141019.1 1458117679 installed <13>Apr 14 01:18:44 rpmi: python3-module-servicemanager-0.0.16-alt1.git20141007.1 1458106067 installed <13>Apr 14 01:18:44 rpmi: python3-module-execnet-1.2.0-alt1.1.1 1457943031 installed <13>Apr 14 01:18:44 rpmi: python3-module-pytest-cache-1.0-alt1.hg20140304.1.1 1458078881 installed <13>Apr 14 01:18:44 rpmi: python3-module-coverage-4.0-alt1.a7.git20150730.1.1 1459584383 installed <13>Apr 14 01:18:44 rpmi: python3-module-watchdog-0.8.3-alt2.git20150727.1.1 1458168168 installed <13>Apr 14 01:18:44 rpmi: python-modules-unittest-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:18:45 rpmi: python-modules-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:18:45 rpmi: python-modules-ctypes-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:18:45 rpmi: python-modules-json-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:18:45 rpmi: python-modules-encodings-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:18:45 rpmi: python-modules-xml-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:18:45 rpmi: python-module-six-1.10.0-alt7 1496087616 installed <13>Apr 14 01:18:45 rpmi: python-modules-multiprocessing-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:18:45 rpmi: python-modules-logging-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:18:45 rpmi: python-module-py-1.4.34-alt0.M80P.1 1503506764 installed <13>Apr 14 01:18:45 rpmi: python-module-argh-0.26.1-alt1.git20141030.1.1 1457887538 installed <13>Apr 14 01:18:45 rpmi: python-module-chardet-3.0.4-alt1 1506613818 installed <13>Apr 14 01:18:45 rpmi: python-tools-2to3-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:18:45 rpmi: python-module-bson-3.0.3-alt1.1.1 1459599114 installed <13>Apr 14 01:18:45 rpmi: python-module-pymongo-3.0.3-alt1.1.1 1459599114 installed <13>Apr 14 01:18:45 rpmi: python-modules-hotshot-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:18:45 rpmi: python-modules-bsddb-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:18:45 rpmi: python-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:18:45 rpmi: python-strict-2.7.11-alt6.M80P.1 1527682534 installed <13>Apr 14 01:18:45 rpmi: python-module-idna-2.5-alt0.M80P.1 1501735172 installed <13>Apr 14 01:18:45 rpmi: python-module-pycparser-2.14-alt1.1 1458071180 installed <13>Apr 14 01:18:45 rpmi: python-module-cffi-1.10.0-alt0.M80P.1 1501702481 installed <13>Apr 14 01:18:45 rpmi: python-module-asn1crypto-0.22.0-alt0.M80P.1 1501735102 installed <13>Apr 14 01:18:45 rpmi: python-dev-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:18:45 rpmi: python-module-ipaddress-1.0.18-alt0.M80P.1 1525452992 installed <13>Apr 14 01:18:45 rpmi: python-module-cryptography-2.0.0-alt0.M80P.1 1501702598 installed <13>Apr 14 01:18:45 rpmi: python-module-OpenSSL-16.2.0-alt0.M80P.1 1505402609 installed <13>Apr 14 01:18:45 rpmi: python-module-argcomplete-0.8.3-alt1.git20141109.1.1 1457887253 installed <13>Apr 14 01:18:45 rpmi: python-module-backports-3.5.0.1-alt0.M80P.1 1525453027 installed <13>Apr 14 01:18:45 rpmi: python-module-backports.ssl_match_hostname-3.5.0.1-alt0.M80P.1 1525453027 installed <13>Apr 14 01:18:45 rpmi: python-module-bottle-0.13-alt1.dev.git20141002.1.1 1457892498 installed <13>Apr 14 01:18:45 rpmi: python-module-pathtools-0.1.1-alt1.git20111003.1.1 1458059003 installed <13>Apr 14 01:18:45 rpmi: python-module-yaml-3.11-alt1.hg20141128.1 1459664840 installed <13>Apr 14 01:18:45 rpmi: python-module-setuptools-1:18.5-alt0.M80P.1 1497527461 installed <13>Apr 14 01:18:46 rpmi: python-module-pytest-3.2.1-alt0.M80P.1 1503499784 installed <13>Apr 14 01:18:46 rpmi: python-module-ndg-httpsclient-0.4.0-alt2.1.1 1460404734 installed <13>Apr 14 01:18:46 rpmi: python-module-ntlm-1.1.0-alt1.1.1.1 1460405346 installed <13>Apr 14 01:18:46 rpmi: python-module-urllib3-2:1.21.1-alt1 1506613994 installed <13>Apr 14 01:18:46 rpmi: python-module-requests-2.18.4-alt1 1506613877 installed <13>Apr 14 01:18:46 rpmi: python-module-servicemanager-0.0.16-alt1.git20141007.1 1458106067 installed <13>Apr 14 01:18:46 rpmi: python-module-execnet-1.2.0-alt1.1.1 1457943031 installed <13>Apr 14 01:18:46 rpmi: python-module-coverage-4.0-alt1.a7.git20150730.1.1 1459584383 installed <13>Apr 14 01:18:46 rpmi: python-module-pytest-cache-1.0-alt1.hg20140304.1.1 1458078881 installed <13>Apr 14 01:18:46 rpmi: python-module-watchdog-0.8.3-alt2.git20150727.1.1 1458168168 installed Installing python-module-testmon-0.1.1-alt1.a6.git20150224.1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.87113 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python-module-testmon-0.1.1 + echo 'Source #0 (python-module-testmon-0.1.1.tar):' Source #0 (python-module-testmon-0.1.1.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python-module-testmon-0.1.1.tar + cd python-module-testmon-0.1.1 + /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: Refactored ../python3/testmon/tmon.py RefactoringTool: Refactored ../python3/testmon/plugin.py RefactoringTool: No changes to ../python3/setup.py RefactoringTool: No changes to ../python3/exampleproject/tests/test_b.py RefactoringTool: No changes to ../python3/exampleproject/tests/test_ab.py RefactoringTool: No changes to ../python3/exampleproject/tests/test_a.py RefactoringTool: No changes to ../python3/exampleproject/miner.py RefactoringTool: No changes to ../python3/exampleproject/iohog.py RefactoringTool: Refactored ../python3/exampleproject/c.py RefactoringTool: Files that were modified: RefactoringTool: ../python3/testmon/tmon.py RefactoringTool: ../python3/testmon/plugin.py RefactoringTool: ../python3/setup.py RefactoringTool: ../python3/exampleproject/tests/test_b.py RefactoringTool: ../python3/exampleproject/tests/test_ab.py RefactoringTool: ../python3/exampleproject/tests/test_a.py RefactoringTool: ../python3/exampleproject/miner.py RefactoringTool: ../python3/exampleproject/iohog.py RefactoringTool: ../python3/exampleproject/c.py --- ../python3/testmon/tmon.py (original) +++ ../python3/testmon/tmon.py (refactored) @@ -1,5 +1,5 @@ #!/usr/bin/env python -from __future__ import print_function + import os import sys import time --- ../python3/testmon/plugin.py (original) +++ ../python3/testmon/plugin.py (refactored) @@ -1,4 +1,4 @@ -from __future__ import division + import os import time import pdb @@ -50,7 +50,7 @@ def by_test_count(self): test_counts = defaultdict(lambda : 0) - for nodeid, node in self.node_data.items(): + for nodeid, node in list(self.node_data.items()): runs_modules = node['runs_modules'] for module in runs_modules: test_counts[module] += 1 @@ -79,12 +79,12 @@ def by_test_count(config, session): tests_for_modules = config.depgraph.by_test_count() - for k in sorted(tests_for_modules.items(), key=lambda ite:ite[1]): - print "%s: %s" % (k[1], os.path.relpath(k[0])) + for k in sorted(list(tests_for_modules.items()), key=lambda ite:ite[1]): + print("%s: %s" % (k[1], os.path.relpath(k[0]))) def pytest_report_header(config): from datetime import datetime as dt - delta = dt(2015, 03, 20, 6, 59) - dt.utcnow() + delta = dt(2015, 0o3, 20, 6, 59) - dt.utcnow() if delta.days >= 0: igg = "http://igg.me/at/testmon closes in" \ " {} days {} hours, please contribute.\n".format(delta.days, @@ -163,7 +163,7 @@ item.config.depgraph.set_runs_modules(item.nodeid, runs_modules) if not runs_modules: - print "Warning: tracing of %s failed!" % item.nodeid + print("Warning: tracing of %s failed!" % item.nodeid) return ret --- ../python3/exampleproject/c.py (original) +++ ../python3/exampleproject/c.py (refactored) @@ -1 +1 @@ -print "This file does not have any tests so modifying it shouldn't trigger any to run." +print("This file does not have any tests so modifying it shouldn't trigger any to run.") + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.91110 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-testmon-0.1.1 + 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/testmon copying testmon/tmon.py -> build/lib/testmon copying testmon/plugin.py -> build/lib/testmon copying testmon/__init__.py -> build/lib/testmon running build_scripts creating build/scripts-2.7 copying and adjusting testmon/tmon.py -> build/scripts-2.7 changing mode of build/scripts-2.7/tmon.py from 644 to 755 + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-testmon-0.1.1 + 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/testmon copying testmon/tmon.py -> build/lib/testmon copying testmon/plugin.py -> build/lib/testmon copying testmon/__init__.py -> build/lib/testmon running build_scripts creating build/scripts-3.5 copying and adjusting testmon/tmon.py -> build/scripts-3.5 changing mode of build/scripts-3.5/tmon.py from 644 to 755 + popd ~/RPM/BUILD/python-module-testmon-0.1.1 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.91329 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python-module-testmon-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python-module-testmon-buildroot + cd python-module-testmon-0.1.1 + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-testmon-0.1.1 + python3 setup.py install --skip-build --root=/usr/src/tmp/python-module-testmon-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-testmon-buildroot creating /usr/src/tmp/python-module-testmon-buildroot/usr creating /usr/src/tmp/python-module-testmon-buildroot/usr/lib creating /usr/src/tmp/python-module-testmon-buildroot/usr/lib/python3 creating /usr/src/tmp/python-module-testmon-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python-module-testmon-buildroot/usr/lib/python3/site-packages/testmon copying build/lib/testmon/__init__.py -> /usr/src/tmp/python-module-testmon-buildroot/usr/lib/python3/site-packages/testmon copying build/lib/testmon/plugin.py -> /usr/src/tmp/python-module-testmon-buildroot/usr/lib/python3/site-packages/testmon copying build/lib/testmon/tmon.py -> /usr/src/tmp/python-module-testmon-buildroot/usr/lib/python3/site-packages/testmon byte-compiling /usr/src/tmp/python-module-testmon-buildroot/usr/lib/python3/site-packages/testmon/__init__.py to __init__.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-testmon-buildroot/usr/lib/python3/site-packages/testmon/plugin.py to plugin.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-testmon-buildroot/usr/lib/python3/site-packages/testmon/tmon.py to tmon.cpython-35.pyc running install_data copying README.rst -> /usr/src/tmp/python-module-testmon-buildroot/usr/ running install_egg_info running egg_info creating testmon.egg-info writing top-level names to testmon.egg-info/top_level.txt writing requirements to testmon.egg-info/requires.txt writing dependency_links to testmon.egg-info/dependency_links.txt writing testmon.egg-info/PKG-INFO writing entry points to testmon.egg-info/entry_points.txt writing manifest file 'testmon.egg-info/SOURCES.txt' reading manifest file 'testmon.egg-info/SOURCES.txt' writing manifest file 'testmon.egg-info/SOURCES.txt' Copying testmon.egg-info to /usr/src/tmp/python-module-testmon-buildroot/usr/lib/python3/site-packages/testmon-0.1.1a6-py3.5.egg-info running install_scripts creating /usr/src/tmp/python-module-testmon-buildroot/usr/bin copying build/scripts-3.5/tmon.py -> /usr/src/tmp/python-module-testmon-buildroot/usr/bin changing mode of /usr/src/tmp/python-module-testmon-buildroot/usr/bin/tmon.py to 755 + popd ~/RPM/BUILD/python-module-testmon-0.1.1 + pushd /usr/src/tmp/python-module-testmon-buildroot/usr/bin ~/tmp/python-module-testmon-buildroot/usr/bin ~/RPM/BUILD/python-module-testmon-0.1.1 ++ ls + for i in '$(ls)' + mv tmon.py tmon.py3 + popd ~/RPM/BUILD/python-module-testmon-0.1.1 + /usr/bin/python setup.py install --skip-build --root=/usr/src/tmp/python-module-testmon-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-testmon-buildroot/usr/lib/python2.7 creating /usr/src/tmp/python-module-testmon-buildroot/usr/lib/python2.7/site-packages creating /usr/src/tmp/python-module-testmon-buildroot/usr/lib/python2.7/site-packages/testmon copying build/lib/testmon/__init__.py -> /usr/src/tmp/python-module-testmon-buildroot/usr/lib/python2.7/site-packages/testmon copying build/lib/testmon/plugin.py -> /usr/src/tmp/python-module-testmon-buildroot/usr/lib/python2.7/site-packages/testmon copying build/lib/testmon/tmon.py -> /usr/src/tmp/python-module-testmon-buildroot/usr/lib/python2.7/site-packages/testmon byte-compiling /usr/src/tmp/python-module-testmon-buildroot/usr/lib/python2.7/site-packages/testmon/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-testmon-buildroot/usr/lib/python2.7/site-packages/testmon/plugin.py to plugin.pyc byte-compiling /usr/src/tmp/python-module-testmon-buildroot/usr/lib/python2.7/site-packages/testmon/tmon.py to tmon.pyc running install_data copying README.rst -> /usr/src/tmp/python-module-testmon-buildroot/usr/ running install_egg_info running egg_info creating testmon.egg-info writing requirements to testmon.egg-info/requires.txt writing testmon.egg-info/PKG-INFO writing top-level names to testmon.egg-info/top_level.txt writing dependency_links to testmon.egg-info/dependency_links.txt writing entry points to testmon.egg-info/entry_points.txt writing manifest file 'testmon.egg-info/SOURCES.txt' reading manifest file 'testmon.egg-info/SOURCES.txt' writing manifest file 'testmon.egg-info/SOURCES.txt' Copying testmon.egg-info to /usr/src/tmp/python-module-testmon-buildroot/usr/lib/python2.7/site-packages/testmon-0.1.1a6-py2.7.egg-info running install_scripts copying build/scripts-2.7/tmon.py -> /usr/src/tmp/python-module-testmon-buildroot/usr/bin changing mode of /usr/src/tmp/python-module-testmon-buildroot/usr/bin/tmon.py to 755 + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python-module-testmon-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python-module-testmon-buildroot (binconfig,pkgconfig,libtool,desktop) Compressing files in /usr/src/tmp/python-module-testmon-buildroot (auto) Adjusting library links in /usr/src/tmp/python-module-testmon-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python-module-testmon-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-testmon-buildroot using /usr/bin/python unlink /usr/src/tmp/python-module-testmon-buildroot/usr/lib/python2.7/site-packages/testmon/__init__.pyc unlink /usr/src/tmp/python-module-testmon-buildroot/usr/lib/python2.7/site-packages/testmon/plugin.pyc unlink /usr/src/tmp/python-module-testmon-buildroot/usr/lib/python2.7/site-packages/testmon/tmon.pyc compile /usr/src/tmp/python-module-testmon-buildroot/usr/lib/python2.7/site-packages/testmon/__init__.py compile /usr/src/tmp/python-module-testmon-buildroot/usr/lib/python2.7/site-packages/testmon/plugin.py compile /usr/src/tmp/python-module-testmon-buildroot/usr/lib/python2.7/site-packages/testmon/tmon.py Bytecompiling python modules with optimization in /usr/src/tmp/python-module-testmon-buildroot using /usr/bin/python -O compile /usr/src/tmp/python-module-testmon-buildroot/usr/lib/python2.7/site-packages/testmon/__init__.py compile /usr/src/tmp/python-module-testmon-buildroot/usr/lib/python2.7/site-packages/testmon/plugin.py compile /usr/src/tmp/python-module-testmon-buildroot/usr/lib/python2.7/site-packages/testmon/tmon.py Bytecompiling python3 modules in /usr/src/tmp/python-module-testmon-buildroot using python3 unlink /usr/src/tmp/python-module-testmon-buildroot/usr/lib/python3/site-packages/testmon/__pycache__/__init__.cpython-35.pyc unlink /usr/src/tmp/python-module-testmon-buildroot/usr/lib/python3/site-packages/testmon/__pycache__/plugin.cpython-35.pyc unlink /usr/src/tmp/python-module-testmon-buildroot/usr/lib/python3/site-packages/testmon/__pycache__/tmon.cpython-35.pyc compile /usr/src/tmp/python-module-testmon-buildroot/usr/lib/python3/site-packages/testmon/__init__.py compile /usr/src/tmp/python-module-testmon-buildroot/usr/lib/python3/site-packages/testmon/plugin.py compile /usr/src/tmp/python-module-testmon-buildroot/usr/lib/python3/site-packages/testmon/tmon.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python-module-testmon-buildroot using python3 -O compile /usr/src/tmp/python-module-testmon-buildroot/usr/lib/python3/site-packages/testmon/__init__.py compile /usr/src/tmp/python-module-testmon-buildroot/usr/lib/python3/site-packages/testmon/plugin.py compile /usr/src/tmp/python-module-testmon-buildroot/usr/lib/python3/site-packages/testmon/tmon.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python-module-testmon-buildroot using python3 -OO compile /usr/src/tmp/python-module-testmon-buildroot/usr/lib/python3/site-packages/testmon/__init__.py compile /usr/src/tmp/python-module-testmon-buildroot/usr/lib/python3/site-packages/testmon/plugin.py compile /usr/src/tmp/python-module-testmon-buildroot/usr/lib/python3/site-packages/testmon/tmon.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/testmon/__pycache__/tmon.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/testmon/__pycache__/tmon.cpython-35.pyc' './usr/lib/python3/site-packages/testmon/__pycache__/tmon.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/testmon/__pycache__/tmon.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/testmon/__pycache__/plugin.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/testmon/__pycache__/plugin.cpython-35.pyc' './usr/lib/python3/site-packages/testmon/__pycache__/__init__.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/testmon/__pycache__/__init__.cpython-35.pyc' './usr/lib/python3/site-packages/testmon/__pycache__/__init__.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/testmon/__pycache__/__init__.cpython-35.opt-1.pyc' Hardlinking identical .pyc and .pyo files './usr/lib/python2.7/site-packages/testmon/tmon.pyo' => './usr/lib/python2.7/site-packages/testmon/tmon.pyc' './usr/lib/python2.7/site-packages/testmon/plugin.pyo' => './usr/lib/python2.7/site-packages/testmon/plugin.pyc' './usr/lib/python2.7/site-packages/testmon/__init__.pyo' => './usr/lib/python2.7/site-packages/testmon/__init__.pyc' Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.31668 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-testmon-0.1.1 + python setup.py test running test running egg_info deleting testmon.egg-info/requires.txt writing testmon.egg-info/PKG-INFO writing top-level names to testmon.egg-info/top_level.txt writing dependency_links to testmon.egg-info/dependency_links.txt writing entry points to testmon.egg-info/entry_points.txt reading manifest file 'testmon.egg-info/SOURCES.txt' writing manifest file 'testmon.egg-info/SOURCES.txt' running build_ext ---------------------------------------------------------------------- Ran 0 tests in 0.000s OK + py.test -vv ============================= test session starts ============================== platform linux2 -- Python 2.7.11, pytest-3.2.1, py-1.4.34, pluggy-0.4.0 -- /usr/bin/python cachedir: .cache rootdir: /usr/src/RPM/BUILD/python-module-testmon-0.1.1, inifile: collecting ... collected 5 items exampleproject/tests/test_a.py::TestA::test_add PASSED exampleproject/tests/test_a.py::TestA::test_subtract PASSED exampleproject/tests/test_ab.py::TestAB::test_add_and_multiply PASSED exampleproject/tests/test_b.py::TestB::test_divide PASSED exampleproject/tests/test_b.py::TestB::test_multiply PASSED =========================== 5 passed in 2.08 seconds =========================== + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-testmon-0.1.1 + python3 setup.py test running test running egg_info deleting testmon.egg-info/requires.txt writing dependency_links to testmon.egg-info/dependency_links.txt writing top-level names to testmon.egg-info/top_level.txt writing testmon.egg-info/PKG-INFO writing entry points to testmon.egg-info/entry_points.txt reading manifest file 'testmon.egg-info/SOURCES.txt' writing manifest file 'testmon.egg-info/SOURCES.txt' running build_ext test_divide (exampleproject.tests.test_b.TestB) test division ... ok test_multiply (exampleproject.tests.test_b.TestB) test multiplying ... ok test_add_and_multiply (exampleproject.tests.test_ab.TestAB) test adding and multiplying at the same time ... ok test_add (exampleproject.tests.test_a.TestA) test adding ... ok test_subtract (exampleproject.tests.test_a.TestA) test subtracting ... ok test_divide (exampleproject.tests.test_b.TestB) test division ... ok test_multiply (exampleproject.tests.test_b.TestB) test multiplying ... ok test_add_and_multiply (exampleproject.tests.test_ab.TestAB) test adding and multiplying at the same time ... ok test_add (exampleproject.tests.test_a.TestA) test adding ... ok test_subtract (exampleproject.tests.test_a.TestA) test subtracting ... ok test_add (exampleproject.tests.test_a.TestA) test adding ... ok test_subtract (exampleproject.tests.test_a.TestA) test subtracting ... ok test_add_and_multiply (exampleproject.tests.test_ab.TestAB) test adding and multiplying at the same time ... ok test_divide (exampleproject.tests.test_b.TestB) test division ... ok test_multiply (exampleproject.tests.test_b.TestB) test multiplying ... ok ---------------------------------------------------------------------- Ran 15 tests in 6.032s OK This file does not have any tests so modifying it shouldn't trigger any to run. + py.test-3.5 -vv /usr/src/tmp/rpm-tmp.31668: line 125: py.test-3.5: command not found error: Bad exit status from /usr/src/tmp/rpm-tmp.31668 (%check) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.31668 (%check) Command exited with non-zero status 1 5.71user 0.95system 0:14.97elapsed 44%CPU (0avgtext+0avgdata 28772maxresident)k 0inputs+0outputs (0major+131144minor)pagefaults 0swaps hsh-rebuild: rebuild of `python-module-testmon-0.1.1-alt1.a6.git20150224.1.src.rpm' failed. Command exited with non-zero status 1 14.73user 5.46system 0:28.86elapsed 69%CPU (0avgtext+0avgdata 122056maxresident)k 0inputs+0outputs (0major+330447minor)pagefaults 0swaps