Bug 14362

Summary: oe-selftest: glibc.GlibcSelfTestSystemEmulated.test_glibc, FileNotFound error
Product: [QA/Testing] Functional (self) Testing Reporter: Naveen Saini <naveen.kumar.saini>
Component: oe-selftestAssignee: Unassigned <unassigned>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: Medium CC: alexandre.belloni, randy.macleod
Version: 3.3   
Target Milestone: 3.4   
Hardware: x86   
OS: Multiple   
Whiteboard: AB-INT
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Naveen Saini 2021-04-26 03:22:46 UTC
oe-selftest failed: 
glibc.GlibcSelfTestSystemEmulated.test_glibc

On qemux86-64 (master-next)
https://autobuilder.yoctoproject.org/typhoon/#/builders/73/builds/3319


Error log:

2021-04-23 22:47:38,680 - oe-selftest - INFO - ======================================================================
2021-04-23 22:47:38,734 - oe-selftest - INFO - ERROR: glibc.GlibcSelfTestSystemEmulated.test_glibc (subunit.RemotedTestCase)
2021-04-23 22:47:38,734 - oe-selftest - INFO - ----------------------------------------------------------------------
2021-04-23 22:47:38,734 - oe-selftest - INFO - testtools.testresult.real._StringException: Binary content:
  extraresults (application/json;charset=utf8)

Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/qemux86-64/build/meta/lib/oeqa/selftest/cases/glibc.py", line 88, in test_glibc
    self.run_check_emulated()
  File "/home/pokybuild/yocto-worker/qemux86-64/build/meta/lib/oeqa/selftest/cases/glibc.py", line 78, in run_check_emulated
    self.run_check(ssh = qemu.ip)
  File "/home/pokybuild/yocto-worker/qemux86-64/build/meta/lib/oeqa/selftest/cases/glibc.py", line 36, in run_check
    with open(os.path.join(builddir, "tests.sum"), "r") as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pokybuild/yocto-worker/qemux86-64/build/build-st-35107/tmp/work/core2-64-poky-linux/glibc-testsuite/2.33-r0/build-x86_64-poky-linux/tests.sum'
Comment 1 Randy MacLeod 2021-04-29 14:59:23 UTC
for qemux86-64 we run the full qemu system emulation not the userspace only.

May be related to Feb 2021 bug:
14259 	NFS mounting issue on qemux64 oe-selftest glibc.GlibcSelfTestSystemEmulated.test_glibc
Comment 2 Randy MacLeod 2021-10-21 14:57:40 UTC
We think this is a race that we should keep looking for an fix.
Comment 3 Randy MacLeod 2021-10-21 15:02:08 UTC
On second thought, this may have been due to the RCU stalls that were fixed in June. Re-open if it happens again.