Your message dated Fri, 17 Jan 2025 13:34:04 +0000
with message-id <[email protected]>
and subject line Bug#1093153: fixed in faketime 0.9.10+2024-06-05+gba9ed5b2-0.1
has caused the Debian Bug report #1093153,
regarding xapian-omega autopkgtests and faketime on 32-bit
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1093153: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1093153
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: xapian-omega
Version: 1.4.25-2
Severity: serious
Justification: preventing migration of fixed faketime on 32-bit arches

Hi.

xapian-omega uses faketime in its tests.  (`omegatest.pl`, starting
nearl l.565.)  The 32?64-bit time_t transition broke faketime
completely on 32-bit platforms for reasons relating to the libc's
kernel API usage  (#1064555  #1032177 and duplicates.)

I recently NMU'd faketime to try to fix this.  The NMU fixes the
principal calls (so, for example, `faketime date` now works on 32-bit)
but at least some APIs are not properly faked.  statx(?) is one such,
#1063820, but there may be others.

It seems that current faketime in sid is capable of persuading
xapian-omega's upstream tests that faketime is working, but does not
actually manage to fake it well enough:

 40s   expected: «Query((Y2000 ... Y2014 OR M201501 ...
 40s   received: «Query((Y2000 ... Y2024 OR D20250101 ...

Here's a full log of a failure:
  https://ci.debian.net/packages/x/xapian-omega/testing/armel/56459429/

The test script has code in it to try to detected a busted faketime,
but it evidently doesn't faithfully test the calls actually used by
the software under test.

As a result, the tests now fail.  Previously, I presume, they
currently detected that faketime was completely broken, and skipped
those tests.

Would it be possible to gate these tests on a more faithful test?
I'm not sure what that would look like because I don't know
xapian-omega at all.

One stopgap might be to gate the tests with stat(1) as well as
date(1).  faketime is supposed to clamp file timestamps so they don't
look like they're from the future.  So statting any file created
during the build or the tests, with a very old faked time, would
suffice.  If xapian-omega is using file timestamps, this would
possibly even be arguably correct.

Failing that, we could perhaps ask the release time to allow the new
faketime to migrate anyway.  But that would mean that *other*
regressions of xapian-omega on 32-bit platforms wouldn't count as a
regression.  So it would be best to skip this.

AFAICT from tracker.d.o xapian-omega is the only package which is
troubled in this way.

I regret the need to file this bug at such a high severity.  I do this
because quite a few other packages use faketime in their tests, and
currently those tests are all broken.  Allowing the new faketime to
migrate, despite the missing interposition for stat, would be a
significant improvement.  I'm hoping you'll agree.

FTR, IMO if this bug gets anywhere near triggering autoremoval of
xapian-omega, we should do something less drastic instead.

Thanks,
Ian.

-- 
Ian Jackson <[email protected]>   These opinions are my own.  

Pronouns: they/he.  If I emailed you from @fyvzl.net or @evade.org.uk,
that is a private address which bypasses my fierce spamfilter.

--- End Message ---
--- Begin Message ---
Source: faketime
Source-Version: 0.9.10+2024-06-05+gba9ed5b2-0.1
Done: Ian Jackson <[email protected]>

We believe that the bug you reported is fixed in the latest version of
faketime, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ian Jackson <[email protected]> (supplier of updated faketime 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 17 Jan 2025 13:17:41 +0000
Source: faketime
Architecture: source
Version: 0.9.10+2024-06-05+gba9ed5b2-0.1
Distribution: unstable
Urgency: medium
Maintainer: Daniel Kahn Gillmor <[email protected]>
Changed-By: Ian Jackson <[email protected]>
Closes: 1063820 1093153
Changes:
 faketime (0.9.10+2024-06-05+gba9ed5b2-0.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Update to new upstream version from unreleased git, ba9ed5b2898f234c.
     Fixes stat(1) and ls(1).  Closes: #1063820.  [Report from Dalton Durst]
   * Interpose __time64 too, to fix 32-bit platforms.
     Closes: #1093153.  [Assistance from Olly Betts]
   * Interpose gettimeofday64 too.
   * Add an autopkgtest for a normally-built C program.
Checksums-Sha1:
 1785a3244be9b3308462f5c73762e0de19da54ff 1900 
faketime_0.9.10+2024-06-05+gba9ed5b2-0.1.dsc
 54c40ebf325609ea3a7a242ed7bea0df9c1f961e 76744 
faketime_0.9.10+2024-06-05+gba9ed5b2.orig.tar.xz
 04017ccaff2592925d5a7114c23b688df8cc3bfd 9200 
faketime_0.9.10+2024-06-05+gba9ed5b2-0.1.debian.tar.xz
Checksums-Sha256:
 4a8898b20fada0eeee2c990d7c504fcef13f6dc00897139f5ee3471e682dba65 1900 
faketime_0.9.10+2024-06-05+gba9ed5b2-0.1.dsc
 879597d9b3469b062314dbac70b2dd3b393053086772999ed94401b8ddb412de 76744 
faketime_0.9.10+2024-06-05+gba9ed5b2.orig.tar.xz
 7c2d4cf96463d3342358bd9353541fb9b7ab074e288327176465b2d8b63c3dc3 9200 
faketime_0.9.10+2024-06-05+gba9ed5b2-0.1.debian.tar.xz
Files:
 1e719f15d3067c923a6384c509e16323 1900 utils optional 
faketime_0.9.10+2024-06-05+gba9ed5b2-0.1.dsc
 dcf84600f6deb93b3eef1d51942f9d3a 76744 utils optional 
faketime_0.9.10+2024-06-05+gba9ed5b2.orig.tar.xz
 b4640d68cc8e6cf8a031adebbdf5414c 9200 utils optional 
faketime_0.9.10+2024-06-05+gba9ed5b2-0.1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEVZrkbC1rbTJl58uh4+M5I0i1DTkFAmeKWRcACgkQ4+M5I0i1
DTk1kAgAt64OxFw5Ktr53+xYo/emYFyNddIYif/WTgJKgK1NDi3i1ULuYxeRqbQl
vhLJxrgef5RE67/6gFguYQbE2sKo3DZKC61XFS0m4gUUqWhTSlrnv5ry3V2g5219
NkdeCIxWSLH0KPz/ZhkjuXZaOjA3+8PTModNV3q9/GIK1cFXl5jxW9K8Lr2thYo4
vsjTxwLpq32vCwle/jNbAsWvEikc/39ZQkgAw4u0dsuNIyxwGgU9/VlGibnhzfSg
qPdOa9SNbFD+5cmntiHe080UwDDQfOIddV9OCPN87Q0FqdVK9T6Pkvw5oRtH0YAw
DI82VET/gzy8RcMFEpnt7c+T+l7KLw==
=RQLm
-----END PGP SIGNATURE-----

Attachment: pgpZVucVQOPFc.pgp
Description: PGP signature


--- End Message ---

Reply via email to