Summary: | dev-python/wxpython fails tests | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Gentoo wxWidgets project <wxwidgets> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | alexey+gentoo, bkohler, mgorny, python |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=714566 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
Agostino Sarubbo
2020-05-12 14:45:43 UTC
Created attachment 638450 [details]
build.log
build log and emerge --info
Is this a regression? If not, please don't make it block the stablereq bug Is that even a real error or just some timing issue? Tests succeeded for me.
==================================== ERRORS ====================================
___________ ERROR at teardown of lib_buttons_Tests.test_lib_buttons2 ___________
unittests/wtc.py:33: in tearDown
timer = wx.PyTimer(_cleanup)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <wx.core.PyTimer object at 0x7fb056f8f870>
notify = <function WidgetTestCase.tearDown.<locals>._cleanup at 0x7fb06c0944d0>
def __init__(self, notify):
> Timer.__init__(self)
E wx._core.PyNoAppError: The wx.App object must be created first!
wx/core.py:2249: PyNoAppError
=================================== FAILURES ===================================
_____________________ lib_buttons_Tests.test_lib_buttons2 ______________________
That's a better result than mine. For me, 3 tests fail on py3.6, and the testsuite segfaults in the middle on py3.7+. For x86:
> =============================================== short test summary info ================================================
> FAILED unittests/test_lib_buttons.py::lib_buttons_Tests::test_lib_buttons2 - wx._core.PyNoAppError: The wx.App object...
> FAILED unittests/test_listctrl.py::listctrl_Tests::test_listctrlItemData02 - AssertionError: OverflowError not raised
> ERROR unittests/test_lib_buttons.py::lib_buttons_Tests::test_lib_buttons2 - wx._core.PyNoAppError: The wx.App object ...
> =============== 2 failed, 1668 passed, 21 skipped, 4 xfailed, 322 warnings, 1 error in 206.33s (0:03:26) ===============
> * ERROR: dev-python/wxpython-4.0.7::gentoo failed (test phase):
> * Failed to run 'pytest -vv unittests'
>
I will not mark stable. It's a pain for arch teams to encounter test failures: We have to read logs, understand the failure, look for reports... if you want your package stable with test failures, either disable failing tests you are aware of or just restrict tests in that version. But please don't waste arch tester's time.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=755fb653b160938a2ebb4de591da3798b36b160c commit 755fb653b160938a2ebb4de591da3798b36b160c Author: Sam James <sam@gentoo.org> AuthorDate: 2020-12-13 04:34:43 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2020-12-13 04:34:43 +0000 dev-python/wxpython: restrict tests They're horrifically broken right now - either hanging or segfaulting. Bug: https://bugs.gentoo.org/722716 Bug: https://bugs.gentoo.org/726812 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org> dev-python/wxpython/wxpython-4.0.7.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) |