Bug 8726 - handle cached layers mechanism failure
Summary: handle cached layers mechanism failure
Status: VERIFIED FIXED
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Low normal
Target Milestone: 2.2
Assignee: Michael Wood
QA Contact: Libertad
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-11-25 15:55 UTC by Michael Wood
Modified: 2016-05-11 19:40 UTC (History)
3 users (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 Michael Wood 2015-11-25 15:55:49 UTC
In localhostbecontrl we attempt to clone the current checkout rather than fetch it from the internet to speed up the initial build. This can save a reasonable amount of time as it can take a while to download the poky repo. However at the moment if it fails to do this correctly it's fatal

e.g. "
command: git clone "/var/www/toaster/jethro/bitbake" "/var/www/toaster/jethro/bitbake/_toaster_clones/_git___git.yoctoproject.org_poky_jethro" 
fatal: repository '/var/www/toaster/jethro/bitbake' does not exist 

"

And the build fails. We should handle this exception and just continue and git clone from the internet instead.
Comment 1 Michael Wood 2016-04-25 15:24:14 UTC
This was fixed via fixing  bug #8463

With a commit http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=e35c404537db0b46047fcb2ee7d3645e3e0935c5
Comment 2 Libertad 2016-05-11 19:40:50 UTC
Verified in bug 8463