Bug 6166 - Toaster collects no information about builds
Summary: Toaster collects no information about builds
Status: VERIFIED WORKSFORME
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: unspecified
Hardware: All Multiple
: Medium normal
Target Milestone: Future
Assignee: Elliot Smith
QA Contact: Alexandru Roman
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-04-16 10:28 UTC by Belen Barros Pena
Modified: 2015-11-27 10:16 UTC (History)
5 users (show)

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


Attachments
toaster_ui.log (9.90 MB, application/octet-stream)
2014-04-16 10:28 UTC, Belen Barros Pena
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Belen Barros Pena 2014-04-16 10:28:13 UTC
Created attachment 1917 [details]
toaster_ui.log

So far I have only been able to replicate this problem when building clean -sato images. Basically, no information is stored in the toaster database about such builds. The build completes successfully and throws no errors or warnings.

I have attached the toaster_ui.log 

Current master (ea90bd054c449a8e19c474c8bfa8c289f692c33f) throws a  'toaster_buildhistory_dump' error for such builds (see bug 6063). 

The problem happens on top of the fix for bug 6063:

http://lists.openembedded.org/pipermail/openembedded-core/2014-April/091723.html
Comment 1 Alexandru Damian 2014-04-25 15:45:47 UTC
This is caused by a timeout error on server.runCommand() XMLRPC,
particularly in:

buildinfohelper.py: def _get_build_information(self)


The particular reason for this bug is that the hosting machine is relatively slow - the Bitbake server will not process multiple requests at the same time, and if a particular request takes longer than the timeout, subsequent requests will be dropped.

A possible fix is to identify and retry failed requests, but I think this would only compound the problem at the source. 

Propose deferral for Future.
Comment 2 Belen Barros Pena 2014-05-14 14:11:22 UTC
We need to raise this issue with Richard Purdie
Comment 3 Alexandru Damian 2014-08-08 14:40:13 UTC
Half of the solution already merged as per bug 6504.

Bitbake should check toaster_ui before launching build. Propose this patch deferred for future.
Comment 4 Belen Barros Pena 2015-11-09 13:40:04 UTC
I can no longer reproduce this issue. Setting to resolved - worksforme
Comment 5 Alexandru Roman 2015-11-27 10:16:27 UTC
Verified.