<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>11933</bug_id>
          
          <creation_ts>2017-08-15 05:30:24 +0000</creation_ts>
          <short_desc>oe-selftest: unset SANITY_TESTED_DISTROS automatically when oe-selftest is launched</short_desc>
          <delta_ts>2026-10-15 15:14:13 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>Scripts and Tools</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>IN PROGRESS IMPLEMENTATION</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>6.99</target_milestone>
          <dependson>11429</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Rebecca Chang">rebecca.swee.fun.chang</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>chris.laplante</cc>
    
    <cc>francisco.j.pedraza.gonzalez</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>ross.burton</cc>
    
    <cc>sgw</cc>
    
    <cc>srikanthx.x.bheemanadhuni</cc>
    
    <cc>tim.orling</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>75850</commentid>
    <comment_count>0</comment_count>
    <who name="Rebecca Chang">rebecca.swee.fun.chang</who>
    <bug_when>2017-08-15 05:30:24 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75955</commentid>
    <comment_count>1</comment_count>
    <who name="Jose Perez C">jose.perez.carranza</who>
    <bug_when>2017-08-17 14:55:25 +0000</bug_when>
    <thetext>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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76243</commentid>
    <comment_count>2</comment_count>
    <who name="Juan Manuel Cruz Alcaraz">juan.m.cruz.alcaraz</who>
    <bug_when>2017-08-29 15:34:28 +0000</bug_when>
    <thetext>*** Bug 11401 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82187</commentid>
    <comment_count>3</comment_count>
      <attachid>4392</attachid>
    <who name="Srikanth">srikanthx.x.bheemanadhuni</who>
    <bug_when>2018-11-13 10:07:34 +0000</bug_when>
    <thetext>Created attachment 4392
Automated to unset SANITY_TESTED_DISTORS</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82214</commentid>
    <comment_count>4</comment_count>
    <who name="Srikanth">srikanthx.x.bheemanadhuni</who>
    <bug_when>2018-11-14 01:00:36 +0000</bug_when>
    <thetext>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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82215</commentid>
    <comment_count>5</comment_count>
    <who name="Srikanth">srikanthx.x.bheemanadhuni</who>
    <bug_when>2018-11-14 01:02:02 +0000</bug_when>
    <thetext>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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82219</commentid>
    <comment_count>6</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2018-11-14 12:21:10 +0000</bug_when>
    <thetext>Patches go the openembedded-core@lists.openembedded.org mailing list please, not bugzilla.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82301</commentid>
    <comment_count>7</comment_count>
    <who name="Srikanth">srikanthx.x.bheemanadhuni</who>
    <bug_when>2018-11-23 01:40:06 +0000</bug_when>
    <thetext>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/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82341</commentid>
    <comment_count>8</comment_count>
    <who name="Srikanth">srikanthx.x.bheemanadhuni</who>
    <bug_when>2018-11-28 03:13:01 +0000</bug_when>
    <thetext>@Ross, as suggested, patch has been emailed to openembedded-core@lists.openembedded.org mailing list on 23 Nov&apos;2018</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82614</commentid>
    <comment_count>9</comment_count>
    <who name="yeoh ee peng">ee.peng.yeoh</who>
    <bug_when>2018-12-28 05:56:48 +0000</bug_when>
    <thetext>Please add the link to the patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96844</commentid>
    <comment_count>10</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2023-10-24 14:24:28 +0000</bug_when>
    <thetext>Bulk move from 4.99 or 0.00 to 5.99</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99771</commentid>
    <comment_count>11</comment_count>
    <who name="Chris Laplante">chris.laplante</who>
    <bug_when>2024-10-04 13:41:55 +0000</bug_when>
    <thetext>v1 patch added here: https://patchwork.yoctoproject.org/project/oe-core/list/?series=28182

Discussion here: https://lists.openembedded.org/g/openembedded-core/topic/patch_oeqa_selftest/108807576

