Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 910742 - www-client/qutebrowser-2.5.4-r1 fails tests
Summary: www-client/qutebrowser-2.5.4-r1 fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Ionen Wolkens
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks: 909747
  Show dependency tree
 
Reported: 2023-07-23 17:58 UTC by Agostino Sarubbo
Modified: 2023-07-24 04:27 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log.xz (build.log.xz,91.68 KB, application/x-xz)
2023-07-23 17:59 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-07-23 17:58:58 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: www-client/qutebrowser-2.5.4-r1 fails tests.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2023-07-23 17:59:01 UTC
Created attachment 866022 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2023-07-23 17:59:02 UTC
Error(s) that match a know pattern:


           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_
    code = compile(source, filename, \'exec\')
Current thread 0x00007f09b538d700 (most recent call first):
E       AssertionError: Regex pattern did not match.
E           qutebrowser.utils.urlmatch.ParseError: '127.0.0.1:fc2e::bb88:edac' does not appear to be an IPv4 or IPv6 address
E           qutebrowser.utils.urlmatch.ParseError: '2607:f8b0:4005:805:200e:12:bogus' does not appear to be an IPv4 or IPv6 address
E           qutebrowser.utils.urlmatch.ParseError: '[2607:f8b0:4005:805::200e' does not appear to be an IPv4 or IPv6 address
E           qutebrowser.utils.urlmatch.ParseError: '2607:f8b0:4005:805:200e' does not appear to be an IPv4 or IPv6 address
E           qutebrowser.utils.urlmatch.ParseError: '' does not appear to be an IPv4 or IPv6 address
E           qutebrowser.utils.urlmatch.ParseError: 'fc2e:0e35:bb88:af:edac:fc2e:0e35:bb88:edac' does not appear to be an IPv4 or IPv6 address
E           qutebrowser.utils.urlmatch.ParseError: 'fc2e:0e35:bb88::edac:fc2e:0e35:bb88:edac' does not appear to be an IPv4 or IPv6 address
E           qutebrowser.utils.urlmatch.ParseError: 'fc2e:bb88:edac' does not appear to be an IPv4 or IPv6 address
E           qutebrowser.utils.urlmatch.ParseError: 'fc2e::bb88::edac' does not appear to be an IPv4 or IPv6 address
E           qutebrowser.utils.urlmatch.ParseError: 'fc2e:bb88:edac::z' does not appear to be an IPv4 or IPv6 address
E       ValueError: '127.0.0.1:fc2e::bb88:edac' does not appear to be an IPv4 or IPv6 address
E       ValueError: '2607:f8b0:4005:805:200e:12:bogus' does not appear to be an IPv4 or IPv6 address
E       ValueError: '[2607:f8b0:4005:805::200e' does not appear to be an IPv4 or IPv6 address
E       ValueError: '2607:f8b0:4005:805:200e' does not appear to be an IPv4 or IPv6 address
E       ValueError: '' does not appear to be an IPv4 or IPv6 address
E       ValueError: 'fc2e:0e35:bb88:af:edac:fc2e:0e35:bb88:edac' does not appear to be an IPv4 or IPv6 address
E       ValueError: 'fc2e:0e35:bb88::edac:fc2e:0e35:bb88:edac' does not appear to be an IPv4 or IPv6 address
E       ValueError: 'fc2e:bb88:edac' does not appear to be an IPv4 or IPv6 address
E       ValueError: 'fc2e::bb88::edac' does not appear to be an IPv4 or IPv6 address
E       ValueError: 'fc2e:bb88:edac::z' does not appear to be an IPv4 or IPv6 address
E        +    where SyntaxError('source code string cannot contain null bytes') = ConfigErrorDesc(text='Unhandled exception', exception=SyntaxError('source code string cannot contain null bytes'), traceback='Traceback (most recent call last):
').exception
excinfo    = <ExceptionInfo ConfigFileErrors('Errors occurred while reading config.py:
FAILED tests/unit/config/test_configfiles.py::TestConfigPy::test_nul_bytes - ...
FAILED tests/unit/utils/test_urlmatch.py::test_invalid_patterns[host-ipv6] - ...
FAILED tests/unit/utils/test_urlmatch.py::test_invalid_patterns[host-ipv6-colons]
FAILED tests/unit/utils/test_urlmatch.py::test_invalid_patterns[host-ipv6-non-hex]
FAILED tests/unit/utils/test_urlmatch.py::test_invalid_patterns[host-ipv6-two-open]
FAILED tests/unit/utils/test_urlmatch.py::test_invalid_patterns[ipv6-double-double]
FAILED tests/unit/utils/test_urlmatch.py::test_invalid_patterns[ipv6-ipv4] - ...
FAILED tests/unit/utils/test_urlmatch.py::test_invalid_patterns[ipv6-long] - ...
FAILED tests/unit/utils/test_urlmatch.py::test_invalid_patterns[ipv6-long-double]
FAILED tests/unit/utils/test_urlmatch.py::test_invalid_patterns[ipv6-short]
FAILED tests/unit/utils/test_urlmatch.py::test_invalid_patterns[ipv6-z] - Ass...
Fatal Python error: Segmentation fault
  File "filename", line 88 in func
  File "", line 1 in testfunc
  File "/var/tmp/portage/www-client/qutebrowser-2.5.4-r1/work/qutebrowser-2.5.4/qutebrowser/config/configfiles.py", line 909, in read_config_py
-Segmentation fault-testfunc] PASSED [6093/8037]
-Segmentation fault-testfunc] PASSED [6094/8037]
SKIPPED [15] tests/unit/utils/test_javascript.py:81: could not import 'qutebrowser.browser.webkit.webkittab': No module named 'PyQt5.QtWebKitWidgets'
SKIPPED [1] tests/unit/browser/test_caret.py:119: could not import 'qutebrowser.browser.webkit.webkittab': No module named 'PyQt5.QtWebKitWidgets'
SKIPPED [1] tests/unit/browser/test_caret.py:130: could not import 'qutebrowser.browser.webkit.webkittab': No module named 'PyQt5.QtWebKitWidgets'
SKIPPED [1] tests/unit/browser/test_caret.py:137: could not import 'qutebrowser.browser.webkit.webkittab': No module named 'PyQt5.QtWebKitWidgets'
SKIPPED [1] tests/unit/browser/test_caret.py:152: could not import 'qutebrowser.browser.webkit.webkittab': No module named 'PyQt5.QtWebKitWidgets'
SKIPPED [1] tests/unit/browser/test_caret.py:160: could not import 'qutebrowser.browser.webkit.webkittab': No module named 'PyQt5.QtWebKitWidgets'
SKIPPED [1] tests/unit/browser/test_caret.py:171: could not import 'qutebrowser.browser.webkit.webkittab': No module named 'PyQt5.QtWebKitWidgets'
SKIPPED [1] tests/unit/browser/test_caret.py:178: could not import 'qutebrowser.browser.webkit.webkittab': No module named 'PyQt5.QtWebKitWidgets'
SKIPPED [1] tests/unit/browser/test_caret.py:188: could not import 'qutebrowser.browser.webkit.webkittab': No module named 'PyQt5.QtWebKitWidgets'
SKIPPED [1] tests/unit/browser/test_caret.py:195: could not import 'qutebrowser.browser.webkit.webkittab': No module named 'PyQt5.QtWebKitWidgets'
SKIPPED [1] tests/unit/browser/test_caret.py:200: could not import 'qutebrowser.browser.webkit.webkittab': No module named 'PyQt5.QtWebKitWidgets'
SKIPPED [1] tests/unit/browser/test_caret.py:209: could not import 'qutebrowser.browser.webkit.webkittab': No module named 'PyQt5.QtWebKitWidgets'
SKIPPED [1] tests/unit/browser/test_caret.py:214: could not import 'qutebrowser.browser.webkit.webkittab': No module named 'PyQt5.QtWebKitWidgets'
SKIPPED [1] tests/unit/browser/test_caret.py:220: could not import 'qutebrowser.browser.webkit.webkittab': No module named 'PyQt5.QtWebKitWidgets'
SKIPPED [1] tests/unit/browser/test_caret.py:225: could not import 'qutebrowser.browser.webkit.webkittab': No module named 'PyQt5.QtWebKitWidgets'
SKIPPED [1] tests/unit/browser/test_caret.py:232: could not import 'qutebrowser.browser.webkit.webkittab': No module named 'PyQt5.QtWebKitWidgets'
SKIPPED [1] tests/unit/browser/test_caret.py:238: could not import 'qutebrowser.browser.webkit.webkittab': No module named 'PyQt5.QtWebKitWidgets'
SKIPPED [1] tests/unit/browser/test_caret.py:244: could not import 'qutebrowser.browser.webkit.webkittab': No module named 'PyQt5.QtWebKitWidgets'
SKIPPED [1] tests/unit/browser/test_caret.py:254: could not import 'qutebrowser.browser.webkit.webkittab': No module named 'PyQt5.QtWebKitWidgets'
SKIPPED [1] tests/unit/browser/test_caret.py:259: could not import 'qutebrowser.browser.webkit.webkittab': No module named 'PyQt5.QtWebKitWidgets'
SKIPPED [1] tests/unit/browser/test_caret.py:265: could not import 'qutebrowser.browser.webkit.webkittab': No module named 'PyQt5.QtWebKitWidgets'
SKIPPED [1] tests/unit/browser/test_caret.py:271: could not import 'qutebrowser.browser.webkit.webkittab': No module named 'PyQt5.QtWebKitWidgets'
SKIPPED [1] tests/unit/browser/test_caret.py:277: could not import 'qutebrowser.browser.webkit.webkittab': No module named 'PyQt5.QtWebKitWidgets'
SKIPPED [1] tests/unit/browser/test_caret.py:283: could not import 'qutebrowser.browser.webkit.webkittab': No module named 'PyQt5.QtWebKitWidgets'
SKIPPED [1] tests/unit/browser/test_caret.py:293: could not import 'qutebrowser.browser.webkit.webkittab': No module named 'PyQt5.QtWebKitWidgets'
SKIPPED [1] tests/unit/browser/test_caret.py:298: could not import 'qutebrowser.browser.webkit.webkittab': No module named 'PyQt5.QtWebKitWidgets'
SKIPPED [1] tests/unit/browser/test_caret.py:304: could not import 'qutebrowser.browser.webkit.webkittab': No module named 'PyQt5.QtWebKitWidgets'
SKIPPED [1] tests/unit/browser/test_caret.py:310: could not import 'qutebrowser.browser.webkit.webkittab': No module named 'PyQt5.QtWebKitWidgets'
SKIPPED [1] tests/unit/browser/test_caret.py:318: could not import 'qutebrowser.browser.webkit.webkittab': No module named 'PyQt5.QtWebKitWidgets'
SKIPPED [1] tests/unit/browser/test_caret.py:395: could not import 'qutebrowser.browser.webkit.webkittab': No module named 'PyQt5.QtWebKitWidgets'
SKIPPED [1] tests/unit/browser/test_caret.py:400: could not import 'qutebrowser.browser.webkit.webkittab': No module named 'PyQt5.QtWebKitWidgets'
SKIPPED [1] tests/unit/browser/test_caret.py:407: could not import 'qutebrowser.browser.webkit.webkittab': No module named 'PyQt5.QtWebKitWidgets'
SKIPPED [1] tests/unit/browser/test_caret.py:425: could not import 'qutebrowser.browser.webkit.webkittab': No module named 'PyQt5.QtWebKitWidgets'
SKIPPED [1] tests/unit/browser/test_caret.py:429: could not import 'qutebrowser.browser.webkit.webkittab': No module named 'PyQt5.QtWebKitWidgets'
SKIPPED [1] tests/unit/browser/test_caret.py:437: could not import 'qutebrowser.browser.webkit.webkittab': No module named 'PyQt5.QtWebKitWidgets'
SKIPPED [1] tests/unit/browser/test_caret.py:442: could not import 'qutebrowser.browser.webkit.webkittab': No module named 'PyQt5.QtWebKitWidgets'
SKIPPED [1] tests/unit/browser/test_caret.py:452: could not import 'qutebrowser.browser.webkit.webkittab': No module named 'PyQt5.QtWebKitWidgets'
SKIPPED [1] tests/unit/browser/test_caret.py:459: could not import 'qutebrowser.browser.webkit.webkittab': No module named 'PyQt5.QtWebKitWidgets'
SKIPPED [1] tests/unit/browser/test_caret.py:466: could not import 'qutebrowser.browser.webkit.webkittab': No module named 'PyQt5.QtWebKitWidgets'
SKIPPED [1] tests/unit/browser/test_caret.py:471: could not import 'qutebrowser.browser.webkit.webkittab': No module named 'PyQt5.QtWebKitWidgets'
SKIPPED [1] tests/unit/browser/test_caret.py:481: could not import 'qutebrowser.browser.webkit.webkittab': No module named 'PyQt5.QtWebKitWidgets'
SKIPPED [1] tests/unit/browser/test_caret.py:488: could not import 'qutebrowser.browser.webkit.webkittab': No module named 'PyQt5.QtWebKitWidgets'
SKIPPED [1] tests/unit/browser/test_caret.py:496: could not import 'qutebrowser.browser.webkit.webkittab': No module named 'PyQt5.QtWebKitWidgets'
SKIPPED [1] tests/unit/browser/test_caret.py:90: could not import 'qutebrowser.browser.webkit.webkittab': No module named 'PyQt5.QtWebKitWidgets'
SKIPPED [1] tests/unit/browser/test_history.py:290: could not import 'PyQt5.QtWebKitWidgets': No module named 'PyQt5.QtWebKitWidgets'
SKIPPED [1] tests/unit/browser/test_history.py:316: could not import 'PyQt5.QtWebKitWidgets': No module named 'PyQt5.QtWebKitWidgets'
SKIPPED [1] tests/unit/browser/webkit/test_mhtml.py:28: could not import 'qutebrowser.browser.webkit.mhtml': No module named 'PyQt5.QtWebKit'
SKIPPED [1] tests/unit/browser/webkit/test_tabhistory.py:26: could not import 'PyQt5.QtWebKit': No module named 'PyQt5.QtWebKit'
SKIPPED [1] tests/unit/browser/webkit/test_webkitelem.py:31: could not import 'PyQt5.QtWebKit': No module named 'PyQt5.QtWebKit'
SKIPPED [1] tests/unit/browser/webkit/test_webkitsettings.py:21: could not import 'PyQt5.QtWebKitWidgets': No module named 'PyQt5.QtWebKitWidgets'
SKIPPED [1] tests/unit/browser/webkit/test_webview.py:21: could not import 'qutebrowser.browser.webkit.webview': No module named 'PyQt5.QtWebKit'
SKIPPED [1] tests/unit/components/test_misccommands.py:71: could not import 'hunter': No module named 'hunter'
SKIPPED [1] tests/unit/javascript/position_caret/test_position_caret.py:24: could not import 'PyQt5.QtWebKit': No module named 'PyQt5.QtWebKit'
SKIPPED [1] tests/unit/javascript/test_greasemonkey.py:244: could not import 'qutebrowser.browser.webkit.webkittab': No module named 'PyQt5.QtWebKitWidgets'
SKIPPED [1] tests/unit/javascript/test_greasemonkey.py:302: could not import 'qutebrowser.browser.webkit.webkittab': No module named 'PyQt5.QtWebKitWidgets'
SKIPPED [1] tests/unit/misc/test_sessions.py:27: could not import 'PyQt5.QtWebKitWidgets': No module named 'PyQt5.QtWebKitWidgets'
SKIPPED [1] tests/unit/utils/test_debug.py:189: could not import 'PyQt5.QtWebKitWidgets': No module named 'PyQt5.QtWebKitWidgets'
SKIPPED [1] tests/unit/utils/test_javascript.py:88: could not import 'qutebrowser.browser.webkit.webkittab': No module named 'PyQt5.QtWebKitWidgets'
SKIPPED [1] tests/unit/utils/test_version.py:765: could not import 'importlib_resources': No module named 'importlib_resources'
SKIPPED [2] tests/unit/browser/test_caret.py:365: could not import 'qutebrowser.browser.webkit.webkittab': No module named 'PyQt5.QtWebKitWidgets'
SKIPPED [2] tests/unit/browser/test_caret.py:374: could not import 'qutebrowser.browser.webkit.webkittab': No module named 'PyQt5.QtWebKitWidgets'
SKIPPED [2] tests/unit/browser/test_caret.py:383: could not import 'qutebrowser.browser.webkit.webkittab': No module named 'PyQt5.QtWebKitWidgets'
SKIPPED [2] tests/unit/javascript/test_js_execution.py:26: could not import 'PyQt5.QtWebKitWidgets': No module named 'PyQt5.QtWebKitWidgets'
SKIPPED [2] tests/unit/javascript/test_js_execution.py:37: could not import 'PyQt5.QtWebKitWidgets': No module named 'PyQt5.QtWebKitWidgets'
                          'SyntaxError: source code string cannot contain null '
SyntaxError: source code string cannot contain null bytes
tests/unit/misc/test_crashdialog.py::test_parse_fatal_stacktrace[
tests/unit/misc/test_sql.py::TestSqlError::test_known[19-BugError] PASSED [6542/8037]
tests/unit/misc/test_sql.py::TestSqlError::test_known[5-KnownError] PASSED [6541/8037]
tests/unit/misc/test_sql.py::TestSqlError::test_logging PASSED      [6543/8037]
tests/unit/misc/test_sql.py::TestSqlError::test_text[BugError] PASSED [6545/8037]
tests/unit/misc/test_sql.py::TestSqlError::test_text[KnownError] PASSED [6544/8037]
tests/unit/utils/test_urlutils.py::TestInvalidUrlError::test_invalid_url_error[url0-False-False] PASSED [7519/8037]
tests/unit/utils/test_urlutils.py::TestInvalidUrlError::test_invalid_url_error[url1-True-False] PASSED [7520/8037]
tests/unit/utils/test_urlutils.py::TestInvalidUrlError::test_invalid_url_error[url2-False-True] PASSED [7521/8037]
Thread 0x00007fa135ac7700 (most recent call first):
  Unhandled exception - SyntaxError: source code string cannot contain null bytes') tblen=2>
            ValueError: if the *address* passed isn't either a v4 or a v6
tests/unit/misc/test_crashdialog.py::test_parse_fatal_stacktrace[\nFatal Python error: Segmentation fault\n_\nCurrent thread 0x00007f09b538d700 (most recent call first):\n  File "", line 1 in testfunc\n  File "filename", line 88 in func\n-Segmentation fault-testfunc] PASSED [6093/8037]
Comment 3 Larry the Git Cow gentoo-dev 2023-07-24 04:27:51 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4572075395f82d95930d4162686f62a256c70888

commit 4572075395f82d95930d4162686f62a256c70888
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2023-07-24 04:17:48 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2023-07-24 04:25:35 +0000

    www-client/qutebrowser: fix tests with python-3.11.4
    
    No consequence on runtime, just tests issues. Already fixed
    in live nearly two months ago. Doesn't hurt to backport so
    can have a working reference when major qutebrowser-3.0.0
    releases.
    
    Closes: https://bugs.gentoo.org/910742
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 .../qutebrowser-2.5.4-tests-python-3.11.4.patch    | 102 +++++++++++++++++++++
 www-client/qutebrowser/qutebrowser-2.5.4-r1.ebuild |   4 +
 2 files changed, 106 insertions(+)