]> git.ipfire.org Git - thirdparty/samba.git/commit
python/samba/tests: Remove DCs joined to test samba-tool behaviour
authorAndrew Bartlett <abartlet@samba.org>
Fri, 18 Jun 2021 08:46:51 +0000 (20:46 +1200)
committerGary Lockyer <gary@samba.org>
Mon, 21 Jun 2021 00:58:31 +0000 (00:58 +0000)
commite9e6d1569b6fba787288d456a285448208b06eec
treec2b6f0c9b61f8e53de50a61c5f766959464b9098
parent84de4eb19e5f72550fbef52e22ff7b063d735638
python/samba/tests: Remove DCs joined to test samba-tool behaviour

Otherwise we have the live DCs spamming the logs looking for the
long-gone test servers:

Failed to connect host fd00::5357:5f0b on port 135 - NT_STATUS_OBJECT_NAME_NOT_FOUND
Failed to connect host fd00::5357:5f0b (6f44653d-18c8-4bf4-b2e7-6f85cf7b0f74._msdcs.addom.samba.example.com) on port 135 - NT_STATUS_OBJECT_NAME_NOT_FOUND.
Failed to connect host 10.53.57.11 on port 135 - NT_STATUS_OBJECT_NAME_NOT_FOUND
Failed to connect host 10.53.57.11 (6f44653d-18c8-4bf4-b2e7-6f85cf7b0f74._msdcs.addom.samba.example.com) on port 135 - NT_STATUS_OBJECT_NAME_NOT_FOUND.
Failed to connect host 10.53.57.12 on port 135 - NT_STATUS_OBJECT_NAME_NOT_FOUND

This avoids spamming the GitLab pipeline logs with a lot of noise,
as there is a size limit to the output, as well as being cleaner.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
python/samba/tests/domain_backup_offline.py
python/samba/tests/samba_tool/base.py
python/samba/tests/samba_tool/join_lmdb_size.py
python/samba/tests/samba_tool/promote_dc_lmdb_size.py