<?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>9369</bug_id>
          
          <creation_ts>2016-04-01 03:18:41 +0000</creation_ts>
          <short_desc>Extensible SDK: oe-selftest test does not test that update actually works</short_desc>
          <delta_ts>2017-04-28 19:03:56 +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>devtools / tool chain</component>
          <version>2.2</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.3 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Jair Gonzalez">jair.de.jesus.gonzalez.plascencia</assigned_to>
          <cc>anibal.limon</cc>
    
    <cc>benjamin.esquivel</cc>
    
    <cc>libertad.gonzalez.de.la.cruz</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>stephano</cc>
          
          <qa_contact name="Jair Gonzalez">jair.de.jesus.gonzalez.plascencia</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>60646</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2016-04-01 03:18:41 +0000</bug_when>
    <thetext>We have a test in meta/lib/oeqa/sdkext/sdk_update.py that tests that sdk-update doesn&apos;t outright fail, but it does not verify if the update process actually works i.e. that it&apos;s capable of updating an installed SDK when a new one gets published. We need to have this tested so it doesn&apos;t regress.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68307</commentid>
    <comment_count>1</comment_count>
    <who name="Stephano Cetola">stephano</who>
    <bug_when>2016-11-14 23:49:47 +0000</bug_when>
    <thetext>This is currently written as an image test but may be simpler as a selftest. The workflow should look something like this:

bitbake -c populate-sdk-ext [some-image]
run ${SDK_DEPLOY}/${TOOLCHAINEXT_OUTPUTNAME}.sh
oe-publish-sdk [esdk] [path-to-http]
IMAGE_INSTALL_appends += [some-lib]
bitbake -c populate-sdk-ext [some-image]
devtool sdk-update

The key is to check that some files have actually be downloaded from the newly appended and published eSDK. The sysroot of that eSDK should contain the updated files.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69602</commentid>
    <comment_count>2</comment_count>
    <who name="Francisco Pedraza">francisco.j.pedraza.gonzalez</who>
    <bug_when>2017-01-06 22:57:53 +0000</bug_when>
    <thetext>I will work on this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69603</commentid>
    <comment_count>3</comment_count>
    <who name="Francisco Pedraza">francisco.j.pedraza.gonzalez</who>
    <bug_when>2017-01-06 22:58:54 +0000</bug_when>
    <thetext>Adding the test case on &quot;oe-selftest&quot; at /meta/lib/oeqa/selftest/eSDK.py and working with the &quot;perl&quot; recipe over local.conf</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69814</commentid>
    <comment_count>4</comment_count>
    <who name="Francisco Pedraza">francisco.j.pedraza.gonzalez</who>
    <bug_when>2017-01-14 01:30:45 +0000</bug_when>
    <thetext>commited to Contrib [1] and running on local AB.
[1] - http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=fjpedraz/eSDK_update</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69873</commentid>
    <comment_count>5</comment_count>
    <who name="Francisco Pedraza">francisco.j.pedraza.gonzalez</who>
    <bug_when>2017-01-18 02:23:02 +0000</bug_when>
    <thetext>(In reply to comment #4)
&gt; commited to Contrib [1] and running on local AB.
&gt; [1] -
&gt; http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=fjpedraz/
&gt; eSDK_update

Added an update on contrib due an issue with rebase on master: http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=fjpedraz/eSDK_sdk_update&amp;id=e245d0e49598ac05cc14f752eb9fcfb6fefc1375</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69874</commentid>
    <comment_count>6</comment_count>
    <who name="Francisco Pedraza">francisco.j.pedraza.gonzalez</who>
    <bug_when>2017-01-18 02:23:56 +0000</bug_when>
    <thetext>Patch sent to OpenEmbedded core lists: http://lists.openembedded.org/pipermail/openembedded-core/2017-January/131234.html
Waiting for review.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70063</commentid>
    <comment_count>7</comment_count>
    <who name="Francisco Pedraza">francisco.j.pedraza.gonzalez</who>
    <bug_when>2017-01-23 23:06:46 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=51b6df76f2640a3de085e75fe14f96668d6af94a

Merged in master.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70064</commentid>
    <comment_count>8</comment_count>
    <who name="Francisco Pedraza">francisco.j.pedraza.gonzalez</who>
    <bug_when>2017-01-23 23:07:42 +0000</bug_when>
    <thetext>Assigning to Jair in order to verify this.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>