Bug 6681

Summary: Check if the number of errors from Build table matches the number of level entries with value 2 from LogMessage table.
Product: [Build System, Metadata & Runtime] Toaster Reporter: Ionut Chisanovici <ionutx.chisanovici>
Component: toasterAssignee: Alexandru Damian <alexandru.damian>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: Medium CC: alexandru.damian, belen.barros.pena, cristiana.voicu
Version: 1.7   
Target Milestone: 1.7.1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: Regression (Used to work)
Verified: Documentation change: No (bug/feature does not impact docs)

Description Ionut Chisanovici 2014-09-04 13:39:27 UTC
BUILD: 1.7_M3_RC1: a44006262cf3b810ec78b4cccd8076102a7a0f3e
ENVIRONMENT: Ubuntu 14.04 LTS x86_64

STEPS TO REPRODUCE: 
1. Alter the busybox recipe and add an 'x' in line: 'file://get_header_tar.patch \' to look like 'file://xget_header_tar.patch \'
1. Start toaster
2. Run bitbake-core-image-minimal
3. Verify if the number of errors from Build table matches the number of level entries with value 2 from LogMessage table

EXPECTED OUTCOME: 
  
The number of errors from Build table should match the number of level entries with value 2 from LogMessage table.
More, the errors from orm_logmessage were recorded with level=40 instead of level=2.

sqlite> select errors_no from orm_build where id=4;
errors_no = 2
sqlite> select count(level) from orm_logmessage where level=2 and build_id=4;
count(level) = 0
sqlite> select count(level) from orm_logmessage where level=40 and build_id=4;
count(level) = 2

Cheers,
Ionut C
Comment 1 Alexandru Damian 2014-10-31 11:12:44 UTC
Seems to be the same bug as 6885, for which patch is pending.

*** This bug has been marked as a duplicate of bug 6885 ***