Bug#961064: reprotest: use of faketime causes newly created file to have very old modified time

Holger Levsen holger at layer-acht.org
Wed May 20 09:08:21 BST 2020


control: retitle -1 reprotest: should not default to vary time and date
thanks

Hi James,

thanks for your bug report!

On Tue, May 19, 2020 at 02:49:58PM -0400, James Valleroy wrote:
> time(): 1631998736
> touch($cacheFile);
> clearstatcache();  // has no effect
> filemtime($cacheFile): 1589907896
> touch("debug-reprotest");  // a new file, see that it behaves the same way
> filemtime("debug-reprotest"): 1589907896
> 
> The difference between time() and filemtime($cacheFile) is 487+ days,
> the same value is shown passed to faketime in the log.

I'm not sure if this is a bug in reprotest or faketime, however we know about
several scenarios where faketime breaks stuff, thus reprotest should not
vary time and date by default, so that reprotest can be run more easily
and more successfullly in CI tests.

Maybe it's worth to clone this bug and fix the underlying issue too, dunno.


-- 
cheers,
	Holger

-------------------------------------------------------------------------------
               holger@(debian|reproducible-builds|layer-acht).org
       PGP fingerprint: B8BF 5413 7B09 D35C F026 FE9D 091A B856 069A AA1C

There are no jobs on a dead planet.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-builds/attachments/20200520/bb933ef7/attachment.sig>


More information about the Reproducible-builds mailing list