<?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>13812</bug_id>
          
          <creation_ts>2020-02-23 13:17:47 +0000</creation_ts>
          <short_desc>tinfoil tests race issue</short_desc>
          <delta_ts>2020-03-02 16:27:35 +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>3.1</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>High</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>3.1 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Richard Purdie">richard.purdie</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>alex.kanavin</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>randy.macleod</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>86567</commentid>
    <comment_count>0</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2020-02-23 13:17:47 +0000</bug_when>
    <thetext>Set BB_SERVER_TIMEOUT = &quot;2&quot; in local.conf, then run:

oe-selftest -r tinfoil

and in the output you&apos;ll see:

ERROR: When reparsing /media/build1/poky/meta/recipes-extended/mdadm/mdadm_4.1.bb:do_configure, the basehash value changed from 53b93b91b8f92f002968926ee47d49047f62f264c0647c1cbb362532743d8258 to c4e19e9cfa4ec8b25186dc18b1bcbbdc36810bbd81233051623d9028d7f70b2a. The metadata is not deterministic and this needs to be fixed.
ERROR: The following commands may help:
ERROR: $ bitbake mdadm -cdo_configure -Snone
ERROR: Then:
ERROR: $ bitbake mdadm -cdo_configure -Sprintdiff

ERROR: When reparsing /media/build1/poky/meta/recipes-extended/mdadm/mdadm_4.1.bb:do_package, the basehash value changed from e04e38b290c40267f04ef5f97ada487d33c541fac01b474e74d55e1fc1fe6edf to e3d8d41013cd064cdd35ea2ac331498114533b355e87bea80563d7c8d0994915. The metadata is not deterministic and this needs to be fixed.
ERROR: The following commands may help:
ERROR: $ bitbake mdadm -cdo_package -Snone
ERROR: Then:
ERROR: $ bitbake mdadm -cdo_package -Sprintdiff

ERROR: When reparsing /media/build1/poky/meta/recipes-extended/mdadm/mdadm_4.1.bb:do_package_write_rpm, the basehash value changed from 45ee06318ebeb2aee0021b35717d011806e4f3d20ae6a6d6d8504d66f7f02d72 to a5ad8870c10cc34a08f96a508f4841504a1c6afeda7bf24ced4231e09d8db4d3. The metadata is not deterministic and this needs to be fixed.
ERROR: The following commands may help:
ERROR: $ bitbake mdadm -cdo_package_write_rpm -Snone
ERROR: Then:
ERROR: $ bitbake mdadm -cdo_package_write_rpm -Sprintdiff

which is because the datastore is left in a &apos;corrupt&apos; state after one of the tests. 

We can see this on the autobuilder if a test runs fast enough to catch the bitbake server before it shuts down, even if memres isn&apos;t enabled.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86568</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2020-02-23 13:21:21 +0000</bug_when>
    <thetext>e.g. https://autobuilder.yoctoproject.org/typhoon/#/builders/87/builds/713</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86631</commentid>
    <comment_count>2</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2020-02-29 19:48:02 +0000</bug_when>
    <thetext>Patch: http://lists.openembedded.org/pipermail/openembedded-core/2020-February/293771.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86641</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2020-03-02 16:27:35 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=fecd65625ec6fb9a7879cfa18eab95d2b1dda2ff</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>