Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 502170 Details for
Bug 636430
app-text/restview-2.7.0 : FAIL: doctest_RestViewer_rest_to_html_css_url (restview.tests)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
app-text:restview-2.7.0:20171103-051605.log
app-text:restview-2.7.0:20171103-051605.log (text/plain), 18.31 KB, created by
Toralf Förster
on 2017-11-03 17:12:10 UTC
(
hide
)
Description:
app-text:restview-2.7.0:20171103-051605.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2017-11-03 17:12:10 UTC
Size:
18.31 KB
patch
obsolete
> * 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) ... <string>: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): > <?xml version="1.0" encoding="utf-8" ?> > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> > <head> > <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> > - ... > - <title></title> > + <meta name="generator" content="Docutils 0.14: http://docutils.sourceforge.net/" /> > + <title><string></title> > <link rel="stylesheet" href="http://example.com/my.css" type="text/css" /> > <style type="text/css"> > - ... > + pre .hll { background-color: #ffffcc } > + pre { background: #ffffff; } > + pre .c { color: #888888 } /* Comment */ > + pre .err { color: #FF0000; background-color: #FFAAAA } /* Error */ > + pre .k { color: #008800; font-weight: bold } /* Keyword */ > + pre .o { color: #333333 } /* Operator */ > + pre .ch { color: #888888 } /* Comment.Hashbang */ > + pre .cm { color: #888888 } /* Comment.Multiline */ > + pre .cp { color: #557799 } /* Comment.Preproc */ > + pre .cpf { color: #888888 } /* Comment.PreprocFile */ > + pre .c1 { color: #888888 } /* Comment.Single */ > + pre .cs { color: #cc0000; font-weight: bold } /* Comment.Special */ > + pre .gd { color: #A00000 } /* Generic.Deleted */ > + pre .ge { font-style: italic } /* Generic.Emph */ > + pre .gr { color: #FF0000 } /* Generic.Error */ > + pre .gh { color: #000080; font-weight: bold } /* Generic.Heading */ > + pre .gi { color: #00A000 } /* Generic.Inserted */ > + pre .go { color: #888888 } /* Generic.Output */ > + pre .gp { color: #c65d09; font-weight: bold } /* Generic.Prompt */ > + pre .gs { font-weight: bold } /* Generic.Strong */ > + pre .gu { color: #800080; font-weight: bold } /* Generic.Subheading */ > + pre .gt { color: #0044DD } /* Generic.Traceback */ > + pre .kc { color: #008800; font-weight: bold } /* Keyword.Constant */ > + pre .kd { color: #008800; font-weight: bold } /* Keyword.Declaration */ > + pre .kn { color: #008800; font-weight: bold } /* Keyword.Namespace */ > + pre .kp { color: #003388; font-weight: bold } /* Keyword.Pseudo */ > + pre .kr { color: #008800; font-weight: bold } /* Keyword.Reserved */ > + pre .kt { color: #333399; font-weight: bold } /* Keyword.Type */ > + pre .m { color: #6600EE; font-weight: bold } /* Literal.Number */ > + pre .s { background-color: #fff0f0 } /* Literal.String */ > + pre .na { color: #0000CC } /* Name.Attribute */ > + pre .nb { color: #007020 } /* Name.Builtin */ > + pre .nc { color: #BB0066; font-weight: bold } /* Name.Class */ > + pre .no { color: #003366; font-weight: bold } /* Name.Constant */ > + pre .nd { color: #555555; font-weight: bold } /* Name.Decorator */ > + pre .ni { color: #880000; font-weight: bold } /* Name.Entity */ > + pre .ne { color: #FF0000; font-weight: bold } /* Name.Exception */ > + pre .nf { color: #0066BB; font-weight: bold } /* Name.Function */ > + pre .nl { color: #997700; font-weight: bold } /* Name.Label */ > + pre .nn { color: #0e84b5; font-weight: bold } /* Name.Namespace */ > + pre .nt { color: #007700 } /* Name.Tag */ > + pre .nv { color: #996633 } /* Name.Variable */ > + pre .ow { color: #000000; font-weight: bold } /* Operator.Word */ > + pre .w { color: #bbbbbb } /* Text.Whitespace */ > + pre .mb { color: #6600EE; font-weight: bold } /* Literal.Number.Bin */ > + pre .mf { color: #6600EE; font-weight: bold } /* Literal.Number.Float */ > + pre .mh { color: #005588; font-weight: bold } /* Literal.Number.Hex */ > + pre .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ > + pre .mo { color: #4400EE; font-weight: bold } /* Literal.Number.Oct */ > + pre .sa { background-color: #fff0f0 } /* Literal.String.Affix */ > + pre .sb { background-color: #fff0f0 } /* Literal.String.Backtick */ > + pre .sc { color: #0044DD } /* Literal.String.Char */ > + pre .dl { background-color: #fff0f0 } /* Literal.String.Delimiter */ > + pre .sd { color: #DD4422 } /* Literal.String.Doc */ > + pre .s2 { background-color: #fff0f0 } /* Literal.String.Double */ > + pre .se { color: #666666; font-weight: bold; background-color: #fff0f0 } /* Literal.String.Escape */ > + pre .sh { background-color: #fff0f0 } /* Literal.String.Heredoc */ > + pre .si { background-color: #eeeeee } /* Literal.String.Interpol */ > + pre .sx { color: #DD2200; background-color: #fff0f0 } /* Literal.String.Other */ > + pre .sr { color: #000000; background-color: #fff0ff } /* Literal.String.Regex */ > + pre .s1 { background-color: #fff0f0 } /* Literal.String.Single */ > + pre .ss { color: #AA6600 } /* Literal.String.Symbol */ > + pre .bp { color: #007020 } /* Name.Builtin.Pseudo */ > + pre .fm { color: #0066BB; font-weight: bold } /* Name.Function.Magic */ > + pre .vc { color: #336699 } /* Name.Variable.Class */ > + pre .vg { color: #dd7700; font-weight: bold } /* Name.Variable.Global */ > + pre .vi { color: #3333BB } /* Name.Variable.Instance */ > + pre .vm { color: #996633 } /* Name.Variable.Magic */ > + pre .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */ > </style> > </head> > <body> > <div class="document"> > <BLANKLINE> > <BLANKLINE> > <p>Some text</p> > </div> > </body> > </html> > > >---------------------------------------------------------------------- >Ran 69 tests in 0.426s > >FAILED (failures=1) >Test failed: <unittest.runner.TextTestResult run=69 errors=0 failures=1> >error: Test failed: <unittest.runner.TextTestResult run=69 errors=0 failures=1> > * 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'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 636430
:
502168
| 502170 |
502172
|
502174
|
502176
|
502178