Tests: Refactor tearDown show command logging, add lifecycle markers. 69/18269/6
authorPaul Vinciguerra <pvinci@vinciconsulting.com>
Wed, 13 Mar 2019 16:23:05 +0000 (09:23 -0700)
committerOle Trøan <otroan@employees.org>
Thu, 11 Apr 2019 07:23:11 +0000 (07:23 +0000)
commit90cf21b5d8fd2d3e531e841dcd752311df5f8a50
tree36093100dca0c3ec70e199fc9648ca816fd5c628
parent7c91007e1e13b56a29236bd076891709eaa21754
Tests: Refactor tearDown show command logging, add lifecycle markers.

This change adds a consistent interface for adding test-specific show commands to
log.txt.

It also adds log markers for the execution of setUp[Class], tearDown[Class]
in the logs.

Change-Id: I7d42e396e594a59e866a7d55dac0af25548e657a
Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
35 files changed:
test/framework.py
test/template_ipsec.py
test/test_acl_plugin.py
test/test_acl_plugin_conns.py
test/test_acl_plugin_l2l3.py
test/test_acl_plugin_macip.py
test/test_bond.py
test/test_classifier.py
test/test_classifier_ip6.py
test/test_classify_l2_acl.py
test/test_container.py
test/test_geneve.py
test/test_gtpu.py
test/test_ip4.py
test/test_ip4_irb.py
test/test_ip4_vrf_multi_instance.py
test/test_ip6_vrf_multi_instance.py
test/test_ip_ecmp.py
test/test_ipsec_esp.py
test/test_l2_fib.py
test/test_l2bd_arp_term.py
test/test_l2xc.py
test/test_l2xc_multi_instance.py
test/test_lb.py
test/test_nat.py
test/test_ping.py
test/test_pppoe.py
test/test_reassembly.py
test/test_span.py
test/test_vcl.py
test/test_vtr.py
test/test_vxlan.py
test/test_vxlan6.py
test/test_vxlan_gbp.py
test/test_vxlan_gpe.py