Summary: | www-client/qutebrowser-2.4.0 test_custom_env[_POSIXUserscriptRunner] fails if environment is too large | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Ionen Wolkens <ionen> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | guillaumeseren, proxy-maint, steils |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
Agostino Sarubbo
![]() Created attachment 746085 [details]
build.log
build log and emerge --info
Possible context of error(s): 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/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_version.py:762: could not import 'importlib_resources': No module named 'importlib_resources' SKIPPED [5] tests/helpers/fixtures.py:455: could not import 'PyQt5.QtWebKitWidgets': No module named 'PyQt5.QtWebKitWidgets' SKIPPED [67] tests/helpers/fixtures.py:269: could not import 'qutebrowser.browser.webkit.webkittab': No module named 'PyQt5.QtWebKitWidgets' 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 [ 75%] Can't reproduce, given this test reads environment I assume it's something to do with what's set on the tinderbox. I'll try to figure it out but environment file would help Can't confirm if really the cause without env file, but one way to reproduce is to have a variable that expand beyond max possible arguments. e.g. export A=$(for ((i=0;i<3000;i++)); do echo a; done) pytest -v "tests/unit/commands/test_userscripts.py::test_custom_env[_POSIXUserscriptRunner]" It additionally need to be sorted before Q (the QUTE_ variables it tests for), i.e. Z=... rather than A= won't fail. I don't consider this to be much of a real world case, so I'll just skip the test. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c84df465999d2b6618bf2fdd1bb832877d17ee10 commit c84df465999d2b6618bf2fdd1bb832877d17ee10 Author: Ionen Wolkens <ionen@gentoo.org> AuthorDate: 2021-10-22 07:15:21 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2021-10-22 07:25:02 +0000 www-client/qutebrowser: skip test_custom_env posix userscript test Closes: https://bugs.gentoo.org/819393 Signed-off-by: Ionen Wolkens <ionen@gentoo.org> www-client/qutebrowser/qutebrowser-2.3.1-r2.ebuild | 2 ++ www-client/qutebrowser/qutebrowser-2.4.0.ebuild | 2 ++ www-client/qutebrowser/qutebrowser-9999.ebuild | 2 ++ 3 files changed, 6 insertions(+) |