diff options
author | Yash Shinde <Yash.Shinde@windriver.com> | 2024-04-01 03:00:12 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-04-04 14:05:03 +0100 |
commit | 8d27d8ff7cc65d2059ca29352b57301ffc35a163 (patch) | |
tree | 88068d596634f0ff834d31e8d64edbd124e610cd /meta/recipes-core/glibc | |
parent | b041bd9eaba79a8d9a9a5cb74bafac0c1b2be2f9 (diff) | |
download | poky-8d27d8ff7cc65d2059ca29352b57301ffc35a163.tar.gz |
glibc: Skip 2 qemu tests that can hang in oe-selftest
qemumips and qemuppc were leaving stale processes behind after
running glibc oe-selftest. During analysis, it was found that
it was due to "tst-scm_rights" and "tst-scm_rights-time64" tests.
Disable them so that there are no stale processes left behind.
[YOCTO #15423]
https://bugzilla.yoctoproject.org/show_bug.cgi?id=15423
(From OE-Core rev: b3f7b19b6d21368bac00a33ea208cc0379ce4543)
Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/glibc')
-rw-r--r-- | meta/recipes-core/glibc/glibc/0024-qemu-stale-process.patch | 45 | ||||
-rw-r--r-- | meta/recipes-core/glibc/glibc_2.39.bb | 1 |
2 files changed, 46 insertions, 0 deletions
diff --git a/meta/recipes-core/glibc/glibc/0024-qemu-stale-process.patch b/meta/recipes-core/glibc/glibc/0024-qemu-stale-process.patch new file mode 100644 index 0000000000..c0a467fcec --- /dev/null +++ b/meta/recipes-core/glibc/glibc/0024-qemu-stale-process.patch | |||
@@ -0,0 +1,45 @@ | |||
1 | glibc: Skip 2 qemu tests that can hang in oe-selftest | ||
2 | |||
3 | qemumips and qemuppc were leaving stale processes behind after | ||
4 | running glibc oe-selftest. During analysis, it was found that | ||
5 | it was due to "tst-scm_rights" and "tst-scm_rights-time64" tests. | ||
6 | Disable them so that there are no stale processes left behind. | ||
7 | |||
8 | [YOCTO #15423] | ||
9 | https://bugzilla.yoctoproject.org/show_bug.cgi?id=15423 | ||
10 | |||
11 | Upstream-Status: Inappropriate [oe-core specific] | ||
12 | Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com> | ||
13 | --- | ||
14 | diff --git a/sysdeps/unix/sysv/linux/Makefile b/sysdeps/unix/sysv/linux/Makefile | ||
15 | --- a/sysdeps/unix/sysv/linux/Makefile 2024-03-18 01:15:49.019202881 -0700 | ||
16 | +++ b/sysdeps/unix/sysv/linux/Makefile 2024-03-14 06:26:18.581404107 -0700 | ||
17 | @@ -222,7 +222,6 @@ | ||
18 | tst-process_mrelease \ | ||
19 | tst-quota \ | ||
20 | tst-rlimit-infinity \ | ||
21 | - tst-scm_rights \ | ||
22 | tst-sigtimedwait \ | ||
23 | tst-sync_file_range \ | ||
24 | tst-sysconf-iov_max \ | ||
25 | @@ -233,6 +232,8 @@ | ||
26 | tst-timerfd \ | ||
27 | tst-ttyname-direct \ | ||
28 | tst-ttyname-namespace \ | ||
29 | + # Skip this test to avoid stale qemu process | ||
30 | + # tst-scm_rights \ | ||
31 | # tests | ||
32 | |||
33 | # process_madvise requires CAP_SYS_ADMIN. | ||
34 | @@ -270,9 +271,10 @@ | ||
35 | tst-ntp_gettimex-time64 \ | ||
36 | tst-ppoll-time64 \ | ||
37 | tst-prctl-time64 \ | ||
38 | - tst-scm_rights-time64 \ | ||
39 | tst-sigtimedwait-time64 \ | ||
40 | tst-timerfd-time64 \ | ||
41 | + # Skip this test to avoid stale qemu process | ||
42 | + # tst-scm_rights-time64 \ | ||
43 | # tests-time64 | ||
44 | |||
45 | tests-clone-internal = \ | ||
diff --git a/meta/recipes-core/glibc/glibc_2.39.bb b/meta/recipes-core/glibc/glibc_2.39.bb index b203060064..9122472689 100644 --- a/meta/recipes-core/glibc/glibc_2.39.bb +++ b/meta/recipes-core/glibc/glibc_2.39.bb | |||
@@ -49,6 +49,7 @@ SRC_URI = "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \ | |||
49 | file://0021-fix-create-thread-failed-in-unprivileged-process-BZ-.patch \ | 49 | file://0021-fix-create-thread-failed-in-unprivileged-process-BZ-.patch \ |
50 | file://0022-Avoid-hardcoded-build-time-paths-in-the-output-binar.patch \ | 50 | file://0022-Avoid-hardcoded-build-time-paths-in-the-output-binar.patch \ |
51 | file://0023-aarch64-configure-Pass-mcpu-along-with-march-to-dete.patch \ | 51 | file://0023-aarch64-configure-Pass-mcpu-along-with-march-to-dete.patch \ |
52 | file://0024-qemu-stale-process.patch \ | ||
52 | " | 53 | " |
53 | S = "${WORKDIR}/git" | 54 | S = "${WORKDIR}/git" |
54 | B = "${WORKDIR}/build-${TARGET_SYS}" | 55 | B = "${WORKDIR}/build-${TARGET_SYS}" |