Bug 11933 - oe-selftest: unset SANITY_TESTED_DISTROS automatically when oe-selftest is launched
Summary: oe-selftest: unset SANITY_TESTED_DISTROS automatically when oe-selftest is la...
Status: IN PROGRESS IMPLEMENTATION
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: Scripts and Tools (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 6.99
Assignee: Unassigned
QA Contact:
URL:
Whiteboard:
: 11401 (view as bug list)
Depends on: 11429
Blocks:
  Show dependency tree
 
Reported: 2017-08-15 05:30 UTC by Rebecca Chang
Modified: 2026-10-15 15:14 UTC (History)
7 users (show)

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


Attachments
Automated to unset SANITY_TESTED_DISTORS (2.60 KB, patch)
2018-11-13 10:07 UTC, Srikanth
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rebecca Chang 2017-08-15 05:30:24 UTC
In current environment, we need to manually unset SANITY_TESTED_DISTROS whenever we need to run oe-selftest. The idea here is to make it part of oe-selftest execution to unset it automatically without additional editing by users.
Comment 1 Jose Perez C 2017-08-17 14:55:25 UTC
There is a work on Bug 11401 with a patch directly setting this to local.conf but. that could be applied when Bug gets resolved 11429
Comment 2 Juan Manuel Cruz Alcaraz 2017-08-29 15:34:28 UTC
*** Bug 11401 has been marked as a duplicate of this bug. ***
Comment 3 Srikanth 2018-11-13 10:07:34 UTC
Created attachment 4392 [details]
Automated to unset SANITY_TESTED_DISTORS
Comment 4 Srikanth 2018-11-14 01:00:36 UTC
Issue solved by unset the SANITY_TESTED_DISTROS in the function  OESelftestTestContextExecutor() file b/meta/lib/oeqa/selftest/context.py

And added function remove_variables() which is called in 
final:
     self.remove_variables()
the function will comment the the unset SANITY_TESTED_DISTROS in local.conf

Source from the below patch 
https://hsdes.intel.com/appstore/article/#/1506456121

I am attaching my patch
Comment 5 Srikanth 2018-11-14 01:02:02 UTC
Issue solved by unset the SANITY_TESTED_DISTROS in the function  OESelftestTestContextExecutor() file b/meta/lib/oeqa/selftest/context.py

And added function remove_variables() which is called in 
final:
     self.remove_variables()
the function will comment the the unset SANITY_TESTED_DISTROS in local.conf

Source from the below patch 
https://hsdes.intel.com/appstore/article/#/1506456121

I am attaching my patch
Comment 6 Ross Burton 2018-11-14 12:21:10 UTC
Patches go the openembedded-core@lists.openembedded.org mailing list please, not bugzilla.
Comment 7 Srikanth 2018-11-23 01:40:06 UTC
please ignore the comment 4 and comment 5

Issue solved by unset the SANITY_TESTED_DISTROS in the function  OESelftestTestContextExecutor() file b/meta/lib/oeqa/selftest/context.py

And added function remove_variables() which is called in 
final:
     self.remove_variables()
the function will comment the the unset SANITY_TESTED_DISTROS in local.conf

Source from the below patch 
https://patchwork.openembedded.org/patch/139410/
Comment 8 Srikanth 2018-11-28 03:13:01 UTC
@Ross, as suggested, patch has been emailed to openembedded-core@lists.openembedded.org mailing list on 23 Nov'2018
Comment 9 yeoh ee peng 2018-12-28 05:56:48 UTC
Please add the link to the patch.
Comment 10 Randy MacLeod 2023-10-24 14:24:28 UTC
Bulk move from 4.99 or 0.00 to 5.99
Comment 12 Randy MacLeod 2026-10-15 15:14:13 UTC
FORCE_VARIABLE is not RP's favourite but used more and more recently...