Bug 15036 - oe-selftest failure: pid file not found
Summary: oe-selftest failure: pid file not found
Status: RESOLVED FIXED
Alias: None
Product: Functional (self) Testing
Classification: QA/Testing
Component: oe-selftest (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 5.0
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard: AB-INT
Depends on:
Blocks:
 
Reported: 2023-02-16 17:20 UTC by Alexandre Belloni
Modified: 2024-03-22 18:03 UTC (History)
5 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 Alexandre Belloni 2023-02-16 17:20:24 UTC
2023-01-08 20:06:11,729 - oe-selftest - INFO - ======================================================================
2023-01-08 20:06:11,730 - oe-selftest - INFO - ERROR: runqemu.QemuTest.test_qemu_can_boot_nfs_and_shutdown (subunit.RemotedTestCase)
2023-01-08 20:06:11,730 - oe-selftest - INFO - ----------------------------------------------------------------------
2023-01-08 20:06:11,730 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/qemuppc/build/meta/lib/oeqa/selftest/cases/runqemu.py", line 209, in test_qemu_can_boot_nfs_and_shutdown
    qemu_shutdown_succeeded = self._start_qemu_shutdown_check_if_shutdown_succeeded(qemu, shutdown_timeout)
  File "/home/pokybuild/yocto-worker/qemuppc/build/meta/lib/oeqa/selftest/cases/runqemu.py", line 184, in _start_qemu_shutdown_check_if_shutdown_succeeded
    is_alive = qemu.check()
  File "/home/pokybuild/yocto-worker/qemuppc/build/meta/lib/oeqa/targetcontrol.py", line 189, in check
    return self.runner.is_alive()
  File "/home/pokybuild/yocto-worker/qemuppc/build/meta/lib/oeqa/utils/qemurunner.py", line 612, in is_alive
    with open(self.qemu_pidfile, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pokybuild/yocto-worker/qemuppc/build/build-st-3502753/pidfile_3502753'

https://autobuilder.yoctoproject.org/typhoon/#builders/63/builds/6443/steps/18/logs/stdio
qemuppc debian11-ty-1
Comment 1 Richard Purdie 2023-06-08 14:59:44 UTC
Should be able to audit the code for this issue
Comment 2 Randy MacLeod 2023-09-21 14:45:32 UTC
Likely a shutdown race that should be ignored if that's really the case.
Comment 3 Randy MacLeod 2023-10-30 15:37:29 UTC
Build move to 5.0 -- ../Randy
Comment 4 Ross Burton 2024-01-23 17:24:33 UTC
This has happened once a year ago. Close?
Comment 5 Randy MacLeod 2024-01-25 15:50:47 UTC
Richard reaffirmed that, "Should be able to audit the code for this issue." ! ;-)
Comment 6 Steve Sakoman 2024-01-26 18:36:03 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/147/builds/1229/steps/12/logs/stdio
qemumips-tc fedora38-ty-6