SIGN IN SIGN UP

tests: regenerate eth2 veth after HSR tests

nmstate copy_hsr_mac() sets cloned-mac-address on HSR PRP port
NM profiles but does not clean it up on removal, leaving eth1
and eth2 with identical MACs for the rest of the test session.
This causes ~50% failure rate in test_description_on_down_interface_ref_by_mac.

Add a module-scoped autouse fixture to hsr_test.py that regenerates
the eth2 veth pair after HSR tests, restoring a unique MAC.

Signed-off-by: Vladimír Beneš <vbenes@redhat.com>
V
Vladimír Beneš committed
029a610c0980e408a1059db8e340e5b4e0946f53
Parent: 44bf4b5
Committed by Íñigo Huguet <ihuguet@riseup.net> on 4/28/2026, 1:49:31 PM