Will probably have a v2.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107081</commentid>
    <comment_count>12</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2026-10-15 15:14:13 +0000</bug_when>
    <thetext>FORCE_VARIABLE is not RP&apos;s favourite but used more and more recently...</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>4392</attachid>
            <date>2018-11-13 10:07:34 +0000</date>
            <delta_ts>2018-11-13 10:07:34 +0000</delta_ts>
            <desc>Automated to unset SANITY_TESTED_DISTORS</desc>
            <filename>0001-oe-selftest-Unset-SANITY_TESTED_DISTROS-to-avoid-war.patch</filename>
            <type>text/plain</type>
            <size>2663</size>
            <attacher name="Srikanth">srikanthx.x.bheemanadhuni</attacher>
            
              <data encoding="base64">RnJvbSA4NGU2MjA3YzRjZjIxNzg4ODViZjFhNTgzZWUwZmMwNzE5MTFiNGFiIE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBiaGVlbWExeCA8c3Jpa2FudGh4LnguYmhlZW1hbmFkaHVuaUBp
bnRlbC5jb20+CkRhdGU6IEZyaSwgOSBOb3YgMjAxOCAxMTo0OTo1OCArMDgwMApTdWJqZWN0OiBb
UEFUQ0hdIG9lLXNlbGZ0ZXN0IDogVW5zZXQgU0FOSVRZX1RFU1RFRF9ESVNUUk9TIHRvIGF2b2lk
IHdhcm5pbmdzCiBvbiBleGVjdXRpb24KCkF1dG9tYXRlZCB0byB1bnNldCBTQU5JVFlfVEVTVEVE
X0RJU1RPUlMKClNpZ25lZC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KyAgICAgICAgICAgICAg
ICAgIGluIGZ0b29scy5yZWFkX2ZpbGUob3MucGF0aC5qb2luKGJ1aWxkZGlyLCAiY29uZi9sb2Nh
bC5jb25mIikpOgorICAgICAgICAgICAgICAgICAgc2VsZi50Yy5sb2dnZXIuaW5mbygiUmVtb3Zp
bmcgU0FOSVRZX1RFU1RFRF9ESVNUUk9TIGZyb20gbG9jYWwuY29uZiIpCisgICAgICAgICAgICAg
ICAgICBmdG9vbHMucmVtb3ZlX2Zyb21fZmlsZShvcy5wYXRoLmpvaW4oYnVpbGRkaXIsICJjb25m
L2xvY2FsLmNvbmYiKSwgXAorICAgICAgICAgICAgICAgICAgICJcbiNVbnNldCBTQU5JVFlfVEVT
VEVEX0RJU1RST1MgYWRkZWQgYnkgb2Utc2VsZnRlc3QucHlcblNBTklUWV9URVNURURfRElTVFJP
Uz0nJyIpCisKKworCiAKICAgICAgICAgX2FkZF9sYXllcl9saWJzKCkKIApAQCAtMjczLDcgKzI4
Nyw3IEBAIGNsYXNzIE9FU2VsZnRlc3RUZXN0Q29udGV4dEV4ZWN1dG9yKE9FVGVzdENvbnRleHRF
eGVjdXRvcik6CiAgICAgICAgICAgICBpZiBvcy5wYXRoLmV4aXN0cyhvdXRwdXRfbGluayk6CiAg
ICAgICAgICAgICAgICAgb3MucmVtb3ZlKG91dHB1dF9saW5rKQogICAgICAgICAgICAgb3Muc3lt
bGluayhhcmdzLm91dHB1dF9sb2csIG91dHB1dF9saW5rKQotCisgICAgICAgICAgICBzZWxmLnJl
bW92ZV92YXJpYWJsZXMoKQogICAgICAgICByZXR1cm4gcmMKIAogX2V4ZWN1dG9yX2NsYXNzID0g
T0VTZWxmdGVzdFRlc3RDb250ZXh0RXhlY3V0b3IKLS0gCjIuNy40Cgo=
</data>

          </attachment>
      

    </bug>

</bugzilla>