Bug 8027 - Check rpm version 4 support on image auto test case fails
Summary: Check rpm version 4 support on image auto test case fails
Status: RESOLVED FIXED
Alias: None
Product: Runtime Testing
Classification: QA/Testing
Component: general (show other bugs)
Version: 1.9
Hardware: x86 Multiple
: Undecided normal
Target Milestone: 1.9 M2
Assignee: Daniel Istrate
QA Contact: Costin
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-07-17 14:11 UTC by Costin
Modified: 2015-07-23 10:45 UTC (History)
1 user (show)

See Also:
OS type for building Yocto: ---
Type of Regression: New (Never tested)
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.