Bug 14362 - oe-selftest: glibc.GlibcSelfTestSystemEmulated.test_glibc, FileNotFound error
Summary: oe-selftest: glibc.GlibcSelfTestSystemEmulated.test_glibc, FileNotFound error
Status: RESOLVED WORKSFORME
Alias: None
Product: Functional (self) Testing
Classification: QA/Testing
Component: oe-selftest (show other bugs)
Version: 3.3
Hardware: x86 Multiple
: Medium normal
Target Milestone: 3.4
Assignee: Unassigned
QA Contact:
URL:
Whiteboard: AB-INT
Depends on:
Blocks:
 
Reported: 2021-04-26 03:22 UTC by Naveen Saini
Modified: 2021-10-21 15:02 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.