<?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>10964</bug_id>
          
          <creation_ts>2017-01-25 15:06:58 +0000</creation_ts>
          <short_desc>testimage: Test suite is not running when images are downloaded from Autobuilder</short_desc>
          <delta_ts>2017-02-08 20:25:09 +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>BSPs</product>
          <component>bsps-oe-core</component>
          <version>2.3</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>High</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.3 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jose Perez C">jose.perez.carranza</reporter>
          <assigned_to name="Mariano Lopez">mariano.lopez</assigned_to>
          <cc>leonardo.sandoval.gonzalez</cc>
          
          <qa_contact name="Jose Perez C">jose.perez.carranza</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>70112</commentid>
    <comment_count>0</comment_count>
    <who name="Jose Perez C">jose.perez.carranza</who>
    <bug_when>2017-01-25 15:06:58 +0000</bug_when>
    <thetext>Commit: 62d7d4130202d8ede16abf9e7d779361ca70847e
AB images: http://autobuilder.yoctoproject.org/pub/releases/yocto-2.3_M2.rc1/machines/

STEPS TO REPRODUCE: 
  1. Download image to test form AB 
  2. Prepare the environment according to the image tested 
     $ bitbake rpm psplash
     $ bitbake package-index
  3. $ bitbake core-image-sato-sdk -c testimage


EXPECTED RESULT:
 - Test should be executed correctly 

ACTUAL RESULT: 
 - Test are not being executed</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70134</commentid>
    <comment_count>1</comment_count>
    <who name="Mariano Lopez">mariano.lopez</who>
    <bug_when>2017-01-25 17:16:56 +0000</bug_when>
    <thetext>This happens because there are some hardcoded paths in rpm and smart tests. In order to work around this, it is necessary to modify &lt;image&gt;.tesdata.json.
You need to change the WORKDIR and DEPLOY_DIR to fit your current environment (bitbake -e can help you to get your current environment).

Also I found two bugs within smart and connman tests. You can find the fixes in the following commits in poky-contrib:

http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=mariano/bug10964&amp;id=c975cbf858065c4b89fb25e81081b5ecd7abc632

http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=mariano/bug10964&amp;id=acd70b408f334295436908b2a9fa37a66f71cc75</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70166</commentid>
    <comment_count>2</comment_count>
    <who name="Jose Perez C">jose.perez.carranza</who>
    <bug_when>2017-01-25 22:43:37 +0000</bug_when>
    <thetext>With last 3 patches from http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=mariano/bug10964 test are executed correctly but noticed that there were some missing test cases executed for the images tested as follows :

core-image-sato-sdk:

201	syslogd workable (auto)
202	syslog configurable (auto)
205	cvs project compile in sdk image (auto)
206	iptables project compile in sdk image (auto)
207	sudoku-savant project compile in sdk image (auto)
1149	test syslog logger (auto)
1150	test syslog restart (auto)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70211</commentid>
    <comment_count>3</comment_count>
    <who name="Mariano Lopez">mariano.lopez</who>
    <bug_when>2017-01-26 21:31:03 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; With last 3 patches from
&gt; http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=mariano/
&gt; bug10964 test are executed correctly but noticed that there were some
&gt; missing test cases executed for the images tested as follows :
&gt; 
&gt; core-image-sato-sdk:
&gt; 
&gt; 201	syslogd workable (auto)
&gt; 202	syslog configurable (auto)
&gt; 205	cvs project compile in sdk image (auto)
&gt; 206	iptables project compile in sdk image (auto)
&gt; 207	sudoku-savant project compile in sdk image (auto)
&gt; 1149	test syslog logger (auto)
&gt; 1150	test syslog restart (auto)

DEFAULT_TEST_SUITES were missing some tests for core-image-sato-sdk and core-image-lsb-sdk.

For syslog it seems the test is not loaded on debian/ubuntu machines.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70235</commentid>
    <comment_count>4</comment_count>
    <who name="Mariano Lopez">mariano.lopez</who>
    <bug_when>2017-01-27 20:20:23 +0000</bug_when>
    <thetext>Sent v2 patches: https://patchwork.openembedded.org/series/4986/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70258</commentid>
    <comment_count>5</comment_count>
    <who name="Mariano Lopez">mariano.lopez</who>
    <bug_when>2017-01-30 16:18:05 +0000</bug_when>
    <thetext>Sent v3. I hope patchtest won&apos;t complain this time.

https://patchwork.openembedded.org/series/4986/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70333</commentid>
    <comment_count>6</comment_count>
    <who name="Mariano Lopez">mariano.lopez</who>
    <bug_when>2017-02-01 15:33:10 +0000</bug_when>
    <thetext>This has been solved in commits:

http://git.openembedded.org/openembedded-core/commit/?id=d928e5166d8812e7e20bc95c0a8b5cb5439ec497

http://git.openembedded.org/openembedded-core/commit/?id=570f50b30072a10c5eadfbbfea2647339ee85176

http://git.openembedded.org/openembedded-core/commit/?id=26ad5105fc2ce03b7ee8ecc6911fd40a52bd573a

http://git.openembedded.org/openembedded-core/commit/?id=3f1c57191802309e58a7b3b42e8ec812e83bd8ed

http://git.openembedded.org/openembedded-core/commit/?id=42f3026b39519ba98ae3153329622ce670d57c09

http://git.openembedded.org/openembedded-core/commit/?id=9923e3cdb58c2b3c54ec5fe99b2cec4cdc9fff92</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70557</commentid>
    <comment_count>7</comment_count>
    <who name="Jose Perez C">jose.perez.carranza</who>
    <bug_when>2017-02-08 20:25:09 +0000</bug_when>
    <thetext>Verified on 2.3 M2 rc3 is working correctly 

commit: 226a508da955439b881b2f0a544a3aee76e59919</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>