<?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>11401</bug_id>
          
          <creation_ts>2017-04-21 17:55:53 +0000</creation_ts>
          <short_desc>oe-selftest failed SANITY_TESTED_DISTROS asked to be unset</short_desc>
          <delta_ts>2017-08-29 15:36:21 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Runtime Testing</product>
          <component>general</component>
          <version>2.3</version>
          <rep_platform>x86</rep_platform>
          <op_sys>x86_64</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>11933</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Francisco Pedraza">francisco.j.pedraza.gonzalez</reporter>
          <assigned_to name="Jose Perez C">jose.perez.carranza</assigned_to>
          <cc>benjamin.esquivel</cc>
    
    <cc>jose.perez.carranza</cc>
    
    <cc>juan.m.cruz.alcaraz</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>ross.burton</cc>
          
          <qa_contact name="oscar lopez arandas">oscarx.lopez.arandas</qa_contact>
          <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>72767</commentid>
    <comment_count>0</comment_count>
    <who name="Francisco Pedraza">francisco.j.pedraza.gonzalez</who>
    <bug_when>2017-04-21 17:55:53 +0000</bug_when>
    <thetext>After trying to run oe-selftest the following error message was displayed: &quot;2017-04-21 09:51:06,597 - selftest - ERROR - Please unset SANITY_TESTED_DISTROS in order to run oe-selftest&quot; Rep (3/3).

I added the var SANITY_TESTED_DISTROS = &quot;&quot; at conf/local.conf and after that I was able to run oe-selftest.

== Build details ==
+++++++++++++++++++++++++++++++++++++++++++++++++++
poky: 7a0e795373653886452a7a2992ced10080711c26
meta-qt4: e120a2193be3982d55741fb9e51472db6ab9a5cd
meta-qt3: f33b73a9563f2dfdfd0ee37b61d65d90197a456f

Build Configuration:
BB_VERSION        = &quot;1.34.0&quot;
BUILD_SYS         = &quot;x86_64-linux&quot;
NATIVELSBSTRING   = &quot;centos-7&quot;
TARGET_SYS        = &quot;x86_64-poky-linux&quot;
MACHINE           = &quot;qemux86-64&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;2.3&quot;
TUNE_FEATURES     = &quot;m64 core2&quot;
TARGET_FPU        = &quot;&quot;
meta              
meta-selftest     
meta-poky         
meta-yocto-bsp    
meta-selftest     = &quot;HEAD:7a0e795373653886452a7a2992ced10080711c26&quot;


+++++++++++++++++++++++++++++++++++++++++++++++++++

Steps to reproduce it
1. Clone poky
2. Source the environment
3. Add meta-selftest to conf/bblayers.conf
4. Run oe-selftest, for example eSDK
$  oe-selftest -r eSDK.oeSDKExtSelfTest.test_image_generation_binary_feeds  eSDK.oeSDKExtSelfTest.test_install_libraries_headers


Expected results
oe-selftest should run successfully
Actual results
oe-selftest failed getting the following error message: &quot;ERROR - Please unset SANITY_TESTED_DISTROS in order to run oe-selftest&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72786</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2017-04-24 10:41:30 +0000</bug_when>
    <thetext>Yes, as bug 11292 says leaving that set can cause errors.

You could argue that oe-selftest should be clearing this value instead of expecting the user to do it.  Patches welcome.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72791</commentid>
    <comment_count>2</comment_count>
    <who name="Jose Perez C">jose.perez.carranza</who>
    <bug_when>2017-04-24 14:35:02 +0000</bug_when>
    <thetext>Proposed patch on the list 

https://patchwork.openembedded.org/patch/139410/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72900</commentid>
    <comment_count>3</comment_count>
    <who name="Jose Perez C">jose.perez.carranza</who>
    <bug_when>2017-04-27 15:05:20 +0000</bug_when>
    <thetext>New proposal to do not write config files, Bug 11429 is filed to track the proposal, making this bug dependent of that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76242</commentid>
    <comment_count>4</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>This is a duplication fro the bug 11933

*** This bug has been marked as a duplicate of bug 11933 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>