Bug 3377

Summary: Selecting 'Build a new image' in the 'Image details' screen re-runs the sanity checks
Product: [Build System, Metadata & Runtime] Hob Reporter: Belen Barros Pena <belen.barros.pena>
Component: hobAssignee: Constantin Musca <constantinx.musca>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: constantinx.musca, cristian.iorga, poky.bs.watcher, poky.watcher, sgw, valentin.popa
Version: unspecified   
Target Milestone: 1.4   
Hardware: x86   
OS: Multiple   
Whiteboard: 8a3dd9e9081d09f9c38c98b34f14bbd2a9b824a5
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Belen Barros Pena 2012-11-01 17:02:31 UTC
Steps to reproduce:

1. Build an image with Hob
2. In the image details screen, click the "Build a new image" button

Outcome: Hob will run sanity checks before presenting the image configuration screen with no machine or base image selected

Is it necessary to re-run the sanity checks before showing the image configuration screen to the user?
Comment 1 Constantin Musca 2013-01-03 12:53:24 UTC
This bug has been fixed.

Cheers,
Constantin
Comment 2 Belen Barros Pena 2013-01-11 15:38:19 UTC
I've tested this on the latest master (53cc748b93e8af584557d6db5309c3e955182c5c). The sanity check screen no longer comes up, but I've counted a delay of 12 seconds or so between clicking the 'Build a new image' button and being able to select a machine in the image configuration screen.

Do we know what causes the delay and if it could be reduced somehow?

Thanks!!

Belen
Comment 3 Constantin Musca 2013-01-11 15:44:08 UTC
(In reply to comment #2)
> I've tested this on the latest master
> (53cc748b93e8af584557d6db5309c3e955182c5c). The sanity check screen no
> longer comes up, but I've counted a delay of 12 seconds or so between
> clicking the 'Build a new image' button and being able to select a machine
> in the image configuration screen.
> 
> Do we know what causes the delay and if it could be reduced somehow?
> 
> Thanks!!
> 
> Belen

It takes a long time because it has to load all the necessary information for building a new image. I don't think we can change this.

Cheers,
Constantin
Comment 4 Belen Barros Pena 2013-01-11 16:15:54 UTC
in that case, marking as verified (53cc748b93e8af584557d6db5309c3e955182c5c)


(In reply to comment #3)
> (In reply to comment #2)
> > I've tested this on the latest master
> > (53cc748b93e8af584557d6db5309c3e955182c5c). The sanity check screen no
> > longer comes up, but I've counted a delay of 12 seconds or so between
> > clicking the 'Build a new image' button and being able to select a machine
> > in the image configuration screen.
> > 
> > Do we know what causes the delay and if it could be reduced somehow?
> > 
> > Thanks!!
> > 
> > Belen
> 
> It takes a long time because it has to load all the necessary information
> for building a new image. I don't think we can change this.
> 
> Cheers,
> Constantin