* Package: app-text/restview-2.7.0 * Repository: gentoo * Maintainer: radhermit@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_4 test userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking restview-2.7.0.tar.gz to /var/tmp/portage/app-text/restview-2.7.0/work >>> Source unpacked in /var/tmp/portage/app-text/restview-2.7.0/work >>> Preparing source in /var/tmp/portage/app-text/restview-2.7.0/work/restview-2.7.0 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-text/restview-2.7.0/work/restview-2.7.0 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/app-text/restview-2.7.0/work/restview-2.7.0 ... * python2_7: running distutils-r1_run_phase distutils-r1_python_compile /usr/bin/python2.7 setup.py build running build running build_py creating /var/tmp/portage/app-text/restview-2.7.0/work/restview-2.7.0-python2_7/lib/restview copying src/restview/tests.py -> /var/tmp/portage/app-text/restview-2.7.0/work/restview-2.7.0-python2_7/lib/restview copying src/restview/restviewhttp.py -> /var/tmp/portage/app-text/restview-2.7.0/work/restview-2.7.0-python2_7/lib/restview copying src/restview/__init__.py -> /var/tmp/portage/app-text/restview-2.7.0/work/restview-2.7.0-python2_7/lib/restview running egg_info writing requirements to src/restview.egg-info/requires.txt writing src/restview.egg-info/PKG-INFO writing top-level names to src/restview.egg-info/top_level.txt writing dependency_links to src/restview.egg-info/dependency_links.txt writing entry points to src/restview.egg-info/entry_points.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.7.0/work/restview-2.7.0-python2_7/lib/restview copying src/restview/icon-16x16.xcf -> /var/tmp/portage/app-text/restview-2.7.0/work/restview-2.7.0-python2_7/lib/restview copying src/restview/oldrestview.css -> /var/tmp/portage/app-text/restview-2.7.0/work/restview-2.7.0-python2_7/lib/restview copying src/restview/restview.css -> /var/tmp/portage/app-text/restview-2.7.0/work/restview-2.7.0-python2_7/lib/restview warning: build_py: byte-compiling is disabled, skipping. * python3_4: running distutils-r1_run_phase distutils-r1_python_compile /usr/bin/python3.4 setup.py build running build running build_py creating /var/tmp/portage/app-text/restview-2.7.0/work/restview-2.7.0-python3_4/lib/restview copying src/restview/tests.py -> /var/tmp/portage/app-text/restview-2.7.0/work/restview-2.7.0-python3_4/lib/restview copying src/restview/restviewhttp.py -> /var/tmp/portage/app-text/restview-2.7.0/work/restview-2.7.0-python3_4/lib/restview copying src/restview/__init__.py -> /var/tmp/portage/app-text/restview-2.7.0/work/restview-2.7.0-python3_4/lib/restview running egg_info writing requirements to src/restview.egg-info/requires.txt writing entry points to src/restview.egg-info/entry_points.txt writing top-level names to src/restview.egg-info/top_level.txt writing dependency_links to src/restview.egg-info/dependency_links.txt writing src/restview.egg-info/PKG-INFO 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.7.0/work/restview-2.7.0-python3_4/lib/restview copying src/restview/icon-16x16.xcf -> /var/tmp/portage/app-text/restview-2.7.0/work/restview-2.7.0-python3_4/lib/restview copying src/restview/oldrestview.css -> /var/tmp/portage/app-text/restview-2.7.0/work/restview-2.7.0-python3_4/lib/restview copying src/restview/restview.css -> /var/tmp/portage/app-text/restview-2.7.0/work/restview-2.7.0-python3_4/lib/restview warning: build_py: byte-compiling is disabled, skipping. >>> Source compiled. >>> Test phase: app-text/restview-2.7.0 * python2_7: running distutils-r1_run_phase python_test /usr/bin/python2.7 setup.py test running test running egg_info writing requirements to src/restview.egg-info/requires.txt writing src/restview.egg-info/PKG-INFO writing top-level names to src/restview.egg-info/top_level.txt writing dependency_links to src/restview.egg-info/dependency_links.txt writing entry points to src/restview.egg-info/entry_points.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_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_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_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_serve (restview.tests.TestRestViewer) ... ok 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_invalid_listen_address (restview.tests.TestMain) ... ok test_specify_listen_address (restview.tests.TestMain) ... 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 ... FAIL 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 ====================================================================== FAIL: doctest_RestViewer_rest_to_html_css_url (restview.tests) Doctest: restview.tests.doctest_RestViewer_rest_to_html_css_url ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib64/python2.7/doctest.py", line 2226, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for restview.tests.doctest_RestViewer_rest_to_html_css_url File "/var/tmp/portage/app-text/restview-2.7.0/work/restview-2.7.0/src/restview/tests.py", line 562, in doctest_RestViewer_rest_to_html_css_url ---------------------------------------------------------------------- File "/var/tmp/portage/app-text/restview-2.7.0/work/restview-2.7.0/src/restview/tests.py", line 570, in restview.tests.doctest_RestViewer_rest_to_html_css_url Failed example: print(viewer.rest_to_html(b''' Some text ''').strip()) # doctest: +ELLIPSIS,+REPORT_NDIFF Differences (ndiff with -expected +actual): - ... - + + <string>

Some text

---------------------------------------------------------------------- Ran 69 tests in 0.426s FAILED (failures=1) Test failed: error: Test failed: * ERROR: app-text/restview-2.7.0::gentoo failed (test phase): * (no error message) * * Call stack: * ebuild.sh, line 124: Called src_test * environment, line 2708: Called distutils-r1_src_test * environment, line 884: Called _distutils-r1_run_foreach_impl 'python_test' * environment, line 330: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' * environment, line 2232: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 1538: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 1536: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' * environment, line 554: Called distutils-r1_run_phase 'python_test' * environment, line 815: Called python_test * environment, line 2588: Called esetup.py 'test' * environment, line 1083: Called die * The specific snippet of code: * "${@}" || die "${die_args[@]}"; * * If you need support, post the output of `emerge --info '=app-text/restview-2.7.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-text/restview-2.7.0::gentoo'`. * The complete build log is located at '/var/log/portage/app-text:restview-2.7.0:20171103-051605.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-text/restview-2.7.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-text/restview-2.7.0/temp/environment'. * Working directory: '/var/tmp/portage/app-text/restview-2.7.0/work/restview-2.7.0' * S: '/var/tmp/portage/app-text/restview-2.7.0/work/restview-2.7.0'