Bug 8852 - Test that layer git revisions are displayed and do not fail without git repository
Summary: Test that layer git revisions are displayed and do not fail without git repos...
Status: RESOLVED FIXED
Alias: None
Product: Build Testing
Classification: QA/Testing
Component: general (show other bugs)
Version: unspecified
Hardware: All Multiple
: Medium enhancement
Target Milestone: 2.1
Assignee: Daniel Istrate
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-12-22 19:55 UTC by Paul Eggleton
Modified: 2016-03-17 10:28 UTC (History)
1 user (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
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 Paul Eggleton 2015-12-22 19:55:15 UTC
Poky revision 3aac11076e22ac4fea48f5404110bb959547a9fe caused a number of "fatal" errors to be shown during builds, which did not actually cause the build to fail; but this only happened if you were building from metadata layers that were not git repositories. Unfortunately despite raising bug 8661 the release went out with this issue, as of today the fix is still not merged to the jethro branch.

The likelihood of this error returning is pretty remote. However, if practical it would be good to have a QA check that could catch this sort of thing in future.
Comment 1 Richard Purdie 2016-02-15 15:36:17 UTC
So to clarify here, Paul is asking that we add a sanity test where we setup a build as normal, however we remove the .git directory (and make sure there are no .git directories higher up the path) then test whether "bitbake bash -n" works (which should be enough to trigger the metadata code to run).
Comment 3 Daniel Istrate 2016-03-04 10:11:06 UTC
Sent v2 Patch to ML:
http://lists.openembedded.org/pipermail/openembedded-core/2016-March/118496.html
Comment 4 Daniel Istrate 2016-03-04 10:39:56 UTC
Sent v3 Patch to ML:
http://lists.openembedded.org/pipermail/openembedded-core/2016-March/118499.html
Comment 5 Daniel Istrate 2016-03-04 10:52:36 UTC
Sent v4 Patch to ML:
http://lists.openembedded.org/pipermail/openembedded-core/2016-March/118500.html
Comment 6 Daniel Istrate 2016-03-17 10:28:11 UTC
As of 8debfea81e69d038bd2d56314b272cb74f5582ed merged into master.