<?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>9575</bug_id>
          
          <creation_ts>2016-05-03 03:01:49 +0000</creation_ts>
          <short_desc>Test SDK EXT failed  on core-image-sato for MIPS architecture</short_desc>
          <delta_ts>2016-09-15 15:21:33 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Build Testing</product>
          <component>general</component>
          <version>2.2</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>critical</bug_severity>
          <target_milestone>2.2 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</reporter>
          <assigned_to name="Chen Qi">Qi.Chen</assigned_to>
          <cc>anibal.limon</cc>
    
    <cc>bluelightning</cc>
    
    <cc>richard.purdie</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>61873</commentid>
    <comment_count>0</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2016-05-03 03:01:49 +0000</bug_when>
    <thetext>This problem was found on the AU [1]:

ERROR: core-image-sato-1.0-r0 do_testsdkext: Couldn&apos;t install the SDK EXT:
Poky (Yocto Project Reference Distro) Extensible SDK installer version 2.1+snapshot
===================================================================================
You are about to install the SDK to &quot;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips/build/build/tmp/work/qemumips-poky-linux/core-image-sato/1.0-r0/testsdkext/tc&quot;. Proceed[Y/n]? Y
Extracting SDK..................................................................................................................done
Setting it up...
Extracting buildtools...
Preparing build system...
ERROR: SDK preparation failed: see /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips/build/build/tmp/work/qemumips-poky-linux/core-image-sato/1.0-r0/testsdkext/tc/preparing_build_system.log

ERROR: core-image-sato-1.0-r0 do_testsdkext: Function failed: do_testsdkext
ERROR: Logfile of failure stored in: /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips/build/build/tmp/work/qemumips-poky-linux/core-image-sato/1.0-r0/temp/log.do_testsdkext.26442
NOTE: recipe core-image-sato-1.0-r0: task do_testsdkext: Failed
ERROR: Task 1 (/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips/build/meta/recipes-sato/images/core-image-sato.bb, do_testsdkext) failed with exit code &apos;1&apos;
ERROR: core-image-minimal-1.0-r0 do_testsdkext: Couldn&apos;t install the SDK EXT:
Poky (Yocto Project Reference Distro) Extensible SDK installer version 2.1+snapshot
===================================================================================
You are about to install the SDK to &quot;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips/build/build/tmp/work/qemumips-poky-linux/core-image-minimal/1.0-r0/testsdkext/tc&quot;. Proceed[Y/n]? Y
Extracting SDK....................................................................done
Setting it up...
Extracting buildtools...
Preparing build system...
ERROR: SDK preparation failed: see /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips/build/build/tmp/work/qemumips-poky-linux/core-image-minimal/1.0-r0/testsdkext/tc/preparing_build_system.log

- Build Configuration:
BB_VERSION        = &quot;1.31.0&quot;
BUILD_SYS         = &quot;x86_64-linux&quot;
NATIVELSBSTRING   = &quot;universal&quot;
TARGET_SYS        = &quot;mips-poky-linux&quot;
MACHINE           = &quot;qemumips&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;2.1+snapshot-20160430&quot;
TUNE_FEATURES     = &quot;o32 bigendian fpu-hard mips32r2&quot;
TARGET_FPU        = &quot;&quot;
meta              
meta-poky         
meta-yocto-bsp    = &quot;heads/master:f7b520878babbaa7527151f22c031ae160512753&quot;

[1] https://autobuilder.yoctoproject.org/main/builders/nightly-mips/builds/754</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61874</commentid>
    <comment_count>1</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2016-05-03 03:02:19 +0000</bug_when>
    <thetext>full log pending.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61875</commentid>
    <comment_count>2</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2016-05-03 03:06:13 +0000</bug_when>
    <thetext>Another similar error, this time on for a qemuppc machine (PowerPC architecture)

https://autobuilder.yoctoproject.org/main/builders/nightly-ppc/builds/763/steps/Running%20ESDK%20Sanity%20Tests</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61877</commentid>
    <comment_count>3</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2016-05-03 05:32:55 +0000</bug_when>
    <thetext>We really need the preparing_build_system.log contents to see what actually failed - I&apos;ve filed bug 9576 to ensure this gets logged when running the test on the autobuilder in future. In the mean time I&apos;ve logged in and grabbed it and interestingly the failure is the same on both PPC and MIPS - something is going awry with busybox in particular:

-------------- snip --------------
ERROR: Unexpected tasks or setscene left over to be executed:
   task 1071 of 2219 (ID: 793, /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-ppc/build/build/tmp/work/qemuppc-poky-linux/core-image-minimal/1.0-r0/testsdkext/tc/layers/build/meta/recipes-core/busybox/busybox_1.24.1.bb, do_fetch)
   task 1512 of 2219 (ID: 788, /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-ppc/build/build/tmp/work/qemuppc-poky-linux/core-image-minimal/1.0-r0/testsdkext/tc/layers/build/meta/recipes-core/busybox/busybox_1.24.1.bb, do_unpack)
   task 1883 of 2219 (ID: 789, /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-ppc/build/build/tmp/work/qemuppc-poky-linux/core-image-minimal/1.0-r0/testsdkext/tc/layers/build/meta/recipes-core/busybox/busybox_1.24.1.bb, do_patch)
   task 2202 of 2219 (ID: 798, /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-ppc/build/build/tmp/work/qemuppc-poky-linux/core-image-minimal/1.0-r0/testsdkext/tc/layers/build/meta/recipes-core/busybox/busybox_1.24.1.bb, do_populate_lic)
-------------- snip --------------

It looks like the do_populate_lic is what&apos;s actually missing from the sstate directory, the other tasks are just dependencies of that. It&apos;s odd that this would only affect these two architectures though.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61938</commentid>
    <comment_count>4</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2016-05-04 14:36:40 +0000</bug_when>
    <thetext>In my machine, the problem could not be reproduced. Tested just on qemumips.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66213</commentid>
    <comment_count>5</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2016-09-15 15:21:33 +0000</bug_when>
    <thetext>We&apos;re not seeing this issue on the autobuilder any more so I assume this was fixed at some point and the bug just got lost in the system. Resolving accordingly.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>