* bug#69125: python-trio transient test failures
@ 2024-02-14 14:19 Josselin Poiret via Bug reports for GNU Guix
2024-02-14 19:48 ` Sharlatan Hellseher
0 siblings, 1 reply; 3+ messages in thread
From: Josselin Poiret via Bug reports for GNU Guix @ 2024-02-14 14:19 UTC (permalink / raw)
To: 69125; +Cc: me, sharlatanus, lars, jgart, marius
[-- Attachment #1: Type: text/plain, Size: 2751 bytes --]
Hi everyone,
python-trio sometimes exhibits test failures, as in the following
--8<---------------cut here---------------start------------->8---
=================================== FAILURES ===================================
____________________ test_wait_reapable_fails[open_process] ____________________
[gw15] linux -- Python 3.10.7 /gnu/store/375350pi1l1izgnx6dnsqmg4xjyprx8q-python-wrapper-3.10.7/bin/python
background_process = <function open_process_then_kill at 0x7ffff40fed40>
@pytest.mark.skipif(not posix, reason="POSIX specific")
@background_process_param
async def test_wait_reapable_fails(background_process):
> old_sigchld = signal.signal(signal.SIGCHLD, signal.SIG_IGN)
trio/tests/test_subprocess.py:449:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
signalnum = <Signals.SIGCHLD: 17>, handler = <Handlers.SIG_IGN: 1>
@_wraps(_signal.signal)
def signal(signalnum, handler):
> handler = _signal.signal(_enum_to_int(signalnum), _enum_to_int(handler))
E ValueError: signal only works in main thread of the main interpreter
/gnu/store/91wasjkmy50p8fq0rf9jby80mnmq1fxr-python-3.10.7/lib/python3.10/signal.py:56: ValueError
_______________ test_wait_reapable_fails[run_process in nursery] _______________
[gw15] linux -- Python 3.10.7 /gnu/store/375350pi1l1izgnx6dnsqmg4xjyprx8q-python-wrapper-3.10.7/bin/python
background_process = <function run_process_in_nursery at 0x7ffff40fee60>
@pytest.mark.skipif(not posix, reason="POSIX specific")
@background_process_param
async def test_wait_reapable_fails(background_process):
> old_sigchld = signal.signal(signal.SIGCHLD, signal.SIG_IGN)
trio/tests/test_subprocess.py:449:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
signalnum = <Signals.SIGCHLD: 17>, handler = <Handlers.SIG_IGN: 1>
@_wraps(_signal.signal)
def signal(signalnum, handler):
> handler = _signal.signal(_enum_to_int(signalnum), _enum_to_int(handler))
E ValueError: signal only works in main thread of the main interpreter
/gnu/store/91wasjkmy50p8fq0rf9jby80mnmq1fxr-python-3.10.7/lib/python3.10/signal.py:56: ValueError
=========================== short test summary info ============================
FAILED trio/tests/test_subprocess.py::test_wait_reapable_fails[open_process]
FAILED trio/tests/test_subprocess.py::test_wait_reapable_fails[run_process in nursery]
================== 2 failed, 371 passed, 17 skipped in 3.82s ===================
--8<---------------cut here---------------end--------------->8---
Note that I am on Linux 6.8-rc3 currently. Can anyone reproduce?
Best,
--
Josselin Poiret
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 682 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#69125: python-trio transient test failures
2024-02-14 14:19 bug#69125: python-trio transient test failures Josselin Poiret via Bug reports for GNU Guix
@ 2024-02-14 19:48 ` Sharlatan Hellseher
2024-02-15 11:09 ` Josselin Poiret via Bug reports for GNU Guix
0 siblings, 1 reply; 3+ messages in thread
From: Sharlatan Hellseher @ 2024-02-14 19:48 UTC (permalink / raw)
To: Josselin Poiret; +Cc: me, lars, 69125, jgart, marius
[-- Attachment #1: Type: text/plain, Size: 254 bytes --]
Hi Josselin,
If we have a look at CI builds
https://ci.guix.gnu.org/search?query=python-trio%200.21.0%20spec:master
there are more failed builds than successful ones : -)
Maybe it's time to update it or disable some shaky tests.
WDYT?
Thanks,
Oleg
[-- Attachment #2: Type: text/html, Size: 666 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#69125: python-trio transient test failures
2024-02-14 19:48 ` Sharlatan Hellseher
@ 2024-02-15 11:09 ` Josselin Poiret via Bug reports for GNU Guix
0 siblings, 0 replies; 3+ messages in thread
From: Josselin Poiret via Bug reports for GNU Guix @ 2024-02-15 11:09 UTC (permalink / raw)
To: Sharlatan Hellseher; +Cc: me, lars, 69125, jgart, marius
[-- Attachment #1: Type: text/plain, Size: 310 bytes --]
Hi Oleg,
Sharlatan Hellseher <sharlatanus@gmail.com> writes:
> Maybe it's time to update it or disable some shaky tests.
>
> WDYT?
I agree, I was looking into this on core-updates but didn't want to
commit to updating this as it also needs some dependency upgrades.
Best,
--
Josselin Poiret
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 682 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-02-15 11:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-14 14:19 bug#69125: python-trio transient test failures Josselin Poiret via Bug reports for GNU Guix
2024-02-14 19:48 ` Sharlatan Hellseher
2024-02-15 11:09 ` Josselin Poiret via Bug reports for GNU Guix
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).