* Package: app-text/restview-2.9.2 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_7 python_targets_python3_8 python_targets_python3_9 test userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox @@@@@ PLEASE PAY ATTENTION HERE!!! @@@@@ This information may help you to understand if this is a duplicate or if this bug exists after you pushed a fix; This ebuild was merged at the following commit: https://github.com/gentoo-mirror/gentoo/commit/b38f529836b5ced0b10538077153bc2b729f7c40 (Fri Feb 26 19:52:14 UTC 2021) @@@@@ END @@@@@ emerge --info: Portage 3.0.15 (python 3.9.2-final-0, default/linux/amd64/17.1, gcc-10.2.0, glibc-2.32-r7, 5.4.0-1029-aws x86_64) ================================================================= System uname: Linux-5.4.0-1029-aws-x86_64-Intel-R-_Xeon-R-_Platinum_8175M_CPU_@_2.50GHz-with-glibc2.32 KiB Mem: 64359964 total, 31368060 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Fri, 26 Feb 2021 19:52:13 +0000 sh bash 5.1_p4 ld GNU ld (Gentoo 2.35.2 p1) 2.35.2 app-shells/bash: 5.1_p4::gentoo dev-lang/perl: 5.32.1::gentoo dev-lang/python: 3.7.10::gentoo, 3.8.8::gentoo, 3.9.2::gentoo dev-util/cmake: 3.19.6::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.7-r1::gentoo sys-apps/openrc: 0.42.1-r1::gentoo sys-apps/sandbox: 2.20::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo sys-devel/automake: 1.16.3-r1::gentoo sys-devel/binutils: 2.35.2::gentoo sys-devel/gcc: 10.2.0-r5::gentoo sys-devel/gcc-config: 2.3.3::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.11::gentoo (virtual/os-headers) sys-libs/glibc: 2.32-r7::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-metamanifest: yes sync-rsync-verify-jobs: 1 sync-rsync-extra-opts: sync-rsync-verify-max-age: 24 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* GPL-3" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color" DISTDIR="/var/tmp/portage/app-text/restview-2.9.2/distdir" EMERGE_DEFAULT_OPTS="--with-bdeps=y -1 -k -b" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="C.UTF8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" MAKEOPTS="-j16" PKGDIR="/root/.packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="acl amd64 berkdb bzip2 cli crypt dri elogind fortran gdbm iconv ipv6 jumbo-build libglvnd libtirpc multilib native-symlinks ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd test unicode xattr zlib" ABI_X86="64" ELIBC="glibc" KERNEL="linux" PYTHON_TARGETS="python3_7 python3_8 python3_9" USERLAND="GNU" Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS emerge history: 2021-02-26T21:15:25 >>> dev-python/six-1.15.0-r1 2021-02-26T21:15:26 >>> dev-python/pygments-2.8.0 2021-02-26T21:15:28 >>> dev-python/pyparsing-2.4.7-r1 2021-02-26T21:15:27 >>> dev-python/webencodings-0.5.1-r1 2021-02-26T21:15:31 >>> dev-python/mock-4.0.3 2021-02-26T21:15:33 >>> dev-python/docutils-0.16-r1 2021-02-26T21:15:39 >>> dev-python/packaging-20.9 2021-02-26T21:15:41 >>> dev-python/html5lib-1.1 2021-02-26T21:15:51 >>> dev-python/bleach-3.3.0 2021-02-26T21:16:04 >>> dev-python/readme_renderer-29.0 >>> Unpacking source... >>> Unpacking restview-2.9.2.tar.gz to /var/tmp/portage/app-text/restview-2.9.2/work >>> Source unpacked in /var/tmp/portage/app-text/restview-2.9.2/work >>> Preparing source in /var/tmp/portage/app-text/restview-2.9.2/work/restview-2.9.2 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-text/restview-2.9.2/work/restview-2.9.2 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/app-text/restview-2.9.2/work/restview-2.9.2 ... * python3_7: running distutils-r1_run_phase distutils-r1_python_compile python3.7 setup.py build -j 16 running build running build_py creating /var/tmp/portage/app-text/restview-2.9.2/work/restview-2.9.2-python3_7/lib/restview copying src/restview/__main__.py -> /var/tmp/portage/app-text/restview-2.9.2/work/restview-2.9.2-python3_7/lib/restview copying src/restview/restviewhttp.py -> /var/tmp/portage/app-text/restview-2.9.2/work/restview-2.9.2-python3_7/lib/restview copying src/restview/__init__.py -> /var/tmp/portage/app-text/restview-2.9.2/work/restview-2.9.2-python3_7/lib/restview copying src/restview/tests.py -> /var/tmp/portage/app-text/restview-2.9.2/work/restview-2.9.2-python3_7/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 -> /var/tmp/portage/app-text/restview-2.9.2/work/restview-2.9.2-python3_7/lib/restview copying src/restview/icon-16x16.xcf -> /var/tmp/portage/app-text/restview-2.9.2/work/restview-2.9.2-python3_7/lib/restview copying src/restview/oldrestview.css -> /var/tmp/portage/app-text/restview-2.9.2/work/restview-2.9.2-python3_7/lib/restview copying src/restview/restview.css -> /var/tmp/portage/app-text/restview-2.9.2/work/restview-2.9.2-python3_7/lib/restview warning: build_py: byte-compiling is disabled, skipping. * python3_8: running distutils-r1_run_phase distutils-r1_python_compile python3.8 setup.py build -j 16 running build running build_py creating /var/tmp/portage/app-text/restview-2.9.2/work/restview-2.9.2-python3_8/lib/restview copying src/restview/__main__.py -> /var/tmp/portage/app-text/restview-2.9.2/work/restview-2.9.2-python3_8/lib/restview copying src/restview/restviewhttp.py -> /var/tmp/portage/app-text/restview-2.9.2/work/restview-2.9.2-python3_8/lib/restview copying src/restview/__init__.py -> /var/tmp/portage/app-text/restview-2.9.2/work/restview-2.9.2-python3_8/lib/restview copying src/restview/tests.py -> /var/tmp/portage/app-text/restview-2.9.2/work/restview-2.9.2-python3_8/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 -> /var/tmp/portage/app-text/restview-2.9.2/work/restview-2.9.2-python3_8/lib/restview copying src/restview/icon-16x16.xcf -> /var/tmp/portage/app-text/restview-2.9.2/work/restview-2.9.2-python3_8/lib/restview copying src/restview/oldrestview.css -> /var/tmp/portage/app-text/restview-2.9.2/work/restview-2.9.2-python3_8/lib/restview copying src/restview/restview.css -> /var/tmp/portage/app-text/restview-2.9.2/work/restview-2.9.2-python3_8/lib/restview warning: build_py: byte-compiling is disabled, skipping. * python3_9: running distutils-r1_run_phase distutils-r1_python_compile python3.9 setup.py build -j 16 running build running build_py creating /var/tmp/portage/app-text/restview-2.9.2/work/restview-2.9.2-python3_9/lib/restview copying src/restview/__main__.py -> /var/tmp/portage/app-text/restview-2.9.2/work/restview-2.9.2-python3_9/lib/restview copying src/restview/restviewhttp.py -> /var/tmp/portage/app-text/restview-2.9.2/work/restview-2.9.2-python3_9/lib/restview copying src/restview/__init__.py -> /var/tmp/portage/app-text/restview-2.9.2/work/restview-2.9.2-python3_9/lib/restview copying src/restview/tests.py -> /var/tmp/portage/app-text/restview-2.9.2/work/restview-2.9.2-python3_9/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 -> /var/tmp/portage/app-text/restview-2.9.2/work/restview-2.9.2-python3_9/lib/restview copying src/restview/icon-16x16.xcf -> /var/tmp/portage/app-text/restview-2.9.2/work/restview-2.9.2-python3_9/lib/restview copying src/restview/oldrestview.css -> /var/tmp/portage/app-text/restview-2.9.2/work/restview-2.9.2-python3_9/lib/restview copying src/restview/restview.css -> /var/tmp/portage/app-text/restview-2.9.2/work/restview-2.9.2-python3_9/lib/restview warning: build_py: byte-compiling is disabled, skipping. >>> Source compiled. >>> Test phase: app-text/restview-2.9.2 * python3_7: running distutils-r1_run_phase python_test python3.7 setup.py test running test WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox. 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) ... 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 ... FAIL doctest_RestViewer_rest_to_html_strict_and_error_handling (restview.tests) Doctest: restview.tests.doctest_RestViewer_rest_to_html_strict_and_error_handling ... FAIL link_local_files (restview.restviewhttp.SyntaxHighlightingHTMLTranslator) Doctest: restview.restviewhttp.SyntaxHighlightingHTMLTranslator.link_local_files ... ok parse_address (restview.restviewhttp) Doctest: restview.restviewhttp.parse_address ... ok ====================================================================== FAIL: 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 ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.7/doctest.py", line 2204, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for restview.tests.doctest_RestViewer_rest_to_html_pypi_strict_and_error_handling File "/var/tmp/portage/app-text/restview-2.9.2/work/restview-2.9.2/src/restview/tests.py", line 670, in doctest_RestViewer_rest_to_html_pypi_strict_and_error_handling ---------------------------------------------------------------------- File "/var/tmp/portage/app-text/restview-2.9.2/work/restview-2.9.2/src/restview/tests.py", line 714, in restview.tests.doctest_RestViewer_rest_to_html_pypi_strict_and_error_handling Failed example: stderr_patcher.stop() Differences (ndiff with -expected +actual): + False ====================================================================== FAIL: doctest_RestViewer_rest_to_html_strict_and_error_handling (restview.tests) Doctest: restview.tests.doctest_RestViewer_rest_to_html_strict_and_error_handling ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.7/doctest.py", line 2204, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for restview.tests.doctest_RestViewer_rest_to_html_strict_and_error_handling File "/var/tmp/portage/app-text/restview-2.9.2/work/restview-2.9.2/src/restview/tests.py", line 624, in doctest_RestViewer_rest_to_html_strict_and_error_handling ---------------------------------------------------------------------- File "/var/tmp/portage/app-text/restview-2.9.2/work/restview-2.9.2/src/restview/tests.py", line 665, in restview.tests.doctest_RestViewer_rest_to_html_strict_and_error_handling Failed example: stderr_patcher.stop() Differences (ndiff with -expected +actual): + False ---------------------------------------------------------------------- Ran 74 tests in 0.176s FAILED (failures=2) Test failed: error: Test failed: * ERROR: app-text/restview-2.9.2::gentoo failed (test phase): * (no error message) * * Call stack: * ebuild.sh, line 125: Called src_test * environment, line 3061: Called distutils-r1_src_test * environment, line 1252: Called _distutils-r1_run_foreach_impl 'python_test' * environment, line 476: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' * environment, line 2668: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2100: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2098: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' * environment, line 815: Called distutils-r1_run_phase 'python_test' * environment, line 1189: Called python_test * environment, line 3021: Called esetup.py 'test' * environment, line 1644: Called die * The specific snippet of code: * "${@}" || die "${die_args[@]}"; * * If you need support, post the output of `emerge --info '=app-text/restview-2.9.2::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-text/restview-2.9.2::gentoo'`. * The complete build log is located at '/var/log/emerge-log/build/app-text/restview-2.9.2:20210226-201617.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-text/restview-2.9.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-text/restview-2.9.2/temp/environment'. * Working directory: '/var/tmp/portage/app-text/restview-2.9.2/work/restview-2.9.2' * S: '/var/tmp/portage/app-text/restview-2.9.2/work/restview-2.9.2'