Bug 12039 - mips packages corrupt oe-selftest
Summary: mips packages corrupt oe-selftest
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 2.2
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.5 M2
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-09-04 16:56 UTC by Richard Purdie
Modified: 2018-03-05 00:24 UTC (History)
2 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 Richard Purdie 2017-09-04 16:56:17 UTC
$ MACHINE=qemux86-64oe-selftest -r runtime_test.TestImage.test_testimage_install

RESULTS - runtime_test.TestImage.test_testimage_install - Testcase 1644: PASSED

$ MACHINE=qemumips bitbake socat
$ MACHINE=qemux86-64 oe-selftest -r runtime_test.TestImage.test_testimage_install

RESULTS - runtime_test.TestImage.test_testimage_install - Testcase 1644: FAILED

$ MACHINE=qemumips bitbake socat -c clean
$ MACHINE=qemux86-64 oe-selftest -r runtime_test.TestImage.test_testimage_install

RESULTS - runtime_test.TestImage.test_testimage_install - Testcase 1644: PASSED

Excerpt from do_testimage log:

DEBUG: Executing python function do_testimage
NOTE: Executing '/media/build1/poky/build/tmp/work/qemux86_64-poky-linux/core-image-full-cmdline/1.0-r0/recipe-sysroot-native/usr/bin/createrepo_c --update -q /media/build1/p
oky/build/tmp/work/qemux86_64-poky-linux/core-image-full-cmdline/1.0-r0/oe-rootfs-repo' ...
NOTE: Added oe-repo repo from /media/build1/poky/build/tmp/work/qemux86_64-poky-linux/core-image-full-cmdline/1.0-r0/oe-rootfs-repo
oe-repo                                         298 MB/s | 8.7 MB     00:00    
Last metadata expiration check: 0:00:02 ago on Mon 04 Sep 2017 03:16:28 PM UTC.
Metadata cache created.

NOTE: Added oe-repo repo from /media/build1/poky/build/tmp/work/qemux86_64-poky-linux/core-image-full-cmdline/1.0-r0/oe-rootfs-repo
Last metadata expiration check: 0:00:02 ago on Mon 04 Sep 2017 03:16:28 PM UTC.
rpm/core2_64/socat-1.7.3.2-r0.core2_64.rpm
rpm/i586/socat-1.7.3.2-r0.i586.rpm
rpm/mips32r2/socat-1.7.3.2-r0.mips32r2.rpm

NOTE: Extracted /media/build1/poky/build/tmp/work/qemux86_64-poky-linux/core-image-full-cmdline/1.0-r0/oe-rootfs-repo/rpm/mips32r2/socat-1.7.3.2-r0.mips32r2.rpm to /tmp/tmp4b
d0boda
Not using kvm for runqemu

i.e. its finding and using the mips package in an x86-64 image...