Bug 11336 - Testimage [Test Case 195] rpm.RpmInstallRemoveTest is failing on corei7-64
Summary: Testimage [Test Case 195] rpm.RpmInstallRemoveTest is failing on corei7-64
Status: RESOLVED WORKSFORME
Alias: None
Product: BSPs
Classification: Build System, Metadata & Runtime
Component: bsps-meta-intel (show other bugs)
Version: 2.3
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.3 M4
Assignee: Saul Wold
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-04-11 19:01 UTC by David Lopez Barriba
Modified: 2017-04-18 20:29 UTC (History)
0 users

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


Attachments
LOG (50.40 KB, text/plain)
2017-04-11 19:01 UTC, David Lopez Barriba
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Lopez Barriba 2017-04-11 19:01:08 UTC
Created attachment 3710 [details]
LOG

STATUS: BLOCKED
BUILD: 2.3 M3: meta-intel-rc1-eff56e4f0d59b1d965a68e4f009b7f07717b7edd
ENVIRONMENT: corei7-64_lsb_CherryHill

Build Configuration:
BB_VERSION        = "1.33.3"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "universal-4.9"
TARGET_SYS        = "x86_64-poky-linux"
MACHINE           = "intel-corei7-64"
DISTRO            = "poky-lsb"
DISTRO_VERSION    = "2.2+snapshot-20170411"
TUNE_FEATURES     = "m64 corei7"
TARGET_FPU        = ""
meta              
meta-poky         
meta-yocto-bsp    = "HEAD:eff56e4f0d59b1d965a68e4f009b7f07717b7edd"
meta-intel        = "master:60c270394755c36d3cf2d1df61b3795521e1caa0"



STEPS TO REPRODUCE: 
Make all the steps for BSP\LSB Automated Testing

Run $ bitbake core-image-lsb-sdk -c testimage

1. Get some rpm or other kind of installation packages.
2. After system is up, check the size of log file named as "log.xxxxxx" on  /var/lib/rpm/log .
3.After several install/removal of packages, with either of the install/removal commands (rpm/smart/zypper install/removal), check again the size of log file.

4. When you check the log the following error appears 

'Cound not find sufficient amount of rpm entries in /var/log/messages, found {} entries'.format(output))
AssertionError: 0 not greater than or equal to 80 : Cound not find sufficient amount of rpm entries in /var/log/messages, found 0 entries
 


EXPECTED OUTCOME: . For packages installation, there will be some database files under /var/lib/rpm/, named as "__db.xxx" and there will be some log files under /var/lib/rpm/log, named as ""log.xxxxxx"". 
Each file will occupy arround 10MB, and there should be some method to keep rpm log in a small size .

Testcase 195 Should PASS


I found this on CherryHill platform , (check the Log).
Comment 1 Saul Wold 2017-04-18 20:29:11 UTC
The LSB image should have dnf and rpm, it's appears that the images did not properly contain DNF, still trying to investigate why, but have not been able to reproduce this issue, please re-open if it appears again.