fix for setting mtu on ipip and gre interfaces in nmcli.py #9604
Build #20250123.25 had test failures
Details
- Failed: 26 (1.28%)
- Passed: 1,991 (97.74%)
- Other: 20 (0.98%)
- Total: 2,037
Annotations
Check failure on line 754 in Build log
azure-pipelines / CI
Build log #L754
Bash exited with code '1'.
Check failure on line 751 in Build log
azure-pipelines / CI
Build log #L751
Bash exited with code '1'.
Check failure on line 932 in Build log
azure-pipelines / CI
Build log #L932
Bash exited with code '1'.
Check failure on line 905 in Build log
azure-pipelines / CI
Build log #L905
Bash exited with code '1'.
Check failure on line 1 in test_ipip_connection_unchanged[patch_ansible_module0]
azure-pipelines / CI
test_ipip_connection_unchanged[patch_ansible_module0]
assert not True
Raw output
mocked_ipip_connection_unchanged = None
capfd = <_pytest.capture.CaptureFixture object at 0x71621cec9a58>
@pytest.mark.parametrize('patch_ansible_module', TESTCASE_IPIP, indirect=['patch_ansible_module'])
def test_ipip_connection_unchanged(mocked_ipip_connection_unchanged, capfd):
"""
Test : IPIP connection unchanged
"""
with pytest.raises(SystemExit):
nmcli.main()
out, err = capfd.readouterr()
results = json.loads(out)
assert not results.get('failed')
> assert not results['changed']
E assert not True
tests/unit/plugins/modules/test_nmcli.py:2911: AssertionError
Check failure on line 1 in test_gre_connection_unchanged[patch_ansible_module0]
azure-pipelines / CI
test_gre_connection_unchanged[patch_ansible_module0]
assert not True
Raw output
mocked_gre_connection_unchanged = None
capfd = <_pytest.capture.CaptureFixture object at 0x71621ced07b8>
@pytest.mark.parametrize('patch_ansible_module', TESTCASE_GRE, indirect=['patch_ansible_module'])
def test_gre_connection_unchanged(mocked_gre_connection_unchanged, capfd):
"""
Test : GRE connection unchanged
"""
with pytest.raises(SystemExit):
nmcli.main()
out, err = capfd.readouterr()
results = json.loads(out)
assert not results.get('failed')
> assert not results['changed']
E assert not True
tests/unit/plugins/modules/test_nmcli.py:3083: AssertionError
Check failure on line 1 in test_gre_connection_unchanged[patch_ansible_module0]
azure-pipelines / CI
test_gre_connection_unchanged[patch_ansible_module0]
assert not True
Raw output
mocked_gre_connection_unchanged = None
capfd = <_pytest.capture.CaptureFixture object at 0x7be73c19f0d0>
@pytest.mark.parametrize('patch_ansible_module', TESTCASE_GRE, indirect=['patch_ansible_module'])
def test_gre_connection_unchanged(mocked_gre_connection_unchanged, capfd):
"""
Test : GRE connection unchanged
"""
with pytest.raises(SystemExit):
nmcli.main()
out, err = capfd.readouterr()
results = json.loads(out)
assert not results.get('failed')
> assert not results['changed']
E assert not True
tests/unit/plugins/modules/test_nmcli.py:3083: AssertionError
Check failure on line 1 in test_ipip_connection_unchanged[patch_ansible_module0]
azure-pipelines / CI
test_ipip_connection_unchanged[patch_ansible_module0]
assert not True
Raw output
mocked_ipip_connection_unchanged = None
capfd = <_pytest.capture.CaptureFixture object at 0x7be73c213f90>
@pytest.mark.parametrize('patch_ansible_module', TESTCASE_IPIP, indirect=['patch_ansible_module'])
def test_ipip_connection_unchanged(mocked_ipip_connection_unchanged, capfd):
"""
Test : IPIP connection unchanged
"""
with pytest.raises(SystemExit):
nmcli.main()
out, err = capfd.readouterr()
results = json.loads(out)
assert not results.get('failed')
> assert not results['changed']
E assert not True
tests/unit/plugins/modules/test_nmcli.py:2911: AssertionError