Mock Version: 1.4.21 Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/restview.spec'], chrootPath='/var/lib/mock/f30-build-19989250-1415094/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=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/restview.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/restview-2.9.2-1.fc30.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/restview.spec'], chrootPath='/var/lib/mock/f30-build-19989250-1415094/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=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/restview.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.V2qIL1 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf restview-2.9.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/restview-2.9.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd restview-2.9.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf restview.egg-info + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qljB2R + umask 022 + cd /builddir/build/BUILD + cd restview-2.9.2 + 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 -march=armv7-a -mfpu=neon -mfloat-abi=hard' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build creating build/lib creating build/lib/restview copying src/restview/restviewhttp.py -> build/lib/restview copying src/restview/tests.py -> build/lib/restview copying src/restview/__init__.py -> build/lib/restview copying src/restview/__main__.py -> build/lib/restview running egg_info writing src/restview.egg-info/PKG-INFO writing dependency_links to src/restview.egg-info/dependency_links.txt writing entry points to src/restview.egg-info/entry_points.txt writing requirements to src/restview.egg-info/requires.txt writing top-level names to src/restview.egg-info/top_level.txt reading manifest file 'src/restview.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'src/restview.egg-info/SOURCES.txt' copying src/restview/favicon.ico -> build/lib/restview copying src/restview/icon-16x16.xcf -> build/lib/restview copying src/restview/oldrestview.css -> build/lib/restview copying src/restview/restview.css -> build/lib/restview + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.upeu0e + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/restview-2.9.2-1.fc30.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/restview-2.9.2-1.fc30.noarch ++ dirname /builddir/build/BUILDROOT/restview-2.9.2-1.fc30.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/restview-2.9.2-1.fc30.noarch + cd restview-2.9.2 + 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 -march=armv7-a -mfpu=neon -mfloat-abi=hard' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/restview-2.9.2-1.fc30.noarch running install running install_lib creating /builddir/build/BUILDROOT/restview-2.9.2-1.fc30.noarch/usr creating /builddir/build/BUILDROOT/restview-2.9.2-1.fc30.noarch/usr/lib creating /builddir/build/BUILDROOT/restview-2.9.2-1.fc30.noarch/usr/lib/python3.7 creating /builddir/build/BUILDROOT/restview-2.9.2-1.fc30.noarch/usr/lib/python3.7/site-packages creating /builddir/build/BUILDROOT/restview-2.9.2-1.fc30.noarch/usr/lib/python3.7/site-packages/restview copying build/lib/restview/oldrestview.css -> /builddir/build/BUILDROOT/restview-2.9.2-1.fc30.noarch/usr/lib/python3.7/site-packages/restview copying build/lib/restview/icon-16x16.xcf -> /builddir/build/BUILDROOT/restview-2.9.2-1.fc30.noarch/usr/lib/python3.7/site-packages/restview copying build/lib/restview/restviewhttp.py -> /builddir/build/BUILDROOT/restview-2.9.2-1.fc30.noarch/usr/lib/python3.7/site-packages/restview copying build/lib/restview/tests.py -> /builddir/build/BUILDROOT/restview-2.9.2-1.fc30.noarch/usr/lib/python3.7/site-packages/restview copying build/lib/restview/__init__.py -> /builddir/build/BUILDROOT/restview-2.9.2-1.fc30.noarch/usr/lib/python3.7/site-packages/restview copying build/lib/restview/__main__.py -> /builddir/build/BUILDROOT/restview-2.9.2-1.fc30.noarch/usr/lib/python3.7/site-packages/restview copying build/lib/restview/restview.css -> /builddir/build/BUILDROOT/restview-2.9.2-1.fc30.noarch/usr/lib/python3.7/site-packages/restview copying build/lib/restview/favicon.ico -> /builddir/build/BUILDROOT/restview-2.9.2-1.fc30.noarch/usr/lib/python3.7/site-packages/restview byte-compiling /builddir/build/BUILDROOT/restview-2.9.2-1.fc30.noarch/usr/lib/python3.7/site-packages/restview/restviewhttp.py to restviewhttp.cpython-37.pyc byte-compiling /builddir/build/BUILDROOT/restview-2.9.2-1.fc30.noarch/usr/lib/python3.7/site-packages/restview/tests.py to tests.cpython-37.pyc byte-compiling /builddir/build/BUILDROOT/restview-2.9.2-1.fc30.noarch/usr/lib/python3.7/site-packages/restview/__init__.py to __init__.cpython-37.pyc byte-compiling /builddir/build/BUILDROOT/restview-2.9.2-1.fc30.noarch/usr/lib/python3.7/site-packages/restview/__main__.py to __main__.cpython-37.pyc writing byte-compilation script '/tmp/tmpsh1qsuu1.py' /usr/bin/python3 /tmp/tmpsh1qsuu1.py removing /tmp/tmpsh1qsuu1.py running install_egg_info running egg_info writing src/restview.egg-info/PKG-INFO writing dependency_links to src/restview.egg-info/dependency_links.txt writing entry points to src/restview.egg-info/entry_points.txt writing requirements to src/restview.egg-info/requires.txt writing top-level names to src/restview.egg-info/top_level.txt reading manifest file 'src/restview.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'src/restview.egg-info/SOURCES.txt' Copying src/restview.egg-info to /builddir/build/BUILDROOT/restview-2.9.2-1.fc30.noarch/usr/lib/python3.7/site-packages/restview-2.9.2-py3.7.egg-info running install_scripts Installing restview script to /builddir/build/BUILDROOT/restview-2.9.2-1.fc30.noarch/usr/bin + /usr/lib/rpm/find-debuginfo.sh -j5 --strict-build-id -m -i --build-id-seed 2.9.2-1.fc30 --unique-debug-suffix -2.9.2-1.fc30.noarch --unique-debug-src-base restview-2.9.2-1.fc30.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/restview-2.9.2 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/restview-2.9.2-1.fc30.noarch/usr/lib/python3.7 using /usr/bin/python3.7 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.tmNqJY + umask 022 + cd /builddir/build/BUILD + cd restview-2.9.2 + /usr/bin/python3 setup.py test running test running egg_info writing src/restview.egg-info/PKG-INFO writing dependency_links to src/restview.egg-info/dependency_links.txt writing entry points to src/restview.egg-info/entry_points.txt writing requirements to src/restview.egg-info/requires.txt writing top-level names to src/restview.egg-info/top_level.txt reading manifest file 'src/restview.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'src/restview.egg-info/SOURCES.txt' running build_ext test_get_host_name (restview.tests.TestGlobals) ... ok test_launch_browser (restview.tests.TestGlobals) ... ok test_all_is_well (restview.tests.TestMain) ... ok test_command (restview.tests.TestMain) ... ok test_custom_css_file (restview.tests.TestMain) ... ok test_custom_css_url (restview.tests.TestMain) ... ok test_error_when_both_command_and_file_specified (restview.tests.TestMain) ... ok test_error_when_no_arguments (restview.tests.TestMain) ... ok test_help (restview.tests.TestMain) ... ok test_multiple_files (restview.tests.TestMain) ... ok test_specify_allowed_hosts (restview.tests.TestMain) ... ok test_specify_invalid_listen_address (restview.tests.TestMain) ... ok test_specify_listen_address (restview.tests.TestMain) ... ok test_collect_files (restview.tests.TestMyRequestHandler) ... ok test_do_GET (restview.tests.TestMyRequestHandler) ... ok test_do_GET_or_HEAD_images (restview.tests.TestMyRequestHandler) ... ok test_do_GET_or_HEAD_other_files (restview.tests.TestMyRequestHandler) ... ok test_do_GET_or_HEAD_polling (restview.tests.TestMyRequestHandler) ... ok test_do_GET_or_HEAD_polling_of_command_with_watch_files (restview.tests.TestMyRequestHandler) ... ok test_do_GET_or_HEAD_polling_of_root (restview.tests.TestMyRequestHandler) ... ok test_do_GET_or_HEAD_polling_of_root_with_watch_files (restview.tests.TestMyRequestHandler) ... ok test_do_GET_or_HEAD_prevent_dns_rebinding (restview.tests.TestMyRequestHandler) ... ok test_do_GET_or_HEAD_prevent_sandbox_climbing_attacks (restview.tests.TestMyRequestHandler) ... ok test_do_GET_or_HEAD_root_when_command (restview.tests.TestMyRequestHandler) ... ok test_do_GET_or_HEAD_root_when_dir (restview.tests.TestMyRequestHandler) ... ok test_do_GET_or_HEAD_root_when_file (restview.tests.TestMyRequestHandler) ... ok test_do_GET_or_HEAD_root_when_list (restview.tests.TestMyRequestHandler) ... ok test_do_GET_or_HEAD_rst_files (restview.tests.TestMyRequestHandler) ... ok test_do_HEAD (restview.tests.TestMyRequestHandler) ... ok test_handle_command (restview.tests.TestMyRequestHandler) ... ok test_handle_command_error (restview.tests.TestMyRequestHandler) ... ok test_handle_command_returns_error (restview.tests.TestMyRequestHandler) ... ok test_handle_command_returns_error_with_watch_files (restview.tests.TestMyRequestHandler) ... ok test_handle_command_with_warnings (restview.tests.TestMyRequestHandler) ... ok test_handle_dir (restview.tests.TestMyRequestHandler) ... ok test_handle_image (restview.tests.TestMyRequestHandler) ... ok test_handle_image_error (restview.tests.TestMyRequestHandler) ... ok test_handle_list (restview.tests.TestMyRequestHandler) ... ok test_handle_polling (restview.tests.TestMyRequestHandler) ... ok test_handle_polling_handles_disappearing_files (restview.tests.TestMyRequestHandler) ... ok test_handle_polling_handles_interruptions (restview.tests.TestMyRequestHandler) ... ok test_handle_rest_data (restview.tests.TestMyRequestHandler) ... ok test_handle_rest_file (restview.tests.TestMyRequestHandler) ... ok test_handle_rest_file_error (restview.tests.TestMyRequestHandler) ... ok test_handle_rest_file_extra_watch (restview.tests.TestMyRequestHandler) ... ok test_translate_path_when_root_is_a_directory (restview.tests.TestMyRequestHandler) ... ok test_translate_path_when_root_is_a_file (restview.tests.TestMyRequestHandler) ... ok test_translate_path_when_root_is_a_sequence (restview.tests.TestMyRequestHandler) ... ok test_docutils_exception_messages (restview.tests.TestRestViewer) ... ok test_docutils_exception_messages_no_source_path (restview.tests.TestRestViewer) ... ok test_extract_line_info (restview.tests.TestRestViewer) ... ok test_extract_line_info_other_kind_of_exception (restview.tests.TestRestViewer) ... ok test_extract_line_info_wrong_file (restview.tests.TestRestViewer) ... ok test_extract_line_unknown_file (restview.tests.TestRestViewer) ... ok test_highlight_line_before_bof (restview.tests.TestRestViewer) ... ok test_highlight_line_beyond_eof (restview.tests.TestRestViewer) ... ok test_highlight_line_first (restview.tests.TestRestViewer) ... ok test_highlight_line_last (restview.tests.TestRestViewer) ... ok test_highlight_line_middle (restview.tests.TestRestViewer) ... ok test_highlight_line_no_line (restview.tests.TestRestViewer) ... ok test_rest_to_html_halt_level (restview.tests.TestRestViewer) ... :1: (WARNING/2) Inline interpreted text or phrase reference start-string without end-string. ok test_rest_to_html_pypi_strict_clean_failure (restview.tests.TestRestViewer) ... /usr/lib/python3.7/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated self.source = open(source_path, mode, **kwargs) ok test_rest_to_html_report_level (restview.tests.TestRestViewer) ... :1: (INFO/1) Hyperlink target "unused" is not referenced. ok test_serve (restview.tests.TestRestViewer) ... ok doctest_MyRequestHandler_render_dir_listing (restview.tests) Doctest: restview.tests.doctest_MyRequestHandler_render_dir_listing ... ok doctest_RestViewer_inject_ajax (restview.tests) Doctest: restview.tests.doctest_RestViewer_inject_ajax ... ok doctest_RestViewer_inject_ajax_adds_ajax (restview.tests) Doctest: restview.tests.doctest_RestViewer_inject_ajax_adds_ajax ... ok doctest_RestViewer_rest_to_html (restview.tests) Doctest: restview.tests.doctest_RestViewer_rest_to_html ... ok doctest_RestViewer_rest_to_html_css_url (restview.tests) Doctest: restview.tests.doctest_RestViewer_rest_to_html_css_url ... ok doctest_RestViewer_rest_to_html_pypi_strict (restview.tests) Doctest: restview.tests.doctest_RestViewer_rest_to_html_pypi_strict ... ok doctest_RestViewer_rest_to_html_pypi_strict_and_error_handling (restview.tests) Doctest: restview.tests.doctest_RestViewer_rest_to_html_pypi_strict_and_error_handling ... ok doctest_RestViewer_rest_to_html_strict_and_error_handling (restview.tests) Doctest: restview.tests.doctest_RestViewer_rest_to_html_strict_and_error_handling ... ok link_local_files (restview.restviewhttp.SyntaxHighlightingHTMLTranslator) Doctest: restview.restviewhttp.SyntaxHighlightingHTMLTranslator.link_local_files ... ok parse_address (restview.restviewhttp) Doctest: restview.restviewhttp.parse_address ... ok ---------------------------------------------------------------------- Ran 74 tests in 0.446s OK + exit 0 Processing files: restview-2.9.2-1.fc30.noarch Provides: restview = 2.9.2-1.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3 Processing files: python3-restview-2.9.2-1.fc30.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.WNfDCZ + umask 022 + cd /builddir/build/BUILD + cd restview-2.9.2 + DOCDIR=/builddir/build/BUILDROOT/restview-2.9.2-1.fc30.noarch/usr/share/doc/python3-restview + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/restview-2.9.2-1.fc30.noarch/usr/share/doc/python3-restview + cp -pr README.rst /builddir/build/BUILDROOT/restview-2.9.2-1.fc30.noarch/usr/share/doc/python3-restview + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.RNcOn3 + umask 022 + cd /builddir/build/BUILD + cd restview-2.9.2 + LICENSEDIR=/builddir/build/BUILDROOT/restview-2.9.2-1.fc30.noarch/usr/share/licenses/python3-restview + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/restview-2.9.2-1.fc30.noarch/usr/share/licenses/python3-restview + cp -pr LICENSE /builddir/build/BUILDROOT/restview-2.9.2-1.fc30.noarch/usr/share/licenses/python3-restview + exit 0 Provides: python3-restview = 2.9.2-1.fc30 python3.7dist(restview) = 2.9.2 python3dist(restview) = 2.9.2 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.7 python3.7dist(docutils) python3.7dist(pygments) python3.7dist(readme-renderer) python3.7dist(setuptools) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/restview-2.9.2-1.fc30.noarch Wrote: /builddir/build/RPMS/restview-2.9.2-1.fc30.noarch.rpm Wrote: /builddir/build/RPMS/python3-restview-2.9.2-1.fc30.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.XY97R9 + umask 022 + cd /builddir/build/BUILD + cd restview-2.9.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/restview-2.9.2-1.fc30.noarch + exit 0 Child return code was: 0