Bug 6166

Summary: Toaster collects no information about builds
Product: [Build System, Metadata & Runtime] Toaster Reporter: Belen Barros Pena <belen.barros.pena>
Component: toasterAssignee: Elliot Smith <elliot.smith>
Status: VERIFIED WORKSFORME QA Contact: Alexandru Roman <alexandru.costinx.roman>
Severity: normal    
Priority: Medium CC: alexandru.costinx.roman, alexandru.damian, belen.barros.pena, bluelightning, cristiana.voicu
Version: unspecified   
Target Milestone: Future   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
toaster_ui.log none

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.