Re: [Enigmail] test suite failures when network is flakey

Patrick Brunschwig <[email protected]> Tue, 14 Apr 2020 11:43:39 +0200
Newsgroups gmane.comp.mozilla.enigmail.general
Message-ID <[email protected]>
Daniel Kahn Gillmor wrote on 13.04.2020 19:12:
> Hi Enigmail folks--
> 
> https://bugs.debian.org/954268 indicates that when the Internet
> connection is flakey, enigmail's tests can sometimes fail or timeout in
> unreliable ways.
> 
> It would be great if we could update the tests so that they could cope
> with an unreliable network.
> 
> If anyone wants to suggest a simple way to do that, i could take a stab
> at writing a patch, but i'm not sure where to begin.

The test suite only needs a network to download Thunderbird and and the
required Debian packages. There is no network access required for
running any test; in particular, the test suite contains no request to
any keyserver or similar.

You mentioned the following line in the log:
> 2020-02-26 18:05:54.188 [DEBUG] keyRefreshService.jsm: Either no
keyservers exist or the protocols specified are invalid. Will recheck in
an hour.

This has nothing to do with network access from the test suite. The
correct interpretation of such Debug log entries is the following:

The test suite is running so long that the usual key refresh service is
becoming active. However, there is no valid configured keyserver, thus
the service  doesn't do anything. It will retry in an hour to see if
there is a configured keyserver.


I checked the log file, and I believe that the problem is in the
infrastructure. There are error messages from GnuPG that I would expect
under normal circumstances. The first suspicious log entry is this one:
2020-02-26 17:05:06.247

All of a sudden, GnuPG cannot access pubring.kbx anymore, and thus the
test fail. I assume that some test cases don't foresee such errors and
get stuck.

HTH
-Patrick

_______________________________________________
enigmail-users mailing list
[email protected]
To unsubscribe or make changes to your subscription click here:
https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net
signature.asc (application/pgp-signature, 802 B)
-----BEGIN PGP SIGNATURE-----

wsFcBAEBCAAGBQJelYXMAAoJENsRh7ndX2k7OzQP/Aiai2R9U/I3HULDiEy5
df8pl7XuDsDr8SvhVBJOQTBRCLCktzuFte4Hbh/MXO/8kp3Pwlc18cuoJmLc
4MXCeJjCyUXJNT7RgdMui5boAPmFtGsBTqf2+J3zb5VhmtIvzOVkyuk8Evbz
30pEaV2G12+Ibk57lkVG1Me5VcqTyZdoSL8Q8DEGgT1WJe1YQk2Xh/v4PklI
IOxaa1AsilqyUkeXehPewpTFGzG09U14diEuZbFs6fmSc6/NxTRdrSHWw63K
5+ZE/i8YlnNLu6WKYBA4MTrKDfBtQh9ayJf2nGNOKDjMkS1Yenv+nE9cog2x
zhZ7WbuU05m9usNJMyP85zHsEL8zGD1mAqVKOWwKfGkDyKQfd13cDIqRgphB
01gyKJ7ssgvnlmHcNRDULgBonGIRT5V8egwQAtEKvtdjempCVfc1IVdyGSga
bPaOsYjTAtXsSCSq54mOjU4dKDWnci8FlgOg8WfmAkD67BzIJMdnBW+CG2nz
4QxtC53qPrAdGMyr7axhPLUdUdAYPI09ppr8pp6E+daHqs1mdFivGZeF14lq
q2hC8vZP8YOMWvgtsRxdGsfzcFkpN33Ay2koFoR9/LmbViCO4vdimg0ep3vF
7dyJfEJ3DFOgHFq+TuRjwMrHT8bLNBY2BFy/24nCrdUjmEJedJyo+rR4kxXg
cVia
=KX1/
-----END PGP SIGNATURE-----