<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>5535</bug_id>
          
          <creation_ts>2013-11-14 12:31:35 +0000</creation_ts>
          <short_desc>bitbake server must soft-reset between builds</short_desc>
          <delta_ts>2014-07-31 14:13:05 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>BitBake</product>
          <component>bitbake</component>
          <version>1.6</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>1.6 M4</target_milestone>
          <dependson>5603</dependson>
          <blocked>5187</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexandru Damian">alexandru.damian</reporter>
          <assigned_to name="Cristiana Voicu">cristiana.voicu</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>alexandru.damian</cc>
    
    <cc>bluelightning</cc>
    
    <cc>corneliux.stoicescu</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>richard.purdie</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>38768</commentid>
    <comment_count>0</comment_count>
    <who name="Alexandru Damian">alexandru.damian</who>
    <bug_when>2013-11-14 12:31:35 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38973</commentid>
    <comment_count>1</comment_count>
    <who name="Cristiana Voicu">cristiana.voicu</who>
    <bug_when>2013-11-21 10:35:53 +0000</bug_when>
    <thetext>I have some questions related to this issue:
1. What does it means &quot;soft&quot;?
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 ?= &quot;${LOG_DIR}/cooker/${MACHINE}/${DATETIME}.log&quot;

self.data.setVar(&quot;BUILDNAME&quot;, time.strftime(&apos;%Y%m%d%H%M%S&apos;))

The simpliest idea is to define each time those vars (e.g. using &quot;=&quot; instead of &quot;?=&quot;)
Or, should this happen for all the variables? 
Thanks,
Cristiana</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39063</commentid>
    <comment_count>2</comment_count>
    <who name="Cristiana Voicu">cristiana.voicu</who>
    <bug_when>2013-11-25 14:35:56 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39065</commentid>
    <comment_count>3</comment_count>
    <who name="Cristiana Voicu">cristiana.voicu</who>
    <bug_when>2013-11-25 14:36:45 +0000</bug_when>
    <thetext>*** Bug 5293 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42163</commentid>
    <comment_count>4</comment_count>
    <who name="Cristiana Voicu">cristiana.voicu</who>
    <bug_when>2014-04-02 13:43:28 +0000</bug_when>
    <thetext>After a metting regarding memres, we&apos;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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44869</commentid>
    <comment_count>5</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2014-07-31 14:13:05 +0000</bug_when>
    <thetext>verified as per above comments.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>