Skip to content

Commit

Permalink
Change the netperf test version source path
Browse files Browse the repository at this point in the history
1.Change the netperf test version
2.Change the path to get netperf

Signed-off-by: Lei Yang <[email protected]>
  • Loading branch information
Lei Yang committed Mar 8, 2021
1 parent 19a88d0 commit 55b917f
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 12 deletions.
2 changes: 1 addition & 1 deletion generic/tests/cfg/multi_queues_test.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
- with_netperf:
disable_pci_msi = no
hostpassword = redhat
netperf_link = netperf-2.6.0.tar.bz2
netperf_link = netperf-2.7.1.tar.bz2
RHEL.4:
netperf_link = netperf-2.4.5.tar.bz2
server_path = /var/tmp/
Expand Down
2 changes: 1 addition & 1 deletion qemu/tests/cfg/boot_with_different_vectors.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
hostpassword = redhat
netperf_client = ${vms}
netperf_server = localhost
netperf_link = netperf-2.6.0.tar.bz2
netperf_link = netperf-2.7.1.tar.bz2
server_path = /var/tmp/
client_path = /var/tmp/
netperf_test_duration = 300
Expand Down
2 changes: 1 addition & 1 deletion qemu/tests/cfg/bridge_vlan.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
add_vlan_cmd = "ip link add link %s name %s type vlan id %s"
rm_host_vlan_cmd = "ip link delete %s type vlan"
# netperf stress config
netperf_link = netperf-2.6.0.tar.bz2
netperf_link = netperf-2.7.1.tar.bz2
server_path = /var/tmp/
client_path = /var/tmp/
netperf_test_duration = 120
Expand Down
2 changes: 1 addition & 1 deletion qemu/tests/cfg/flow_caches_stress_test.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
start_vm = no
#netperf server is main vm, the netperf client is the host or another vm
#Set the netperf client via dsthost
netperf_link = netperf-2.6.0.tar.bz2
netperf_link = netperf-2.7.1.tar.bz2
RHEL.4:
netperf_link = netperf-2.4.5.tar.bz2
server_path = /var/tmp/
Expand Down
2 changes: 1 addition & 1 deletion qemu/tests/cfg/mq_change_qnum.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
hostpassword = redhat
netperf_client = ${vms}
netperf_server = localhost
netperf_link = netperf-2.6.0.tar.bz2
netperf_link = netperf-2.7.1.tar.bz2
RHEL.4:
netperf_link = netperf-2.4.5.tar.bz2
server_path = /var/tmp/
Expand Down
2 changes: 1 addition & 1 deletion qemu/tests/cfg/netkvm_in_use.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
driver_name = "netkvm"
run_bgstress = netperf_stress
bg_stress_run_flag = netperf_run
netperf_link = netperf-2.6.0.tar.bz2
netperf_link = netperf-2.7.1.tar.bz2
server_path = /var/tmp/
client_path = /var/tmp/
test_protocols = TCP_STREAM
Expand Down
2 changes: 1 addition & 1 deletion qemu/tests/cfg/netperf_stress_test.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
hostpassword = redhat
#netperf server is main vm, the netperf client is the host or another vm
#Set the netperf client via dsthost
netperf_link = netperf-2.6.0.tar.bz2
netperf_link = netperf-2.7.1.tar.bz2
server_path = /var/tmp/
client_path = /var/tmp/
netperf_test_duration = 120
Expand Down
2 changes: 1 addition & 1 deletion qemu/tests/cfg/nic_opt.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
only x86_64 i386 ppc64 ppc64le
variants:
- opt_test_netperf:
netperf_server_link = netperf-2.6.0.tar.bz2
netperf_server_link = netperf-2.7.1.tar.bz2
netperf_client_link = ${netperf_server_link}
server_path = /var/tmp/
client_path = ${server_path}
Expand Down
2 changes: 1 addition & 1 deletion qemu/tests/cfg/ovs_qos.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
netperf_server = vm2
vms = ${netperf_client} ${netperf_server}
netperf_client_options = " -l 60"
netperf_link = netperf-2.6.0.tar.bz2
netperf_link = netperf-2.7.1.tar.bz2
RHEL.4:
netperf_link = netperf-2.4.5.tar.bz
server_path = /var/tmp/
Expand Down
2 changes: 1 addition & 1 deletion qemu/tests/cfg/virtual_nic.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
netperf_server = localhost
hostpassword = redhat
background_stress_test = netperf_stress
netperf_link = netperf-2.6.0.tar.bz2
netperf_link = netperf-2.7.1.tar.bz2
server_path = /var/tmp/
client_path = /var/tmp/
RHEL.4:
Expand Down
5 changes: 3 additions & 2 deletions qemu/tests/flow_caches_stress_test.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import logging
import os

from avocado.utils import process

Expand Down Expand Up @@ -75,8 +76,8 @@ def get_if_queues(ifname):
error_context.context(err, logging.info)
session.cmd(nf_conntrack_max_set_cmd)

netperf_link = utils_misc.get_path(data_dir.get_deps_dir("netperf"),
params["netperf_link"])
netperf_link = os.path.join(data_dir.get_deps_dir("netperf"),
params.get("netperf_link"))
md5sum = params.get("pkg_md5sum")
client_num = params.get("netperf_client_num", 520)
netperf_timeout = int(params.get("netperf_timeout", 600))
Expand Down

0 comments on commit 55b917f

Please sign in to comment.