<?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>13509</bug_id>
          
          <creation_ts>2019-09-10 21:04:50 +0000</creation_ts>
          <short_desc>reproducible QA: Fake time in the future for better reproducibility</short_desc>
          <delta_ts>2026-10-21 07:30:59 +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>OE-Core</product>
          <component>core</component>
          <version>unspecified</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>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>6.99</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Joshua Watt">JPEWhacker</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>mathieu.dubois-briand</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>sangeeta.jain</cc>
          
          <qa_contact name="Mathieu Dubois-Briand">mathieu.dubois-briand</qa_contact>
          <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>84913</commentid>
    <comment_count>0</comment_count>
    <who name="Joshua Watt">JPEWhacker</who>
    <bug_when>2019-09-10 21:04:50 +0000</bug_when>
    <thetext>The QA check should use &apos;faketime&apos; or equivalent to fake the time in the future when building the second test build. This is in line with the debian reproducible build tests, and ensures recipes are not including timestamps. An ideal time to move the clock forward by might be 34308122 seconds. This is 397 days, 2 hours, 2 minutes, and 2 seconds in the future. This value has a few useful properties:
* It is always at least one year ahead of the real time
* It is always a different month than the real time
* It is always a different day of the week than the real time
* It is always a different day of the month
* It is always a different hour of the day
* It is always a different minute
* It is always a different second

The reason for always adding 2 instead of one is to account for any ambiguity related to leap year, leap seconds, DST, and leap minutes if they every become a thing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97131</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2023-10-30 15:37:29 +0000</bug_when>
    <thetext>Build move to 5.0 -- ../Randy</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98830</commentid>
    <comment_count>2</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2024-04-25 01:13:54 +0000</bug_when>
    <thetext>Bulk move of 5.0 medium importance issues to 5.99.
Move to 5.1 if you want to actively work on an issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98852</commentid>
    <comment_count>3</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2024-04-25 01:23:09 +0000</bug_when>
    <thetext>Move to 5.99 since no one is actively working on this issue.
Move to 5.x if you start on a task, please.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107140</commentid>
    <comment_count>4</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-10-21 07:30:59 +0000</bug_when>
    <thetext>Implemented and merged: https://git.openembedded.org/openembedded-core/commit/?id=537ee506b3cfd6ecc53315759763bd25ab38f63a</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>