<?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>5603</bug_id>
          
          <creation_ts>2013-11-26 16:03:29 +0000</creation_ts>
          <short_desc>regression: Bit bake memres server always reloads the cache</short_desc>
          <delta_ts>2015-01-22 13:08:19 +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.7</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.7</target_milestone>
          
          <blocked>5535</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Jason Wessel">jason.wessel</reporter>
          <assigned_to name="Alexandru Damian">alexandru.damian</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>alexandru.damian</cc>
    
    <cc>corneliux.stoicescu</cc>
    
    <cc>cristiana.voicu</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>richard.purdie</cc>
          
          <qa_contact name="Mihail Stanciu">stanciux.mihail</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>Regression (Used to work)</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>39101</commentid>
    <comment_count>0</comment_count>
    <who name="Jason Wessel">jason.wessel</who>
    <bug_when>2013-11-26 16:03:29 +0000</bug_when>
    <thetext>A regression was introduced with commit:

===
commit dd15648fc2654b8d7c3e00ea7ab3dbf04f24f24b
Date:   Fri Sep 13 17:32:53 2013 +0100

    cooker/command: Add finishcommand to reset cooker state
    
    After running a command on the server, it needs to reset to the initial
    state. This ensures that subsequent clients start from a known state
    and notice any configuration changes.
    
    Ultimately we may want to do more than this buts a good start and better
    than nothing.
===

The test is to run an operation twice where we expect that the cache should not reload or that the reload operation is extremely fast, vs a full cache reload. 

. oe-init-build-env-memres
bitbake -c patch bash
# Now there should be no cache reload on the second try
bitbake -c patch bash</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41739</commentid>
    <comment_count>1</comment_count>
    <who name="Cristiana Voicu">cristiana.voicu</who>
    <bug_when>2014-03-26 08:05:26 +0000</bug_when>
    <thetext>patch sent to bitbake ml</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41740</commentid>
    <comment_count>2</comment_count>
    <who name="Cristiana Voicu">cristiana.voicu</who>
    <bug_when>2014-03-26 08:06:53 +0000</bug_when>
    <thetext>Removed 5535 from depends, because after investigation I found that there is a different issue. For #5535, the server should always be reseted, but for the current issue a sanity check for the cache is needed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41892</commentid>
    <comment_count>3</comment_count>
    <who name="Alexandru Damian">alexandru.damian</who>
    <bug_when>2014-03-28 11:40:31 +0000</bug_when>
    <thetext>IMHO, this is not a bug, but an expected behaviour, see bug 5535.
My point is that bug 5535 is in direct conflict with this bug, and 

I would expect a cooker reset and a full cache reload between build commands. The bitbake server should reload the configuration files and recipe caches between builds, since they may have changed.

I think we need to revise this test.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46613</commentid>
    <comment_count>4</comment_count>
    <who name="Alexandru Damian">alexandru.damian</who>
    <bug_when>2014-10-28 10:43:13 +0000</bug_when>
    <thetext>Not a bug as per above comments.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48186</commentid>
    <comment_count>5</comment_count>
    <who name="Mihail Stanciu">stanciux.mihail</who>
    <bug_when>2015-01-22 13:08:19 +0000</bug_when>
    <thetext>Verified on master: d9d5b8b499af3ae01a1e33d0d3969c54c2d4ab1b

Does not need TC, will be covered in TC for bug 6935</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>