[tahoe-lafs-trac-stream] [Tahoe-LAFS] #3748: Fix Python 3 testing for Nix Packaging

Tahoe-LAFS trac at tahoe-lafs.org
Tue Jul 20 18:14:01 UTC 2021


#3748: Fix Python 3 testing for Nix Packaging
---------------------+---------------------------
 Reporter:  maylee   |          Owner:
     Type:  defect   |         Status:  new
 Priority:  normal   |      Milestone:  undecided
Component:  unknown  |        Version:  n/a
 Keywords:           |  Launchpad Bug:
---------------------+---------------------------
 A new Tahoe-LAFS package for Nix is here:

 https://github.com/aaronjanse/nixpkgs/tree/aj2021jul-tahoe

 However, there are issues with tests. Specifically, Nix runs tests in a
 chroot without internet access, which breaks tests like
 `test_listen_on_zero_with_host`

 It is suggested that we should fix, delete, or somehow mark as needing
 special attention any unit tests that require internet access to pass.
 However, to prevent blocking the Nix packaging work, the names of any such
 tests should be added to this ticket so it's easier for someone to address
 the issue later.

 In the meantime, could the Nix packaging mark them to be skipped (or
 deleting them or whatever the prevailing Nix convention for dealing with
 such things is now).

 Additionally, it's been noted that `test_listen_on_zero_with_host` is
 already marked as "todo".  Does it still manage to fail in the Nix build
 environment somehow?  "todo" is supposed to mean "it will fail but the
 test suite should still be considered passing".

 `test_ported_modules_exist` was a useful tool during the Python 3 porting
 process but since that has largely concluded at this point perhaps that
 test (and ... even ... the whole `test_python3.py` module?) could be
 removed.

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3748>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list