Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-sphinx-notfound-page.spec'], chrootPath='/var/lib/mock/dist-an8.9-build-427360-72901/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-sphinx-notfound-page.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/python-sphinx-notfound-page-0.7.1-1.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-sphinx-notfound-page.spec'], chrootPath='/var/lib/mock/dist-an8.9-build-427360-72901/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-sphinx-notfound-page.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8k9AEU + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sphinx-notfound-page-0.7.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/0.7.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd sphinx-notfound-page-0.7.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.D19qHD + umask 022 + cd /builddir/build/BUILD + cd sphinx-notfound-page-0.7.1 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/libexec/platform-python setup.py build '--executable=/usr/libexec/platform-python -s' running build running build_py creating build creating build/lib creating build/lib/notfound copying notfound/__init__.py -> build/lib/notfound copying notfound/extension.py -> build/lib/notfound copying notfound/utils.py -> build/lib/notfound running egg_info creating sphinx_notfound_page.egg-info writing sphinx_notfound_page.egg-info/PKG-INFO writing dependency_links to sphinx_notfound_page.egg-info/dependency_links.txt writing top-level names to sphinx_notfound_page.egg-info/top_level.txt writing manifest file 'sphinx_notfound_page.egg-info/SOURCES.txt' reading manifest file 'sphinx_notfound_page.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching 'common' warning: no previously-included files matching '__pycache__' found anywhere in distribution warning: no previously-included files matching '*.py[cod]' found anywhere in distribution warning: no previously-included files matching '*.orig' found anywhere in distribution no previously-included directories found matching 'docs/_build' no previously-included directories found matching 'tests/_build' no previously-included directories found matching 'tests/examples/*/_build' writing manifest file 'sphinx_notfound_page.egg-info/SOURCES.txt' + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.03czGz + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-sphinx-notfound-page-0.7.1-1.an8.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-sphinx-notfound-page-0.7.1-1.an8.noarch ++ dirname /builddir/build/BUILDROOT/python-sphinx-notfound-page-0.7.1-1.an8.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-sphinx-notfound-page-0.7.1-1.an8.noarch + cd sphinx-notfound-page-0.7.1 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/libexec/platform-python setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-sphinx-notfound-page-0.7.1-1.an8.noarch running install running install_lib creating /builddir/build/BUILDROOT/python-sphinx-notfound-page-0.7.1-1.an8.noarch/usr creating /builddir/build/BUILDROOT/python-sphinx-notfound-page-0.7.1-1.an8.noarch/usr/lib creating /builddir/build/BUILDROOT/python-sphinx-notfound-page-0.7.1-1.an8.noarch/usr/lib/python3.6 creating /builddir/build/BUILDROOT/python-sphinx-notfound-page-0.7.1-1.an8.noarch/usr/lib/python3.6/site-packages creating /builddir/build/BUILDROOT/python-sphinx-notfound-page-0.7.1-1.an8.noarch/usr/lib/python3.6/site-packages/notfound copying build/lib/notfound/__init__.py -> /builddir/build/BUILDROOT/python-sphinx-notfound-page-0.7.1-1.an8.noarch/usr/lib/python3.6/site-packages/notfound copying build/lib/notfound/extension.py -> /builddir/build/BUILDROOT/python-sphinx-notfound-page-0.7.1-1.an8.noarch/usr/lib/python3.6/site-packages/notfound copying build/lib/notfound/utils.py -> /builddir/build/BUILDROOT/python-sphinx-notfound-page-0.7.1-1.an8.noarch/usr/lib/python3.6/site-packages/notfound byte-compiling /builddir/build/BUILDROOT/python-sphinx-notfound-page-0.7.1-1.an8.noarch/usr/lib/python3.6/site-packages/notfound/__init__.py to __init__.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-sphinx-notfound-page-0.7.1-1.an8.noarch/usr/lib/python3.6/site-packages/notfound/extension.py to extension.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-sphinx-notfound-page-0.7.1-1.an8.noarch/usr/lib/python3.6/site-packages/notfound/utils.py to utils.cpython-36.pyc writing byte-compilation script '/tmp/tmp1_cq63wr.py' /usr/libexec/platform-python /tmp/tmp1_cq63wr.py removing /tmp/tmp1_cq63wr.py running install_egg_info running egg_info writing sphinx_notfound_page.egg-info/PKG-INFO writing dependency_links to sphinx_notfound_page.egg-info/dependency_links.txt writing top-level names to sphinx_notfound_page.egg-info/top_level.txt reading manifest file 'sphinx_notfound_page.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching 'common' warning: no previously-included files matching '__pycache__' found anywhere in distribution warning: no previously-included files matching '*.py[cod]' found anywhere in distribution warning: no previously-included files matching '*.orig' found anywhere in distribution no previously-included directories found matching 'docs/_build' no previously-included directories found matching 'tests/_build' no previously-included directories found matching 'tests/examples/*/_build' writing manifest file 'sphinx_notfound_page.egg-info/SOURCES.txt' Copying sphinx_notfound_page.egg-info to /builddir/build/BUILDROOT/python-sphinx-notfound-page-0.7.1-1.an8.noarch/usr/lib/python3.6/site-packages/sphinx_notfound_page-0.7.1-py3.6.egg-info running install_scripts + /usr/lib/rpm/find-debuginfo.sh -j80 --strict-build-id -m -i --build-id-seed 0.7.1-1.an8 --unique-debug-suffix -0.7.1-1.an8.noarch --unique-debug-src-base python-sphinx-notfound-page-0.7.1-1.an8.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/sphinx-notfound-page-0.7.1 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-sphinx-notfound-page-0.7.1-1.an8.noarch/usr/lib/python3.6 using /usr/libexec/platform-python + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.wL6umk + umask 022 + cd /builddir/build/BUILD + cd sphinx-notfound-page-0.7.1 ++ pwd + PYTHONPATH=/builddir/build/BUILD/sphinx-notfound-page-0.7.1 + py.test-3.6 -v . ============================= test session starts ============================== platform linux -- Python 3.6.8, pytest-3.4.2, py-1.5.3, pluggy-0.6.0 -- /usr/libexec/platform-python cachedir: .pytest_cache rootdir: /builddir/build/BUILD/sphinx-notfound-page-0.7.1, inifile: pytest.ini collecting ... collected 27 items tests/test_urls.py::test_parallel_build PASSED [ 3%] tests/test_urls.py::test_404_page_created PASSED [ 7%] tests/test_urls.py::test_default_settings PASSED [ 11%] tests/test_urls.py::test_context_settings PASSED [ 14%] tests/test_urls.py::test_pagename_setting PASSED [ 18%] tests/test_urls.py::test_default_language_setting PASSED [ 22%] tests/test_urls.py::test_default_version_setting PASSED [ 25%] tests/test_urls.py::test_no_urls_prefix_setting PASSED [ 29%] tests/test_urls.py::test_urls_prefix_setting PASSED [ 33%] tests/test_urls.py::test_urls_prefix_setting_none PASSED [ 37%] tests/test_urls.py::test_no_urls_prefix_setting_preference PASSED [ 40%] tests/test_urls.py::test_default_version_language_setting PASSED [ 44%] tests/test_urls.py::test_template_setting PASSED [ 48%] tests/test_urls.py::test_custom_404_rst_source PASSED [ 51%] tests/test_urls.py::test_image_on_404_rst_source PASSED [ 55%] tests/test_urls.py::test_image_looks_like_absolute_url PASSED [ 59%] tests/test_urls.py::test_image_absolute_url PASSED [ 62%] tests/test_urls.py::test_urls_for_dirhtml_builder PASSED [ 66%] tests/test_urls.py::test_no_prefix_urls_for_dirhtml_builder PASSED [ 70%] tests/test_urls.py::test_sphinx_resource_urls PASSED [ 74%] tests/test_urls.py::test_toctree_urls_notfound_default PASSED [ 77%] tests/test_urls.py::test_toctree_links PASSED [ 81%] tests/test_urls.py::test_toctree_links_custom_settings PASSED [ 85%] tests/test_urls.py::test_toctree_links_language_setting_version_environment PASSED [ 88%] tests/test_urls.py::test_automatic_orphan PASSED [ 92%] tests/test_urls.py::test_deprecation_warnings xfail [ 96%] tests/test_urls.py::test_resources_from_extension ERROR [100%] ==================================== ERRORS ==================================== _______________ ERROR at setup of test_resources_from_extension ________________ test_params = {'shared_result': None} app_params = app_params(args=[], kwargs={'srcdir': path('/builddir/build/BUILD/sphinx-notfound-page-0.7.1/tests/examples/extension')}) make_app = .make at 0x7fb6cfceb9d8> shared_result = @pytest.fixture(scope='function') def app(test_params, app_params, make_app, shared_result): """ provides sphinx.application.Sphinx object """ args, kwargs = app_params > app_ = make_app(*args, **kwargs) /usr/lib/python3.6/site-packages/sphinx/testing/fixtures.py:115: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.6/site-packages/sphinx/testing/fixtures.py:159: in make app_ = util.SphinxTestApp(*args, **kwargs) # type: Union[util.SphinxTestApp, util.SphinxTestAppWrapperForSkipBuilding] # NOQA /usr/lib/python3.6/site-packages/sphinx/testing/util.py:133: in __init__ freshenv, warningiserror, tags) /usr/lib/python3.6/site-packages/sphinx/application.py:205: in __init__ self.config.setup(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ app = <[AttributeError("'NoneType' object has no attribute 'name'") raised in repr()] SphinxTestApp object at 0x7fb6d04ac400> > ??? E AttributeError: 'SphinxTestApp' object has no attribute 'add_css_file' conf.py:12: AttributeError ================ 25 passed, 1 xfailed, 1 error in 4.43 seconds ================= error: Bad exit status from /var/tmp/rpm-tmp.wL6umk (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.wL6umk (%check) Child return code was: 1 EXCEPTION: [Error("Command failed: \n # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-sphinx-notfound-page.spec'\n", 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-sphinx-notfound-page.spec'