Mock Version: 1.3.4 Mock Version: 1.3.4 ENTER ['do'](['/usr/bin/rpmbuild', '-bs', '--target', 'noarch', '--nodeps', u'/builddir/build/SPECS/python-sphinx-testing.spec'], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/cloud8-openstack-ussuri-el8-build-72153-381372/root'gid=135user='mockbuild'timeout=86400logger=printOutput=False) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'aff7e2e6fafe4dc78f0d7653eec5884d', '-D', '/var/lib/mock/cloud8-openstack-ussuri-el8-build-72153-381372/root', '--setenv=LANG=en_GB.UTF-8', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOSTNAME=mock', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=HOME=/builddir', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PS1= \\s-\\v\\$ ', '-u', 'mockbuild', '/usr/bin/rpmbuild', '-bs', '--target', 'noarch', '--nodeps', u'/builddir/build/SPECS/python-sphinx-testing.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/python-sphinx-testing-1.0.1-7.el8.src.rpm Child return code was: 0 ENTER ['do'](['/usr/bin/rpmbuild', '-bb', '--target', 'noarch', '--nodeps', u'/builddir/build/SPECS/python-sphinx-testing.spec'], nspawn_args=['--private-network']shell=Falseuid=996env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/cloud8-openstack-ussuri-el8-build-72153-381372/root'gid=135user='mockbuild'timeout=86400logger=printOutput=False) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '135703670e2942e6810b351de97857d1', '-D', '/var/lib/mock/cloud8-openstack-ussuri-el8-build-72153-381372/root', '--private-network', '--setenv=LANG=en_GB.UTF-8', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOSTNAME=mock', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=HOME=/builddir', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PS1= \\s-\\v\\$ ', '-u', 'mockbuild', '/usr/bin/rpmbuild', '-bb', '--target', 'noarch', '--nodeps', u'/builddir/build/SPECS/python-sphinx-testing.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.DAmhHd + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sphinx-testing-1.0.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/sphinx-testing-1.0.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd sphinx-testing-1.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/python-sphinx-testing-open-mode.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + sed -i '\@/usr/bin/env python@d' src/sphinx_testing/path.py + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.UOSDCH + umask 022 + cd /builddir/build/BUILD + cd sphinx-testing-1.0.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/sphinx_testing copying src/sphinx_testing/util.py -> _build/lib/sphinx_testing copying src/sphinx_testing/__init__.py -> _build/lib/sphinx_testing copying src/sphinx_testing/path.py -> _build/lib/sphinx_testing copying src/sphinx_testing/tmpdir.py -> _build/lib/sphinx_testing running egg_info writing src/sphinx_testing.egg-info/PKG-INFO writing dependency_links to src/sphinx_testing.egg-info/dependency_links.txt writing requirements to src/sphinx_testing.egg-info/requires.txt writing top-level names to src/sphinx_testing.egg-info/top_level.txt reading manifest file 'src/sphinx_testing.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'src/sphinx_testing.egg-info/SOURCES.txt' + sleep 1 + rst2html --no-datestamp CHANGES.rst CHANGES.html + rst2html --no-datestamp README.rst README.html + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.RtNwnf + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-sphinx-testing-1.0.1-7.el8.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-sphinx-testing-1.0.1-7.el8.noarch ++ dirname /builddir/build/BUILDROOT/python-sphinx-testing-1.0.1-7.el8.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-sphinx-testing-1.0.1-7.el8.noarch + cd sphinx-testing-1.0.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-testing-1.0.1-7.el8.noarch running install running install_lib creating /builddir/build/BUILDROOT/python-sphinx-testing-1.0.1-7.el8.noarch/usr creating /builddir/build/BUILDROOT/python-sphinx-testing-1.0.1-7.el8.noarch/usr/lib creating /builddir/build/BUILDROOT/python-sphinx-testing-1.0.1-7.el8.noarch/usr/lib/python3.6 creating /builddir/build/BUILDROOT/python-sphinx-testing-1.0.1-7.el8.noarch/usr/lib/python3.6/site-packages creating /builddir/build/BUILDROOT/python-sphinx-testing-1.0.1-7.el8.noarch/usr/lib/python3.6/site-packages/sphinx_testing copying _build/lib/sphinx_testing/util.py -> /builddir/build/BUILDROOT/python-sphinx-testing-1.0.1-7.el8.noarch/usr/lib/python3.6/site-packages/sphinx_testing copying _build/lib/sphinx_testing/__init__.py -> /builddir/build/BUILDROOT/python-sphinx-testing-1.0.1-7.el8.noarch/usr/lib/python3.6/site-packages/sphinx_testing copying _build/lib/sphinx_testing/path.py -> /builddir/build/BUILDROOT/python-sphinx-testing-1.0.1-7.el8.noarch/usr/lib/python3.6/site-packages/sphinx_testing copying _build/lib/sphinx_testing/tmpdir.py -> /builddir/build/BUILDROOT/python-sphinx-testing-1.0.1-7.el8.noarch/usr/lib/python3.6/site-packages/sphinx_testing byte-compiling /builddir/build/BUILDROOT/python-sphinx-testing-1.0.1-7.el8.noarch/usr/lib/python3.6/site-packages/sphinx_testing/util.py to util.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-sphinx-testing-1.0.1-7.el8.noarch/usr/lib/python3.6/site-packages/sphinx_testing/__init__.py to __init__.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-sphinx-testing-1.0.1-7.el8.noarch/usr/lib/python3.6/site-packages/sphinx_testing/path.py to path.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-sphinx-testing-1.0.1-7.el8.noarch/usr/lib/python3.6/site-packages/sphinx_testing/tmpdir.py to tmpdir.cpython-36.pyc writing byte-compilation script '/tmp/tmp7sdjgvea.py' /usr/libexec/platform-python /tmp/tmp7sdjgvea.py removing /tmp/tmp7sdjgvea.py running install_egg_info running egg_info writing src/sphinx_testing.egg-info/PKG-INFO writing dependency_links to src/sphinx_testing.egg-info/dependency_links.txt writing requirements to src/sphinx_testing.egg-info/requires.txt writing top-level names to src/sphinx_testing.egg-info/top_level.txt reading manifest file 'src/sphinx_testing.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'src/sphinx_testing.egg-info/SOURCES.txt' Copying src/sphinx_testing.egg-info to /builddir/build/BUILDROOT/python-sphinx-testing-1.0.1-7.el8.noarch/usr/lib/python3.6/site-packages/sphinx_testing-1.0.1-py3.6.egg-info running install_scripts + /usr/lib/rpm/find-debuginfo.sh -j32 --strict-build-id -m -i --build-id-seed 1.0.1-7.el8 --unique-debug-suffix -1.0.1-7.el8.noarch --unique-debug-src-base python-sphinx-testing-1.0.1-7.el8.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/sphinx-testing-1.0.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-testing-1.0.1-7.el8.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.wcHouO + umask 022 + cd /builddir/build/BUILD + cd sphinx-testing-1.0.1 + PYTHONPATH=/builddir/build/BUILD/sphinx-testing-1.0.1/src + pytest-3.6 -v tests ============================= test session starts ============================== platform linux -- Python 3.6.8, pytest-4.6.9, py-1.5.3, pluggy-0.13.0 -- /usr/libexec/platform-python cachedir: .pytest_cache rootdir: /builddir/build/BUILD/sphinx-testing-1.0.1 collecting ... collected 40 items tests/test_path.py::TestPath::test_abspath PASSED [ 2%] tests/test_path.py::TestPath::test_basename PASSED [ 5%] tests/test_path.py::TestPath::test_copytree PASSED [ 7%] tests/test_path.py::TestPath::test_dirname PASSED [ 10%] tests/test_path.py::TestPath::test_exists PASSED [ 12%] tests/test_path.py::TestPath::test_instantiate PASSED [ 15%] tests/test_path.py::TestPath::test_isabs PASSED [ 17%] tests/test_path.py::TestPath::test_isdir PASSED [ 20%] tests/test_path.py::TestPath::test_isfile PASSED [ 22%] tests/test_path.py::TestPath::test_islink PASSED [ 25%] tests/test_path.py::TestPath::test_ismount PASSED [ 27%] tests/test_path.py::TestPath::test_jonpath PASSED [ 30%] tests/test_path.py::TestPath::test_listdir PASSED [ 32%] tests/test_path.py::TestPath::test_makedirs PASSED [ 35%] tests/test_path.py::TestPath::test_move PASSED [ 37%] tests/test_path.py::TestPath::test_read_bytes PASSED [ 40%] tests/test_path.py::TestPath::test_read_text PASSED [ 42%] tests/test_path.py::TestPath::test_rmtree PASSED [ 45%] tests/test_path.py::TestPath::test_suffix PASSED [ 47%] tests/test_path.py::TestPath::test_unlink PASSED [ 50%] tests/test_path.py::TestPath::test_utime PASSED [ 52%] tests/test_path.py::TestPath::test_write_bytes PASSED [ 55%] tests/test_path.py::TestPath::test_write_text PASSED [ 57%] tests/test_tmpdir.py::TestTmpdir::test_mkdtemp PASSED [ 60%] tests/test_tmpdir.py::TestTmpdir::test_with_tmpdir PASSED [ 62%] tests/test_util.py::TestSphinxTesting::test_TestApp PASSED [ 65%] tests/test_util.py::TestSphinxTesting::test_TestApp_cleanup PASSED [ 67%] tests/test_util.py::TestSphinxTesting::test_TestApp_cleanup_when_cleanup_on_errors PASSED [ 70%] tests/test_util.py::TestSphinxTesting::test_TestApp_when_copy_srcdir_to_tmpdir PASSED [ 72%] tests/test_util.py::TestSphinxTesting::test_TestApp_when_create_new_srcdir PASSED [ 75%] tests/test_util.py::TestSphinxTesting::test_TestApp_when_srcdir_and_create_new_srcdir_conflict PASSED [ 77%] tests/test_util.py::TestSphinxTesting::test_TestApp_when_srcdir_is_None PASSED [ 80%] tests/test_util.py::TestSphinxTesting::test_TestApp_when_srcdir_specified PASSED [ 82%] tests/test_util.py::TestSphinxTesting::test_with_app PASSED [ 85%] tests/test_util.py::TestSphinxTesting::test_with_app_bad_args PASSED [ 87%] tests/test_util.py::TestSphinxTesting::test_with_app_return_value PASSED [ 90%] tests/test_util.py::TestSphinxTesting::test_with_app_write_docstring PASSED [ 92%] tests/test_util.py::TestSphinxTesting::test_with_app_write_docstring_by_name PASSED [ 95%] tests/test_util.py::TestSphinxTesting::test_with_app_write_docstring_with_master_doc PASSED [ 97%] tests/test_util.py::TestSphinxTesting::test_with_app_write_docstring_with_source_suffix PASSED [100%] =============================== warnings summary =============================== src/sphinx_testing/util.py:33 /builddir/build/BUILD/sphinx-testing-1.0.1/src/sphinx_testing/util.py:33: PytestCollectionWarning: cannot collect test class 'TestApp' because it has a __init__ constructor (from: tests/test_util.py) class TestApp(Sphinx): tests/test_util.py::TestSphinxTesting::test_TestApp tests/test_util.py::TestSphinxTesting::test_with_app tests/test_util.py::TestSphinxTesting::test_with_app /usr/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated self.source = open(source_path, mode, **kwargs) -- Docs: https://docs.pytest.org/en/latest/warnings.html ==================== 40 passed, 4 warnings in 1.60 seconds ===================== + exit 0 Processing files: python3-sphinx-testing-1.0.1-7.el8.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.1npzjs + umask 022 + cd /builddir/build/BUILD + cd sphinx-testing-1.0.1 + DOCDIR=/builddir/build/BUILDROOT/python-sphinx-testing-1.0.1-7.el8.noarch/usr/share/doc/python3-sphinx-testing + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-sphinx-testing-1.0.1-7.el8.noarch/usr/share/doc/python3-sphinx-testing + cp -pr AUTHORS /builddir/build/BUILDROOT/python-sphinx-testing-1.0.1-7.el8.noarch/usr/share/doc/python3-sphinx-testing + cp -pr Sphinx-AUTHORS /builddir/build/BUILDROOT/python-sphinx-testing-1.0.1-7.el8.noarch/usr/share/doc/python3-sphinx-testing + cp -pr CHANGES.html README.html /builddir/build/BUILDROOT/python-sphinx-testing-1.0.1-7.el8.noarch/usr/share/doc/python3-sphinx-testing + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.M9LO95 + umask 022 + cd /builddir/build/BUILD + cd sphinx-testing-1.0.1 + LICENSEDIR=/builddir/build/BUILDROOT/python-sphinx-testing-1.0.1-7.el8.noarch/usr/share/licenses/python3-sphinx-testing + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-sphinx-testing-1.0.1-7.el8.noarch/usr/share/licenses/python3-sphinx-testing + cp -pr LICENSE /builddir/build/BUILDROOT/python-sphinx-testing-1.0.1-7.el8.noarch/usr/share/licenses/python3-sphinx-testing + exit 0 Provides: python3-sphinx-testing = 1.0.1-7.el8 python3.6dist(sphinx-testing) = 1.0.1 python3dist(sphinx-testing) = 1.0.1 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: python(abi) = 3.6 python3.6dist(six) python3.6dist(sphinx) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-sphinx-testing-1.0.1-7.el8.noarch Wrote: /builddir/build/RPMS/python3-sphinx-testing-1.0.1-7.el8.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.zeisgS + umask 022 + cd /builddir/build/BUILD + cd sphinx-testing-1.0.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-sphinx-testing-1.0.1-7.el8.noarch + exit 0 Child return code was: 0