Bug 6681 - Check if the number of errors from Build table matches the number of level entries with value 2 from LogMessage table.
Summary: Check if the number of errors from Build table matches the number of level en...
Status: RESOLVED DUPLICATE of bug 6885
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: 1.7
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.7.1
Assignee: Alexandru Damian
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-09-04 13:39 UTC by Ionut Chisanovici
Modified: 2014-10-31 11:12 UTC (History)
3 users (show)

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


Attachments

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