diff options
author | selias <samelias@cisco.com> | 2017-08-09 10:50:46 +0200 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2017-08-15 11:00:41 +0000 |
commit | ee52db86af140da3c919476dcd1441acdc9e7600 (patch) | |
tree | 9568f5180e6a2ff9b3e27219ba7de3a0bf9d8691 /tests/vpp/func/honeycomb/mgmt-cfg-int-subint-apihc-apivat-func.robot | |
parent | 8cde871103a51013f3bd775d453c48ba6deebca5 (diff) |
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 <samelias@cisco.com>
Diffstat (limited to 'tests/vpp/func/honeycomb/mgmt-cfg-int-subint-apihc-apivat-func.robot')
-rw-r--r-- | tests/vpp/func/honeycomb/mgmt-cfg-int-subint-apihc-apivat-func.robot | 41 |
1 files changed, 22 insertions, 19 deletions
diff --git a/tests/vpp/func/honeycomb/mgmt-cfg-int-subint-apihc-apivat-func.robot b/tests/vpp/func/honeycomb/mgmt-cfg-int-subint-apihc-apivat-func.robot index a37f538d2d..b1a4304f87 100644 --- a/tests/vpp/func/honeycomb/mgmt-cfg-int-subint-apihc-apivat-func.robot +++ b/tests/vpp/func/honeycomb/mgmt-cfg-int-subint-apihc-apivat-func.robot @@ -19,9 +19,7 @@ | Resource | resources/libraries/robot/honeycomb/interfaces.robot | Variables | resources/test_data/honeycomb/sub_interfaces.py | ... -| Suite Setup | Run Keywords -| ... | Set Up Honeycomb Functional Test Suite | ${node} | AND -| ... | Add Interface local0 To Topology | ${node} +| Suite Setup | Set Up Honeycomb Functional Test Suite | ${node} | ... | Suite Teardown | Tear Down Honeycomb Functional Test Suite | ${node} | ... @@ -471,20 +469,22 @@ | TC22: Honeycomb can configure unnumbered sub-interface | | [Documentation] | Check if Honeycomb can configure an unnumbered interface\ -| | ... | on a sub-interface, borrowing the IP address of 'local0'. +| | ... | on a sub-interface, borrowing the IP address of a physical interface. | | ... +# CSIT-734: Intermittent failures of all unnumbered interface cases +| | [Tags] | EXPECTED_FAILING | | Given sub-interface ipv4 address from Honeycomb should be empty | | ... | ${node} | ${super_if} | ${sub_if_id} | | And sub-interface ipv4 address from VAT should be empty | | ... | ${node} | ${sub_if_name} | | And Honeycomb sets interface IPv4 address | ${node} -| | ... | local0 | ${ipv4['address']} | ${ipv4['prefix-length']} +| | ... | ${super_if2} | ${ipv4['address']} | ${ipv4['prefix-length']} | | When Honeycomb adds unnumbered configuration to interface -| | ... | ${node} | ${super_if}.${sub_if_id} | local0 +| | ... | ${node} | ${super_if}.${sub_if_id} | ${super_if2} | | Then IPv4 address from Honeycomb should be -| | ... | ${node} | local0 | ${ipv4['address']} | ${ipv4['prefix-length']} +| | ... | ${node} | ${super_if2} | ${ipv4['address']} | ${ipv4['prefix-length']} | | And IPv4 address from VAT should be -| | ... | ${node} | local0 +| | ... | ${node} | ${super_if2} | | ... | ${ipv4['address']} | ${ipv4['prefix-length']} | ${ipv4['netmask']} | | And sub-interface ipv4 address from Honeycomb should be | | ... | ${node} | ${super_if} | ${sub_if_id} @@ -497,13 +497,15 @@ | | [Documentation] | Check if Honeycomb can remove unnumbered configuration\ | | ... | from a sub-interface. | | ... +# CSIT-734: Intermittent failures of all unnumbered interface cases +| | [Tags] | EXPECTED_FAILING | | [Teardown] | Honeycomb removes interface IPv4 addresses | ${node} -| | ... | local0 +| | ... | ${super_if2} | | ... | | Given IPv4 address from Honeycomb should be -| | ... | ${node} | local0 | ${ipv4['address']} | ${ipv4['prefix-length']} +| | ... | ${node} | ${super_if2} | ${ipv4['address']} | ${ipv4['prefix-length']} | | And IPv4 address from VAT should be -| | ... | ${node} | local0 +| | ... | ${node} | ${super_if2} | | ... | ${ipv4['address']} | ${ipv4['prefix-length']} | ${ipv4['netmask']} | | And sub-interface ipv4 address from Honeycomb should be | | ... | ${node} | ${super_if} | ${sub_if_id} @@ -514,9 +516,9 @@ | | When Honeycomb removes unnumbered configuration from interface | | ... | ${node} | ${super_if}.${sub_if_id} | | Then IPv4 address from Honeycomb should be -| | ... | ${node} | local0 | ${ipv4['address']} | ${ipv4['prefix-length']} +| | ... | ${node} | ${super_if2} | ${ipv4['address']} | ${ipv4['prefix-length']} | | And IPv4 address from VAT should be -| | ... | ${node} | local0 +| | ... | ${node} | ${super_if2} | | ... | ${ipv4['address']} | ${ipv4['prefix-length']} | ${ipv4['netmask']} | | And sub-interface ipv4 address from Honeycomb should be empty | | ... | ${node} | ${super_if} | ${sub_if_id} @@ -526,9 +528,10 @@ | TC24: Honeycomb can configure unnumbered interface using a sub-interface | | [Documentation] | Check if Honeycomb can configure an unnumbered interface\ | | ... | on an interface, borrowing the IP address of a sub-interface. -| | ... -| | Given IPv4 address from Honeycomb should be empty | ${node} | local0 -| | And ipv4 address from VAT should be empty | ${node} | local0 +| | ...# CSIT-734: Intermittent failures of all unnumbered interface cases +| | [Tags] | EXPECTED_FAILING +| | Given IPv4 address from Honeycomb should be empty | ${node} | ${super_if2} +| | And ipv4 address from VAT should be empty | ${node} | ${super_if2} | | And sub-interface ipv4 address from Honeycomb should be empty | | ... | ${node} | ${super_if} | ${sub_if_id} | | And sub-interface ipv4 address from VAT should be empty @@ -537,11 +540,11 @@ | | ... | ${node} | ${super_if} | ${sub_if_id} | | ... | ${ipv4['address']} | ${ipv4['prefix-length']} | | When Honeycomb adds unnumbered configuration to interface -| | ... | ${node} | local0 | ${super_if}.${sub_if_id} +| | ... | ${node} | ${super_if2} | ${super_if}.${sub_if_id} | | Then IPv4 address from Honeycomb should be -| | ... | ${node} | local0 | ${ipv4['address']} | ${ipv4['prefix-length']} +| | ... | ${node} | ${super_if2} | ${ipv4['address']} | ${ipv4['prefix-length']} | | And IPv4 address from VAT should be -| | ... | ${node} | local0 +| | ... | ${node} | ${super_if2} | | ... | ${ipv4['address']} | ${ipv4['prefix-length']} | ${ipv4['netmask']} | | And sub-interface ipv4 address from Honeycomb should be | | ... | ${node} | ${super_if} | ${sub_if_id} |