Bug 2341

Summary: [Hob2] weird 18 second delay when parsing recipes
Product: [Build System, Metadata & Runtime] Hob Reporter: Dave Stewart <david.c.stewart>
Component: hobAssignee: Shane Wang <shane.wang>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: dexuan.cui, jessica.zhang, jiajun.xu, poky.bs.watcher, poky.watcher, scott.a.garman
Version: 1.2   
Target Milestone: 1.2.1   
Hardware: x86   
OS: Multiple   
Whiteboard: (P2) Patch in
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Dave Stewart 2012-04-18 18:57:18 UTC
Running the near-final Hob for v1.2 in the Build Appliance. One of the little quirks Hob has in the version I am running is that when you select a machine and you get the Parsing Recipes progress bar, once progress gets to 100%, there is a fixed 18 second delay before the progress bar goes away and you can do something again. Either show the progress as less than 100% or tell the user what is going on.
Comment 1 Dexuan Cui 2012-04-19 06:36:36 UTC
(In reply to comment #0)
> Running the near-final Hob for v1.2 in the Build Appliance. One of the little
> quirks Hob has in the version I am running is that when you select a machine
> and you get the Parsing Recipes progress bar, once progress gets to 100%, there
> is a fixed 18 second delay before the progress bar goes away and you can do
> something again. Either show the progress as less than 100% or tell the user
> what is going on.

Dongxiao told me the cause:
after the recipe parsing is done,  hob needs some time to parse the package
info according to tmp/deploy/rpm/* -- this accounts for the 18s we noticed.
BTW, if we start the build by hob for the first time, there should not be such
a delay since no package has been built.