<?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>8027</bug_id>
          
          <creation_ts>2015-07-17 14:11:44 +0000</creation_ts>
          <short_desc>Check rpm version 4 support on image auto test case fails</short_desc>
          <delta_ts>2015-07-23 10:45:37 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Runtime Testing</product>
          <component>general</component>
          <version>1.9</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.9 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Costin">costin.c.constantin</reporter>
          <assigned_to name="Daniel Istrate">daniel.alexandrux.istrate</assigned_to>
          <cc>ross.burton</cc>
          
          <qa_contact name="Costin">costin.c.constantin</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>New (Never tested)</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>52462</commentid>
    <comment_count>0</comment_count>
    <who name="Costin">costin.c.constantin</who>
    <bug_when>2015-07-17 14:11:44 +0000</bug_when>
    <thetext>Hi,

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

&quot;Case 1114 - Check rpm version 4 support on image&quot;

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 = &quot; rpm&quot;
PREFERRED_VERSION_rpm = &quot;4.11.2&quot;
PREFERRED_VERSION_rpm-native = &quot;4.11.2&quot;
RPMROOTFSDEPENDS_remove = &quot;rpmresolve-native:do_populate_sysroot&quot;

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 &quot;/media/yp_builds/2poky/meta/lib/oeqa/utils/decorators.py&quot;, line 102, in                                                                                                 wrapped_f
    return func(*args)
  File &quot;/media/yp_builds/2poky/meta/lib/oeqa/selftest/imagefeatures.py&quot;, line 19                                                                                                6, in test_rpm_version_4_support_on_image
    self.fail(&apos;Failed to boot qemu.&apos;)
AssertionError: Failed to boot qemu.


Regards,

Costin</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52546</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2015-07-23 10:45:37 +0000</bug_when>
    <thetext>Fixed in oe-core f58df3a630b774083934171463b2b07add29dc0e.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>