GNU bug report logs - #73664
libtorrent-rasterbar@1.2: failure in test_ssl

Previous Next

Package: guix-patches;

Reported by: Tomas Volf <~@wolfsden.cz>

Date: Sun, 6 Oct 2024 16:13:02 UTC

Severity: normal

Tags: patch

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Tomas Volf <~@wolfsden.cz>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: 73664 <at> debbugs.gnu.org
Subject: [bug#73664] [PATCH] gnu: libtorrent-rasterbar: Work around hang in test_ssl.
Date: Sat, 01 Feb 2025 12:10:03 +0100
[Message part 1 (text/plain, inline)]
Hi,

Maxim Cournoyer <maxim.cournoyer <at> gmail.com> writes:

> reopen 73664
> retitle 73664 libtorrent-rasterbar: non-deterministic failures in test_ssl
> quit
>
> Hi Tomas,
>
> Tomas Volf <~@wolfsden.cz> writes:
>
>> With the release of 2.0.11, the SSL certificates used for tests are valid for
>> long enough time (~end of year 2297) to no longer require faketime.  With the
>> removal of faketime, the explicit timeout is also no longer required, since it
>> does not hang anymore.
>>
>> This gives us back the validation that SSL works.
>
> It builds for me locally, but the CI encountered problems:
>
> https://ci.guix.gnu.org/build/8981901/details
>
> I'm not sure there seems to be a substitute available for it, but this
> is worrying.  I think I'll revert, or leave it disabled with a note of
> potential non-determistic failures with it.

Notice the build failure is for libtorrent-rasterbar <at> 1.2 (the
libtorrent-rasterbar-1.2 variable).  My patch updated
libtorrent-rasterbar <at> 2 to 2.0.11 (the libtorrent-rasterbar variable).

So this is my fault, I did not realize that libtorrent-rasterbar-1.2
inherits from libtorrent-rasterbar, so the change in check phase will
affect both.  Sorry about that.

Luckily there is a new release (1.2.20) which seems to contain the
extension of certificate expiry.  After breakfast I will do the update,
test it and send a patch here.

Tomas

-- 
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 166 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.