From a51d3cb69afeee30716d7d4a61e1359b106008bf Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Fri, 17 Jun 2022 13:48:20 +0100 Subject: python3: fix a race condition in the test_socket.testSockName test This test uses find_unused_port() which is inherently racey, so retry it a few times before failing. [ YOCTO #14840 ] (From OE-Core rev: efac044cabdbe77556a0b9903595fd602f39ac8d) Signed-off-by: Ross Burton Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- meta/recipes-devtools/python/python3_3.10.5.bb | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/recipes-devtools/python/python3_3.10.5.bb') diff --git a/meta/recipes-devtools/python/python3_3.10.5.bb b/meta/recipes-devtools/python/python3_3.10.5.bb index bf5930c96f..599a1884b4 100644 --- a/meta/recipes-devtools/python/python3_3.10.5.bb +++ b/meta/recipes-devtools/python/python3_3.10.5.bb @@ -35,6 +35,7 @@ SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.xz \ file://0001-setup.py-Do-not-detect-multiarch-paths-when-cross-co.patch \ file://deterministic_imports.patch \ file://0001-Avoid-shebang-overflow-on-python-config.py.patch \ + file://0001-Mitigate-the-race-condition-in-testSockName.patch \ " SRC_URI:append:class-native = " \ -- cgit v1.2.3-54-g00ecf