Description
Almost all Testinfra tests fail when connecting to servers over LAN instead of over Tor, in some cases.
Steps to Reproduce
Fresh or upgraded installation of SecureDrop 2.14.0-rc1 on Tails 7.4.1/2
NUC server hardware 12/13/14/15
Expected Behavior
cd Persistent/securedrop
sudo apt install -y python3.13-venv
python3 -m venv admin/.venv3 && source admin/.venv3/bin/activate
torify pip install -r admin/requirements-testinfra.txt
TEST_ENV=prod devops/scripts/run_prod_testinfra
Most tests should run and pass, even if using ssh-over-lan
Actual Behavior
Almost all Testinfra tests fail:
424 failed, 2 passed, 8 skipped, 4 xfailed in 6.61s
All the failures report ValueError: s argument must not be None
Two passed tests:
common/test_platform.py::test_ansible_version on app and mon respectively.
testinfraoutput.log
Comments
This was observed independently by both myself and @nathandyer during QA for 2.14.0 here: #7768
Description
Almost all Testinfra tests fail when connecting to servers over LAN instead of over Tor, in some cases.
Steps to Reproduce
Fresh or upgraded installation of SecureDrop 2.14.0-rc1 on Tails 7.4.1/2
NUC server hardware 12/13/14/15
Expected Behavior
Most tests should run and pass, even if using ssh-over-lan
Actual Behavior
Almost all Testinfra tests fail:
424 failed, 2 passed, 8 skipped, 4 xfailed in 6.61sAll the failures report
ValueError: s argument must not be NoneTwo passed tests:
common/test_platform.py::test_ansible_versiononappandmonrespectively.testinfraoutput.log
Comments
This was observed independently by both myself and @nathandyer during QA for 2.14.0 here: #7768