Openembedded Core Discussions
 help / color / mirror / Atom feed
From: "Mathieu Dubois-Briand" <mathieu.dubois-briand@bootlin.com>
To: <tim.orling@konsulko.com>, <openembedded-core@lists.openembedded.org>
Cc: "Trevor Gamblin" <tgamblin@baylibre.com>
Subject: Re: [OE-core] [PATCH 2/5] python3-uvloop: enable ptest
Date: Mon, 02 Nov 2026 15:10:11 +0100	[thread overview]
Message-ID: <DMKSA11YDYBP.33D4G9KGENZHA@bootlin.com> (raw)
In-Reply-To: <20261102011816.3710992-2-tim.orling@konsulko.com>

On Mon Nov 2, 2026 at 2:18 AM CET, Tim Orling via openembedded-core wrote:
> From: Tim Orling <tim.orling@konsulko.com>
>
> The sdist ships the test suite. run-ptest deselects:
> * tests that conflict with pytest's output capture;
> * tests broken by libuv 1.53.0 spawning with posix_spawn() on Linux,
>   which bypasses uvloop's preexec_fn fork hook;
> * DNS tests that wait for resolver timeouts without network access,
>   which took the suite from 1 to 10 minutes over tap without NAT.
>
> .flake8 and mypy.ini let test_sourcecode skip cleanly when flake8 and
> mypy are missing.
>
> Tested with core-image-ptest-python3-uvloop on qemux86-64 (kvm, tap):
> 455 passed, 35 skipped, 0 failed in 82s, so add it to PTESTS_SLOW.
>
> AI-Generated: Uses Claude Code (Claude Opus 5.5)
> Signed-off-by: Tim Orling <tim.orling@konsulko.com>
> ---

Hi Tim,

Thanks for your patch.

I can see it tends to fail on riscv.

First build:
Failed ptests:
{'python3-uvloop': ['tests/test_regr1.py:TestIssue39Regr.test_issue39_regression',
                    'tests/test_tcp.py:Test_UV_TCPSSL.test_create_connection_ssl_1',
                    'tests/test_tcp.py:Test_UV_TCPSSL.test_create_server_ssl_over_ssl',
                    'tests/test_tcp.py:Test_UV_TCPSSL.test_renegotiation',
                    'tests/test_tcp.py:Test_AIO_TCPSSL.test_create_connection_ssl_1',
                    'tests/test_unix.py:Test_UV_UnixSSL.test_create_unix_connection_ssl_1',
                    'tests/test_unix.py:Test_AIO_UnixSSL.test_create_unix_connection_ssl_1',
                    'tests/test_unix.py:Test_AIO_UnixSSL.test_create_unix_server_ssl_1']}
https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/2713

Second build:
Failed ptests:
{'python3-uvloop': ['tests/test_regr1.py:TestIssue39Regr.test_issue39_regression']}
https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/2714

This is riscv, so emulation is slower than for other architectures.
Maybe we need to relax a bit some timings.

Thanks,
Mathieu

-- 
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


  parent reply	other threads:[~2026-11-02 14:10 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-02  1:18 [PATCH 1/5] python3-uvloop: import 0.22.1 from meta-homeassistant tim.orling
2026-11-02  1:18 ` [PATCH 2/5] python3-uvloop: enable ptest tim.orling
2026-11-02  1:33   ` Patchtest results for " patchtest
2026-11-02 14:10   ` Mathieu Dubois-Briand [this message]
2026-11-02 21:46     ` [OE-core] " Tim Orling
2026-11-05 16:54     ` Joao Marcos Costa
2026-11-09  6:25       ` Tim Orling
2026-11-02  1:18 ` [PATCH 3/5] python3-uvloop: upgrade 0.22.1 -> 0.23.0 tim.orling
2026-11-02  1:18 ` [PATCH 4/5] python3-websockets: enable ptest; use git fetcher tim.orling
2026-11-02  1:18 ` [PATCH 5/5] python3-websockets: upgrade 17.1 -> 17.4 tim.orling
2026-11-03 19:38 ` [PATCH v2 1/5] python3-uvloop: import 0.22.1 from meta-homeassistant tim.orling
2026-11-04  0:06   ` [PATCH v3 " tim.orling
2026-11-04  0:06     ` [PATCH v3 2/5] python3-uvloop: enable ptest tim.orling
2026-11-04  0:06     ` [PATCH v3 3/5] python3-uvloop: upgrade 0.22.1 -> 0.23.0 tim.orling
2026-11-04  0:06     ` [PATCH v3 4/5] python3-websockets: enable ptest; use git fetcher tim.orling
2026-11-04  0:06     ` [PATCH v3 5/5] python3-websockets: upgrade 17.1 -> 17.4 tim.orling
2026-11-03 19:38 ` [PATCH v2 2/5] python3-uvloop: enable ptest tim.orling
2026-11-03 20:50   ` Trevor Gamblin
2026-11-03 21:18     ` [OE-core] " Tim Orling
2026-11-03 19:38 ` [PATCH v2 3/5] python3-uvloop: upgrade 0.22.1 -> 0.23.0 tim.orling
2026-11-03 19:38 ` [PATCH v2 4/5] python3-websockets: enable ptest; use git fetcher tim.orling
2026-11-05 14:41   ` [OE-core] " Ross Burton
2026-11-09  6:16     ` Tim Orling
2026-11-03 19:38 ` [PATCH v2 5/5] python3-websockets: upgrade 17.1 -> 17.4 tim.orling

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DMKSA11YDYBP.33D4G9KGENZHA@bootlin.com \
    --to=mathieu.dubois-briand@bootlin.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=tgamblin@baylibre.com \
    --cc=tim.orling@konsulko.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox