The short log is misleading since this isn't really a fix. You have:
glibc: Fix stale qemu processes left after glibc oe-selftest Maybe: glibc: Skip 2 qemu tests that can hang in oe-selftest Skipping is what we want for now but have you tried wrapping the hanging test in a script that runs: strace -f -ttt -o foo <test> ? Randy On Mon, Apr 1, 2024, 04:10 Shinde, Yash via lists.openembedded.org <Yash.Shinde=windriver....@lists.openembedded.org> wrote: > From: Yash Shinde <yash.shi...@windriver.com> > > 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 > > Signed-off-by: Yash Shinde <yash.shi...@windriver.com> > --- > .../glibc/glibc/0024-qemu-stale-process.patch | 45 +++++++++++++++++++ > meta/recipes-core/glibc/glibc_2.39.bb | 1 + > 2 files changed, 46 insertions(+) > create mode 100644 > meta/recipes-core/glibc/glibc/0024-qemu-stale-process.patch > > 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..c28fa31b89 > --- /dev/null > +++ b/meta/recipes-core/glibc/glibc/0024-qemu-stale-process.patch > @@ -0,0 +1,45 @@ > +glibc: Fix stale qemu processes left after glibc 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 > + > +Upstream-Status: Inappropriate [oe-core specific] > +Signed-off-by: Yash Shinde <yash.shi...@windriver.com> > +--- > +diff --git a/sysdeps/unix/sysv/linux/Makefile > b/sysdeps/unix/sysv/linux/Makefile > +--- a/sysdeps/unix/sysv/linux/Makefile 2024-03-18 01:15:49.019202881 > -0700 > ++++ b/sysdeps/unix/sysv/linux/Makefile 2024-03-14 06:26:18.581404107 > -0700 > +@@ -222,7 +222,6 @@ > + tst-process_mrelease \ > + tst-quota \ > + tst-rlimit-infinity \ > +- tst-scm_rights \ > + tst-sigtimedwait \ > + tst-sync_file_range \ > + tst-sysconf-iov_max \ > +@@ -233,6 +232,8 @@ > + tst-timerfd \ > + tst-ttyname-direct \ > + tst-ttyname-namespace \ > ++ # Skip this test to avoid stale qemu process > ++ # tst-scm_rights \ > + # tests > + > + # process_madvise requires CAP_SYS_ADMIN. > +@@ -270,9 +271,10 @@ > + tst-ntp_gettimex-time64 \ > + tst-ppoll-time64 \ > + tst-prctl-time64 \ > +- tst-scm_rights-time64 \ > + tst-sigtimedwait-time64 \ > + tst-timerfd-time64 \ > ++ # Skip this test to avoid stale qemu process > ++ # tst-scm_rights-time64 \ > + # tests-time64 > + > + 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 \ > > file://0021-fix-create-thread-failed-in-unprivileged-process-BZ-.patch \ > > file://0022-Avoid-hardcoded-build-time-paths-in-the-output-binar.patch \ > > file://0023-aarch64-configure-Pass-mcpu-along-with-march-to-dete.patch \ > + file://0024-qemu-stale-process.patch \ > " > S = "${WORKDIR}/git" > B = "${WORKDIR}/build-${TARGET_SYS}" > -- > 2.43.0 > > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#197679): https://lists.openembedded.org/g/openembedded-core/message/197679 Mute This Topic: https://lists.openembedded.org/mt/105259855/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-