The phase1 and phase2 regression tests now take an optional alias
nperf_confidence with default value 99,5.
This patch also enhances how the timeout for netperf test is calculated.
The value is now (netperf_duration + nperf_reserve)*nperf_max_runs. The
value of nperf_max_runs is taken from nperf_confidence alias.
Signed-off-by: Jan Tluka <jtluka(a)redhat.com>
---
recipes/regression_tests/phase1/3_vlans.py | 26 +++++++++---------
recipes/regression_tests/phase1/3_vlans.xml | 1 +
.../regression_tests/phase1/3_vlans_over_bond.py | 26 +++++++++---------
recipes/regression_tests/phase1/bonding_test.py | 26 +++++++++---------
.../phase1/virtual_bridge_2_vlans_over_bond.py | 30 +++++++++++----------
.../phase1/virtual_bridge_vlan_in_guest.py | 30 +++++++++++----------
.../phase1/virtual_bridge_vlan_in_host.py | 31 ++++++++++++----------
.../regression_tests/phase2/3_vlans_over_team.py | 27 ++++++++++---------
recipes/regression_tests/phase2/team_test.py | 22 ++++++++-------
...l_ovs_bridge_2_vlans_over_active_backup_bond.py | 30 +++++++++++----------
.../phase2/virtual_ovs_bridge_vlan_in_guest.py | 30 +++++++++++----------
.../phase2/virtual_ovs_bridge_vlan_in_host.py | 30 +++++++++++----------
12 files changed, 166 insertions(+), 143 deletions(-)
diff --git a/recipes/regression_tests/phase1/3_vlans.py
b/recipes/regression_tests/phase1/3_vlans.py
index 2be04e7..6e04f67 100644
--- a/recipes/regression_tests/phase1/3_vlans.py
+++ b/recipes/regression_tests/phase1/3_vlans.py
@@ -43,6 +43,8 @@ ipv = ctl.get_alias("ipv")
mtu = ctl.get_alias("mtu")
netperf_duration = int(ctl.get_alias("netperf_duration"))
nperf_reserve = int(ctl.get_alias("nperf_reserve"))
+nperf_confidence = ctl.get_alias("nperf_confidence")
+nperf_max_runs = int(nperf_confidence.split(",")[1])
m1_phy1 = m1.get_interface("eth1")
m1_phy1.set_mtu(mtu)
@@ -81,28 +83,28 @@ netperf_cli_tcp = ctl.get_module("Netperf",
"role" : "client",
"duration" : netperf_duration,
"testname" : "TCP_STREAM",
- "confidence" : "99,5"
+ "confidence" : nperf_confidence
})
netperf_cli_udp = ctl.get_module("Netperf",
options={
"role" : "client",
"duration" : netperf_duration,
"testname" : "UDP_STREAM",
- "confidence" : "99,5"
+ "confidence" : nperf_confidence
})
netperf_cli_tcp6 = ctl.get_module("Netperf",
options={
"role" : "client",
"duration" : netperf_duration,
"testname" : "TCP_STREAM",
- "confidence" : "99,5"
+ "confidence" : nperf_confidence
})
netperf_cli_udp6 = ctl.get_module("Netperf",
options={
"role" : "client",
"duration" : netperf_duration,
"testname" : "UDP_STREAM",
- "confidence" : "99,5"
+ "confidence" : nperf_confidence
})
for vlan1 in vlans:
@@ -118,16 +120,16 @@ for vlan1 in vlans:
netperf_srv6.update_options({"bind": m1.get_ip(vlan1, 1)})
netperf_cli_tcp.update_options({"netperf_server": m1.get_ip(vlan1, 0),
- "netperf_opts": "-i 5 -L %s"
% m2.get_ip(vlan1, 0)})
+ "netperf_opts": "-i %s -L %s"
% (nperf_max_runs, m2.get_ip(vlan1, 0))})
netperf_cli_udp.update_options({"netperf_server": m1.get_ip(vlan1, 0),
- "netperf_opts": "-i 5 -L %s"
% m2.get_ip(vlan1, 0)})
+ "netperf_opts": "-i %s -L %s"
% (nperf_max_runs, m2.get_ip(vlan1, 0))})
netperf_cli_tcp6.update_options({"netperf_server": m1.get_ip(vlan1,
1),
- "netperf_opts": "-i 5 -L %s
-6" % m2.get_ip(vlan1, 1)})
+ "netperf_opts": "-i %s -L %s
-6" % (nperf_max_runs, m2.get_ip(vlan1, 1))})
netperf_cli_udp6.update_options({"netperf_server": m1.get_ip(vlan1,
1),
- "netperf_opts": "-i 5 -L %s
-6" % m2.get_ip(vlan1, 1)})
+ "netperf_opts": "-i %s -L %s
-6" % (nperf_max_runs, m2.get_ip(vlan1, 1))})
if vlan1 == vlan2:
# These tests should pass
@@ -196,9 +198,9 @@ for vlan1 in vlans:
srv_proc = m1.run(netperf_srv, bg=True)
ctl.wait(2)
tcp_res_data = m2.run(netperf_cli_tcp,
- timeout = (netperf_duration +
nperf_reserve)*5)
+ timeout = (netperf_duration +
nperf_reserve)*nperf_max_runs)
udp_res_data = m2.run(netperf_cli_udp,
- timeout = (netperf_duration +
nperf_reserve)*5)
+ timeout = (netperf_duration +
nperf_reserve)*nperf_max_runs)
srv_proc.intr()
if result_tcp is not None and\
@@ -280,9 +282,9 @@ for vlan1 in vlans:
srv_proc = m1.run(netperf_srv6, bg=True)
ctl.wait(2)
tcp_res_data = m2.run(netperf_cli_tcp6,
- timeout = (netperf_duration +
nperf_reserve)*5)
+ timeout = (netperf_duration +
nperf_reserve)*nperf_max_runs)
udp_res_data = m2.run(netperf_cli_udp6,
- timeout = (netperf_duration +
nperf_reserve)*5)
+ timeout = (netperf_duration +
nperf_reserve)*nperf_max_runs)
srv_proc.intr()
if result_tcp is not None and tcp_res_data.get_result() is not
None and\
diff --git a/recipes/regression_tests/phase1/3_vlans.xml
b/recipes/regression_tests/phase1/3_vlans.xml
index ee4eab5..86b82b6 100644
--- a/recipes/regression_tests/phase1/3_vlans.xml
+++ b/recipes/regression_tests/phase1/3_vlans.xml
@@ -4,6 +4,7 @@
<alias name="mtu" value="1500" />
<alias name="netperf_duration" value="60" />
<alias name="nperf_reserve" value="20" />
+ <alias name="nperf_confidence" value="99,5" />
<alias name="mapping_file" value="3_vlans.mapping" />
</define>
<network>
diff --git a/recipes/regression_tests/phase1/3_vlans_over_bond.py
b/recipes/regression_tests/phase1/3_vlans_over_bond.py
index feb9302..95936d1 100644
--- a/recipes/regression_tests/phase1/3_vlans_over_bond.py
+++ b/recipes/regression_tests/phase1/3_vlans_over_bond.py
@@ -43,6 +43,8 @@ ipv = ctl.get_alias("ipv")
mtu = ctl.get_alias("mtu")
netperf_duration = int(ctl.get_alias("netperf_duration"))
nperf_reserve = int(ctl.get_alias("nperf_reserve"))
+nperf_confidence = ctl.get_alias("nperf_confidence")
+nperf_max_runs = int(nperf_confidence.split(",")[1])
m1_bond = m1.get_interface("test_bond")
m1_bond.set_mtu(mtu)
@@ -81,28 +83,28 @@ netperf_cli_tcp = ctl.get_module("Netperf",
"role" : "client",
"duration" : netperf_duration,
"testname" : "TCP_STREAM",
- "confidence" : "99,5"
+ "confidence" : nperf_confidence
})
netperf_cli_udp = ctl.get_module("Netperf",
options={
"role" : "client",
"duration" : netperf_duration,
"testname" : "UDP_STREAM",
- "confidence" : "99,5"
+ "confidence" : nperf_confidence
})
netperf_cli_tcp6 = ctl.get_module("Netperf",
options={
"role" : "client",
"duration" : netperf_duration,
"testname" : "TCP_STREAM",
- "confidence" : "99,5"
+ "confidence" : nperf_confidence
})
netperf_cli_udp6 = ctl.get_module("Netperf",
options={
"role" : "client",
"duration" : netperf_duration,
"testname" : "UDP_STREAM",
- "confidence" : "99,5"
+ "confidence" : nperf_confidence
})
for vlan1 in vlans:
@@ -118,16 +120,16 @@ for vlan1 in vlans:
netperf_srv6.update_options({"bind": m1.get_ip(vlan1, 1)})
netperf_cli_tcp.update_options({"netperf_server": m1.get_ip(vlan1, 0),
- "netperf_opts": "-i 5 -L %s"
% m2.get_ip(vlan1, 0)})
+ "netperf_opts": "-i %s -L %s"
% (nperf_max_runs, m2.get_ip(vlan1, 0))})
netperf_cli_udp.update_options({"netperf_server": m1.get_ip(vlan1, 0),
- "netperf_opts": "-i 5 -L %s"
% m2.get_ip(vlan1, 0)})
+ "netperf_opts": "-i %s -L %s"
% (nperf_max_runs, m2.get_ip(vlan1, 0))})
netperf_cli_tcp6.update_options({"netperf_server": m1.get_ip(vlan1,
1),
- "netperf_opts": "-i 5 -L %s
-6" % m2.get_ip(vlan1, 1)})
+ "netperf_opts": "-i %s -L %s
-6" % (nperf_max_runs, m2.get_ip(vlan1, 1))})
netperf_cli_udp6.update_options({"netperf_server": m1.get_ip(vlan1,
1),
- "netperf_opts": "-i 5 -L %s
-6" % m2.get_ip(vlan1, 1)})
+ "netperf_opts": "-i %s -L %s
-6" % (nperf_max_runs, m2.get_ip(vlan1, 1))})
if vlan1 == vlan2:
# These tests should pass
@@ -198,9 +200,9 @@ for vlan1 in vlans:
srv_proc = m1.run(netperf_srv, bg=True)
ctl.wait(2)
tcp_res_data = m2.run(netperf_cli_tcp,
- timeout = (netperf_duration +
nperf_reserve)*5)
+ timeout = (netperf_duration +
nperf_reserve)*nperf_max_runs)
udp_res_data = m2.run(netperf_cli_udp,
- timeout = (netperf_duration +
nperf_reserve)*5)
+ timeout = (netperf_duration +
nperf_reserve)*nperf_max_runs)
srv_proc.intr()
if result_tcp is not None and\
@@ -282,9 +284,9 @@ for vlan1 in vlans:
srv_proc = m1.run(netperf_srv6, bg=True)
ctl.wait(2)
tcp_res_data = m2.run(netperf_cli_tcp6,
- timeout = (netperf_duration +
nperf_reserve)*5)
+ timeout = (netperf_duration +
nperf_reserve)*nperf_max_runs)
udp_res_data = m2.run(netperf_cli_udp6,
- timeout = (netperf_duration +
nperf_reserve)*5)
+ timeout = (netperf_duration +
nperf_reserve)*nperf_max_runs)
srv_proc.intr()
if result_tcp is not None and tcp_res_data.get_result() is not
None and\
diff --git a/recipes/regression_tests/phase1/bonding_test.py
b/recipes/regression_tests/phase1/bonding_test.py
index cefea0d..a343b9e 100644
--- a/recipes/regression_tests/phase1/bonding_test.py
+++ b/recipes/regression_tests/phase1/bonding_test.py
@@ -42,6 +42,8 @@ ipv = ctl.get_alias("ipv")
mtu = ctl.get_alias("mtu")
netperf_duration = int(ctl.get_alias("netperf_duration"))
nperf_reserve = int(ctl.get_alias("nperf_reserve"))
+nperf_confidence = ctl.get_alias("nperf_confidence")
+nperf_max_runs = int(nperf_confidence.split(",")[1])
test_if1 = m1.get_interface("test_if")
test_if1.set_mtu(mtu)
@@ -83,8 +85,8 @@ netperf_cli_tcp = ctl.get_module("Netperf",
"netperf_server" :
m1.get_ip("test_if", 0),
"duration" : netperf_duration,
"testname" : "TCP_STREAM",
- "confidence" : "99,5",
- "netperf_opts" : "-i 5 -L %s" %
m2.get_ip("test_if", 0)
+ "confidence" : nperf_confidence,
+ "netperf_opts" : "-i %s -L %s"
% (nperf_max_runs, m2.get_ip("test_if", 0))
})
netperf_cli_udp = ctl.get_module("Netperf",
@@ -93,8 +95,8 @@ netperf_cli_udp = ctl.get_module("Netperf",
"netperf_server" :
m1.get_ip("test_if", 0),
"duration" : netperf_duration,
"testname" : "UDP_STREAM",
- "confidence" : "99,5",
- "netperf_opts" : "-i 5 -L %s" %
m2.get_ip("test_if", 0)
+ "confidence" : nperf_confidence,
+ "netperf_opts" : "-i %s -L %s"
% (nperf_max_runs, m2.get_ip("test_if", 0))
})
netperf_cli_tcp6 = ctl.get_module("Netperf",
@@ -104,9 +106,9 @@ netperf_cli_tcp6 = ctl.get_module("Netperf",
m1.get_ip("test_if", 1),
"duration" : netperf_duration,
"testname" : "TCP_STREAM",
- "confidence" : "99,5",
+ "confidence" : nperf_confidence,
"netperf_opts" :
- "-i 5 -L %s -6" %
m2.get_ip("test_if", 1)
+ "-i %s -L %s -6" % (nperf_max_runs,
m2.get_ip("test_if", 1))
})
netperf_cli_udp6 = ctl.get_module("Netperf",
options={
@@ -115,9 +117,9 @@ netperf_cli_udp6 = ctl.get_module("Netperf",
m1.get_ip("test_if", 1),
"duration" : netperf_duration,
"testname" : "UDP_STREAM",
- "confidence" : "99,5",
+ "confidence" : nperf_confidence,
"netperf_opts" :
- "-i 5 -L %s -6" %
m2.get_ip("test_if", 1)
+ "-i %s -L %s -6" % (nperf_max_runs,
m2.get_ip("test_if", 1))
})
ctl.wait(15)
@@ -177,9 +179,9 @@ for offload in offloads:
server_proc = m1.run(netperf_srv, bg=True)
ctl.wait(2)
tcp_res_data = m2.run(netperf_cli_tcp,
- timeout = (netperf_duration + nperf_reserve)*5)
+ timeout = (netperf_duration +
nperf_reserve)*nperf_max_runs)
udp_res_data = m2.run(netperf_cli_udp,
- timeout = (netperf_duration + nperf_reserve)*5)
+ timeout = (netperf_duration +
nperf_reserve)*nperf_max_runs)
server_proc.intr()
if result_tcp is not None and\
@@ -255,9 +257,9 @@ for offload in offloads:
server_proc = m1.run(netperf_srv6, bg=True)
ctl.wait(2)
tcp_res_data = m2.run(netperf_cli_tcp6,
- timeout = (netperf_duration + nperf_reserve)*5)
+ timeout = (netperf_duration +
nperf_reserve)*nperf_max_runs)
udp_res_data = m2.run(netperf_cli_udp6,
- timeout = (netperf_duration + nperf_reserve)*5)
+ timeout = (netperf_duration +
nperf_reserve)*nperf_max_runs)
server_proc.intr()
if result_tcp is not None and tcp_res_data.get_result() is not None and\
diff --git a/recipes/regression_tests/phase1/virtual_bridge_2_vlans_over_bond.py
b/recipes/regression_tests/phase1/virtual_bridge_2_vlans_over_bond.py
index dd55166..8226fc4 100644
--- a/recipes/regression_tests/phase1/virtual_bridge_2_vlans_over_bond.py
+++ b/recipes/regression_tests/phase1/virtual_bridge_2_vlans_over_bond.py
@@ -48,6 +48,8 @@ offloads = ["gso", "gro", "tso"]
ipv = ctl.get_alias("ipv")
netperf_duration = int(ctl.get_alias("netperf_duration"))
nperf_reserve = int(ctl.get_alias("nperf_reserve"))
+nperf_confidence = ctl.get_alias("nperf_confidence")
+nperf_max_runs = int(nperf_confidence.split(",")[1])
mtu = ctl.get_alias("mtu")
enable_udp_perf = ctl.get_alias("enable_udp_perf")
@@ -102,9 +104,9 @@ netperf_cli_tcp = ctl.get_module("Netperf",
"netperf_server" :
g1.get_ip("guestnic"),
"duration" : netperf_duration,
"testname" : "TCP_STREAM",
- "confidence" : "99,5",
- "netperf_opts" : "-i 5 -L %s"
%
-
g3.get_ip("guestnic")
+ "confidence" : nperf_confidence,
+ "netperf_opts" : "-i %s -L %s"
%
+ (nperf_max_runs,
g3.get_ip("guestnic"))
})
netperf_cli_udp = ctl.get_module("Netperf",
@@ -113,9 +115,9 @@ netperf_cli_udp = ctl.get_module("Netperf",
"netperf_server" :
g1.get_ip("guestnic"),
"duration" : netperf_duration,
"testname" : "UDP_STREAM",
- "confidence" : "99,5",
- "netperf_opts" : "-i 5 -L %s"
%
-
g3.get_ip("guestnic")
+ "confidence" : nperf_confidence,
+ "netperf_opts" : "-i %s -L %s"
%
+ (nperf_max_runs,
g3.get_ip("guestnic"))
})
netperf_cli_tcp6 = ctl.get_module("Netperf",
@@ -125,9 +127,9 @@ netperf_cli_tcp6 = ctl.get_module("Netperf",
g1.get_ip("guestnic", 1),
"duration" : netperf_duration,
"testname" : "TCP_STREAM",
- "confidence" : "99,5",
+ "confidence" : nperf_confidence,
"netperf_opts" :
- "-i 5 -L %s -6" %
g3.get_ip("guestnic", 1)
+ "-i %s -L %s -6" % (nperf_max_runs,
g3.get_ip("guestnic", 1))
})
netperf_cli_udp6 = ctl.get_module("Netperf",
@@ -137,9 +139,9 @@ netperf_cli_udp6 = ctl.get_module("Netperf",
g1.get_ip("guestnic", 1),
"duration" : netperf_duration,
"testname" : "UDP_STREAM",
- "confidence" : "99,5",
+ "confidence" : nperf_confidence,
"netperf_opts" :
- "-i 5 -L %s -6" %
g3.get_ip("guestnic", 1)
+ "-i %s -L %s -6" % (nperf_max_runs,
g3.get_ip("guestnic", 1))
})
ping_mod_bad = ctl.get_module("IcmpPing",
@@ -272,10 +274,10 @@ for offload in offloads:
server_proc = g1.run(netperf_srv, bg=True)
ctl.wait(2)
tcp_res_data = g3.run(netperf_cli_tcp,
- timeout = (netperf_duration + nperf_reserve)*5)
+ timeout = (netperf_duration +
nperf_reserve)*nperf_max_runs)
if enable_udp_perf is not None:
udp_res_data = g3.run(netperf_cli_udp,
- timeout = (netperf_duration + nperf_reserve)*5)
+ timeout = (netperf_duration +
nperf_reserve)*nperf_max_runs)
server_proc.intr()
if result_tcp is not None and\
@@ -359,10 +361,10 @@ for offload in offloads:
server_proc = g1.run(netperf_srv6, bg=True)
ctl.wait(2)
tcp_res_data = g3.run(netperf_cli_tcp6,
- timeout = (netperf_duration + nperf_reserve)*5)
+ timeout = (netperf_duration +
nperf_reserve)*nperf_max_runs)
if enable_udp_perf is not None:
udp_res_data = g3.run(netperf_cli_udp6,
- timeout = (netperf_duration + nperf_reserve)*5)
+ timeout = (netperf_duration +
nperf_reserve)*nperf_max_runs)
server_proc.intr()
if result_tcp is not None and tcp_res_data.get_result() is not None and\
diff --git a/recipes/regression_tests/phase1/virtual_bridge_vlan_in_guest.py
b/recipes/regression_tests/phase1/virtual_bridge_vlan_in_guest.py
index af66655..0c7ffa4 100644
--- a/recipes/regression_tests/phase1/virtual_bridge_vlan_in_guest.py
+++ b/recipes/regression_tests/phase1/virtual_bridge_vlan_in_guest.py
@@ -42,6 +42,8 @@ offloads = ["gso", "gro", "tso"]
ipv = ctl.get_alias("ipv")
netperf_duration = int(ctl.get_alias("netperf_duration"))
nperf_reserve = int(ctl.get_alias("nperf_reserve"))
+nperf_confidence = ctl.get_alias("nperf_confidence")
+nperf_max_runs = int(nperf_confidence.split(",")[1])
mtu = ctl.get_alias("mtu")
enable_udp_perf = ctl.get_alias("enable_udp_perf")
@@ -81,9 +83,9 @@ netperf_cli_tcp = ctl.get_module("Netperf",
"netperf_server" :
g1.get_ip("vlan10"),
"duration" : netperf_duration,
"testname" : "TCP_STREAM",
- "confidence" : "99,5",
- "netperf_opts" : "-i 5 -L %s"
%
-
h2.get_ip("vlan10")
+ "confidence" : nperf_confidence,
+ "netperf_opts" : "-i %s -L %s"
%
+ (nperf_max_runs,
h2.get_ip("vlan10"))
})
netperf_cli_udp = ctl.get_module("Netperf",
@@ -92,9 +94,9 @@ netperf_cli_udp = ctl.get_module("Netperf",
"netperf_server" :
g1.get_ip("vlan10"),
"duration" : netperf_duration,
"testname" : "UDP_STREAM",
- "confidence" : "99,5",
- "netperf_opts" : "-i 5 -L %s"
%
-
h2.get_ip("vlan10")
+ "confidence" : nperf_confidence,
+ "netperf_opts" : "-i %s -L %s"
%
+ (nperf_max_runs,
h2.get_ip("vlan10"))
})
netperf_cli_tcp6 = ctl.get_module("Netperf",
@@ -104,9 +106,9 @@ netperf_cli_tcp6 = ctl.get_module("Netperf",
g1.get_ip("vlan10", 1),
"duration" : netperf_duration,
"testname" : "TCP_STREAM",
- "confidence" : "99,5",
+ "confidence" : nperf_confidence,
"netperf_opts" :
- "-i 5 -L %s -6" %
h2.get_ip("vlan10", 1)
+ "-i %s -L %s -6" % (nperf_max_runs,
h2.get_ip("vlan10", 1))
})
netperf_cli_udp6 = ctl.get_module("Netperf",
@@ -116,9 +118,9 @@ netperf_cli_udp6 = ctl.get_module("Netperf",
g1.get_ip("vlan10", 1),
"duration" : netperf_duration,
"testname" : "UDP_STREAM",
- "confidence" : "99,5",
+ "confidence" : nperf_confidence,
"netperf_opts" :
- "-i 5 -L %s -6" %
h2.get_ip("vlan10", 1)
+ "-i %s -L %s -6" % (nperf_max_runs,
h2.get_ip("vlan10", 1))
})
# configure mtu
@@ -195,10 +197,10 @@ for offload in offloads:
server_proc = g1.run(netperf_srv, bg=True)
ctl.wait(2)
tcp_res_data = h2.run(netperf_cli_tcp,
- timeout = (netperf_duration + nperf_reserve)*5)
+ timeout = (netperf_duration +
nperf_reserve)*nperf_max_runs)
if enable_udp_perf is not None:
udp_res_data = h2.run(netperf_cli_udp,
- timeout = (netperf_duration + nperf_reserve)*5)
+ timeout = (netperf_duration +
nperf_reserve)*nperf_max_runs)
server_proc.intr()
@@ -280,9 +282,9 @@ for offload in offloads:
server_proc = g1.run(netperf_srv6, bg=True)
ctl.wait(2)
tcp_res_data = h2.run(netperf_cli_tcp6,
- timeout = (netperf_duration + nperf_reserve)*5)
+ timeout = (netperf_duration +
nperf_reserve)*nperf_max_runs)
udp_res_data = h2.run(netperf_cli_udp6,
- timeout = (netperf_duration + nperf_reserve)*5)
+ timeout = (netperf_duration +
nperf_reserve)*nperf_max_runs)
server_proc.intr()
diff --git a/recipes/regression_tests/phase1/virtual_bridge_vlan_in_host.py
b/recipes/regression_tests/phase1/virtual_bridge_vlan_in_host.py
index 30979cb..509ea57 100644
--- a/recipes/regression_tests/phase1/virtual_bridge_vlan_in_host.py
+++ b/recipes/regression_tests/phase1/virtual_bridge_vlan_in_host.py
@@ -42,6 +42,8 @@ offloads = ["gso", "gro", "tso"]
ipv = ctl.get_alias("ipv")
netperf_duration = int(ctl.get_alias("netperf_duration"))
nperf_reserve = int(ctl.get_alias("nperf_reserve"))
+nperf_confidence = ctl.get_alias("nperf_confidence")
+nperf_max_runs = int(nperf_confidence.split(",")[1])
mtu = ctl.get_alias("mtu")
enable_udp_perf = ctl.get_alias("enable_udp_perf")
@@ -81,9 +83,9 @@ netperf_cli_tcp = ctl.get_module("Netperf",
"netperf_server" :
g1.get_ip("guestnic"),
"duration" : netperf_duration,
"testname" : "TCP_STREAM",
- "confidence" : "99,5",
- "netperf_opts" : "-i 5 -L %s"
%
-
h2.get_ip("vlan10")
+ "confidence" : nperf_confidence,
+ "netperf_opts" : "-i %s -L %s"
%
+ (nperf_max_runs,
h2.get_ip("vlan10"))
})
netperf_cli_udp = ctl.get_module("Netperf",
@@ -92,9 +94,9 @@ netperf_cli_udp = ctl.get_module("Netperf",
"netperf_server" :
g1.get_ip("guestnic"),
"duration" : netperf_duration,
"testname" : "UDP_STREAM",
- "confidence" : "99,5",
- "netperf_opts" : "-i 5 -L %s"
%
-
h2.get_ip("vlan10")
+ "confidence" : nperf_confidence,
+ "netperf_opts" : "-i %s -L %s"
%
+ (nperf_max_runs,
h2.get_ip("vlan10"))
})
netperf_cli_tcp6 = ctl.get_module("Netperf",
@@ -104,9 +106,9 @@ netperf_cli_tcp6 = ctl.get_module("Netperf",
g1.get_ip("guestnic", 1),
"duration" : netperf_duration,
"testname" : "TCP_STREAM",
- "confidence" : "99,5",
+ "confidence" : nperf_confidence,
"netperf_opts" :
- "-i 5 -L %s -6" %
h2.get_ip("vlan10", 1)
+ "-i %s -L %s -6" % (nperf_max_runs,
h2.get_ip("vlan10", 1))
})
netperf_cli_udp6 = ctl.get_module("Netperf",
@@ -116,9 +118,9 @@ netperf_cli_udp6 = ctl.get_module("Netperf",
g1.get_ip("guestnic", 1),
"duration" : netperf_duration,
"testname" : "UDP_STREAM",
- "confidence" : "99,5",
+ "confidence" : nperf_confidence,
"netperf_opts" :
- "-i 5 -L %s -6" %
h2.get_ip("vlan10", 1)
+ "-i %s -L %s -6" % (nperf_max_runs,
h2.get_ip("vlan10", 1))
})
# configure mtu
@@ -195,10 +197,10 @@ for offload in offloads:
server_proc = g1.run(netperf_srv, bg=True)
ctl.wait(2)
tcp_res_data = h2.run(netperf_cli_tcp,
- timeout = (netperf_duration + nperf_reserve)*5)
+ timeout = (netperf_duration +
nperf_reserve)*nperf_max_runs)
if enable_udp_perf is not None:
udp_res_data = h2.run(netperf_cli_udp,
- timeout = (netperf_duration + nperf_reserve)*5)
+ timeout = (netperf_duration +
nperf_reserve)*nperf_max_runs)
server_proc.intr()
@@ -280,9 +282,10 @@ for offload in offloads:
server_proc = g1.run(netperf_srv6, bg=True)
ctl.wait(2)
tcp_res_data = h2.run(netperf_cli_tcp6,
- timeout = (netperf_duration + nperf_reserve)*5)
+ timeout = (netperf_duration +
nperf_reserve)*nperf_max_runs)
udp_res_data = h2.run(netperf_cli_udp6,
- timeout = (netperf_duration + nperf_reserve)*5)
+ timeout = (netperf_duration +
nperf_reserve)*nperf_max_runs)
+
server_proc.intr()
if result_tcp is not None and tcp_res_data.get_result() is not None and\
diff --git a/recipes/regression_tests/phase2/3_vlans_over_team.py
b/recipes/regression_tests/phase2/3_vlans_over_team.py
index 7f9a767..157da14 100644
--- a/recipes/regression_tests/phase2/3_vlans_over_team.py
+++ b/recipes/regression_tests/phase2/3_vlans_over_team.py
@@ -42,6 +42,8 @@ ipv = ctl.get_alias("ipv")
mtu = ctl.get_alias("mtu")
netperf_duration = int(ctl.get_alias("netperf_duration"))
nperf_reserve = int(ctl.get_alias("nperf_reserve"))
+nperf_confidence = ctl.get_alias("nperf_confidence")
+nperf_max_runs = int(nperf_confidence.split(",")[1])
m1_team = m1.get_interface("test_if")
m1_team.set_mtu(mtu)
@@ -81,28 +83,28 @@ netperf_cli_tcp = ctl.get_module("Netperf",
"role" : "client",
"duration" : netperf_duration,
"testname" : "TCP_STREAM",
- "confidence" : "99,5"
+ "confidence" : nperf_confidence
})
netperf_cli_udp = ctl.get_module("Netperf",
options={
"role" : "client",
"duration" : netperf_duration,
"testname" : "UDP_STREAM",
- "confidence" : "99,5"
+ "confidence" : nperf_confidence
})
netperf_cli_tcp6 = ctl.get_module("Netperf",
options={
"role" : "client",
"duration" : netperf_duration,
"testname" : "TCP_STREAM",
- "confidence" : "99,5"
+ "confidence" : nperf_confidence
})
netperf_cli_udp6 = ctl.get_module("Netperf",
options={
"role" : "client",
"duration" : netperf_duration,
"testname" : "UDP_STREAM",
- "confidence" : "99,5"
+ "confidence" : nperf_confidence
})
for vlan1 in vlans:
@@ -118,17 +120,16 @@ for vlan1 in vlans:
netperf_srv6.update_options({"bind": m1.get_ip(vlan1, 1)})
netperf_cli_tcp.update_options({"netperf_server": m1.get_ip(vlan1, 0),
- "netperf_opts": "-i 5 -L %s"
% m2.get_ip(vlan1, 0)})
+ "netperf_opts": "-i %s -L %s"
% (nperf_max_runs, m2.get_ip(vlan1, 0))})
netperf_cli_udp.update_options({"netperf_server": m1.get_ip(vlan1, 0),
- "netperf_opts": "-i 5 -L %s"
% m2.get_ip(vlan1, 0)})
+ "netperf_opts": "-i %s -L %s"
% (nperf_max_runs, m2.get_ip(vlan1, 0))})
netperf_cli_tcp6.update_options({"netperf_server": m1.get_ip(vlan1,
1),
- "netperf_opts": "-i 5 -L %s
-6" % m2.get_ip(vlan1, 1)})
+ "netperf_opts": "-i %s -L %s
-6" % (nperf_max_runs, m2.get_ip(vlan1, 1))})
netperf_cli_udp6.update_options({"netperf_server": m1.get_ip(vlan1,
1),
- "netperf_opts": "-i 5 -L %s
-6" % m2.get_ip(vlan1, 1)})
-
+ "netperf_opts": "-i %s -L %s
-6" % (nperf_max_runs, m2.get_ip(vlan1, 1))})
if vlan1 == vlan2:
# These tests should pass
@@ -199,9 +200,9 @@ for vlan1 in vlans:
srv_proc = m1.run(netperf_srv, bg=True)
ctl.wait(2)
tcp_res_data = m2.run(netperf_cli_tcp,
- timeout = (netperf_duration +
nperf_reserve)*5)
+ timeout = (netperf_duration +
nperf_reserve)*nperf_max_runs)
udp_res_data = m2.run(netperf_cli_udp,
- timeout = (netperf_duration +
nperf_reserve)*5)
+ timeout = (netperf_duration +
nperf_reserve)*nperf_max_runs)
srv_proc.intr()
if result_tcp is not None and\
@@ -282,9 +283,9 @@ for vlan1 in vlans:
srv_proc = m1.run(netperf_srv6, bg=True)
ctl.wait(2)
tcp_res_data = m2.run(netperf_cli_tcp6,
- timeout = (netperf_duration +
nperf_reserve)*5)
+ timeout = (netperf_duration +
nperf_reserve)*nperf_max_runs)
udp_res_data = m2.run(netperf_cli_udp6,
- timeout = (netperf_duration +
nperf_reserve)*5)
+ timeout = (netperf_duration +
nperf_reserve)*nperf_max_runs)
srv_proc.intr()
if result_tcp is not None and tcp_res_data.get_result() is not
None and\
diff --git a/recipes/regression_tests/phase2/team_test.py
b/recipes/regression_tests/phase2/team_test.py
index 259505b..d569aaa 100644
--- a/recipes/regression_tests/phase2/team_test.py
+++ b/recipes/regression_tests/phase2/team_test.py
@@ -42,6 +42,8 @@ ipv = ctl.get_alias("ipv")
mtu = ctl.get_alias("mtu")
netperf_duration = int(ctl.get_alias("netperf_duration"))
nperf_reserve = int(ctl.get_alias("nperf_reserve"))
+nperf_confidence = ctl.get_alias("nperf_confidence")
+nperf_max_runs = int(nperf_confidence.split(",")[1])
test_if1 = m1.get_interface("test_if")
test_if1.set_mtu(mtu)
@@ -84,8 +86,8 @@ netperf_cli_tcp = ctl.get_module("Netperf",
"netperf_server" :
m1.get_ip("test_if", 0),
"duration" : netperf_duration,
"testname" : "TCP_STREAM",
- "confidence" : "99,5",
- "netperf_opts" : "-i 5 -L %s" %
m2.get_ip("test_if", 0)
+ "confidence" : nperf_confidence,
+ "netperf_opts" : "-i %s -L %s"
% (nperf_max_runs, m2.get_ip("test_if", 0))
})
netperf_cli_udp = ctl.get_module("Netperf",
@@ -94,8 +96,8 @@ netperf_cli_udp = ctl.get_module("Netperf",
"netperf_server" :
m1.get_ip("test_if", 0),
"duration" : netperf_duration,
"testname" : "UDP_STREAM",
- "confidence" : "99,5",
- "netperf_opts" : "-i 5 -L %s" %
m2.get_ip("test_if", 0)
+ "confidence" : nperf_confidence,
+ "netperf_opts" : "-i %s -L %s"
% (nperf_max_runs, m2.get_ip("test_if", 0))
})
netperf_cli_tcp6 = ctl.get_module("Netperf",
@@ -105,9 +107,9 @@ netperf_cli_tcp6 = ctl.get_module("Netperf",
m1.get_ip("test_if", 1),
"duration" : netperf_duration,
"testname" : "TCP_STREAM",
- "confidence" : "99,5",
+ "confidence" : nperf_confidence,
"netperf_opts" :
- "-i 5 -L %s -6" %
m2.get_ip("test_if", 1)
+ "-i %s -L %s -6" % (nperf_max_runs,
m2.get_ip("test_if", 1))
})
netperf_cli_udp6 = ctl.get_module("Netperf",
options={
@@ -116,9 +118,9 @@ netperf_cli_udp6 = ctl.get_module("Netperf",
m1.get_ip("test_if", 1),
"duration" : netperf_duration,
"testname" : "UDP_STREAM",
- "confidence" : "99,5",
+ "confidence" : nperf_confidence,
"netperf_opts" :
- "-i 5 -L %s -6" %
m2.get_ip("test_if", 1)
+ "-i %s -L %s -6" % (nperf_max_runs,
m2.get_ip("test_if", 1))
})
ctl.wait(15)
@@ -183,9 +185,9 @@ for offload in offloads:
server_proc = m1.run(netperf_srv, bg=True)
ctl.wait(2)
tcp_res_data = m2.run(netperf_cli_tcp,
- timeout = (netperf_duration + nperf_reserve)*5)
+ timeout = (netperf_duration +
nperf_reserve)*nperf_max_runs)
udp_res_data = m2.run(netperf_cli_udp,
- timeout = (netperf_duration + nperf_reserve)*5)
+ timeout = (netperf_duration +
nperf_reserve)*nperf_max_runs)
server_proc.intr()
if result_tcp is not None and\
diff --git
a/recipes/regression_tests/phase2/virtual_ovs_bridge_2_vlans_over_active_backup_bond.py
b/recipes/regression_tests/phase2/virtual_ovs_bridge_2_vlans_over_active_backup_bond.py
index 3d0a828..6e6aa10 100644
---
a/recipes/regression_tests/phase2/virtual_ovs_bridge_2_vlans_over_active_backup_bond.py
+++
b/recipes/regression_tests/phase2/virtual_ovs_bridge_2_vlans_over_active_backup_bond.py
@@ -48,6 +48,8 @@ offloads = ["gso", "gro", "tso"]
ipv = ctl.get_alias("ipv")
netperf_duration = int(ctl.get_alias("netperf_duration"))
nperf_reserve = int(ctl.get_alias("nperf_reserve"))
+nperf_confidence = ctl.get_alias("nperf_confidence")
+nperf_max_runs = int(nperf_confidence.split(",")[1])
ping_mod = ctl.get_module("IcmpPing",
options={
@@ -100,9 +102,9 @@ netperf_cli_tcp = ctl.get_module("Netperf",
"netperf_server" :
g1.get_ip("guestnic"),
"duration" : netperf_duration,
"testname" : "TCP_STREAM",
- "confidence" : "99,5",
- "netperf_opts" : "-i 5 -L %s"
%
-
g3.get_ip("guestnic")
+ "confidence" : nperf_confidence,
+ "netperf_opts" : "-i %s -L %s"
%
+ (nperf_max_runs,
g3.get_ip("guestnic"))
})
netperf_cli_udp = ctl.get_module("Netperf",
@@ -111,9 +113,9 @@ netperf_cli_udp = ctl.get_module("Netperf",
"netperf_server" :
g1.get_ip("guestnic"),
"duration" : netperf_duration,
"testname" : "UDP_STREAM",
- "confidence" : "99,5",
- "netperf_opts" : "-i 5 -L %s"
%
-
g3.get_ip("guestnic")
+ "confidence" : nperf_confidence,
+ "netperf_opts" : "-i %s -L %s"
%
+ (nperf_max_runs,
g3.get_ip("guestnic"))
})
netperf_cli_tcp6 = ctl.get_module("Netperf",
@@ -123,9 +125,9 @@ netperf_cli_tcp6 = ctl.get_module("Netperf",
g1.get_ip("guestnic", 1),
"duration" : netperf_duration,
"testname" : "TCP_STREAM",
- "confidence" : "99,5",
+ "confidence" : nperf_confidence,
"netperf_opts" :
- "-i 5 -L %s -6" %
g3.get_ip("guestnic", 1)
+ "-i %s -L %s -6" % (nperf_max_runs,
g3.get_ip("guestnic", 1))
})
netperf_cli_udp6 = ctl.get_module("Netperf",
@@ -135,9 +137,9 @@ netperf_cli_udp6 = ctl.get_module("Netperf",
g1.get_ip("guestnic", 1),
"duration" : netperf_duration,
"testname" : "UDP_STREAM",
- "confidence" : "99,5",
+ "confidence" : nperf_confidence,
"netperf_opts" :
- "-i 5 -L %s -6" %
g3.get_ip("guestnic", 1)
+ "-i %s -L %s -6" % (nperf_max_runs,
g3.get_ip("guestnic", 1))
})
ping_mod_bad = ctl.get_module("IcmpPing",
@@ -245,9 +247,9 @@ for offload in offloads:
server_proc = g1.run(netperf_srv, bg=True)
ctl.wait(2)
tcp_res_data = g3.run(netperf_cli_tcp,
- timeout = (netperf_duration + nperf_reserve)*5)
+ timeout = (netperf_duration +
nperf_reserve)*nperf_max_runs)
udp_res_data = g3.run(netperf_cli_udp,
- timeout = (netperf_duration + nperf_reserve)*5)
+ timeout = (netperf_duration +
nperf_reserve)*nperf_max_runs)
server_proc.intr()
if result_tcp is not None and\
@@ -326,9 +328,9 @@ for offload in offloads:
server_proc = g1.run(netperf_srv6, bg=True)
ctl.wait(2)
tcp_res_data = g3.run(netperf_cli_tcp6,
- timeout = (netperf_duration + nperf_reserve)*5)
+ timeout = (netperf_duration +
nperf_reserve)*nperf_max_runs)
udp_res_data = g3.run(netperf_cli_udp6,
- timeout = (netperf_duration + nperf_reserve)*5)
+ timeout = (netperf_duration +
nperf_reserve)*nperf_max_runs)
server_proc.intr()
if result_tcp is not None and tcp_res_data.get_result() is not None and\
diff --git a/recipes/regression_tests/phase2/virtual_ovs_bridge_vlan_in_guest.py
b/recipes/regression_tests/phase2/virtual_ovs_bridge_vlan_in_guest.py
index 7a5b710..1ce8b36 100644
--- a/recipes/regression_tests/phase2/virtual_ovs_bridge_vlan_in_guest.py
+++ b/recipes/regression_tests/phase2/virtual_ovs_bridge_vlan_in_guest.py
@@ -42,6 +42,8 @@ offloads = ["gso", "gro", "tso"]
ipv = ctl.get_alias("ipv")
netperf_duration = int(ctl.get_alias("netperf_duration"))
nperf_reserve = int(ctl.get_alias("nperf_reserve"))
+nperf_confidence = ctl.get_alias("nperf_confidence")
+nperf_max_runs = int(nperf_confidence.split(",")[1])
ping_mod = ctl.get_module("IcmpPing",
options={
@@ -78,9 +80,9 @@ netperf_cli_tcp = ctl.get_module("Netperf",
"netperf_server" :
g1.get_ip("vlan10"),
"duration" : netperf_duration,
"testname" : "TCP_STREAM",
- "confidence" : "99,5",
- "netperf_opts" : "-i 5 -L %s"
%
-
h2.get_ip("vlan10")
+ "confidence" : nperf_confidence,
+ "netperf_opts" : "-i %s -L %s"
%
+ (nperf_max_runs,
h2.get_ip("vlan10"))
})
netperf_cli_udp = ctl.get_module("Netperf",
@@ -89,9 +91,9 @@ netperf_cli_udp = ctl.get_module("Netperf",
"netperf_server" :
g1.get_ip("vlan10"),
"duration" : netperf_duration,
"testname" : "UDP_STREAM",
- "confidence" : "99,5",
- "netperf_opts" : "-i 5 -L %s"
%
-
h2.get_ip("vlan10")
+ "confidence" : nperf_confidence,
+ "netperf_opts" : "-i %s -L %s"
%
+ (nperf_max_runs,
h2.get_ip("vlan10"))
})
netperf_cli_tcp6 = ctl.get_module("Netperf",
@@ -101,9 +103,9 @@ netperf_cli_tcp6 = ctl.get_module("Netperf",
g1.get_ip("vlan10", 1),
"duration" : netperf_duration,
"testname" : "TCP_STREAM",
- "confidence" : "99,5",
+ "confidence" : nperf_confidence,
"netperf_opts" :
- "-i 5 -L %s -6" %
h2.get_ip("vlan10", 1)
+ "-i %s -L %s -6" % (nperf_max_runs,
h2.get_ip("vlan10", 1))
})
netperf_cli_udp6 = ctl.get_module("Netperf",
@@ -113,9 +115,9 @@ netperf_cli_udp6 = ctl.get_module("Netperf",
g1.get_ip("vlan10", 1),
"duration" : netperf_duration,
"testname" : "UDP_STREAM",
- "confidence" : "99,5",
+ "confidence" : nperf_confidence,
"netperf_opts" :
- "-i 5 -L %s -6" %
h2.get_ip("vlan10", 1)
+ "-i %s -L %s -6" % (nperf_max_runs,
h2.get_ip("vlan10", 1))
})
ctl.wait(15)
@@ -177,9 +179,9 @@ for offload in offloads:
server_proc = g1.run(netperf_srv, bg=True)
ctl.wait(2)
tcp_res_data = h2.run(netperf_cli_tcp,
- timeout = (netperf_duration + nperf_reserve)*5)
+ timeout = (netperf_duration +
nperf_reserve)*nperf_max_runs)
udp_res_data = h2.run(netperf_cli_udp,
- timeout = (netperf_duration + nperf_reserve)*5)
+ timeout = (netperf_duration +
nperf_reserve)*nperf_max_runs)
server_proc.intr()
@@ -256,9 +258,9 @@ for offload in offloads:
server_proc = g1.run(netperf_srv6, bg=True)
ctl.wait(2)
tcp_res_data = h2.run(netperf_cli_tcp6,
- timeout = (netperf_duration + nperf_reserve)*5)
+ timeout = (netperf_duration +
nperf_reserve)*nperf_max_runs)
udp_res_data = h2.run(netperf_cli_udp6,
- timeout = (netperf_duration + nperf_reserve)*5)
+ timeout = (netperf_duration +
nperf_reserve)*nperf_max_runs)
server_proc.intr()
diff --git a/recipes/regression_tests/phase2/virtual_ovs_bridge_vlan_in_host.py
b/recipes/regression_tests/phase2/virtual_ovs_bridge_vlan_in_host.py
index c418ad1..24be22a 100644
--- a/recipes/regression_tests/phase2/virtual_ovs_bridge_vlan_in_host.py
+++ b/recipes/regression_tests/phase2/virtual_ovs_bridge_vlan_in_host.py
@@ -42,6 +42,8 @@ offloads = ["gso", "gro", "tso"]
ipv = ctl.get_alias("ipv")
netperf_duration = int(ctl.get_alias("netperf_duration"))
nperf_reserve = int(ctl.get_alias("nperf_reserve"))
+nperf_confidence = ctl.get_alias("nperf_confidence")
+nperf_max_runs = int(nperf_confidence.split(",")[1])
ping_mod = ctl.get_module("IcmpPing",
options={
@@ -78,9 +80,9 @@ netperf_cli_tcp = ctl.get_module("Netperf",
"netperf_server" :
g1.get_ip("guestnic"),
"duration" : netperf_duration,
"testname" : "TCP_STREAM",
- "confidence" : "99,5",
- "netperf_opts" : "-i 5 -L %s"
%
-
h2.get_ip("vlan10")
+ "confidence" : nperf_confidence,
+ "netperf_opts" : "-i %s -L %s"
%
+ (nperf_max_runs,
h2.get_ip("vlan10"))
})
netperf_cli_udp = ctl.get_module("Netperf",
@@ -89,9 +91,9 @@ netperf_cli_udp = ctl.get_module("Netperf",
"netperf_server" :
g1.get_ip("guestnic"),
"duration" : netperf_duration,
"testname" : "UDP_STREAM",
- "confidence" : "99,5",
- "netperf_opts" : "-i 5 -L %s"
%
-
h2.get_ip("vlan10")
+ "confidence" : nperf_confidence,
+ "netperf_opts" : "-i %s -L %s"
%
+ (nperf_max_runs,
h2.get_ip("vlan10"))
})
netperf_cli_tcp6 = ctl.get_module("Netperf",
@@ -101,9 +103,9 @@ netperf_cli_tcp6 = ctl.get_module("Netperf",
g1.get_ip("guestnic", 1),
"duration" : netperf_duration,
"testname" : "TCP_STREAM",
- "confidence" : "99,5",
+ "confidence" : nperf_confidence,
"netperf_opts" :
- "-i 5 -L %s -6" %
h2.get_ip("vlan10", 1)
+ "-i %s -L %s -6" % (nperf_max_runs,
h2.get_ip("vlan10", 1))
})
netperf_cli_udp6 = ctl.get_module("Netperf",
@@ -113,9 +115,9 @@ netperf_cli_udp6 = ctl.get_module("Netperf",
g1.get_ip("guestnic", 1),
"duration" : netperf_duration,
"testname" : "UDP_STREAM",
- "confidence" : "99,5",
+ "confidence" : nperf_confidence,
"netperf_opts" :
- "-i 5 -L %s -6" %
h2.get_ip("vlan10", 1)
+ "-i %s -L %s -6" % (nperf_max_runs,
h2.get_ip("vlan10", 1))
})
ctl.wait(15)
@@ -176,9 +178,9 @@ for offload in offloads:
server_proc = g1.run(netperf_srv, bg=True)
ctl.wait(2)
tcp_res_data = h2.run(netperf_cli_tcp,
- timeout = (netperf_duration + nperf_reserve)*5)
+ timeout = (netperf_duration +
nperf_reserve)*nperf_max_runs)
udp_res_data = h2.run(netperf_cli_udp,
- timeout = (netperf_duration + nperf_reserve)*5)
+ timeout = (netperf_duration +
nperf_reserve)*nperf_max_runs)
server_proc.intr()
if result_tcp is not None and\
@@ -254,9 +256,9 @@ for offload in offloads:
server_proc = g1.run(netperf_srv6, bg=True)
ctl.wait(2)
tcp_res_data = h2.run(netperf_cli_tcp6,
- timeout = (netperf_duration + nperf_reserve)*5)
+ timeout = (netperf_duration +
nperf_reserve)*nperf_max_runs)
udp_res_data = h2.run(netperf_cli_udp6,
- timeout = (netperf_duration + nperf_reserve)*5)
+ timeout = (netperf_duration +
nperf_reserve)*nperf_max_runs)
server_proc.intr()
if result_tcp is not None and tcp_res_data.get_result() is not None and\
--
2.1.0