<86>Apr 21 00:58:11 userdel[20618]: delete user 'rooter' <86>Apr 21 00:58:11 userdel[20618]: removed group 'rooter' owned by 'rooter' <86>Apr 21 00:58:11 groupadd[20624]: group added to /etc/group: name=rooter, GID=609 <86>Apr 21 00:58:11 groupadd[20624]: group added to /etc/gshadow: name=rooter <86>Apr 21 00:58:11 groupadd[20624]: new group: name=rooter, GID=609 <86>Apr 21 00:58:11 useradd[20631]: new user: name=rooter, UID=609, GID=609, home=/root, shell=/bin/bash <86>Apr 21 00:58:11 userdel[20648]: delete user 'builder' <86>Apr 21 00:58:11 userdel[20648]: removed group 'builder' owned by 'builder' <86>Apr 21 00:58:11 userdel[20648]: removed shadow group 'builder' owned by 'builder' <86>Apr 21 00:58:11 groupadd[20663]: group added to /etc/group: name=builder, GID=610 <86>Apr 21 00:58:11 groupadd[20663]: group added to /etc/gshadow: name=builder <86>Apr 21 00:58:11 groupadd[20663]: new group: name=builder, GID=610 <86>Apr 21 00:58:11 useradd[20672]: new user: name=builder, UID=610, GID=610, home=/usr/src, shell=/bin/bash <13>Apr 21 00:58:19 rpmi: libyaml2-0.1.6-alt1 1397147705 installed <13>Apr 21 00:58:19 rpmi: libexpat-2.2.4-alt0.M80P.1 1503871120 installed <13>Apr 21 00:58:19 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Apr 21 00:58:19 rpmi: libtinfo-devel-5.9-alt8 1456756459 installed <13>Apr 21 00:58:19 rpmi: libncurses-devel-5.9-alt8 1456756459 installed <13>Apr 21 00:58:19 rpmi: python-modules-curses-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 00:58:19 rpmi: libverto-0.2.6-alt1_6 1455633234 installed <13>Apr 21 00:58:19 rpmi: libkeyutils-1.5.10-alt0.M80P.2 p8+216694.100.6.1 1547827915 installed <13>Apr 21 00:58:19 rpmi: libcom_err-1.42.13-alt2 1449075846 installed <13>Apr 21 00:58:19 rpmi: ca-certificates-2016.02.25-alt1 1462368370 installed <13>Apr 21 00:58:19 rpmi: libcrypto10-1.0.2n-alt0.M80P.1 1512766129 installed <13>Apr 21 00:58:19 rpmi: libssl10-1.0.2n-alt0.M80P.1 1512766129 installed <86>Apr 21 00:58:19 groupadd[4670]: group added to /etc/group: name=_keytab, GID=499 <86>Apr 21 00:58:19 groupadd[4670]: group added to /etc/gshadow: name=_keytab <86>Apr 21 00:58:19 groupadd[4670]: new group: name=_keytab, GID=499 <13>Apr 21 00:58:19 rpmi: libkrb5-1.14.6-alt1.M80P.1 1525355673 installed <86>Apr 21 00:58:19 groupadd[4931]: group added to /etc/group: name=sasl, GID=498 <86>Apr 21 00:58:19 groupadd[4931]: group added to /etc/gshadow: name=sasl <86>Apr 21 00:58:19 groupadd[4931]: new group: name=sasl, GID=498 <13>Apr 21 00:58:19 rpmi: libsasl2-3-2.1.26-alt7 1479477445 installed <13>Apr 21 00:58:20 rpmi: libldap-2.4.45-alt1.M80P.1 1513980376 installed <13>Apr 21 00:58:20 rpmi: libpq5.11-11.2-alt0.M80P.1 p8+221524.600.1.1 1550205370 installed <13>Apr 21 00:58:20 rpmi: python3-base-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 21 00:58:20 rpmi: python-modules-compiler-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 00:58:20 rpmi: python3-module-six-1.10.0-alt7 1496087616 installed <13>Apr 21 00:58:20 rpmi: python3-module-linecache2-1.0.0-alt1.git20150306.1.1 1457981765 installed <13>Apr 21 00:58:20 rpmi: python3-module-traceback2-1.4.0-alt1.git20150309.1.1 1458137072 installed <13>Apr 21 00:58:20 rpmi: python3-module-py-1.4.34-alt0.M80P.1 1503506764 installed <13>Apr 21 00:58:20 rpmi: python3-module-unittest2-1.1.0-alt2.hg20150630.1 1458023441 installed <13>Apr 21 00:58:20 rpmi: python3-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 21 00:58:21 rpmi: python-modules-email-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 00:58:21 rpmi: python3-module-psycopg2-2.7-alt1.dev0.git20150602.1.1 1459598065 installed <13>Apr 21 00:58:21 rpmi: python3-module-yaml-3.11-alt1.hg20141128.1 1459664840 installed <13>Apr 21 00:58:21 rpmi: rpm-build-python3-0.1.10.10-alt1.M80P.1 1530521451 installed <13>Apr 21 00:58:21 rpmi: python3-module-django-1.8.18-alt0.M80P.1 1497919276 installed <13>Apr 21 00:58:22 rpmi: python-modules-unittest-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 00:58:22 rpmi: python3-module-pytest-3.2.1-alt0.M80P.1 1503499784 installed <13>Apr 21 00:58:22 rpmi: python3-module-setuptools-1:18.5-alt0.M80P.1 1497527461 installed <13>Apr 21 00:58:22 rpmi: python-modules-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 00:58:22 rpmi: python-modules-ctypes-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 00:58:22 rpmi: python-modules-xml-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 00:58:22 rpmi: python-modules-json-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 00:58:22 rpmi: python-module-six-1.10.0-alt7 1496087616 installed <13>Apr 21 00:58:22 rpmi: python-modules-encodings-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 00:58:22 rpmi: python-modules-multiprocessing-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 00:58:22 rpmi: python-modules-logging-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 00:58:22 rpmi: python-tools-2to3-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 00:58:22 rpmi: python-modules-hotshot-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 00:58:22 rpmi: python-modules-bsddb-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 00:58:22 rpmi: python-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 00:58:22 rpmi: python-strict-2.7.11-alt6.M80P.1 1527682534 installed <13>Apr 21 00:58:22 rpmi: python-module-psycopg2-2.7-alt1.dev0.git20150602.1.1 1459598065 installed <13>Apr 21 00:58:22 rpmi: python-dev-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 00:58:22 rpmi: python-module-py-1.4.34-alt0.M80P.1 1503506764 installed <13>Apr 21 00:58:22 rpmi: python-modules-wsgiref-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 00:58:22 rpmi: python-module-yaml-3.11-alt1.hg20141128.1 1459664840 installed <13>Apr 21 00:58:22 rpmi: python-module-linecache2-1.0.0-alt1.git20150306.1.1 1457981765 installed <13>Apr 21 00:58:22 rpmi: python-module-traceback2-1.4.0-alt1.git20150309.1.1 1458137072 installed <13>Apr 21 00:58:22 rpmi: python-module-setuptools-1:18.5-alt0.M80P.1 1497527461 installed <13>Apr 21 00:58:22 rpmi: python-module-pytest-3.2.1-alt0.M80P.1 1503499784 installed <13>Apr 21 00:58:23 rpmi: python-module-django-1.8.18-alt0.M80P.1 1497919276 installed <13>Apr 21 00:58:23 rpmi: python-module-unittest2-1.1.0-alt2.hg20150630.1 1458023441 installed Installing python-module-django-discover-runner-1.0-alt1.git20130615.1.1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.65914 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python-module-django-discover-runner-1.0 + echo 'Source #0 (python-module-django-discover-runner-1.0.tar):' Source #0 (python-module-django-discover-runner-1.0.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python-module-django-discover-runner-1.0.tar + cd python-module-django-discover-runner-1.0 + /bin/chmod -c -Rf u+rwX,go-w . + cp -fR . ../python3 + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.65914 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-django-discover-runner-1.0 + 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/discover_runner copying discover_runner/settings.py -> build/lib/discover_runner copying discover_runner/runner.py -> build/lib/discover_runner copying discover_runner/__init__.py -> build/lib/discover_runner + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-django-discover-runner-1.0 + 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/discover_runner copying discover_runner/settings.py -> build/lib/discover_runner copying discover_runner/runner.py -> build/lib/discover_runner copying discover_runner/__init__.py -> build/lib/discover_runner + popd ~/RPM/BUILD/python-module-django-discover-runner-1.0 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.34125 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python-module-django-discover-runner-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python-module-django-discover-runner-buildroot + cd python-module-django-discover-runner-1.0 + /usr/bin/python setup.py install --skip-build --root=/usr/src/tmp/python-module-django-discover-runner-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-django-discover-runner-buildroot creating /usr/src/tmp/python-module-django-discover-runner-buildroot/usr creating /usr/src/tmp/python-module-django-discover-runner-buildroot/usr/lib creating /usr/src/tmp/python-module-django-discover-runner-buildroot/usr/lib/python2.7 creating /usr/src/tmp/python-module-django-discover-runner-buildroot/usr/lib/python2.7/site-packages creating /usr/src/tmp/python-module-django-discover-runner-buildroot/usr/lib/python2.7/site-packages/discover_runner copying build/lib/discover_runner/__init__.py -> /usr/src/tmp/python-module-django-discover-runner-buildroot/usr/lib/python2.7/site-packages/discover_runner copying build/lib/discover_runner/runner.py -> /usr/src/tmp/python-module-django-discover-runner-buildroot/usr/lib/python2.7/site-packages/discover_runner copying build/lib/discover_runner/settings.py -> /usr/src/tmp/python-module-django-discover-runner-buildroot/usr/lib/python2.7/site-packages/discover_runner byte-compiling /usr/src/tmp/python-module-django-discover-runner-buildroot/usr/lib/python2.7/site-packages/discover_runner/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-django-discover-runner-buildroot/usr/lib/python2.7/site-packages/discover_runner/runner.py to runner.pyc byte-compiling /usr/src/tmp/python-module-django-discover-runner-buildroot/usr/lib/python2.7/site-packages/discover_runner/settings.py to settings.pyc running install_egg_info running egg_info creating django_discover_runner.egg-info writing django_discover_runner.egg-info/PKG-INFO writing top-level names to django_discover_runner.egg-info/top_level.txt writing dependency_links to django_discover_runner.egg-info/dependency_links.txt writing manifest file 'django_discover_runner.egg-info/SOURCES.txt' reading manifest file 'django_discover_runner.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'django_discover_runner.egg-info/SOURCES.txt' Copying django_discover_runner.egg-info to /usr/src/tmp/python-module-django-discover-runner-buildroot/usr/lib/python2.7/site-packages/django_discover_runner-1.0-py2.7.egg-info running install_scripts + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-django-discover-runner-1.0 + python3 setup.py install --skip-build --root=/usr/src/tmp/python-module-django-discover-runner-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-django-discover-runner-buildroot/usr/lib/python3 creating /usr/src/tmp/python-module-django-discover-runner-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python-module-django-discover-runner-buildroot/usr/lib/python3/site-packages/discover_runner copying build/lib/discover_runner/__init__.py -> /usr/src/tmp/python-module-django-discover-runner-buildroot/usr/lib/python3/site-packages/discover_runner copying build/lib/discover_runner/runner.py -> /usr/src/tmp/python-module-django-discover-runner-buildroot/usr/lib/python3/site-packages/discover_runner copying build/lib/discover_runner/settings.py -> /usr/src/tmp/python-module-django-discover-runner-buildroot/usr/lib/python3/site-packages/discover_runner byte-compiling /usr/src/tmp/python-module-django-discover-runner-buildroot/usr/lib/python3/site-packages/discover_runner/__init__.py to __init__.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-django-discover-runner-buildroot/usr/lib/python3/site-packages/discover_runner/runner.py to runner.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-django-discover-runner-buildroot/usr/lib/python3/site-packages/discover_runner/settings.py to settings.cpython-35.pyc running install_egg_info running egg_info creating django_discover_runner.egg-info writing top-level names to django_discover_runner.egg-info/top_level.txt writing django_discover_runner.egg-info/PKG-INFO writing dependency_links to django_discover_runner.egg-info/dependency_links.txt writing manifest file 'django_discover_runner.egg-info/SOURCES.txt' reading manifest file 'django_discover_runner.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'django_discover_runner.egg-info/SOURCES.txt' Copying django_discover_runner.egg-info to /usr/src/tmp/python-module-django-discover-runner-buildroot/usr/lib/python3/site-packages/django_discover_runner-1.0-py3.5.egg-info running install_scripts + popd ~/RPM/BUILD/python-module-django-discover-runner-1.0 + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python-module-django-discover-runner-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python-module-django-discover-runner-buildroot (binconfig,pkgconfig,libtool,desktop) Compressing files in /usr/src/tmp/python-module-django-discover-runner-buildroot (auto) Adjusting library links in /usr/src/tmp/python-module-django-discover-runner-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python-module-django-discover-runner-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-django-discover-runner-buildroot using /usr/bin/python unlink /usr/src/tmp/python-module-django-discover-runner-buildroot/usr/lib/python2.7/site-packages/discover_runner/__init__.pyc unlink /usr/src/tmp/python-module-django-discover-runner-buildroot/usr/lib/python2.7/site-packages/discover_runner/runner.pyc unlink /usr/src/tmp/python-module-django-discover-runner-buildroot/usr/lib/python2.7/site-packages/discover_runner/settings.pyc compile /usr/src/tmp/python-module-django-discover-runner-buildroot/usr/lib/python2.7/site-packages/discover_runner/__init__.py compile /usr/src/tmp/python-module-django-discover-runner-buildroot/usr/lib/python2.7/site-packages/discover_runner/runner.py compile /usr/src/tmp/python-module-django-discover-runner-buildroot/usr/lib/python2.7/site-packages/discover_runner/settings.py Bytecompiling python modules with optimization in /usr/src/tmp/python-module-django-discover-runner-buildroot using /usr/bin/python -O compile /usr/src/tmp/python-module-django-discover-runner-buildroot/usr/lib/python2.7/site-packages/discover_runner/__init__.py compile /usr/src/tmp/python-module-django-discover-runner-buildroot/usr/lib/python2.7/site-packages/discover_runner/runner.py compile /usr/src/tmp/python-module-django-discover-runner-buildroot/usr/lib/python2.7/site-packages/discover_runner/settings.py Bytecompiling python3 modules in /usr/src/tmp/python-module-django-discover-runner-buildroot using python3 unlink /usr/src/tmp/python-module-django-discover-runner-buildroot/usr/lib/python3/site-packages/discover_runner/__pycache__/__init__.cpython-35.pyc unlink /usr/src/tmp/python-module-django-discover-runner-buildroot/usr/lib/python3/site-packages/discover_runner/__pycache__/runner.cpython-35.pyc unlink /usr/src/tmp/python-module-django-discover-runner-buildroot/usr/lib/python3/site-packages/discover_runner/__pycache__/settings.cpython-35.pyc compile /usr/src/tmp/python-module-django-discover-runner-buildroot/usr/lib/python3/site-packages/discover_runner/__init__.py compile /usr/src/tmp/python-module-django-discover-runner-buildroot/usr/lib/python3/site-packages/discover_runner/runner.py compile /usr/src/tmp/python-module-django-discover-runner-buildroot/usr/lib/python3/site-packages/discover_runner/settings.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python-module-django-discover-runner-buildroot using python3 -O compile /usr/src/tmp/python-module-django-discover-runner-buildroot/usr/lib/python3/site-packages/discover_runner/__init__.py compile /usr/src/tmp/python-module-django-discover-runner-buildroot/usr/lib/python3/site-packages/discover_runner/runner.py compile /usr/src/tmp/python-module-django-discover-runner-buildroot/usr/lib/python3/site-packages/discover_runner/settings.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python-module-django-discover-runner-buildroot using python3 -OO compile /usr/src/tmp/python-module-django-discover-runner-buildroot/usr/lib/python3/site-packages/discover_runner/__init__.py compile /usr/src/tmp/python-module-django-discover-runner-buildroot/usr/lib/python3/site-packages/discover_runner/runner.py compile /usr/src/tmp/python-module-django-discover-runner-buildroot/usr/lib/python3/site-packages/discover_runner/settings.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/discover_runner/__pycache__/settings.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/discover_runner/__pycache__/settings.cpython-35.pyc' './usr/lib/python3/site-packages/discover_runner/__pycache__/settings.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/discover_runner/__pycache__/settings.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/discover_runner/__pycache__/runner.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/discover_runner/__pycache__/runner.cpython-35.pyc' './usr/lib/python3/site-packages/discover_runner/__pycache__/__init__.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/discover_runner/__pycache__/__init__.cpython-35.pyc' './usr/lib/python3/site-packages/discover_runner/__pycache__/__init__.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/discover_runner/__pycache__/__init__.cpython-35.opt-1.pyc' Hardlinking identical .pyc and .pyo files './usr/lib/python2.7/site-packages/discover_runner/settings.pyo' => './usr/lib/python2.7/site-packages/discover_runner/settings.pyc' './usr/lib/python2.7/site-packages/discover_runner/runner.pyo' => './usr/lib/python2.7/site-packages/discover_runner/runner.pyc' './usr/lib/python2.7/site-packages/discover_runner/__init__.pyo' => './usr/lib/python2.7/site-packages/discover_runner/__init__.pyc' Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.26281 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-django-discover-runner-1.0 + python setup.py test running test running egg_info writing django_discover_runner.egg-info/PKG-INFO writing top-level names to django_discover_runner.egg-info/top_level.txt writing dependency_links to django_discover_runner.egg-info/dependency_links.txt reading manifest file 'django_discover_runner.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'django_discover_runner.egg-info/SOURCES.txt' running build_ext ---------------------------------------------------------------------- Ran 0 tests in 0.000s OK + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-django-discover-runner-1.0 + python3 setup.py test running test running egg_info writing top-level names to django_discover_runner.egg-info/top_level.txt writing django_discover_runner.egg-info/PKG-INFO writing dependency_links to django_discover_runner.egg-info/dependency_links.txt reading manifest file 'django_discover_runner.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'django_discover_runner.egg-info/SOURCES.txt' running build_ext Traceback (most recent call last): File "setup.py", line 43, in 'Programming Language :: Python :: 3.3', File "/usr/lib64/python3.5/distutils/core.py", line 148, in setup dist.run_commands() File "/usr/lib64/python3.5/distutils/dist.py", line 955, in run_commands self.run_command(cmd) File "/usr/lib64/python3.5/distutils/dist.py", line 974, in run_command cmd_obj.run() File "/usr/lib/python3/site-packages/setuptools/command/test.py", line 151, in run self.with_project_on_sys_path(self.run_tests) File "/usr/lib/python3/site-packages/setuptools/command/test.py", line 127, in with_project_on_sys_path func() File "/usr/lib/python3/site-packages/setuptools/command/test.py", line 172, in run_tests testRunner=self._resolve_as_ep(self.test_runner), File "/usr/lib64/python3.5/unittest/main.py", line 94, in __init__ self.parseArgs(argv) File "/usr/lib64/python3.5/unittest/main.py", line 124, in parseArgs self._do_discovery([]) File "/usr/lib64/python3.5/unittest/main.py", line 229, in _do_discovery self.test = loader.discover(self.start, self.pattern, self.top) File "/usr/lib64/python3.5/unittest/loader.py", line 341, in discover tests = list(self._find_tests(start_dir, pattern)) File "/usr/lib64/python3.5/unittest/loader.py", line 398, in _find_tests full_path, pattern, namespace) File "/usr/lib64/python3.5/unittest/loader.py", line 475, in _find_test_path tests = self.loadTestsFromModule(package, pattern=pattern) File "/usr/lib/python3/site-packages/setuptools/command/test.py", line 36, in loadTestsFromModule tests.append(self.loadTestsFromName(submodule)) File "/usr/lib64/python3.5/unittest/loader.py", line 153, in loadTestsFromName module = __import__(module_name) File "/usr/src/RPM/BUILD/python3/discover_runner/settings.py", line 3, in TEST_DISCOVER_TOP_LEVEL = getattr(settings, 'TEST_DISCOVER_TOP_LEVEL', None) File "/usr/lib/python3/site-packages/django/conf/__init__.py", line 48, in __getattr__ self._setup(name) File "/usr/lib/python3/site-packages/django/conf/__init__.py", line 42, in _setup % (desc, ENVIRONMENT_VARIABLE)) django.core.exceptions.ImproperlyConfigured: Requested setting TEST_DISCOVER_TOP_LEVEL, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings. error: Bad exit status from /usr/src/tmp/rpm-tmp.26281 (%check) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.26281 (%check) Command exited with non-zero status 1 2.79user 0.69system 0:03.53elapsed 98%CPU (0avgtext+0avgdata 25280maxresident)k 0inputs+0outputs (0major+109081minor)pagefaults 0swaps hsh-rebuild: rebuild of `python-module-django-discover-runner-1.0-alt1.git20130615.1.1.src.rpm' failed. Command exited with non-zero status 1 15.13user 5.85system 0:20.75elapsed 101%CPU (0avgtext+0avgdata 124168maxresident)k 0inputs+0outputs (0major+316062minor)pagefaults 0swaps