<?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>11963</bug_id>
          
          <creation_ts>2017-08-22 23:35:10 +0000</creation_ts>
          <short_desc>QA: Create automated testing to cover ESDK artifacts downloaded from the autobuilder</short_desc>
          <delta_ts>2024-06-06 15:13:10 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Manual Testing</product>
          <component>manual-testing</component>
          <version>2.4</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Future</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Libertad">libertad.gonzalez.de.la.cruz</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>brian.avery</cc>
    
    <cc>jose.perez.carranza</cc>
    
    <cc>joshuagloe</cc>
    
    <cc>libertad.gonzalez.de.la.cruz</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>ross.burton</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>76066</commentid>
    <comment_count>0</comment_count>
    <who name="Libertad">libertad.gonzalez.de.la.cruz</who>
    <bug_when>2017-08-22 23:35:10 +0000</bug_when>
    <thetext>Currently ESDK testplan is missing scenarios where ESDK is installed from a previously built artifacts.

Please add testcases that cover this scenarios</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76067</commentid>
    <comment_count>1</comment_count>
    <who name="Libertad">libertad.gonzalez.de.la.cruz</who>
    <bug_when>2017-08-22 23:37:08 +0000</bug_when>
    <thetext>also build esdk for more than one image type. Currently it is only built for core-image-minimal</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76500</commentid>
    <comment_count>2</comment_count>
    <who name="Jose Perez C">jose.perez.carranza</who>
    <bug_when>2017-09-04 16:15:26 +0000</bug_when>
    <thetext>Patch sent to the list 

https://patchwork.openembedded.org/patch/143640/


Steps to execute test cases and the artifacts that should be used are doemnted here:

https://wiki.yoctoproject.org/wiki/Extensible_SDK_Test_Plan_(eSDK)#Test_automation</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77217</commentid>
    <comment_count>3</comment_count>
    <who name="brian avery">brian.avery</who>
    <bug_when>2017-09-29 00:19:25 +0000</bug_when>
    <thetext>I think this is getting a little too complex. 

At a high level we want to test 2 things
1)improve coverage of the eSDK testing on the autobuilder to catch regressions early.
2) exercise real word usage outside of the autobuilder to make sure our users don’t get any surprises

This bug addresses #2.

#1 is basically adding more tests to the testsd.bbclass
#2 should be downloading the sdk to a machine outside of the AB and running a few devtool tests , the more coverage here the better. The linux kernel workflow is a good test since it is how a number of users will leverage the esdk in the next release given our new kernel documentation.
#2 could be done by a script in scripts/contrib if desired.


Furthermore, once we start copying things into a build dir and changing testdata.json paths (as the proposed patch does), we are not really testing end user usage.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77219</commentid>
    <comment_count>4</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2017-09-29 00:53:27 +0000</bug_when>
    <thetext>Also, using devtool sdk-install -s isn&apos;t testing installing artifacts from the autobuilder, so we shouldn&apos;t be using -s.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77616</commentid>
    <comment_count>5</comment_count>
    <who name="Libertad">libertad.gonzalez.de.la.cruz</who>
    <bug_when>2017-10-16 19:59:07 +0000</bug_when>
    <thetext>I am starting investigation on this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78609</commentid>
    <comment_count>6</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2017-12-08 14:46:23 +0000</bug_when>
    <thetext>Definition of a manual test case to test this functionality has been pulled out into a separate issue; #12411

Automation of the test case is now the scope of this issue. It&apos;s somewhat more complicated because as Brian stated in comment #3 we should perform this testing outside of the AB environment.

Improving coverage of the eSDK by adding further automated test cases for use by testsdk should probably also be a separate bugzilla entry.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87295</commentid>
    <comment_count>7</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2020-05-21 08:27:17 +0000</bug_when>
    <thetext>This bug is about &quot;post-release&quot; tests to ensure the eSDK actually works. It can;&apos;t be run until the release is actually available at its final location so has to be done post-release as part of the release process.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99147</commentid>
    <comment_count>8</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2024-06-06 15:13:10 +0000</bug_when>
    <thetext>Most issues identified in this bug have been resolved. 
The post-release tests while a good idea, are beyond our current resources.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>