Bug 2334

Summary: [Hob2] BB_NUMBER_THREADS not getting set in Hob?
Product: [Build System, Metadata & Runtime] Hob Reporter: Dave Stewart <david.c.stewart>
Component: hobAssignee: Dexuan Cui <dexuan.cui>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: andreea.b.proca, dexuan.cui, jessica.zhang, jiajun.xu, poky.bs.watcher, poky.watcher, scott.a.garman, shane.wang
Version: 1.2   
Target Milestone: 1.2.1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Dave Stewart 2012-04-18 18:39:51 UTC
Running the near-final Hob for v1.2 in the Build Appliance. Although I set BB_NUMBER_THREADS and PARALLEL_MAKE in the Settings dialog, it's often the case where I go back into Settings and it's back to 4/4.  I'm setting it to 12/14, and I never see more than 4 recipes building at the same time. I suspect (but can't be sure) that this setting is getting ignored.
Comment 1 Dexuan Cui 2012-04-19 06:49:02 UTC
(In reply to comment #0)
> Running the near-final Hob for v1.2 in the Build Appliance. Although I set
> BB_NUMBER_THREADS and PARALLEL_MAKE in the Settings dialog, it's often the case
> where I go back into Settings and it's back to 4/4.  I'm setting it to 12/14,
> and I never see more than 4 recipes building at the same time. I suspect (but
> can't be sure) that this setting is getting ignored.

I can reproduce the same bug: I think here hob doesn't save a user's setting into conf/local.conf.
Comment 2 Shane Wang 2012-04-19 08:52:50 UTC
(In reply to comment #1)
> (In reply to comment #0)
> > Running the near-final Hob for v1.2 in the Build Appliance. Although I set
> > BB_NUMBER_THREADS and PARALLEL_MAKE in the Settings dialog, it's often the case
> > where I go back into Settings and it's back to 4/4.  I'm setting it to 12/14,
> > and I never see more than 4 recipes building at the same time. I suspect (but
> > can't be sure) that this setting is getting ignored.
> I can reproduce the same bug: I think here hob doesn't save a user's setting
> into conf/local.conf.

Dexuan is using http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=276b86509ba29046828d283f15ae44ae0850d1d0, which is older than my fix http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=62c908c88b342370d2e179953c9e07094a6060b5.

Saul, can you tell your commit id of your poky tree in the self-hosted image?
Comment 3 Dexuan Cui 2012-05-09 09:09:05 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > (In reply to comment #0)
> > > Running the near-final Hob for v1.2 in the Build Appliance. Although I set
> > > BB_NUMBER_THREADS and PARALLEL_MAKE in the Settings dialog, it's often the case
> > > where I go back into Settings and it's back to 4/4.  I'm setting it to 12/14,
> > > and I never see more than 4 recipes building at the same time. I suspect (but
> > > can't be sure) that this setting is getting ignored.
> > I can reproduce the same bug: I think here hob doesn't save a user's setting
> > into conf/local.conf.
> 
> Dexuan is using
> http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/
> ?id=276b86509ba29046828d283f15ae44ae0850d1d0, which is older than my fix
> http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/
> ?id=62c908c88b342370d2e179953c9e07094a6060b5.
> 
> Saul, can you tell your commit id of your poky tree in the self-hosted image?

Hi Shane, I can verify the bug is fixed: 
The settings is persistent between Hob sessions now.
Comment 5 Andreea Brandusa Proca 2013-07-15 10:10:42 UTC
Verified in master:a63229917a5708de2d161aba0d67168ce0da6365.