Bug 9575 - Test SDK EXT failed on core-image-sato for MIPS architecture
Summary: Test SDK EXT failed on core-image-sato for MIPS architecture
Status: RESOLVED WORKSFORME
Alias: None
Product: Build Testing
Classification: QA/Testing
Component: general (show other bugs)
Version: 2.2
Hardware: x86 Multiple
: Medium+ critical
Target Milestone: 2.2 M3
Assignee: Chen Qi
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-05-03 03:01 UTC by Leonardo Sandoval Gonzalez
Modified: 2016-09-15 15:21 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leonardo Sandoval Gonzalez 2016-05-03 03:01:49 UTC
This problem was found on the AU [1]:

ERROR: core-image-sato-1.0-r0 do_testsdkext: Couldn'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 "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips/build/build/tmp/work/qemumips-poky-linux/core-image-sato/1.0-r0/testsdkext/tc". 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 '1'
ERROR: core-image-minimal-1.0-r0 do_testsdkext: Couldn'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 "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips/build/build/tmp/work/qemumips-poky-linux/core-image-minimal/1.0-r0/testsdkext/tc". 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        = "1.31.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "universal"
TARGET_SYS        = "mips-poky-linux"
MACHINE           = "qemumips"
DISTRO            = "poky"
DISTRO_VERSION    = "2.1+snapshot-20160430"
TUNE_FEATURES     = "o32 bigendian fpu-hard mips32r2"
TARGET_FPU        = ""
meta              
meta-poky         
meta-yocto-bsp    = "heads/master:f7b520878babbaa7527151f22c031ae160512753"

[1] https://autobuilder.yoctoproject.org/main/builders/nightly-mips/builds/754
Comment 1 Leonardo Sandoval Gonzalez 2016-05-03 03:02:19 UTC
full log pending.
Comment 2 Leonardo Sandoval Gonzalez 2016-05-03 03:06:13 UTC
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
Comment 3 Paul Eggleton 2016-05-03 05:32:55 UTC
We really need the preparing_build_system.log contents to see what actually failed - I've filed bug 9576 to ensure this gets logged when running the test on the autobuilder in future. In the mean time I'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's actually missing from the sstate directory, the other tasks are just dependencies of that. It's odd that this would only affect these two architectures though.
Comment 4 Leonardo Sandoval Gonzalez 2016-05-04 14:36:40 UTC
In my machine, the problem could not be reproduced. Tested just on qemumips.
Comment 5 Richard Purdie 2016-09-15 15:21:33 UTC
We'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.