<86>Apr 21 00:50:24 userdel[39912]: delete user 'rooter' <86>Apr 21 00:50:24 userdel[39912]: removed group 'rooter' owned by 'rooter' <86>Apr 21 00:50:24 userdel[39912]: removed shadow group 'rooter' owned by 'rooter' <86>Apr 21 00:50:24 groupadd[39949]: group added to /etc/group: name=rooter, GID=627 <86>Apr 21 00:50:24 groupadd[39949]: group added to /etc/gshadow: name=rooter <86>Apr 21 00:50:24 groupadd[39949]: new group: name=rooter, GID=627 <86>Apr 21 00:50:24 useradd[39968]: new user: name=rooter, UID=627, GID=627, home=/root, shell=/bin/bash <86>Apr 21 00:50:24 userdel[40043]: delete user 'builder' <86>Apr 21 00:50:24 userdel[40043]: removed group 'builder' owned by 'builder' <86>Apr 21 00:50:24 userdel[40043]: removed shadow group 'builder' owned by 'builder' <86>Apr 21 00:50:24 groupadd[40072]: group added to /etc/group: name=builder, GID=628 <86>Apr 21 00:50:24 groupadd[40072]: group added to /etc/gshadow: name=builder <86>Apr 21 00:50:24 groupadd[40072]: new group: name=builder, GID=628 <86>Apr 21 00:50:24 useradd[40087]: new user: name=builder, UID=628, GID=628, home=/usr/src, shell=/bin/bash <13>Apr 21 00:50:28 rpmi: libexpat-2.2.4-alt0.M80P.1 1503871120 installed <13>Apr 21 00:50:28 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Apr 21 00:50:28 rpmi: libtinfo-devel-5.9-alt8 1456756459 installed <13>Apr 21 00:50:28 rpmi: libncurses-devel-5.9-alt8 1456756459 installed <13>Apr 21 00:50:28 rpmi: python-modules-curses-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 00:50:28 rpmi: libverto-0.2.6-alt1_6 1455633234 installed <13>Apr 21 00:50:28 rpmi: libkeyutils-1.5.10-alt0.M80P.2 p8+216694.100.6.1 1547827915 installed <13>Apr 21 00:50:28 rpmi: libcom_err-1.42.13-alt2 1449075846 installed <13>Apr 21 00:50:28 rpmi: ca-certificates-2016.02.25-alt1 1462368370 installed <13>Apr 21 00:50:28 rpmi: libcrypto10-1.0.2n-alt0.M80P.1 1512766129 installed <13>Apr 21 00:50:28 rpmi: libssl10-1.0.2n-alt0.M80P.1 1512766129 installed <86>Apr 21 00:50:28 groupadd[60766]: group added to /etc/group: name=_keytab, GID=499 <13>Apr 21 00:50:28 rpmi: libkrb5-1.14.6-alt1.M80P.1 1525355673 installed <13>Apr 21 00:50:29 rpmi: python3-base-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 21 00:50:29 rpmi: python3-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 21 00:50:29 rpmi: python-modules-compiler-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 00:50:29 rpmi: rpm-build-python3-0.1.10.10-alt1.M80P.1 1530521451 installed <13>Apr 21 00:50:29 rpmi: libpython3-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 21 00:50:29 rpmi: python3-module-py-1.4.34-alt0.M80P.1 1503506764 installed <13>Apr 21 00:50:29 rpmi: python3-dev-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 21 00:50:29 rpmi: python-modules-email-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 00:50:29 rpmi: python3-module-pytest-3.2.1-alt0.M80P.1 1503499784 installed <13>Apr 21 00:50:29 rpmi: python3-module-setuptools-1:18.5-alt0.M80P.1 1497527461 installed <13>Apr 21 00:50:29 rpmi: python-modules-unittest-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 00:50:30 rpmi: python-modules-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 00:50:30 rpmi: python-modules-ctypes-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 00:50:30 rpmi: python-modules-encodings-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 00:50:30 rpmi: python-modules-multiprocessing-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 00:50:30 rpmi: python-modules-logging-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 00:50:30 rpmi: python-tools-2to3-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 00:50:30 rpmi: python-modules-xml-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 00:50:30 rpmi: python-modules-hotshot-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 00:50:30 rpmi: python-modules-bsddb-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 00:50:30 rpmi: python-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 00:50:30 rpmi: python-dev-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 00:50:30 rpmi: python-module-py-1.4.34-alt0.M80P.1 1503506764 installed <13>Apr 21 00:50:30 rpmi: python-modules-json-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 00:50:30 rpmi: python-module-pytest-3.2.1-alt0.M80P.1 1503499784 installed <13>Apr 21 00:50:30 rpmi: python-module-setuptools-1:18.5-alt0.M80P.1 1497527461 installed Installing python-module-collect-exceptions-0.0.5-alt1.git20150209.1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.60593 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python-module-collect-exceptions-0.0.5 + echo 'Source #0 (python-module-collect-exceptions-0.0.5.tar):' Source #0 (python-module-collect-exceptions-0.0.5.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python-module-collect-exceptions-0.0.5.tar + cd python-module-collect-exceptions-0.0.5 + /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/collect_exceptions/contrib/django/models.py RefactoringTool: Refactored ../python3/collect_exceptions/contrib/celery/__init__.py RefactoringTool: No changes to ../python3/collect_exceptions/__init__.py RefactoringTool: Files that were modified: RefactoringTool: ../python3/setup.py RefactoringTool: ../python3/collect_exceptions/contrib/django/models.py RefactoringTool: ../python3/collect_exceptions/contrib/celery/__init__.py RefactoringTool: ../python3/collect_exceptions/__init__.py --- ../python3/collect_exceptions/contrib/django/models.py (original) +++ ../python3/collect_exceptions/contrib/django/models.py (refactored) @@ -1,5 +1,6 @@ import sys import logging +import collections log = logging.getLogger('django') import traceback @@ -25,7 +26,7 @@ einfo = request_info + einfo log.warning(einfo) django_settings.COLLECT_EXCEPTIONS_CONFIG['exception_collector'](einfo) - except Exception, e: + except Exception as e: log.warning(e) @@ -81,14 +82,14 @@ log.info('mod_name = %s func_name = %s' % (mod_name, func_name)) try: mod = import_module(mod_name) - except Exception, e: + except Exception as e: log.warning(e) log.warning('import_module except return False') return False else: try: lookup_func = getattr(mod, func_name) - if not callable(lookup_func): + if not isinstance(lookup_func, collections.Callable): log.error( "Could not import %s.%s. Func is not callable." % (mod_name, func_name)) --- ../python3/collect_exceptions/contrib/celery/__init__.py (original) +++ ../python3/collect_exceptions/contrib/celery/__init__.py (refactored) @@ -17,7 +17,7 @@ arg_str = '' for arg in args: arg_str = arg_str + str(arg) + ', ' - for key, val in kwargs.iteritems(): + for key, val in kwargs.items(): arg_str = arg_str + '%s=%s, ' % (key, str(val)) func = '%s(%s)' % (sender.name, arg_str) + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.61315 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-collect-exceptions-0.0.5 + 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/collect_exceptions copying collect_exceptions/__init__.py -> build/lib/collect_exceptions creating build/lib/collect_exceptions/contrib copying collect_exceptions/contrib/__init__.py -> build/lib/collect_exceptions/contrib creating build/lib/collect_exceptions/contrib/django copying collect_exceptions/contrib/django/views.py -> build/lib/collect_exceptions/contrib/django copying collect_exceptions/contrib/django/tests.py -> build/lib/collect_exceptions/contrib/django copying collect_exceptions/contrib/django/models.py -> build/lib/collect_exceptions/contrib/django copying collect_exceptions/contrib/django/admin.py -> build/lib/collect_exceptions/contrib/django copying collect_exceptions/contrib/django/__init__.py -> build/lib/collect_exceptions/contrib/django creating build/lib/collect_exceptions/contrib/celery copying collect_exceptions/contrib/celery/__init__.py -> build/lib/collect_exceptions/contrib/celery + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-collect-exceptions-0.0.5 + 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/collect_exceptions copying collect_exceptions/__init__.py -> build/lib/collect_exceptions creating build/lib/collect_exceptions/contrib copying collect_exceptions/contrib/__init__.py -> build/lib/collect_exceptions/contrib creating build/lib/collect_exceptions/contrib/django copying collect_exceptions/contrib/django/views.py -> build/lib/collect_exceptions/contrib/django copying collect_exceptions/contrib/django/tests.py -> build/lib/collect_exceptions/contrib/django copying collect_exceptions/contrib/django/models.py -> build/lib/collect_exceptions/contrib/django copying collect_exceptions/contrib/django/admin.py -> build/lib/collect_exceptions/contrib/django copying collect_exceptions/contrib/django/__init__.py -> build/lib/collect_exceptions/contrib/django creating build/lib/collect_exceptions/contrib/celery copying collect_exceptions/contrib/celery/__init__.py -> build/lib/collect_exceptions/contrib/celery + popd ~/RPM/BUILD/python-module-collect-exceptions-0.0.5 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.85868 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python-module-collect-exceptions-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python-module-collect-exceptions-buildroot + cd python-module-collect-exceptions-0.0.5 + /usr/bin/python setup.py install --skip-build --root=/usr/src/tmp/python-module-collect-exceptions-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-collect-exceptions-buildroot creating /usr/src/tmp/python-module-collect-exceptions-buildroot/usr creating /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib creating /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python2.7 creating /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python2.7/site-packages creating /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python2.7/site-packages/collect_exceptions creating /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python2.7/site-packages/collect_exceptions/contrib creating /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python2.7/site-packages/collect_exceptions/contrib/celery copying build/lib/collect_exceptions/contrib/celery/__init__.py -> /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python2.7/site-packages/collect_exceptions/contrib/celery creating /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python2.7/site-packages/collect_exceptions/contrib/django copying build/lib/collect_exceptions/contrib/django/__init__.py -> /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python2.7/site-packages/collect_exceptions/contrib/django copying build/lib/collect_exceptions/contrib/django/admin.py -> /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python2.7/site-packages/collect_exceptions/contrib/django copying build/lib/collect_exceptions/contrib/django/models.py -> /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python2.7/site-packages/collect_exceptions/contrib/django copying build/lib/collect_exceptions/contrib/django/tests.py -> /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python2.7/site-packages/collect_exceptions/contrib/django copying build/lib/collect_exceptions/contrib/django/views.py -> /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python2.7/site-packages/collect_exceptions/contrib/django copying build/lib/collect_exceptions/contrib/__init__.py -> /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python2.7/site-packages/collect_exceptions/contrib copying build/lib/collect_exceptions/__init__.py -> /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python2.7/site-packages/collect_exceptions byte-compiling /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python2.7/site-packages/collect_exceptions/contrib/celery/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python2.7/site-packages/collect_exceptions/contrib/django/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python2.7/site-packages/collect_exceptions/contrib/django/admin.py to admin.pyc byte-compiling /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python2.7/site-packages/collect_exceptions/contrib/django/models.py to models.pyc byte-compiling /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python2.7/site-packages/collect_exceptions/contrib/django/tests.py to tests.pyc byte-compiling /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python2.7/site-packages/collect_exceptions/contrib/django/views.py to views.pyc byte-compiling /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python2.7/site-packages/collect_exceptions/contrib/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python2.7/site-packages/collect_exceptions/__init__.py to __init__.pyc running install_egg_info running egg_info creating collect_exceptions.egg-info writing collect_exceptions.egg-info/PKG-INFO writing top-level names to collect_exceptions.egg-info/top_level.txt writing dependency_links to collect_exceptions.egg-info/dependency_links.txt writing manifest file 'collect_exceptions.egg-info/SOURCES.txt' reading manifest file 'collect_exceptions.egg-info/SOURCES.txt' writing manifest file 'collect_exceptions.egg-info/SOURCES.txt' Copying collect_exceptions.egg-info to /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python2.7/site-packages/collect_exceptions-0.0.5-py2.7.egg-info running install_scripts + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-collect-exceptions-0.0.5 + python3 setup.py install --skip-build --root=/usr/src/tmp/python-module-collect-exceptions-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python3 creating /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python3/site-packages/collect_exceptions creating /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python3/site-packages/collect_exceptions/contrib creating /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python3/site-packages/collect_exceptions/contrib/celery copying build/lib/collect_exceptions/contrib/celery/__init__.py -> /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python3/site-packages/collect_exceptions/contrib/celery creating /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python3/site-packages/collect_exceptions/contrib/django copying build/lib/collect_exceptions/contrib/django/__init__.py -> /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python3/site-packages/collect_exceptions/contrib/django copying build/lib/collect_exceptions/contrib/django/admin.py -> /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python3/site-packages/collect_exceptions/contrib/django copying build/lib/collect_exceptions/contrib/django/models.py -> /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python3/site-packages/collect_exceptions/contrib/django copying build/lib/collect_exceptions/contrib/django/tests.py -> /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python3/site-packages/collect_exceptions/contrib/django copying build/lib/collect_exceptions/contrib/django/views.py -> /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python3/site-packages/collect_exceptions/contrib/django copying build/lib/collect_exceptions/contrib/__init__.py -> /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python3/site-packages/collect_exceptions/contrib copying build/lib/collect_exceptions/__init__.py -> /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python3/site-packages/collect_exceptions byte-compiling /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python3/site-packages/collect_exceptions/contrib/celery/__init__.py to __init__.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python3/site-packages/collect_exceptions/contrib/django/__init__.py to __init__.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python3/site-packages/collect_exceptions/contrib/django/admin.py to admin.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python3/site-packages/collect_exceptions/contrib/django/models.py to models.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python3/site-packages/collect_exceptions/contrib/django/tests.py to tests.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python3/site-packages/collect_exceptions/contrib/django/views.py to views.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python3/site-packages/collect_exceptions/contrib/__init__.py to __init__.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python3/site-packages/collect_exceptions/__init__.py to __init__.cpython-35.pyc running install_egg_info running egg_info creating collect_exceptions.egg-info writing dependency_links to collect_exceptions.egg-info/dependency_links.txt writing top-level names to collect_exceptions.egg-info/top_level.txt writing collect_exceptions.egg-info/PKG-INFO writing manifest file 'collect_exceptions.egg-info/SOURCES.txt' reading manifest file 'collect_exceptions.egg-info/SOURCES.txt' writing manifest file 'collect_exceptions.egg-info/SOURCES.txt' Copying collect_exceptions.egg-info to /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python3/site-packages/collect_exceptions-0.0.5-py3.5.egg-info running install_scripts + popd ~/RPM/BUILD/python-module-collect-exceptions-0.0.5 + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python-module-collect-exceptions-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python-module-collect-exceptions-buildroot (binconfig,pkgconfig,libtool,desktop) Compressing files in /usr/src/tmp/python-module-collect-exceptions-buildroot (auto) Adjusting library links in /usr/src/tmp/python-module-collect-exceptions-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python-module-collect-exceptions-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-collect-exceptions-buildroot using /usr/bin/python unlink /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python2.7/site-packages/collect_exceptions/contrib/celery/__init__.pyc compile /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python2.7/site-packages/collect_exceptions/contrib/celery/__init__.py unlink /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python2.7/site-packages/collect_exceptions/contrib/django/__init__.pyc unlink /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python2.7/site-packages/collect_exceptions/contrib/django/admin.pyc unlink /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python2.7/site-packages/collect_exceptions/contrib/django/models.pyc unlink /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python2.7/site-packages/collect_exceptions/contrib/django/tests.pyc unlink /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python2.7/site-packages/collect_exceptions/contrib/django/views.pyc compile /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python2.7/site-packages/collect_exceptions/contrib/django/__init__.py compile /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python2.7/site-packages/collect_exceptions/contrib/django/admin.py compile /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python2.7/site-packages/collect_exceptions/contrib/django/models.py compile /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python2.7/site-packages/collect_exceptions/contrib/django/tests.py compile /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python2.7/site-packages/collect_exceptions/contrib/django/views.py unlink /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python2.7/site-packages/collect_exceptions/contrib/__init__.pyc compile /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python2.7/site-packages/collect_exceptions/contrib/__init__.py unlink /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python2.7/site-packages/collect_exceptions/__init__.pyc compile /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python2.7/site-packages/collect_exceptions/__init__.py Bytecompiling python modules with optimization in /usr/src/tmp/python-module-collect-exceptions-buildroot using /usr/bin/python -O compile /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python2.7/site-packages/collect_exceptions/contrib/celery/__init__.py compile /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python2.7/site-packages/collect_exceptions/contrib/django/__init__.py compile /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python2.7/site-packages/collect_exceptions/contrib/django/admin.py compile /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python2.7/site-packages/collect_exceptions/contrib/django/models.py compile /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python2.7/site-packages/collect_exceptions/contrib/django/tests.py compile /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python2.7/site-packages/collect_exceptions/contrib/django/views.py compile /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python2.7/site-packages/collect_exceptions/contrib/__init__.py compile /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python2.7/site-packages/collect_exceptions/__init__.py Bytecompiling python3 modules in /usr/src/tmp/python-module-collect-exceptions-buildroot using python3 unlink /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python3/site-packages/collect_exceptions/__pycache__/__init__.cpython-35.pyc unlink /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python3/site-packages/collect_exceptions/contrib/__pycache__/__init__.cpython-35.pyc unlink /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python3/site-packages/collect_exceptions/contrib/celery/__pycache__/__init__.cpython-35.pyc compile /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python3/site-packages/collect_exceptions/contrib/celery/__init__.py unlink /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python3/site-packages/collect_exceptions/contrib/django/__pycache__/__init__.cpython-35.pyc unlink /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python3/site-packages/collect_exceptions/contrib/django/__pycache__/admin.cpython-35.pyc unlink /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python3/site-packages/collect_exceptions/contrib/django/__pycache__/models.cpython-35.pyc unlink /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python3/site-packages/collect_exceptions/contrib/django/__pycache__/tests.cpython-35.pyc unlink /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python3/site-packages/collect_exceptions/contrib/django/__pycache__/views.cpython-35.pyc compile /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python3/site-packages/collect_exceptions/contrib/django/__init__.py compile /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python3/site-packages/collect_exceptions/contrib/django/admin.py compile /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python3/site-packages/collect_exceptions/contrib/django/models.py compile /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python3/site-packages/collect_exceptions/contrib/django/tests.py compile /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python3/site-packages/collect_exceptions/contrib/django/views.py compile /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python3/site-packages/collect_exceptions/contrib/__init__.py compile /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python3/site-packages/collect_exceptions/__init__.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python-module-collect-exceptions-buildroot using python3 -O compile /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python3/site-packages/collect_exceptions/contrib/celery/__init__.py compile /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python3/site-packages/collect_exceptions/contrib/django/__init__.py compile /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python3/site-packages/collect_exceptions/contrib/django/admin.py compile /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python3/site-packages/collect_exceptions/contrib/django/models.py compile /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python3/site-packages/collect_exceptions/contrib/django/tests.py compile /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python3/site-packages/collect_exceptions/contrib/django/views.py compile /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python3/site-packages/collect_exceptions/contrib/__init__.py compile /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python3/site-packages/collect_exceptions/__init__.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python-module-collect-exceptions-buildroot using python3 -OO compile /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python3/site-packages/collect_exceptions/contrib/celery/__init__.py compile /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python3/site-packages/collect_exceptions/contrib/django/__init__.py compile /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python3/site-packages/collect_exceptions/contrib/django/admin.py compile /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python3/site-packages/collect_exceptions/contrib/django/models.py compile /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python3/site-packages/collect_exceptions/contrib/django/tests.py compile /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python3/site-packages/collect_exceptions/contrib/django/views.py compile /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python3/site-packages/collect_exceptions/contrib/__init__.py compile /usr/src/tmp/python-module-collect-exceptions-buildroot/usr/lib/python3/site-packages/collect_exceptions/__init__.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/collect_exceptions/__pycache__/__init__.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/collect_exceptions/__pycache__/__init__.cpython-35.pyc' './usr/lib/python3/site-packages/collect_exceptions/__pycache__/__init__.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/collect_exceptions/__pycache__/__init__.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/collect_exceptions/contrib/__pycache__/__init__.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/collect_exceptions/contrib/__pycache__/__init__.cpython-35.pyc' './usr/lib/python3/site-packages/collect_exceptions/contrib/__pycache__/__init__.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/collect_exceptions/contrib/__pycache__/__init__.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/collect_exceptions/contrib/django/__pycache__/views.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/collect_exceptions/contrib/django/__pycache__/views.cpython-35.pyc' './usr/lib/python3/site-packages/collect_exceptions/contrib/django/__pycache__/views.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/collect_exceptions/contrib/django/__pycache__/views.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/collect_exceptions/contrib/django/__pycache__/tests.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/collect_exceptions/contrib/django/__pycache__/tests.cpython-35.pyc' './usr/lib/python3/site-packages/collect_exceptions/contrib/django/__pycache__/tests.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/collect_exceptions/contrib/django/__pycache__/tests.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/collect_exceptions/contrib/django/__pycache__/models.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/collect_exceptions/contrib/django/__pycache__/models.cpython-35.pyc' './usr/lib/python3/site-packages/collect_exceptions/contrib/django/__pycache__/models.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/collect_exceptions/contrib/django/__pycache__/models.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/collect_exceptions/contrib/django/__pycache__/admin.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/collect_exceptions/contrib/django/__pycache__/admin.cpython-35.pyc' './usr/lib/python3/site-packages/collect_exceptions/contrib/django/__pycache__/admin.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/collect_exceptions/contrib/django/__pycache__/admin.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/collect_exceptions/contrib/django/__pycache__/__init__.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/collect_exceptions/contrib/django/__pycache__/__init__.cpython-35.pyc' './usr/lib/python3/site-packages/collect_exceptions/contrib/django/__pycache__/__init__.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/collect_exceptions/contrib/django/__pycache__/__init__.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/collect_exceptions/contrib/celery/__pycache__/__init__.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/collect_exceptions/contrib/celery/__pycache__/__init__.cpython-35.pyc' './usr/lib/python3/site-packages/collect_exceptions/contrib/celery/__pycache__/__init__.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/collect_exceptions/contrib/celery/__pycache__/__init__.cpython-35.opt-1.pyc' Hardlinking identical .pyc and .pyo files './usr/lib/python2.7/site-packages/collect_exceptions/__init__.pyo' => './usr/lib/python2.7/site-packages/collect_exceptions/__init__.pyc' './usr/lib/python2.7/site-packages/collect_exceptions/contrib/__init__.pyo' => './usr/lib/python2.7/site-packages/collect_exceptions/contrib/__init__.pyc' './usr/lib/python2.7/site-packages/collect_exceptions/contrib/django/views.pyo' => './usr/lib/python2.7/site-packages/collect_exceptions/contrib/django/views.pyc' './usr/lib/python2.7/site-packages/collect_exceptions/contrib/django/tests.pyo' => './usr/lib/python2.7/site-packages/collect_exceptions/contrib/django/tests.pyc' './usr/lib/python2.7/site-packages/collect_exceptions/contrib/django/models.pyo' => './usr/lib/python2.7/site-packages/collect_exceptions/contrib/django/models.pyc' './usr/lib/python2.7/site-packages/collect_exceptions/contrib/django/admin.pyo' => './usr/lib/python2.7/site-packages/collect_exceptions/contrib/django/admin.pyc' './usr/lib/python2.7/site-packages/collect_exceptions/contrib/django/__init__.pyo' => './usr/lib/python2.7/site-packages/collect_exceptions/contrib/django/__init__.pyc' './usr/lib/python2.7/site-packages/collect_exceptions/contrib/celery/__init__.pyo' => './usr/lib/python2.7/site-packages/collect_exceptions/contrib/celery/__init__.pyc' Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.45790 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-collect-exceptions-0.0.5 + python setup.py test running test running egg_info writing collect_exceptions.egg-info/PKG-INFO writing top-level names to collect_exceptions.egg-info/top_level.txt writing dependency_links to collect_exceptions.egg-info/dependency_links.txt reading manifest file 'collect_exceptions.egg-info/SOURCES.txt' writing manifest file 'collect_exceptions.egg-info/SOURCES.txt' running build_ext ---------------------------------------------------------------------- Ran 0 tests in 0.000s OK + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-collect-exceptions-0.0.5 + python3 setup.py test running test running egg_info writing top-level names to collect_exceptions.egg-info/top_level.txt writing collect_exceptions.egg-info/PKG-INFO writing dependency_links to collect_exceptions.egg-info/dependency_links.txt reading manifest file 'collect_exceptions.egg-info/SOURCES.txt' writing manifest file 'collect_exceptions.egg-info/SOURCES.txt' running build_ext views (unittest.loader._FailedTest) ... ERROR tests (unittest.loader._FailedTest) ... ERROR models (unittest.loader._FailedTest) ... ERROR admin (unittest.loader._FailedTest) ... ERROR celery (unittest.loader._FailedTest) ... ERROR views (unittest.loader._FailedTest) ... ERROR tests (unittest.loader._FailedTest) ... ERROR models (unittest.loader._FailedTest) ... ERROR admin (unittest.loader._FailedTest) ... ERROR celery (unittest.loader._FailedTest) ... ERROR collect_exceptions.contrib.celery (unittest.loader._FailedTest) ... ERROR views (unittest.loader._FailedTest) ... ERROR tests (unittest.loader._FailedTest) ... ERROR models (unittest.loader._FailedTest) ... ERROR admin (unittest.loader._FailedTest) ... ERROR collect_exceptions.contrib.django.tests (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/collect_exceptions/contrib/django/views.py", line 1, in from django.shortcuts import render ImportError: No module named 'django' ====================================================================== ERROR: tests (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: tests 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/collect_exceptions/contrib/django/tests.py", line 1, in from django.test import TestCase ImportError: No module named 'django' ====================================================================== ERROR: models (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: models 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/collect_exceptions/contrib/django/models.py", line 7, in from django.conf import settings as django_settings ImportError: No module named 'django' ====================================================================== ERROR: admin (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: admin 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/collect_exceptions/contrib/django/admin.py", line 1, in from django.contrib import admin ImportError: No module named 'django' ====================================================================== ERROR: celery (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: celery 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/collect_exceptions/contrib/celery/__init__.py", line 6, in from django.conf import settings as django_settings ImportError: No module named 'django' ====================================================================== 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/collect_exceptions/contrib/django/views.py", line 1, in from django.shortcuts import render ImportError: No module named 'django' ====================================================================== ERROR: tests (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: tests 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/collect_exceptions/contrib/django/tests.py", line 1, in from django.test import TestCase ImportError: No module named 'django' ====================================================================== ERROR: models (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: models 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/collect_exceptions/contrib/django/models.py", line 7, in from django.conf import settings as django_settings ImportError: No module named 'django' ====================================================================== ERROR: admin (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: admin 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/collect_exceptions/contrib/django/admin.py", line 1, in from django.contrib import admin ImportError: No module named 'django' ====================================================================== ERROR: celery (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: celery 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/collect_exceptions/contrib/celery/__init__.py", line 6, in from django.conf import settings as django_settings ImportError: No module named 'django' ====================================================================== ERROR: collect_exceptions.contrib.celery (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: collect_exceptions.contrib.celery 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/collect_exceptions/contrib/celery/__init__.py", line 6, in from django.conf import settings as django_settings ImportError: No module named 'django' ====================================================================== 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/collect_exceptions/contrib/django/views.py", line 1, in from django.shortcuts import render ImportError: No module named 'django' ====================================================================== ERROR: tests (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: tests 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/collect_exceptions/contrib/django/tests.py", line 1, in from django.test import TestCase ImportError: No module named 'django' ====================================================================== ERROR: models (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: models 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/collect_exceptions/contrib/django/models.py", line 7, in from django.conf import settings as django_settings ImportError: No module named 'django' ====================================================================== ERROR: admin (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: admin 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/collect_exceptions/contrib/django/admin.py", line 1, in from django.contrib import admin ImportError: No module named 'django' ====================================================================== ERROR: collect_exceptions.contrib.django.tests (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: collect_exceptions.contrib.django.tests Traceback (most recent call last): File "/usr/lib64/python3.5/unittest/loader.py", line 428, in _find_test_path module = 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/collect_exceptions/contrib/django/tests.py", line 1, in from django.test import TestCase ImportError: No module named 'django' ---------------------------------------------------------------------- Ran 16 tests in 0.002s FAILED (errors=16) error: Bad exit status from /usr/src/tmp/rpm-tmp.45790 (%check) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.45790 (%check) Command exited with non-zero status 1 2.08user 0.35system 0:03.41elapsed 71%CPU (0avgtext+0avgdata 24824maxresident)k 0inputs+0outputs (0major+121022minor)pagefaults 0swaps hsh-rebuild: rebuild of `python-module-collect-exceptions-0.0.5-alt1.git20150209.1.src.rpm' failed. Command exited with non-zero status 1 6.94user 2.25system 0:11.43elapsed 80%CPU (0avgtext+0avgdata 121856maxresident)k 0inputs+0outputs (0major+307198minor)pagefaults 0swaps