From ee52db86af140da3c919476dcd1441acdc9e7600 Mon Sep 17 00:00:00 2001 From: selias Date: Wed, 9 Aug 2017 10:50:46 +0200 Subject: HC Test: cleanup test failures - have unnumbered interface cases use a real interface instead of local0 - add EXPECTED_FAILING tag and Jira link to known failing test cases Change-Id: I8bc0f4a74ea1949289a3f12dd54168acdf9edc39 Signed-off-by: selias --- .../mgmt-cfg-intip4-intip6-apihc-apivat-func.robot | 30 ++++++++++++++-------- 1 file changed, 19 insertions(+), 11 deletions(-) (limited to 'tests/vpp/func/honeycomb/mgmt-cfg-intip4-intip6-apihc-apivat-func.robot') diff --git a/tests/vpp/func/honeycomb/mgmt-cfg-intip4-intip6-apihc-apivat-func.robot b/tests/vpp/func/honeycomb/mgmt-cfg-intip4-intip6-apihc-apivat-func.robot index f0f6e4e6ad..2266509f61 100644 --- a/tests/vpp/func/honeycomb/mgmt-cfg-intip4-intip6-apihc-apivat-func.robot +++ b/tests/vpp/func/honeycomb/mgmt-cfg-intip4-intip6-apihc-apivat-func.robot @@ -14,6 +14,7 @@ *** Variables *** # Interface to run tests on. | ${interface}= | ${node['interfaces']['port1']['name']} +| ${interface2}= | ${node['interfaces']['port3']['name']} *** Settings *** | Resource | resources/libraries/robot/shared/default.robot @@ -218,16 +219,20 @@ | TC11: Honeycomb can configure unnumbered interface | | [Documentation] | Check if Honeycomb can configure an unnumbered interface\ -| | ... | on a physical interface, borrowing the IP address of 'local0'. +| | ... | on a physical interface, borrowing the IP address of another physical\ +| | ... | interface. | | ... +# CSIT-734: Intermittent failures of all unnumbered interface cases +| | [Tags] | EXPECTED_FAILING | | Given Honeycomb sets interface IPv4 address | ${node} -| | ... | local0 | ${ipv4_address} | ${ipv4_prefix} +| | ... | ${interface2} | ${ipv4_address} | ${ipv4_prefix} | | When Honeycomb adds unnumbered configuration to interface -| | ... | ${node} | ${interface} | local0 -| | Then IPv4 address from Honeycomb should be -| | ... | ${node} | local0 | ${ipv4_address} | ${ipv4_prefix} +| | ... | ${node} | ${interface} | ${interface2} +| | Then Wait until Keyword succeeds | 10s | 2s +| | ... | IPv4 address from Honeycomb should be +| | ... | ${node} | ${interface2} | ${ipv4_address} | ${ipv4_prefix} | | And IPv4 address from VAT should be -| | ... | ${node} | local0 | ${ipv4_address} +| | ... | ${node} | ${interface2} | ${ipv4_address} | | ... | ${ipv4_prefix} | ${ipv4_mask} | | And IPv4 address from Honeycomb should be | | ... | ${node} | ${interface} | ${ipv4_address} | ${ipv4_prefix} @@ -239,10 +244,12 @@ | | [Documentation] | Check if Honeycomb can remove unnumbered configuration\ | | ... | from an interface. | | ... +# CSIT-734: Intermittent failures of all unnumbered interface cases +| | [Tags] | EXPECTED_FAILING | | Given IPv4 address from Honeycomb should be -| | ... | ${node} | local0 | ${ipv4_address} | ${ipv4_prefix} +| | ... | ${node} | ${interface2} | ${ipv4_address} | ${ipv4_prefix} | | And IPv4 address from VAT should be -| | ... | ${node} | local0 | ${ipv4_address} +| | ... | ${node} | ${interface2} | ${ipv4_address} | | ... | ${ipv4_prefix} | ${ipv4_mask} | | And IPv4 address from Honeycomb should be | | ... | ${node} | ${interface} | ${ipv4_address} | ${ipv4_prefix} @@ -251,10 +258,11 @@ | | ... | ${ipv4_prefix} | ${ipv4_mask} | | When Honeycomb removes unnumbered configuration from interface | | ... | ${node} | ${interface} -| | Then IPv4 address from Honeycomb should be -| | ... | ${node} | local0 | ${ipv4_address} | ${ipv4_prefix} +| | Then Wait until Keyword succeeds | 10s | 2s +| | ... | IPv4 address from Honeycomb should be +| | ... | ${node} | ${interface2} | ${ipv4_address} | ${ipv4_prefix} | | And IPv4 address from VAT should be -| | ... | ${node} | local0 | ${ipv4_address} +| | ... | ${node} | ${interface2} | ${ipv4_address} | | ... | ${ipv4_prefix} | ${ipv4_mask} | | And IPv4 address from Honeycomb should be empty | ${node} | ${interface} | | And ipv4 address from VAT should be empty | ${node} | ${interface} -- cgit 1.2.3-korg