Bug 5535

Summary: bitbake server must soft-reset between builds
Product: [Build System, Metadata & Runtime] BitBake Reporter: Alexandru Damian <alexandru.damian>
Component: bitbakeAssignee: Cristiana Voicu <cristiana.voicu>
Status: VERIFIED WONTFIX QA Contact:
Severity: major    
Priority: Medium+ CC: alexandru.c.georgescu, alexandru.damian, bluelightning, corneliux.stoicescu, jessica.zhang, poky.bs.watcher, poky.watcher, richard.purdie
Version: 1.6   
Target Milestone: 1.6 M4   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Bug Depends on: 5603    
Bug Blocks: 5187    

Description Alexandru Damian 2013-11-14 12:31:35 UTC
Bitbake, in server mode, retains time/date related variable values between builds.

This may lead to conflicts for build artifacts that use time-related identifiers.

Bitbake must soft-reset time-related variables at build start and force re-evaluation of all dependent variable fields.
Comment 1 Cristiana Voicu 2013-11-21 10:35:53 UTC
I have some questions related to this issue:
1. What does it means "soft"?
2. Should it reset all the variables, or only those specific to time/date?
I saw that CONSOLE_LOG is not using BUILDNAME
# Complete output from bitbake
BB_CONSOLELOG ?= "${LOG_DIR}/cooker/${MACHINE}/${DATETIME}.log"

self.data.setVar("BUILDNAME", time.strftime('%Y%m%d%H%M%S'))

The simpliest idea is to define each time those vars (e.g. using "=" instead of "?=")
Or, should this happen for all the variables? 
Thanks,
Cristiana
Comment 2 Cristiana Voicu 2013-11-25 14:35:56 UTC
The purpose for this bug is to reparse the configuration between builds when using a bitbake server. I will mark 5293 as duplicate, because it has the same objective.
Comment 3 Cristiana Voicu 2013-11-25 14:36:45 UTC
*** Bug 5293 has been marked as a duplicate of this bug. ***
Comment 4 Cristiana Voicu 2014-04-02 13:43:28 UTC
After a metting regarding memres, we've decided that the reset will happen only if it is trigered by a client. This issue is addressed in bug #5603, so I will close this bug.
Comment 5 Alexandru Georgescu 2014-07-31 14:13:05 UTC
verified as per above comments.