Mock Version: 1.2.17 Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-stestr.spec'], chrootPath='/var/lib/mock/cloud7-openstack-stein-el7-build-59926-270889/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=86400logger=uid=996) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-stestr.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/python-stestr-2.3.1-1.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-stestr.spec'], chrootPath='/var/lib/mock/cloud7-openstack-stein-el7-build-59926-270889/root'shell=Falseuid=996env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=86400private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-stestr.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.E6wL7y + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf stestr-2.3.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/stestr-2.3.1.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd stestr-2.3.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git add . + /usr/bin/git commit -q -a --author 'rpm-build ' -m 'python-stestr-2.3.1 base' + /usr/bin/cat /builddir/build/SOURCES/0001-Discover-python-executable-when-discover-is-not-used.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m 0001-Discover-python-executable-when-discover-is-not-used.patch --author 'rpm-build ' + rm -rf stestr.egg-info + rm -f test-requirements.txt requirements.txt + sed -i 's/pbr>=2.0.0/pbr/g' setup.py + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.a8VQg6 + umask 022 + cd /builddir/build/BUILD + cd stestr-2.3.1 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches ' + /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s' running build running build_py creating build creating build/lib creating build/lib/stestr creating build/lib/stestr/tests creating build/lib/stestr/tests/files copying stestr/tests/files/__init__.py -> build/lib/stestr/tests/files creating build/lib/stestr/repository copying stestr/repository/util.py -> build/lib/stestr/repository copying stestr/repository/sql.py -> build/lib/stestr/repository copying stestr/repository/abstract.py -> build/lib/stestr/repository copying stestr/repository/__init__.py -> build/lib/stestr/repository copying stestr/repository/memory.py -> build/lib/stestr/repository copying stestr/repository/file.py -> build/lib/stestr/repository copying stestr/tests/test_utils.py -> build/lib/stestr/tests copying stestr/tests/base.py -> build/lib/stestr/tests copying stestr/tests/test_selection.py -> build/lib/stestr/tests copying stestr/tests/test_scheduler.py -> build/lib/stestr/tests copying stestr/tests/test_slowest.py -> build/lib/stestr/tests copying stestr/tests/test_user_config.py -> build/lib/stestr/tests copying stestr/tests/test_run.py -> build/lib/stestr/tests copying stestr/tests/__init__.py -> build/lib/stestr/tests copying stestr/tests/test_return_codes.py -> build/lib/stestr/tests copying stestr/tests/test_test_processor.py -> build/lib/stestr/tests copying stestr/tests/test_user_config_return_codes.py -> build/lib/stestr/tests copying stestr/tests/test_bisect_return_codes.py -> build/lib/stestr/tests copying stestr/tests/test_config_file.py -> build/lib/stestr/tests copying stestr/tests/test_subunit_trace.py -> build/lib/stestr/tests copying stestr/tests/test_bisect_tests.py -> build/lib/stestr/tests creating build/lib/stestr/commands copying stestr/commands/failing.py -> build/lib/stestr/commands copying stestr/commands/last.py -> build/lib/stestr/commands copying stestr/commands/run.py -> build/lib/stestr/commands copying stestr/commands/slowest.py -> build/lib/stestr/commands copying stestr/commands/__init__.py -> build/lib/stestr/commands copying stestr/commands/load.py -> build/lib/stestr/commands copying stestr/commands/list.py -> build/lib/stestr/commands copying stestr/commands/init.py -> build/lib/stestr/commands creating build/lib/stestr/tests/repository copying stestr/tests/repository/test_sql.py -> build/lib/stestr/tests/repository copying stestr/tests/repository/test_file.py -> build/lib/stestr/tests/repository copying stestr/tests/repository/__init__.py -> build/lib/stestr/tests/repository copying stestr/tests/repository/test_util.py -> build/lib/stestr/tests/repository copying stestr/selection.py -> build/lib/stestr copying stestr/testlist.py -> build/lib/stestr copying stestr/cli.py -> build/lib/stestr copying stestr/output.py -> build/lib/stestr copying stestr/utils.py -> build/lib/stestr copying stestr/bisect_tests.py -> build/lib/stestr copying stestr/__init__.py -> build/lib/stestr copying stestr/colorizer.py -> build/lib/stestr copying stestr/results.py -> build/lib/stestr copying stestr/config_file.py -> build/lib/stestr copying stestr/version.py -> build/lib/stestr copying stestr/user_config.py -> build/lib/stestr copying stestr/scheduler.py -> build/lib/stestr copying stestr/__main__.py -> build/lib/stestr copying stestr/test_processor.py -> build/lib/stestr copying stestr/subunit_trace.py -> build/lib/stestr running egg_info creating stestr.egg-info writing requirements to stestr.egg-info/requires.txt writing stestr.egg-info/PKG-INFO writing top-level names to stestr.egg-info/top_level.txt writing dependency_links to stestr.egg-info/dependency_links.txt writing entry points to stestr.egg-info/entry_points.txt writing pbr to stestr.egg-info/pbr.json [pbr] Processing SOURCES.txt writing manifest file 'stestr.egg-info/SOURCES.txt' [pbr] In git context, generating filelist from git warning: no previously-included files found matching '.gitignore' warning: no previously-included files found matching '.gitreview' warning: no previously-included files matching '*.pyc' found anywhere in distribution writing manifest file 'stestr.egg-info/SOURCES.txt' copying stestr/tests/files/bisect-fail-serial-tests -> build/lib/stestr/tests/files copying stestr/tests/files/failing-tests -> build/lib/stestr/tests/files copying stestr/tests/files/passing-tests -> build/lib/stestr/tests/files copying stestr/tests/files/setup.cfg -> build/lib/stestr/tests/files copying stestr/tests/files/stestr.yaml -> build/lib/stestr/tests/files copying stestr/tests/files/testr-conf -> build/lib/stestr/tests/files creating build/lib/stestr/tests/sample_streams copying stestr/tests/sample_streams/all_skips.subunit -> build/lib/stestr/tests/sample_streams copying stestr/tests/sample_streams/failure.subunit -> build/lib/stestr/tests/sample_streams copying stestr/tests/sample_streams/successful.subunit -> build/lib/stestr/tests/sample_streams + sleep 1 + /usr/bin/python2 setup.py build_sphinx running build_sphinx [pbr] Writing ChangeLog [pbr] Generating ChangeLog [pbr] ChangeLog complete (0.0s) [pbr] Generating AUTHORS [pbr] AUTHORS complete (0.0s) Running Sphinx v1.8.4 making output directory... building [mo]: all of 0 po files building [html]: all source files updating environment: 25 added, 0 changed, 0 removed reading sources... [ 4%] CONTRIBUTING reading sources... [ 8%] MANUAL reading sources... [ 12%] README reading sources... [ 16%] api reading sources... [ 20%] api/commands/__init__ reading sources... [ 24%] api/commands/failing reading sources... [ 28%] api/commands/init reading sources... [ 32%] api/commands/last reading sources... [ 36%] api/commands/list reading sources... [ 40%] api/commands/load reading sources... [ 44%] api/commands/run reading sources... [ 48%] api/commands/slowest reading sources... [ 52%] api/config_file reading sources... [ 56%] api/output reading sources... [ 60%] api/repository/abstract reading sources... [ 64%] api/repository/file reading sources... [ 68%] api/repository/memory reading sources... [ 72%] api/repository/sql reading sources... [ 76%] api/scheduler reading sources... [ 80%] api/selection reading sources... [ 84%] api/subunit_trace reading sources... [ 88%] api/test_processor reading sources... [ 92%] developer_guidelines reading sources... [ 96%] index reading sources... [100%] internal_arch looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done writing output... [ 4%] CONTRIBUTING writing output... [ 8%] MANUAL writing output... [ 12%] README writing output... [ 16%] api writing output... [ 20%] api/commands/__init__ writing output... [ 24%] api/commands/failing writing output... [ 28%] api/commands/init writing output... [ 32%] api/commands/last writing output... [ 36%] api/commands/list writing output... [ 40%] api/commands/load writing output... [ 44%] api/commands/run writing output... [ 48%] api/commands/slowest writing output... [ 52%] api/config_file writing output... [ 56%] api/output writing output... [ 60%] api/repository/abstract writing output... [ 64%] api/repository/file writing output... [ 68%] api/repository/memory writing output... [ 72%] api/repository/sql writing output... [ 76%] api/scheduler writing output... [ 80%] api/selection writing output... [ 84%] api/subunit_trace writing output... [ 88%] api/test_processor writing output... [ 92%] developer_guidelines writing output... [ 96%] index writing output... [100%] internal_arch generating indices... genindex py-modindex highlighting module code... [ 5%] stestr.commands.failing highlighting module code... [ 11%] stestr.commands.init highlighting module code... [ 17%] stestr.commands.last highlighting module code... [ 23%] stestr.commands.list highlighting module code... [ 29%] stestr.commands.load highlighting module code... [ 35%] stestr.commands.run highlighting module code... [ 41%] stestr.commands.slowest highlighting module code... [ 47%] stestr.config_file highlighting module code... [ 52%] stestr.output highlighting module code... [ 58%] stestr.repository.abstract highlighting module code... [ 64%] stestr.repository.file highlighting module code... [ 70%] stestr.repository.memory highlighting module code... [ 76%] stestr.repository.sql highlighting module code... [ 82%] stestr.scheduler highlighting module code... [ 88%] stestr.selection highlighting module code... [ 94%] stestr.subunit_trace highlighting module code... [100%] stestr.test_processor writing additional pages... search copying static files... done copying extra files... done dumping search index in English (code: en) ... done dumping object inventory... done build succeeded. The HTML pages are in doc/build/html. + rm -rf html/.doctrees html/.buildinfo + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.S9zO2C + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch ++ dirname /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch + cd stestr-2.3.1 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches ' + /usr/bin/python2 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch running install [pbr] Writing ChangeLog [pbr] Generating ChangeLog [pbr] ChangeLog complete (0.0s) [pbr] Generating AUTHORS [pbr] AUTHORS complete (0.0s) running install_lib creating /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr creating /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib creating /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7 creating /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr copying build/lib/stestr/selection.py -> /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr copying build/lib/stestr/testlist.py -> /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr creating /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/tests copying build/lib/stestr/tests/test_utils.py -> /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/tests copying build/lib/stestr/tests/base.py -> /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/tests copying build/lib/stestr/tests/test_selection.py -> /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/tests copying build/lib/stestr/tests/test_scheduler.py -> /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/tests copying build/lib/stestr/tests/test_slowest.py -> /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/tests copying build/lib/stestr/tests/test_user_config.py -> /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/tests creating /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/tests/repository copying build/lib/stestr/tests/repository/test_sql.py -> /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/tests/repository copying build/lib/stestr/tests/repository/test_file.py -> /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/tests/repository copying build/lib/stestr/tests/repository/__init__.py -> /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/tests/repository copying build/lib/stestr/tests/repository/test_util.py -> /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/tests/repository copying build/lib/stestr/tests/test_run.py -> /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/tests copying build/lib/stestr/tests/__init__.py -> /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/tests copying build/lib/stestr/tests/test_return_codes.py -> /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/tests copying build/lib/stestr/tests/test_test_processor.py -> /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/tests copying build/lib/stestr/tests/test_user_config_return_codes.py -> /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/tests creating /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/tests/files copying build/lib/stestr/tests/files/testr-conf -> /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/tests/files copying build/lib/stestr/tests/files/passing-tests -> /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/tests/files copying build/lib/stestr/tests/files/__init__.py -> /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/tests/files copying build/lib/stestr/tests/files/failing-tests -> /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/tests/files copying build/lib/stestr/tests/files/bisect-fail-serial-tests -> /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/tests/files copying build/lib/stestr/tests/files/setup.cfg -> /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/tests/files copying build/lib/stestr/tests/files/stestr.yaml -> /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/tests/files copying build/lib/stestr/tests/test_bisect_return_codes.py -> /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/tests copying build/lib/stestr/tests/test_config_file.py -> /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/tests copying build/lib/stestr/tests/test_subunit_trace.py -> /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/tests copying build/lib/stestr/tests/test_bisect_tests.py -> /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/tests creating /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/tests/sample_streams copying build/lib/stestr/tests/sample_streams/all_skips.subunit -> /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/tests/sample_streams copying build/lib/stestr/tests/sample_streams/failure.subunit -> /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/tests/sample_streams copying build/lib/stestr/tests/sample_streams/successful.subunit -> /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/tests/sample_streams copying build/lib/stestr/cli.py -> /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr copying build/lib/stestr/output.py -> /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr creating /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/repository copying build/lib/stestr/repository/util.py -> /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/repository copying build/lib/stestr/repository/sql.py -> /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/repository copying build/lib/stestr/repository/abstract.py -> /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/repository copying build/lib/stestr/repository/__init__.py -> /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/repository copying build/lib/stestr/repository/memory.py -> /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/repository copying build/lib/stestr/repository/file.py -> /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/repository copying build/lib/stestr/utils.py -> /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr copying build/lib/stestr/bisect_tests.py -> /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr copying build/lib/stestr/__init__.py -> /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr creating /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/commands copying build/lib/stestr/commands/failing.py -> /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/commands copying build/lib/stestr/commands/last.py -> /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/commands copying build/lib/stestr/commands/run.py -> /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/commands copying build/lib/stestr/commands/slowest.py -> /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/commands copying build/lib/stestr/commands/__init__.py -> /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/commands copying build/lib/stestr/commands/load.py -> /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/commands copying build/lib/stestr/commands/list.py -> /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/commands copying build/lib/stestr/commands/init.py -> /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/commands copying build/lib/stestr/colorizer.py -> /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr copying build/lib/stestr/results.py -> /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr copying build/lib/stestr/config_file.py -> /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr copying build/lib/stestr/version.py -> /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr copying build/lib/stestr/user_config.py -> /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr copying build/lib/stestr/scheduler.py -> /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr copying build/lib/stestr/__main__.py -> /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr copying build/lib/stestr/test_processor.py -> /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr copying build/lib/stestr/subunit_trace.py -> /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr byte-compiling /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/selection.py to selection.pyc byte-compiling /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/testlist.py to testlist.pyc byte-compiling /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/tests/test_utils.py to test_utils.pyc byte-compiling /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/tests/base.py to base.pyc byte-compiling /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/tests/test_selection.py to test_selection.pyc byte-compiling /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/tests/test_scheduler.py to test_scheduler.pyc byte-compiling /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/tests/test_slowest.py to test_slowest.pyc byte-compiling /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/tests/test_user_config.py to test_user_config.pyc byte-compiling /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/tests/repository/test_sql.py to test_sql.pyc byte-compiling /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/tests/repository/test_file.py to test_file.pyc byte-compiling /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/tests/repository/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/tests/repository/test_util.py to test_util.pyc byte-compiling /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/tests/test_run.py to test_run.pyc byte-compiling /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/tests/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/tests/test_return_codes.py to test_return_codes.pyc byte-compiling /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/tests/test_test_processor.py to test_test_processor.pyc byte-compiling /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/tests/test_user_config_return_codes.py to test_user_config_return_codes.pyc byte-compiling /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/tests/files/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/tests/test_bisect_return_codes.py to test_bisect_return_codes.pyc byte-compiling /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/tests/test_config_file.py to test_config_file.pyc byte-compiling /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/tests/test_subunit_trace.py to test_subunit_trace.pyc byte-compiling /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/tests/test_bisect_tests.py to test_bisect_tests.pyc byte-compiling /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/cli.py to cli.pyc byte-compiling /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/output.py to output.pyc byte-compiling /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/repository/util.py to util.pyc byte-compiling /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/repository/sql.py to sql.pyc byte-compiling /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/repository/abstract.py to abstract.pyc byte-compiling /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/repository/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/repository/memory.py to memory.pyc byte-compiling /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/repository/file.py to file.pyc byte-compiling /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/utils.py to utils.pyc byte-compiling /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/bisect_tests.py to bisect_tests.pyc byte-compiling /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/commands/failing.py to failing.pyc byte-compiling /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/commands/last.py to last.pyc byte-compiling /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/commands/run.py to run.pyc byte-compiling /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/commands/slowest.py to slowest.pyc byte-compiling /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/commands/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/commands/load.py to load.pyc byte-compiling /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/commands/list.py to list.pyc byte-compiling /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/commands/init.py to init.pyc byte-compiling /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/colorizer.py to colorizer.pyc byte-compiling /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/results.py to results.pyc byte-compiling /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/config_file.py to config_file.pyc byte-compiling /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/version.py to version.pyc byte-compiling /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/user_config.py to user_config.pyc byte-compiling /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/scheduler.py to scheduler.pyc byte-compiling /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/__main__.py to __main__.pyc byte-compiling /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/test_processor.py to test_processor.pyc byte-compiling /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr/subunit_trace.py to subunit_trace.pyc writing byte-compilation script '/tmp/tmp7tjo5w.py' /usr/bin/python2 -O /tmp/tmp7tjo5w.py removing /tmp/tmp7tjo5w.py running install_egg_info running egg_info writing requirements to stestr.egg-info/requires.txt writing stestr.egg-info/PKG-INFO writing top-level names to stestr.egg-info/top_level.txt writing dependency_links to stestr.egg-info/dependency_links.txt writing entry points to stestr.egg-info/entry_points.txt writing pbr to stestr.egg-info/pbr.json [pbr] Processing SOURCES.txt [pbr] In git context, generating filelist from git warning: no previously-included files found matching '.gitignore' warning: no previously-included files found matching '.gitreview' warning: no previously-included files matching '*.pyc' found anywhere in distribution writing manifest file 'stestr.egg-info/SOURCES.txt' Copying stestr.egg-info to /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7/site-packages/stestr-2.3.1-py2.7.egg-info running install_scripts /usr/lib/python2.7/site-packages/pbr/packaging.py:410: EasyInstallDeprecationWarning: Use get_header header = easy_install.get_script_header("", executable, is_wininst) Installing stestr script to /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/bin + cp /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch//usr/bin/stestr /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch//usr/bin/stestr-2 + ln -sf /usr/bin/stestr-2 /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch//usr/bin/stestr-2.7 + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/stestr-2.3.1 /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 0 CRC32s did match. find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/lib/python2.7 using /usr/bin/python2.7 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.VknLZy + umask 022 + cd /builddir/build/BUILD + cd stestr-2.3.1 + export PATH=/builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch//usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PATH=/builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch//usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + /usr/bin/python2 setup.py test running test running egg_info writing requirements to stestr.egg-info/requires.txt writing stestr.egg-info/PKG-INFO writing top-level names to stestr.egg-info/top_level.txt writing dependency_links to stestr.egg-info/dependency_links.txt writing entry points to stestr.egg-info/entry_points.txt writing pbr to stestr.egg-info/pbr.json [pbr] Processing SOURCES.txt [pbr] In git context, generating filelist from git warning: no previously-included files found matching '.gitignore' warning: no previously-included files found matching '.gitreview' warning: no previously-included files matching '*.pyc' found anywhere in distribution writing manifest file 'stestr.egg-info/SOURCES.txt' running build_ext test_cleanup_test_name_defaults (stestr.tests.test_utils.TestUtils) stestr.tests.test_utils.TestUtils.test_cleanup_test_name_defaults ... ok test_cleanup_test_name_leave_attrs (stestr.tests.test_utils.TestUtils) stestr.tests.test_utils.TestUtils.test_cleanup_test_name_leave_attrs ... ok test_cleanup_test_name_strip_scenario (stestr.tests.test_utils.TestUtils) stestr.tests.test_utils.TestUtils.test_cleanup_test_name_strip_scenario ... ok test_cleanup_test_name_strip_scenario_and_attrs (stestr.tests.test_utils.TestUtils) stestr.tests.test_utils.TestUtils.test_cleanup_test_name_strip_scenario_and_attrs ... ok test_black_reader (stestr.tests.test_selection.TestBlackReader) stestr.tests.test_selection.TestBlackReader.test_black_reader ... ok test_invalid_regex (stestr.tests.test_selection.TestBlackReader) stestr.tests.test_selection.TestBlackReader.test_invalid_regex ... ok test_blacklist (stestr.tests.test_selection.TestConstructList) stestr.tests.test_selection.TestConstructList.test_blacklist ... ok test_invalid_black_re (stestr.tests.test_selection.TestConstructList) stestr.tests.test_selection.TestConstructList.test_invalid_black_re ... ok test_overlapping_black_regex (stestr.tests.test_selection.TestConstructList) stestr.tests.test_selection.TestConstructList.test_overlapping_black_regex ... ok test_simple_black_re (stestr.tests.test_selection.TestConstructList) stestr.tests.test_selection.TestConstructList.test_simple_black_re ... ok test_simple_re (stestr.tests.test_selection.TestConstructList) stestr.tests.test_selection.TestConstructList.test_simple_re ... ok test_whitelist (stestr.tests.test_selection.TestConstructList) stestr.tests.test_selection.TestConstructList.test_whitelist ... ok test_whitelist_blacklist_re (stestr.tests.test_selection.TestConstructList) stestr.tests.test_selection.TestConstructList.test_whitelist_blacklist_re ... ok test_whitelist_invalid_regex (stestr.tests.test_selection.TestConstructList) stestr.tests.test_selection.TestConstructList.test_whitelist_invalid_regex ... ok test_filter_invalid_regex (stestr.tests.test_selection.TestSelection) stestr.tests.test_selection.TestSelection.test_filter_invalid_regex ... ok test_filter_tests (stestr.tests.test_selection.TestSelection) stestr.tests.test_selection.TestSelection.test_filter_tests ... ok test_filter_tests_no_filter (stestr.tests.test_selection.TestSelection) stestr.tests.test_selection.TestSelection.test_filter_tests_no_filter ... ok test_generate_worker_partitions (stestr.tests.test_scheduler.TestScheduler) stestr.tests.test_scheduler.TestScheduler.test_generate_worker_partitions ... ok test_generate_worker_partitions_group_without_list (stestr.tests.test_scheduler.TestScheduler) stestr.tests.test_scheduler.TestScheduler.test_generate_worker_partitions_group_without_list ... ok test_generate_worker_partitions_group_without_match (stestr.tests.test_scheduler.TestScheduler) stestr.tests.test_scheduler.TestScheduler.test_generate_worker_partitions_group_without_match ... ok test_generate_worker_partitions_no_worker_tag (stestr.tests.test_scheduler.TestScheduler) stestr.tests.test_scheduler.TestScheduler.test_generate_worker_partitions_no_worker_tag ... ok test_generate_worker_partitions_with_count (stestr.tests.test_scheduler.TestScheduler) stestr.tests.test_scheduler.TestScheduler.test_generate_worker_partitions_with_count ... ok test_generate_worker_partitions_with_count_1 (stestr.tests.test_scheduler.TestScheduler) stestr.tests.test_scheduler.TestScheduler.test_generate_worker_partitions_with_count_1 ... ok test_partition_tests (stestr.tests.test_scheduler.TestScheduler) stestr.tests.test_scheduler.TestScheduler.test_partition_tests ... ok test_partition_tests_with_grouping (stestr.tests.test_scheduler.TestScheduler) stestr.tests.test_scheduler.TestScheduler.test_partition_tests_with_grouping ... ok test_partition_tests_with_zero_duration (stestr.tests.test_scheduler.TestScheduler) stestr.tests.test_scheduler.TestScheduler.test_partition_tests_with_zero_duration ... ok test_random_partitions (stestr.tests.test_scheduler.TestScheduler) stestr.tests.test_scheduler.TestScheduler.test_random_partitions ... ok test_format_times (stestr.tests.test_slowest.TestSlowest) stestr.tests.test_slowest.TestSlowest.test_format_times ... ok test_format_times_all_zero (stestr.tests.test_slowest.TestSlowest) stestr.tests.test_slowest.TestSlowest.test_format_times_all_zero ... ok test_format_times_with_zero (stestr.tests.test_slowest.TestSlowest) stestr.tests.test_slowest.TestSlowest.test_format_times_with_zero ... ok test_get_default_user_config_file (stestr.tests.test_user_config.TestUserConfig) stestr.tests.test_user_config.TestUserConfig.test_get_default_user_config_file ... ok test_get_user_config_invalid_path (stestr.tests.test_user_config.TestUserConfig) stestr.tests.test_user_config.TestUserConfig.test_get_user_config_invalid_path ... ok test_get_user_config_xdg_file (stestr.tests.test_user_config.TestUserConfig) stestr.tests.test_user_config.TestUserConfig.test_get_user_config_xdg_file ... ok test_user_config_empty_schema (stestr.tests.test_user_config.TestUserConfig) stestr.tests.test_user_config.TestUserConfig.test_user_config_empty_schema ... ok test_user_config_full_config (stestr.tests.test_user_config.TestUserConfig) stestr.tests.test_user_config.TestUserConfig.test_user_config_full_config ... ok test_user_config_invalid_command (stestr.tests.test_user_config.TestUserConfig) stestr.tests.test_user_config.TestUserConfig.test_user_config_invalid_command ... ok test_user_config_invalid_integer (stestr.tests.test_user_config.TestUserConfig) stestr.tests.test_user_config.TestUserConfig.test_user_config_invalid_integer ... ok test_user_config_invalid_option (stestr.tests.test_user_config.TestUserConfig) stestr.tests.test_user_config.TestUserConfig.test_user_config_invalid_option ... ok test_user_config_invalid_value_type (stestr.tests.test_user_config.TestUserConfig) stestr.tests.test_user_config.TestUserConfig.test_user_config_invalid_value_type ... ok test_get_failing (stestr.tests.repository.test_sql.TestSqlRepository) stestr.tests.repository.test_sql.TestSqlRepository.test_get_failing ... ERROR test_initialise (stestr.tests.repository.test_sql.TestSqlRepository) stestr.tests.repository.test_sql.TestSqlRepository.test_initialise ... ok test_inserter_output_path (stestr.tests.repository.test_sql.TestSqlRepository) stestr.tests.repository.test_sql.TestSqlRepository.test_inserter_output_path ... ERROR test_run_get_subunit_stream (stestr.tests.repository.test_sql.TestSqlRepository) stestr.tests.repository.test_sql.TestSqlRepository.test_run_get_subunit_stream ... ERROR test_get_test_run_unexpected_ioerror_errno (stestr.tests.repository.test_file.TestFileRepository) stestr.tests.repository.test_file.TestFileRepository.test_get_test_run_unexpected_ioerror_errno ... ok test_initialise (stestr.tests.repository.test_file.TestFileRepository) stestr.tests.repository.test_file.TestFileRepository.test_initialise ... ok test_initialise_expands_user_directory (stestr.tests.repository.test_file.TestFileRepository) stestr.tests.repository.test_file.TestFileRepository.test_initialise_expands_user_directory ... ok test_inserter_output_path (stestr.tests.repository.test_file.TestFileRepository) stestr.tests.repository.test_file.TestFileRepository.test_inserter_output_path ... ok test_inserting_creates_id (stestr.tests.repository.test_file.TestFileRepository) stestr.tests.repository.test_file.TestFileRepository.test_inserting_creates_id ... ok test_next_stream_corruption_error (stestr.tests.repository.test_file.TestFileRepository) stestr.tests.repository.test_file.TestFileRepository.test_next_stream_corruption_error ... ok test_open_expands_user_directory (stestr.tests.repository.test_file.TestFileRepository) stestr.tests.repository.test_file.TestFileRepository.test_open_expands_user_directory ... ok test_get_default_url_file (stestr.tests.repository.test_util.TestUtil) stestr.tests.repository.test_util.TestUtil.test_get_default_url_file ... ok test_get_default_url_invalid_type (stestr.tests.repository.test_util.TestUtil) stestr.tests.repository.test_util.TestUtil.test_get_default_url_invalid_type ... ok test_get_default_url_sql (stestr.tests.repository.test_util.TestUtil) stestr.tests.repository.test_util.TestUtil.test_get_default_url_sql ... ok test_non_sql_get_repo_init_no_deps_import_error (stestr.tests.repository.test_util.TestUtil) stestr.tests.repository.test_util.TestUtil.test_non_sql_get_repo_init_no_deps_import_error ... ok test_non_sql_get_repo_open_no_deps_import_error (stestr.tests.repository.test_util.TestUtil) stestr.tests.repository.test_util.TestUtil.test_non_sql_get_repo_open_no_deps_import_error ... ok test_sql_get_repo_init_no_deps (stestr.tests.repository.test_util.TestUtil) stestr.tests.repository.test_util.TestUtil.test_sql_get_repo_init_no_deps ... ok test_sql_get_repo_open_no_deps (stestr.tests.repository.test_util.TestUtil) stestr.tests.repository.test_util.TestUtil.test_sql_get_repo_open_no_deps ... ok test_to_int_invalid_str (stestr.tests.test_run.TestRunCommand) stestr.tests.test_run.TestRunCommand.test_to_int_invalid_str ... ok test_to_int_negative_int (stestr.tests.test_run.TestRunCommand) stestr.tests.test_run.TestRunCommand.test_to_int_negative_int ... ok test_to_int_negative_int_str (stestr.tests.test_run.TestRunCommand) stestr.tests.test_run.TestRunCommand.test_to_int_negative_int_str ... ok test_to_int_positive_int (stestr.tests.test_run.TestRunCommand) stestr.tests.test_run.TestRunCommand.test_to_int_positive_int ... ok test_to_int_positive_int_str (stestr.tests.test_run.TestRunCommand) stestr.tests.test_run.TestRunCommand.test_to_int_positive_int_str ... ok test_combine_results (stestr.tests.test_return_codes.TestReturnCodes) stestr.tests.test_return_codes.TestReturnCodes.test_combine_results ... ok test_list (stestr.tests.test_return_codes.TestReturnCodes) stestr.tests.test_return_codes.TestReturnCodes.test_list ... ok test_list_from_func (stestr.tests.test_return_codes.TestReturnCodes) stestr.tests.test_return_codes.TestReturnCodes.test_list_from_func ... ok test_load_from_stdin (stestr.tests.test_return_codes.TestReturnCodes) stestr.tests.test_return_codes.TestReturnCodes.test_load_from_stdin ... ok test_load_from_stdin_quiet (stestr.tests.test_return_codes.TestReturnCodes) stestr.tests.test_return_codes.TestReturnCodes.test_load_from_stdin_quiet ... ok test_no_subunit_trace_force_subunit_trace (stestr.tests.test_return_codes.TestReturnCodes) stestr.tests.test_return_codes.TestReturnCodes.test_no_subunit_trace_force_subunit_trace ... ok test_parallel_blacklist (stestr.tests.test_return_codes.TestReturnCodes) stestr.tests.test_return_codes.TestReturnCodes.test_parallel_blacklist ... ok test_parallel_fails (stestr.tests.test_return_codes.TestReturnCodes) stestr.tests.test_return_codes.TestReturnCodes.test_parallel_fails ... ok test_parallel_fails_from_func (stestr.tests.test_return_codes.TestReturnCodes) stestr.tests.test_return_codes.TestReturnCodes.test_parallel_fails_from_func ... ok test_parallel_fails_unxsuccess (stestr.tests.test_return_codes.TestReturnCodes) stestr.tests.test_return_codes.TestReturnCodes.test_parallel_fails_unxsuccess ... ok test_parallel_passing (stestr.tests.test_return_codes.TestReturnCodes) stestr.tests.test_return_codes.TestReturnCodes.test_parallel_passing ... ok test_parallel_passing_bad_regex (stestr.tests.test_return_codes.TestReturnCodes) stestr.tests.test_return_codes.TestReturnCodes.test_parallel_passing_bad_regex ... ok test_parallel_passing_bad_regex_from_func (stestr.tests.test_return_codes.TestReturnCodes) stestr.tests.test_return_codes.TestReturnCodes.test_parallel_passing_bad_regex_from_func ... ok test_parallel_passing_from_func (stestr.tests.test_return_codes.TestReturnCodes) stestr.tests.test_return_codes.TestReturnCodes.test_parallel_passing_from_func ... ok test_parallel_passing_xfail (stestr.tests.test_return_codes.TestReturnCodes) stestr.tests.test_return_codes.TestReturnCodes.test_parallel_passing_xfail ... ok test_parallel_subunit_failing (stestr.tests.test_return_codes.TestReturnCodes) stestr.tests.test_return_codes.TestReturnCodes.test_parallel_subunit_failing ... ok test_parallel_subunit_passing (stestr.tests.test_return_codes.TestReturnCodes) stestr.tests.test_return_codes.TestReturnCodes.test_parallel_subunit_passing ... ok test_parallel_subunit_passing_from_func (stestr.tests.test_return_codes.TestReturnCodes) stestr.tests.test_return_codes.TestReturnCodes.test_parallel_subunit_passing_from_func ... ok test_parallel_whitelist (stestr.tests.test_return_codes.TestReturnCodes) stestr.tests.test_return_codes.TestReturnCodes.test_parallel_whitelist ... ok test_run_no_discover_file_path (stestr.tests.test_return_codes.TestReturnCodes) stestr.tests.test_return_codes.TestReturnCodes.test_run_no_discover_file_path ... ok test_run_no_discover_file_path_failing (stestr.tests.test_return_codes.TestReturnCodes) stestr.tests.test_return_codes.TestReturnCodes.test_run_no_discover_file_path_failing ... ok test_run_no_discover_pytest_path (stestr.tests.test_return_codes.TestReturnCodes) stestr.tests.test_return_codes.TestReturnCodes.test_run_no_discover_pytest_path ... ok test_run_no_discover_pytest_path_failing (stestr.tests.test_return_codes.TestReturnCodes) stestr.tests.test_return_codes.TestReturnCodes.test_run_no_discover_pytest_path_failing ... ok test_serial_blacklist (stestr.tests.test_return_codes.TestReturnCodes) stestr.tests.test_return_codes.TestReturnCodes.test_serial_blacklist ... ok test_serial_fails (stestr.tests.test_return_codes.TestReturnCodes) stestr.tests.test_return_codes.TestReturnCodes.test_serial_fails ... ok test_serial_fails_from_func (stestr.tests.test_return_codes.TestReturnCodes) stestr.tests.test_return_codes.TestReturnCodes.test_serial_fails_from_func ... ok test_serial_passing (stestr.tests.test_return_codes.TestReturnCodes) stestr.tests.test_return_codes.TestReturnCodes.test_serial_passing ... ok test_serial_passing_from_func (stestr.tests.test_return_codes.TestReturnCodes) stestr.tests.test_return_codes.TestReturnCodes.test_serial_passing_from_func ... ok test_serial_subunit_failing (stestr.tests.test_return_codes.TestReturnCodes) stestr.tests.test_return_codes.TestReturnCodes.test_serial_subunit_failing ... ok test_serial_subunit_passing (stestr.tests.test_return_codes.TestReturnCodes) stestr.tests.test_return_codes.TestReturnCodes.test_serial_subunit_passing ... ok test_serial_subunit_passing_from_func (stestr.tests.test_return_codes.TestReturnCodes) stestr.tests.test_return_codes.TestReturnCodes.test_serial_subunit_passing_from_func ... ok test_serial_whitelist (stestr.tests.test_return_codes.TestReturnCodes) stestr.tests.test_return_codes.TestReturnCodes.test_serial_whitelist ... ok test_slowest_failing (stestr.tests.test_return_codes.TestReturnCodes) stestr.tests.test_return_codes.TestReturnCodes.test_slowest_failing ... ok test_slowest_passing (stestr.tests.test_return_codes.TestReturnCodes) stestr.tests.test_return_codes.TestReturnCodes.test_slowest_passing ... ok test_str_concurrency_fails_from_func (stestr.tests.test_return_codes.TestReturnCodes) stestr.tests.test_return_codes.TestReturnCodes.test_str_concurrency_fails_from_func ... ok test_str_concurrency_passing_from_func (stestr.tests.test_return_codes.TestReturnCodes) stestr.tests.test_return_codes.TestReturnCodes.test_str_concurrency_passing_from_func ... ok test_until_failure_fails (stestr.tests.test_return_codes.TestReturnCodes) stestr.tests.test_return_codes.TestReturnCodes.test_until_failure_fails ... ok test_until_failure_fails_from_func (stestr.tests.test_return_codes.TestReturnCodes) stestr.tests.test_return_codes.TestReturnCodes.test_until_failure_fails_from_func ... ok test_until_failure_with_subunit_fails (stestr.tests.test_return_codes.TestReturnCodes) stestr.tests.test_return_codes.TestReturnCodes.test_until_failure_with_subunit_fails ... ok test_until_failure_with_subunit_fails_from_func (stestr.tests.test_return_codes.TestReturnCodes) stestr.tests.test_return_codes.TestReturnCodes.test_until_failure_with_subunit_fails_from_func ... ok test_with_parallel_class (stestr.tests.test_return_codes.TestReturnCodes) stestr.tests.test_return_codes.TestReturnCodes.test_with_parallel_class ... ok test_start_process_linux (stestr.tests.test_test_processor.TestTestProcessorFixture) stestr.tests.test_test_processor.TestTestProcessorFixture.test_start_process_linux ... ok test_start_process_win32 (stestr.tests.test_test_processor.TestTestProcessorFixture) stestr.tests.test_test_processor.TestTestProcessorFixture.test_start_process_win32 ... ok test_abbreviate_config_file_failing (stestr.tests.test_user_config_return_codes.TestReturnCodes) stestr.tests.test_user_config_return_codes.TestReturnCodes.test_abbreviate_config_file_failing ... ok test_abbreviate_config_file_passing (stestr.tests.test_user_config_return_codes.TestReturnCodes) stestr.tests.test_user_config_return_codes.TestReturnCodes.test_abbreviate_config_file_passing ... ok test_abbreviate_load_from_config_failing (stestr.tests.test_user_config_return_codes.TestReturnCodes) stestr.tests.test_user_config_return_codes.TestReturnCodes.test_abbreviate_load_from_config_failing ... skipped 'Abbreviated output not displaying' test_abbreviate_load_from_config_passing (stestr.tests.test_user_config_return_codes.TestReturnCodes) stestr.tests.test_user_config_return_codes.TestReturnCodes.test_abbreviate_load_from_config_passing ... skipped 'Abbreviated output not displaying' test_empty_config_file_failing (stestr.tests.test_user_config_return_codes.TestReturnCodes) stestr.tests.test_user_config_return_codes.TestReturnCodes.test_empty_config_file_failing ... ok test_empty_config_file_passing (stestr.tests.test_user_config_return_codes.TestReturnCodes) stestr.tests.test_user_config_return_codes.TestReturnCodes.test_empty_config_file_passing ... ok test_failing_list_config_file (stestr.tests.test_user_config_return_codes.TestReturnCodes) stestr.tests.test_user_config_return_codes.TestReturnCodes.test_failing_list_config_file ... ok test_no_subunit_trace_config_file_failing (stestr.tests.test_user_config_return_codes.TestReturnCodes) stestr.tests.test_user_config_return_codes.TestReturnCodes.test_no_subunit_trace_config_file_failing ... ok test_no_subunit_trace_config_file_force_subunit_trace (stestr.tests.test_user_config_return_codes.TestReturnCodes) stestr.tests.test_user_config_return_codes.TestReturnCodes.test_no_subunit_trace_config_file_force_subunit_trace ... ok test_no_subunit_trace_config_file_passing (stestr.tests.test_user_config_return_codes.TestReturnCodes) stestr.tests.test_user_config_return_codes.TestReturnCodes.test_no_subunit_trace_config_file_passing ... ok test_no_subunit_trace_last_config_file_passing (stestr.tests.test_user_config_return_codes.TestReturnCodes) stestr.tests.test_user_config_return_codes.TestReturnCodes.test_no_subunit_trace_last_config_file_passing ... ok test_no_subunit_trace_slowest_config_file_passing (stestr.tests.test_user_config_return_codes.TestReturnCodes) stestr.tests.test_user_config_return_codes.TestReturnCodes.test_no_subunit_trace_slowest_config_file_passing ... ok test_subunit_trace_load_from_config_failing (stestr.tests.test_user_config_return_codes.TestReturnCodes) stestr.tests.test_user_config_return_codes.TestReturnCodes.test_subunit_trace_load_from_config_failing ... ok test_subunit_trace_load_from_config_passing (stestr.tests.test_user_config_return_codes.TestReturnCodes) stestr.tests.test_user_config_return_codes.TestReturnCodes.test_subunit_trace_load_from_config_passing ... ok test_bisect_serial_fail_detected (stestr.tests.test_bisect_return_codes.TestBisectReturnCodes) stestr.tests.test_bisect_return_codes.TestBisectReturnCodes.test_bisect_serial_fail_detected ... ok test_get_run_command_emptysysexecutable_noenv (stestr.tests.test_config_file.TestTestrConf) stestr.tests.test_config_file.TestTestrConf.test_get_run_command_emptysysexecutable_noenv ... ok test_get_run_command_emptysysexecutable_win32 (stestr.tests.test_config_file.TestTestrConf) stestr.tests.test_config_file.TestTestrConf.test_get_run_command_emptysysexecutable_win32 ... ok test_get_run_command_emptysysexecutable_withenv (stestr.tests.test_config_file.TestTestrConf) stestr.tests.test_config_file.TestTestrConf.test_get_run_command_emptysysexecutable_withenv ... ok test_get_run_command_linux (stestr.tests.test_config_file.TestTestrConf) stestr.tests.test_config_file.TestTestrConf.test_get_run_command_linux ... ok test_get_run_command_nogroup_regex_noparallel_class (stestr.tests.test_config_file.TestTestrConf) stestr.tests.test_config_file.TestTestrConf.test_get_run_command_nogroup_regex_noparallel_class ... ok test_get_run_command_parallel_class (stestr.tests.test_config_file.TestTestrConf) stestr.tests.test_config_file.TestTestrConf.test_get_run_command_parallel_class ... ok test_get_run_command_win32 (stestr.tests.test_config_file.TestTestrConf) stestr.tests.test_config_file.TestTestrConf.test_get_run_command_win32 ... ok test_get_durating_1 (stestr.tests.test_subunit_trace.TestSubunitTrace) stestr.tests.test_subunit_trace.TestSubunitTrace.test_get_durating_1 ... ok test_get_durating_2 (stestr.tests.test_subunit_trace.TestSubunitTrace) stestr.tests.test_subunit_trace.TestSubunitTrace.test_get_durating_2 ... ok test_get_durating_3 (stestr.tests.test_subunit_trace.TestSubunitTrace) stestr.tests.test_subunit_trace.TestSubunitTrace.test_get_durating_3 ... ok test_run_time_1 (stestr.tests.test_subunit_trace.TestSubunitTrace) stestr.tests.test_subunit_trace.TestSubunitTrace.test_run_time_1 ... ok test_run_time_2 (stestr.tests.test_subunit_trace.TestSubunitTrace) stestr.tests.test_subunit_trace.TestSubunitTrace.test_run_time_2 ... ok test_run_time_3 (stestr.tests.test_subunit_trace.TestSubunitTrace) stestr.tests.test_subunit_trace.TestSubunitTrace.test_run_time_3 ... ok test_trace (stestr.tests.test_subunit_trace.TestSubunitTrace) stestr.tests.test_subunit_trace.TestSubunitTrace.test_trace ... ok test_trace_with_all_skips (stestr.tests.test_subunit_trace.TestSubunitTrace) stestr.tests.test_subunit_trace.TestSubunitTrace.test_trace_with_all_skips ... ok test_trace_with_failures (stestr.tests.test_subunit_trace.TestSubunitTrace) stestr.tests.test_subunit_trace.TestSubunitTrace.test_trace_with_failures ... ok test_bisect_no_failures_provided (stestr.tests.test_bisect_tests.TestBisectTests) stestr.tests.test_bisect_tests.TestBisectTests.test_bisect_no_failures_provided ... ok test_bisect_tests_isolated_failure (stestr.tests.test_bisect_tests.TestBisectTests) stestr.tests.test_bisect_tests.TestBisectTests.test_bisect_tests_isolated_failure ... ok test_bisect_tests_not_isolated_failure (stestr.tests.test_bisect_tests.TestBisectTests) stestr.tests.test_bisect_tests.TestBisectTests.test_bisect_tests_not_isolated_failure ... ok test_bisect_tests_not_isolated_multiworker_failures (stestr.tests.test_bisect_tests.TestBisectTests) stestr.tests.test_bisect_tests.TestBisectTests.test_bisect_tests_not_isolated_multiworker_failures ... ok test_get_prior_tests_no_tags (stestr.tests.test_bisect_tests.TestBisectTests) stestr.tests.test_bisect_tests.TestBisectTests.test_get_prior_tests_no_tags ... ok test_get_prior_tests_with_tags (stestr.tests.test_bisect_tests.TestBisectTests) stestr.tests.test_bisect_tests.TestBisectTests.test_get_prior_tests_with_tags ... ok test_prior_tests_invlaid_test_id (stestr.tests.test_bisect_tests.TestBisectTests) stestr.tests.test_bisect_tests.TestBisectTests.test_prior_tests_invlaid_test_id ... ok ====================================================================== ERROR: test_get_failing (stestr.tests.repository.test_sql.TestSqlRepository) stestr.tests.repository.test_sql.TestSqlRepository.test_get_failing ---------------------------------------------------------------------- _StringException: Empty attachments: pythonlogging:'' stdout stderr: {{{ WARNING: The SQL repository type is still experimental. You might encounter issues while using it. INFO [alembic.runtime.migration] Context impl SQLiteImpl. INFO [alembic.runtime.migration] Will assume non-transactional DDL. Traceback (most recent call last): File "/usr/bin/subunit2sql-db-manage", line 10, in sys.exit(main()) File "/usr/lib/python2.7/site-packages/subunit2sql/migrations/cli.py", line 183, in main CONF.command.func(config, CONF.command.name) File "/usr/lib/python2.7/site-packages/subunit2sql/migrations/cli.py", line 76, in do_upgrade_downgrade do_alembic_command(config, cmd, revision, sql=CONF.command.sql) File "/usr/lib/python2.7/site-packages/subunit2sql/migrations/cli.py", line 54, in do_alembic_command getattr(alembic_command, cmd)(config, *args, **kwargs) File "/usr/lib/python2.7/site-packages/alembic/command.py", line 276, in upgrade script.run_env() File "/usr/lib/python2.7/site-packages/alembic/script/base.py", line 475, in run_env util.load_python_file(self.dir, "env.py") File "/usr/lib/python2.7/site-packages/alembic/util/pyfiles.py", line 90, in load_python_file module = load_module_py(module_id, path) File "/usr/lib/python2.7/site-packages/alembic/util/compat.py", line 216, in load_module_py mod = imp.load_source(module_id, path, fp) File "/usr/lib/python2.7/site-packages/subunit2sql/migrations/env.py", line 98, in run_migrations_online() File "/usr/lib/python2.7/site-packages/subunit2sql/migrations/env.py", line 90, in run_migrations_online context.run_migrations() File "", line 8, in run_migrations File "/usr/lib/python2.7/site-packages/alembic/runtime/environment.py", line 839, in run_migrations self.get_context().run_migrations(**kw) File "/usr/lib/python2.7/site-packages/alembic/runtime/migration.py", line 350, in run_migrations for step in self._migrations_fn(heads, self): File "/usr/lib/python2.7/site-packages/alembic/command.py", line 265, in upgrade return script._upgrade_revs(revision, rev) File "/usr/lib/python2.7/site-packages/alembic/script/base.py", line 360, in _upgrade_revs revs = list(revs) File "/usr/lib/python2.7/site-packages/alembic/script/revision.py", line 752, in _iterate_revisions uppers = util.dedupe_tuple(self.get_revisions(upper)) File "/usr/lib/python2.7/site-packages/alembic/script/revision.py", line 320, in get_revisions resolved_id, branch_label = self._resolve_revision_number(id_) File "/usr/lib/python2.7/site-packages/alembic/script/revision.py", line 476, in _resolve_revision_number self._revision_map File "/usr/lib/python2.7/site-packages/alembic/util/langhelpers.py", line 247, in __get__ obj.__dict__[self.__name__] = result = self.fget(obj) File "/usr/lib/python2.7/site-packages/alembic/script/revision.py", line 123, in _revision_map for revision in self._generator(): File "/usr/lib/python2.7/site-packages/alembic/script/base.py", line 100, in _load_revisions for file_ in Script._list_py_dir(self, vers): File "/usr/lib/python2.7/site-packages/alembic/script/base.py", line 857, in _list_py_dir return os.listdir(path) OSError: [Errno 2] No such file or directory: '/usr/lib/python2.7/site-packages/subunit2sql/migrations/versions' }}} Traceback (most recent call last): File "/builddir/build/BUILD/stestr-2.3.1/stestr/tests/repository/test_sql.py", line 55, in test_get_failing self.assertRaises(KeyError, repo.get_failing) File "/usr/lib/python2.7/site-packages/testtools/testcase.py", line 422, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python2.7/site-packages/testtools/testcase.py", line 433, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python2.7/site-packages/testtools/testcase.py", line 483, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python2.7/site-packages/testtools/matchers/_exception.py", line 108, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python2.7/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python2.7/site-packages/testtools/testcase.py", line 414, in match reraise(*matchee) File "/usr/lib/python2.7/site-packages/testtools/matchers/_exception.py", line 101, in match result = matchee() File "/usr/lib/python2.7/site-packages/testtools/testcase.py", line 969, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/stestr-2.3.1/stestr/repository/sql.py", line 109, in get_failing latest_run = self._get_latest_run() File "/builddir/build/BUILD/stestr-2.3.1/stestr/repository/sql.py", line 99, in _get_latest_run latest_run = db_api.get_latest_run(session) File "/usr/lib/python2.7/site-packages/subunit2sql/db/api.py", line 671, in get_latest_run return query.first() File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/query.py", line 2979, in first ret = list(self[0:1]) File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/query.py", line 2771, in __getitem__ return list(res) File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/query.py", line 3081, in __iter__ return self._execute_and_instances(context) File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/query.py", line 3106, in _execute_and_instances result = conn.execute(querycontext.statement, self._params) File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 980, in execute return meth(self, multiparams, params) File "/usr/lib64/python2.7/site-packages/sqlalchemy/sql/elements.py", line 273, in _execute_on_connection return connection._execute_clauseelement(self, multiparams, params) File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 1099, in _execute_clauseelement distilled_params, File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 1240, in _execute_context e, statement, parameters, cursor, context File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 1458, in _handle_dbapi_exception util.raise_from_cause(sqlalchemy_exception, exc_info) File "/usr/lib64/python2.7/site-packages/sqlalchemy/util/compat.py", line 296, in raise_from_cause reraise(type(exception), exception, tb=exc_tb, cause=cause) File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 1236, in _execute_context cursor, statement, parameters, context File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/default.py", line 536, in do_execute cursor.execute(statement, parameters) sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such table: runs [SQL: u'SELECT runs.uuid AS runs_uuid, runs.id AS runs_id, runs.skips AS runs_skips, runs.fails AS runs_fails, runs.passes AS runs_passes, runs.run_time AS runs_run_time, runs.artifacts AS runs_artifacts, runs.run_at AS runs_run_at \nFROM runs ORDER BY runs.run_at DESC\n LIMIT ? OFFSET ?'] [parameters: (1, 0)] (Background on this error at: http://sqlalche.me/e/e3q8) ====================================================================== ERROR: test_inserter_output_path (stestr.tests.repository.test_sql.TestSqlRepository) stestr.tests.repository.test_sql.TestSqlRepository.test_inserter_output_path ---------------------------------------------------------------------- _StringException: Empty attachments: pythonlogging:'' stdout stderr: {{{ WARNING: The SQL repository type is still experimental. You might encounter issues while using it. INFO [alembic.runtime.migration] Context impl SQLiteImpl. INFO [alembic.runtime.migration] Will assume non-transactional DDL. Traceback (most recent call last): File "/usr/bin/subunit2sql-db-manage", line 10, in sys.exit(main()) File "/usr/lib/python2.7/site-packages/subunit2sql/migrations/cli.py", line 183, in main CONF.command.func(config, CONF.command.name) File "/usr/lib/python2.7/site-packages/subunit2sql/migrations/cli.py", line 76, in do_upgrade_downgrade do_alembic_command(config, cmd, revision, sql=CONF.command.sql) File "/usr/lib/python2.7/site-packages/subunit2sql/migrations/cli.py", line 54, in do_alembic_command getattr(alembic_command, cmd)(config, *args, **kwargs) File "/usr/lib/python2.7/site-packages/alembic/command.py", line 276, in upgrade script.run_env() File "/usr/lib/python2.7/site-packages/alembic/script/base.py", line 475, in run_env util.load_python_file(self.dir, "env.py") File "/usr/lib/python2.7/site-packages/alembic/util/pyfiles.py", line 90, in load_python_file module = load_module_py(module_id, path) File "/usr/lib/python2.7/site-packages/alembic/util/compat.py", line 216, in load_module_py mod = imp.load_source(module_id, path, fp) File "/usr/lib/python2.7/site-packages/subunit2sql/migrations/env.py", line 98, in run_migrations_online() File "/usr/lib/python2.7/site-packages/subunit2sql/migrations/env.py", line 90, in run_migrations_online context.run_migrations() File "", line 8, in run_migrations File "/usr/lib/python2.7/site-packages/alembic/runtime/environment.py", line 839, in run_migrations self.get_context().run_migrations(**kw) File "/usr/lib/python2.7/site-packages/alembic/runtime/migration.py", line 350, in run_migrations for step in self._migrations_fn(heads, self): File "/usr/lib/python2.7/site-packages/alembic/command.py", line 265, in upgrade return script._upgrade_revs(revision, rev) File "/usr/lib/python2.7/site-packages/alembic/script/base.py", line 360, in _upgrade_revs revs = list(revs) File "/usr/lib/python2.7/site-packages/alembic/script/revision.py", line 752, in _iterate_revisions uppers = util.dedupe_tuple(self.get_revisions(upper)) File "/usr/lib/python2.7/site-packages/alembic/script/revision.py", line 320, in get_revisions resolved_id, branch_label = self._resolve_revision_number(id_) File "/usr/lib/python2.7/site-packages/alembic/script/revision.py", line 476, in _resolve_revision_number self._revision_map File "/usr/lib/python2.7/site-packages/alembic/util/langhelpers.py", line 247, in __get__ obj.__dict__[self.__name__] = result = self.fget(obj) File "/usr/lib/python2.7/site-packages/alembic/script/revision.py", line 123, in _revision_map for revision in self._generator(): File "/usr/lib/python2.7/site-packages/alembic/script/base.py", line 100, in _load_revisions for file_ in Script._list_py_dir(self, vers): File "/usr/lib/python2.7/site-packages/alembic/script/base.py", line 857, in _list_py_dir return os.listdir(path) OSError: [Errno 2] No such file or directory: '/usr/lib/python2.7/site-packages/subunit2sql/migrations/versions' }}} Traceback (most recent call last): File "/builddir/build/BUILD/stestr-2.3.1/stestr/tests/repository/test_sql.py", line 64, in test_inserter_output_path inserter.startTestRun() File "/builddir/build/BUILD/stestr-2.3.1/stestr/repository/sql.py", line 204, in startTestRun self.run = db_api.create_run(session=session) File "/usr/lib/python2.7/site-packages/subunit2sql/db/api.py", line 200, in create_run session.add(run) File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/session.py", line 597, in __exit__ self.rollback() File "/usr/lib64/python2.7/site-packages/sqlalchemy/util/langhelpers.py", line 67, in __exit__ compat.reraise(exc_type, exc_value, exc_tb) File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/session.py", line 594, in __exit__ self.commit() File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/session.py", line 487, in commit self._prepare_impl() File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/session.py", line 466, in _prepare_impl self.session.flush() File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/session.py", line 2436, in flush self._flush(objects) File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/session.py", line 2574, in _flush transaction.rollback(_capture_exception=True) File "/usr/lib64/python2.7/site-packages/sqlalchemy/util/langhelpers.py", line 67, in __exit__ compat.reraise(exc_type, exc_value, exc_tb) File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/session.py", line 2534, in _flush flush_context.execute() File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/unitofwork.py", line 416, in execute rec.execute(self) File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/unitofwork.py", line 583, in execute uow, File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/persistence.py", line 245, in save_obj insert, File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/persistence.py", line 1116, in _emit_insert_statements statement, params File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 980, in execute return meth(self, multiparams, params) File "/usr/lib64/python2.7/site-packages/sqlalchemy/sql/elements.py", line 273, in _execute_on_connection return connection._execute_clauseelement(self, multiparams, params) File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 1099, in _execute_clauseelement distilled_params, File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 1240, in _execute_context e, statement, parameters, cursor, context File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 1458, in _handle_dbapi_exception util.raise_from_cause(sqlalchemy_exception, exc_info) File "/usr/lib64/python2.7/site-packages/sqlalchemy/util/compat.py", line 296, in raise_from_cause reraise(type(exception), exception, tb=exc_tb, cause=cause) File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 1236, in _execute_context cursor, statement, parameters, context File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/default.py", line 536, in do_execute cursor.execute(statement, parameters) sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such table: runs [SQL: u'INSERT INTO runs (uuid, skips, fails, passes, run_time, artifacts, run_at) VALUES (?, ?, ?, ?, ?, ?, ?)'] [parameters: (u'15bb0f3b-357c-41b2-9c99-214b5d457d10', 0, 0, 0, 0.0, None, '2019-06-07 08:56:33.474647')] (Background on this error at: http://sqlalche.me/e/e3q8) ====================================================================== ERROR: test_run_get_subunit_stream (stestr.tests.repository.test_sql.TestSqlRepository) stestr.tests.repository.test_sql.TestSqlRepository.test_run_get_subunit_stream ---------------------------------------------------------------------- _StringException: Empty attachments: pythonlogging:'' stdout stderr: {{{ WARNING: The SQL repository type is still experimental. You might encounter issues while using it. INFO [alembic.runtime.migration] Context impl SQLiteImpl. INFO [alembic.runtime.migration] Will assume non-transactional DDL. Traceback (most recent call last): File "/usr/bin/subunit2sql-db-manage", line 10, in sys.exit(main()) File "/usr/lib/python2.7/site-packages/subunit2sql/migrations/cli.py", line 183, in main CONF.command.func(config, CONF.command.name) File "/usr/lib/python2.7/site-packages/subunit2sql/migrations/cli.py", line 76, in do_upgrade_downgrade do_alembic_command(config, cmd, revision, sql=CONF.command.sql) File "/usr/lib/python2.7/site-packages/subunit2sql/migrations/cli.py", line 54, in do_alembic_command getattr(alembic_command, cmd)(config, *args, **kwargs) File "/usr/lib/python2.7/site-packages/alembic/command.py", line 276, in upgrade script.run_env() File "/usr/lib/python2.7/site-packages/alembic/script/base.py", line 475, in run_env util.load_python_file(self.dir, "env.py") File "/usr/lib/python2.7/site-packages/alembic/util/pyfiles.py", line 90, in load_python_file module = load_module_py(module_id, path) File "/usr/lib/python2.7/site-packages/alembic/util/compat.py", line 216, in load_module_py mod = imp.load_source(module_id, path, fp) File "/usr/lib/python2.7/site-packages/subunit2sql/migrations/env.py", line 98, in run_migrations_online() File "/usr/lib/python2.7/site-packages/subunit2sql/migrations/env.py", line 90, in run_migrations_online context.run_migrations() File "", line 8, in run_migrations File "/usr/lib/python2.7/site-packages/alembic/runtime/environment.py", line 839, in run_migrations self.get_context().run_migrations(**kw) File "/usr/lib/python2.7/site-packages/alembic/runtime/migration.py", line 350, in run_migrations for step in self._migrations_fn(heads, self): File "/usr/lib/python2.7/site-packages/alembic/command.py", line 265, in upgrade return script._upgrade_revs(revision, rev) File "/usr/lib/python2.7/site-packages/alembic/script/base.py", line 360, in _upgrade_revs revs = list(revs) File "/usr/lib/python2.7/site-packages/alembic/script/revision.py", line 752, in _iterate_revisions uppers = util.dedupe_tuple(self.get_revisions(upper)) File "/usr/lib/python2.7/site-packages/alembic/script/revision.py", line 320, in get_revisions resolved_id, branch_label = self._resolve_revision_number(id_) File "/usr/lib/python2.7/site-packages/alembic/script/revision.py", line 476, in _resolve_revision_number self._revision_map File "/usr/lib/python2.7/site-packages/alembic/util/langhelpers.py", line 247, in __get__ obj.__dict__[self.__name__] = result = self.fget(obj) File "/usr/lib/python2.7/site-packages/alembic/script/revision.py", line 123, in _revision_map for revision in self._generator(): File "/usr/lib/python2.7/site-packages/alembic/script/base.py", line 100, in _load_revisions for file_ in Script._list_py_dir(self, vers): File "/usr/lib/python2.7/site-packages/alembic/script/base.py", line 857, in _list_py_dir return os.listdir(path) OSError: [Errno 2] No such file or directory: '/usr/lib/python2.7/site-packages/subunit2sql/migrations/versions' }}} Traceback (most recent call last): File "/builddir/build/BUILD/stestr-2.3.1/stestr/tests/repository/test_sql.py", line 74, in test_run_get_subunit_stream inserter.startTestRun() File "/builddir/build/BUILD/stestr-2.3.1/stestr/repository/sql.py", line 204, in startTestRun self.run = db_api.create_run(session=session) File "/usr/lib/python2.7/site-packages/subunit2sql/db/api.py", line 200, in create_run session.add(run) File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/session.py", line 597, in __exit__ self.rollback() File "/usr/lib64/python2.7/site-packages/sqlalchemy/util/langhelpers.py", line 67, in __exit__ compat.reraise(exc_type, exc_value, exc_tb) File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/session.py", line 594, in __exit__ self.commit() File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/session.py", line 487, in commit self._prepare_impl() File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/session.py", line 466, in _prepare_impl self.session.flush() File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/session.py", line 2436, in flush self._flush(objects) File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/session.py", line 2574, in _flush transaction.rollback(_capture_exception=True) File "/usr/lib64/python2.7/site-packages/sqlalchemy/util/langhelpers.py", line 67, in __exit__ compat.reraise(exc_type, exc_value, exc_tb) File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/session.py", line 2534, in _flush flush_context.execute() File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/unitofwork.py", line 416, in execute rec.execute(self) File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/unitofwork.py", line 583, in execute uow, File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/persistence.py", line 245, in save_obj insert, File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/persistence.py", line 1116, in _emit_insert_statements statement, params File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 980, in execute return meth(self, multiparams, params) File "/usr/lib64/python2.7/site-packages/sqlalchemy/sql/elements.py", line 273, in _execute_on_connection return connection._execute_clauseelement(self, multiparams, params) File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 1099, in _execute_clauseelement distilled_params, File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 1240, in _execute_context e, statement, parameters, cursor, context File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 1458, in _handle_dbapi_exception util.raise_from_cause(sqlalchemy_exception, exc_info) File "/usr/lib64/python2.7/site-packages/sqlalchemy/util/compat.py", line 296, in raise_from_cause reraise(type(exception), exception, tb=exc_tb, cause=cause) File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 1236, in _execute_context cursor, statement, parameters, context File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/default.py", line 536, in do_execute cursor.execute(statement, parameters) sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such table: runs [SQL: u'INSERT INTO runs (uuid, skips, fails, passes, run_time, artifacts, run_at) VALUES (?, ?, ?, ?, ?, ?, ?)'] [parameters: (u'006534fd-08f6-47e7-a70f-3aa831da7c1e', 0, 0, 0, 0.0, None, '2019-06-07 08:56:35.539515')] (Background on this error at: http://sqlalche.me/e/e3q8) ---------------------------------------------------------------------- Ran 143 tests in 217.018s FAILED (errors=3, skipped=2) Test failed: error: Test failed: + : Processing files: python2-stestr-2.3.1-1.el7.noarch + exit 0 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.hdAUk0 + umask 022 + cd /builddir/build/BUILD + cd stestr-2.3.1 + DOCDIR=/builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/share/doc/python2-stestr-2.3.1 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/share/doc/python2-stestr-2.3.1 + cp -pr README.rst /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/share/doc/python2-stestr-2.3.1 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.dm8gds + umask 022 + cd /builddir/build/BUILD + cd stestr-2.3.1 + LICENSEDIR=/builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/share/licenses/python2-stestr-2.3.1 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/share/licenses/python2-stestr-2.3.1 + cp -pr LICENSE /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/share/licenses/python2-stestr-2.3.1 + exit 0 Provides: python-stestr = 2.3.1-1.el7 python2-stestr = 2.3.1-1.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python2 python(abi) = 2.7 Obsoletes: python-stestr < 2.3.1-1.el7 Processing files: python2-stestr-sql-2.3.1-1.el7.noarch Provides: python2-stestr-sql = 2.3.1-1.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 2.7 Processing files: python-stestr-doc-2.3.1-1.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.RegMhz + umask 022 + cd /builddir/build/BUILD + cd stestr-2.3.1 + DOCDIR=/builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/share/doc/python-stestr-doc-2.3.1 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/share/doc/python-stestr-doc-2.3.1 + cp -pr doc/build/html /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/share/doc/python-stestr-doc-2.3.1 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.0cbrjB + umask 022 + cd /builddir/build/BUILD + cd stestr-2.3.1 + LICENSEDIR=/builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/share/licenses/python-stestr-doc-2.3.1 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/share/licenses/python-stestr-doc-2.3.1 + cp -pr LICENSE /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch/usr/share/licenses/python-stestr-doc-2.3.1 + exit 0 Provides: python-stestr-doc = 2.3.1-1.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch Wrote: /builddir/build/RPMS/python2-stestr-2.3.1-1.el7.noarch.rpm Wrote: /builddir/build/RPMS/python2-stestr-sql-2.3.1-1.el7.noarch.rpm Wrote: /builddir/build/RPMS/python-stestr-doc-2.3.1-1.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.XAsyVb + umask 022 + cd /builddir/build/BUILD + cd stestr-2.3.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-stestr-2.3.1-1.el7.noarch + exit 0 Child return code was: 0