Bug 8027

Summary: Check rpm version 4 support on image auto test case fails
Product: [QA/Testing] Runtime Testing Reporter: Costin <costin.c.constantin>
Component: generalAssignee: Daniel Istrate <daniel.alexandrux.istrate>
Status: RESOLVED FIXED QA Contact: Costin <costin.c.constantin>
Severity: normal    
Priority: Undecided CC: ross.burton
Version: 1.9   
Target Milestone: 1.9 M2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: New (Never tested)
Verified: Documentation change: Don't know

Description Costin 2015-07-17 14:11:44 UTC
Hi,

While performing the oe-selftest, the following test case failed:

"Case 1114 - Check rpm version 4 support on image"

poky hash used: f9ea480e6c26fea46c3011c4e9d0e2de3d5c81b4
Test was ran on Ubuntu 15.04


Action to be done:

     

1. Clone poky
2. Source the environment
3. Edit conf/local.conf and add at the bottom of the file:

IMAGE_INSTALL_append = " rpm"
PREFERRED_VERSION_rpm = "4.11.2"
PREFERRED_VERSION_rpm-native = "4.11.2"
RPMROOTFSDEPENDS_remove = "rpmresolve-native:do_populate_sysroot"

4. Do a core-image-minimal: bitbake core-image-minimal
5. Boot the image: runqemu qemux86
6. In image console type: rpm --version and check the rpm version


Expected results:  Image should have rpm v 4.11.2


The failure message:

======================================================================
FAIL: test_rpm_version_4_support_on_image (oeqa.selftest.imagefeatures.ImageFeat                                                                                                ures)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/media/yp_builds/2poky/meta/lib/oeqa/utils/decorators.py", line 102, in                                                                                                 wrapped_f
    return func(*args)
  File "/media/yp_builds/2poky/meta/lib/oeqa/selftest/imagefeatures.py", line 19                                                                                                6, in test_rpm_version_4_support_on_image
    self.fail('Failed to boot qemu.')
AssertionError: Failed to boot qemu.


Regards,

Costin
Comment 1 Ross Burton 2015-07-23 10:45:37 UTC
Fixed in oe-core f58df3a630b774083934171463b2b07add29dc0e.