Bug 14438 - Hardcoded path in test causes races
Summary: Hardcoded path in test causes races
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: 3.4 M4
Assignee: Tony Tascioglu
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2021-06-17 06:59 UTC by Richard Purdie
Modified: 2021-07-29 07:50 UTC (History)
1 user (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 Richard Purdie 2021-06-17 06:59:54 UTC
meta/lib/oeqa/selftest/cases/runtime_test.py

has hardcoded references to "/tmp/sdk". This races, for example:

https://autobuilder.yoctoproject.org/typhoon/#/builders/56/builds/1484

where an oe-selftest and oe-selftest-centos ran on the same system and one broke the other.

The fix is not to use hardcoded paths in the test.