From patchwork Mon Oct 26 13:37:30 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 101999 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.43217.1793021854227013479 for ; Mon, 26 Oct 2026 06:37:34 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@arm.com header.s=foss header.b=ph5UWHNg; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 594D02936 for ; Mon, 26 Oct 2026 06:37:30 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 30D863F59E for ; Mon, 26 Oct 2026 06:37:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1793021853; bh=xLXhgXcT4K7dHKKK3DTsCYBEAk+3g8scc8BMHPfPdF8=; h=From:To:Subject:Date:From; b=ph5UWHNgXaMw0WgZYLFhYmNJuMexSAUUqD0b543PcODG9WycMXzf4rmMkFcZ/Lh3N JxMBEDkhrHxfIkYJsH3cBto3rPOcdhCnxM7OkSGH0zky5vheH8LxpkwUN0swPWj0OB KhRRFMBN6F9QdCShoJlRkRqHXQPEmg41j0QYke2Q= From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 1/2] python3: remove obsolete musl test skipping Date: Mon, 26 Oct 2026 13:37:30 +0000 Message-ID: <20261026133732.1738889-1-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-ARM-No-Footer: NoDisclaimer List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Mon, 26 Oct 2026 13:37:42 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/248681 Remove a number of musl-specific test skipping, these tests now skip themselves when ran with musl: test_date_locale2 (test.test_strptime.StrptimeTests.test_date_locale2) skipped 'musl libc issue, bpo-46390' In core-image-ptest-python3 with musl: == Tests result: SUCCESS == 77 tests skipped: ... 9 tests skipped (resource denied): ... 452 tests OK. Signed-off-by: Ross Burton --- meta/recipes-devtools/python/python3_3.14.9.bb | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/meta/recipes-devtools/python/python3_3.14.9.bb b/meta/recipes-devtools/python/python3_3.14.9.bb index 683edea1d83..a64fa172632 100644 --- a/meta/recipes-devtools/python/python3_3.14.9.bb +++ b/meta/recipes-devtools/python/python3_3.14.9.bb @@ -309,6 +309,7 @@ SKIPPED_TESTS += " \ " # Needs IMAGE_FEATURE += \"tools-sdk\" +# Can be removed when https://github.com/python/cpython/pull/151231 is merged SKIPPED_TESTS += " \ --ignore test_find_library_with_gcc \ --ignore test_find_library_with_ld \ @@ -356,18 +357,6 @@ SKIPPED_TESTS += " \ --ignore test.test_asyncio.test_eager_task_factory.CEagerTaskFactoryLoopTests.test_staggered_race_with_eager_tasks \ " -SKIPPED_TESTS:append:libc-musl = " \ - -x test__locale \ - -x test_c_locale_coercion \ - -x test_locale \ - -x test_os test_re \ - -x test__xxsubinterpreters \ - -x test_threading \ - --ignore test.test_strptime.StrptimeTests.test_date_locale2 \ - --ignore test.test_ctypes.test_dlerror.TestNullDlsym.test_null_dlsym \ - --ignore test.test_multiprocessing_fork.test_processes.WithProcessesTestProcess.test_interrupt \ -" - # https://github.com/python/cpython/issues/159424 SKIPPED_TESTS:append:libc-musl = " \ --ignore test.test_readline.TestHistoryManipulation.test_append_limited_history \ From patchwork Mon Oct 26 13:37:31 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 102000 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.42912.1793021854786926105 for ; Mon, 26 Oct 2026 06:37:34 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@arm.com header.s=foss header.b=YnfgIU+L; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id ED02C293B for ; Mon, 26 Oct 2026 06:37:30 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id C4D4F3F59E for ; Mon, 26 Oct 2026 06:37:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1793021854; bh=sSswxuhwKY3HYUK5qFVsuVItZM2fNLgNQ4G6DWqwGY0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=YnfgIU+LkkXzBiGnyzTRJaj+VYXmeiHPduKFrfzbExCDZogYZfrTWxUPdgQlm2iRM S01VUzddb75CuJJbyNDLzJ8eQL2fZOt6lf/Ws2+cY+Bu5gG8GtIoHkgg/z2PCvxMwS Q+8nDZAvRmjdekHmHZCkRLJxmBKFOtAa0QrMaIOA= From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 2/2] python3: remove obsolete SKIPPED_TESTS Date: Mon, 26 Oct 2026 13:37:31 +0000 Message-ID: <20261026133732.1738889-2-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20261026133732.1738889-1-ross.burton@arm.com> References: <20261026133732.1738889-1-ross.burton@arm.com> MIME-Version: 1.0 X-ARM-No-Footer: NoDisclaimer List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Mon, 26 Oct 2026 13:37:42 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/248682 We were skipping a number of tests that upon retesting with 3.14.9 do not appear to be skipped anymore. Test with both musl and glibc: musl: Total tests: run=48,010 (filtered) skipped=2,290 Total test files: run=529/538 (filtered) skipped=77 resource_denied=9 glibc: Total tests: run=48,024 (filtered) skipped=2,520 Total test files: run=529/538 (filtered) skipped=76 resource_denied=9 Signed-off-by: Ross Burton --- .../recipes-devtools/python/python3_3.14.9.bb | 38 ------------------- 1 file changed, 38 deletions(-) diff --git a/meta/recipes-devtools/python/python3_3.14.9.bb b/meta/recipes-devtools/python/python3_3.14.9.bb index a64fa172632..d5e882fdb8d 100644 --- a/meta/recipes-devtools/python/python3_3.14.9.bb +++ b/meta/recipes-devtools/python/python3_3.14.9.bb @@ -276,38 +276,6 @@ SKIPPED_TESTS = " \ --ignore test_write_read_append \ " -# We build Python3 with editline support by default, which has tab completion -# but not bang completion. test_bang_completion_without_do_shell() passes if -# building with readline, but we don't want to change the default, so skip the -# test. -# https://github.com/python/cpython/issues/150922 -SKIPPED_TESTS += " \ - --ignore test_bang_completion_without_do_shell \ -" - -# Also fails with editline instead of readline. See: -# https://github.com/python/cpython/issues/123018 -SKIPPED_TESTS += " \ - --ignore test_write_read_limited_history \ -" - -# In 3.14+ PyREPL's uses terminfo instead of curses. ICH1, is not in the -# resulting terminal capabilities, in an "optimization" occurring from PyREPL's -# side that causes test_cursor_back_write() to fail. Specifically, the test -# tests the following writes in sequence: -# -# 1. b"1" -# 2. TERM_CAPABILITIES["cub"] + b":1" -# 3. ANY, b"2" -# -# The first two writes are read correctly, but the result for the third -# write is seeing the equivalent of: -# -# ANY, b"21" -SKIPPED_TESTS += " \ - --ignore test_cursor_back_write \ -" - # Needs IMAGE_FEATURE += \"tools-sdk\" # Can be removed when https://github.com/python/cpython/pull/151231 is merged SKIPPED_TESTS += " \ @@ -320,12 +288,6 @@ SKIPPED_TESTS += " \ --ignore test_sysconfigdata_json \ " -# Fails with segfault -# Bugzilla YP 16182 (test_tracemalloc_track_race) -SKIPPED_TESTS += " \ - --ignore test.test_tracemalloc.TestCAPI.test_tracemalloc_track_race \ -" - # Intermittent failure under load - the remote pdb attach test is timing # sensitive and fails on loaded autobuilder hosts (CPython #130363) # Bugzilla YP 16201, 16412