From 44dc1d4781470b722c5f7d5adb197ace96b96db3 Mon Sep 17 00:00:00 2001 From: Jan Gelety Date: Wed, 8 Feb 2017 12:51:31 +0100 Subject: Introduce simple VAT history per test case - print list of VAT commands executed per DUT node during the test case in the func test teardown Change-Id: I18a750ebfb7560eff9f5c4f0826ef84c3f64b4a8 Signed-off-by: Jan Gelety --- ...h2p-ethip4vxlan-l2bdbasemaclrn-eth-2vhost-1vm-func.robot | 13 +++++-------- ...h2p-ethip6vxlan-l2bdbasemaclrn-eth-2vhost-1vm-func.robot | 13 +++++-------- 2 files changed, 10 insertions(+), 16 deletions(-) (limited to 'tests/func/vxlan') diff --git a/tests/func/vxlan/eth2p-ethip4vxlan-l2bdbasemaclrn-eth-2vhost-1vm-func.robot b/tests/func/vxlan/eth2p-ethip4vxlan-l2bdbasemaclrn-eth-2vhost-1vm-func.robot index 357f339a7c..5e277a3200 100644 --- a/tests/func/vxlan/eth2p-ethip4vxlan-l2bdbasemaclrn-eth-2vhost-1vm-func.robot +++ b/tests/func/vxlan/eth2p-ethip4vxlan-l2bdbasemaclrn-eth-2vhost-1vm-func.robot @@ -21,7 +21,11 @@ | Library | resources.libraries.python.Trace | Force Tags | 3_NODE_SINGLE_LINK_TOPO | VM_ENV | HW_ENV | VPP_VM_ENV | Test Setup | Func Test Setup -| Test Teardown | Func Test Teardown +| Test Teardown | Run Keywords | Func Test Teardown +| ... | AND | Run keyword | Qemu Teardown | ${dut1_node} +| ... | ${${qemu1}} | ${qemu1} +| ... | AND | Run keyword | Qemu Teardown | ${dut2_node} +| ... | ${${qemu2}} | ${qemu2} | Documentation | *L2BD with VM combined with VXLAN test cases - IPv4* | ... | ... | *[Top] Network topologies:* TG-DUT1-DUT2-TG 3-node circular topology @@ -110,10 +114,3 @@ | | ... | ${dut2s_vxlan} | ${${dut2_vhost2}} | | Then Send and receive ICMPv4 bidirectionally | | ... | ${tg_node} | ${tg_to_dut1} | ${tg_to_dut2} -| | [Teardown] | Run Keywords | Show Packet Trace on All DUTs | ${nodes} -| | ... | AND | Show vpp trace dump on all DUTs -| | ... | AND | Run keyword | Qemu Teardown | ${dut1_node} -| | ... | ${${qemu1}} | ${qemu1} -| | ... | AND | Run keyword | Qemu Teardown | ${dut2_node} -| | ... | ${${qemu2}} | ${qemu2} -| | ... | AND | Check VPP PID in Teardown diff --git a/tests/func/vxlan/eth2p-ethip6vxlan-l2bdbasemaclrn-eth-2vhost-1vm-func.robot b/tests/func/vxlan/eth2p-ethip6vxlan-l2bdbasemaclrn-eth-2vhost-1vm-func.robot index 19846294a3..25b457c135 100644 --- a/tests/func/vxlan/eth2p-ethip6vxlan-l2bdbasemaclrn-eth-2vhost-1vm-func.robot +++ b/tests/func/vxlan/eth2p-ethip6vxlan-l2bdbasemaclrn-eth-2vhost-1vm-func.robot @@ -21,7 +21,11 @@ | Library | resources.libraries.python.Trace | Force Tags | 3_NODE_SINGLE_LINK_TOPO | VM_ENV | HW_ENV | Test Setup | Func Test Setup -| Test Teardown | Func Test Teardown +| Test Teardown | Run Keywords | Func Test Teardown +| ... | AND | Run keyword | Qemu Teardown | ${dut1_node} +| ... | ${${qemu1}} | ${qemu1} +| ... | AND | Run keyword | Qemu Teardown | ${dut2_node} +| ... | ${${qemu2}} | ${qemu2} | Documentation | *L2BD with VM combined with VXLAN test cases - IPv6* | ... | ... | *[Top] Network topologies:* TG-DUT1-DUT2-TG 3-node circular topology @@ -111,10 +115,3 @@ | | ... | ${dut2s_vxlan} | ${${dut2_vhost2}} | | Then Send and receive ICMPv6 bidirectionally | | ... | ${tg_node} | ${tg_to_dut1} | ${tg_to_dut2} -| | [Teardown] | Run Keywords | Show Packet Trace on All DUTs | ${nodes} -| | ... | AND | Show vpp trace dump on all DUTs -| | ... | AND | Run keyword | Qemu Teardown | ${dut1_node} -| | ... | ${${qemu1}} | ${qemu1} -| | ... | AND | Run keyword | Qemu Teardown | ${dut2_node} -| | ... | ${${qemu2}} | ${qemu2} -| | ... | AND | Check VPP PID in Teardown -- cgit 1.2.3-korg