diff --git a/workloads/templates/workload-deployments-per-ns-script-cm.yml.j2 b/workloads/templates/workload-deployments-per-ns-script-cm.yml.j2 index dca9a86c..622a8173 100644 --- a/workloads/templates/workload-deployments-per-ns-script-cm.yml.j2 +++ b/workloads/templates/workload-deployments-per-ns-script-cm.yml.j2 @@ -51,7 +51,7 @@ data: export es={{ snafu_es_host }} export es_port={{ snafu_es_port }} export es_index={{ snafu_es_index_prefix }} - pbench-user-benchmark -- 'VIPERCONFIG=/root/workload/cluster-limits-deployments-per-namespace.yaml python3 /tmp/snafu/run_snafu.py -t cl scale-ci --cl-output True --dir /tmp/snafu_results -p openshift-tests' + pbench-user-benchmark -- 'VIPERCONFIG=/root/workload/cluster-limits-deployments-per-namespace.yaml run_snafu -t cl scale-ci --cl-output True --dir /tmp/snafu_results -p openshift-tests' pbench-copy-results --prefix {{deployments_per_ns_test_prefix}} echo "$(date -u) Completed running Deployments per ns cluster limits test" # End of Test Code diff --git a/workloads/templates/workload-fio-script-cm.yml.j2 b/workloads/templates/workload-fio-script-cm.yml.j2 index d44c1afa..b61b816c 100644 --- a/workloads/templates/workload-fio-script-cm.yml.j2 +++ b/workloads/templates/workload-fio-script-cm.yml.j2 @@ -56,7 +56,7 @@ data: export es={{ snafu_es_host }} export es_port={{ snafu_es_port }} export es_index={{ snafu_es_index_prefix }} - pbench-user-benchmark --config="{{ fiotest_prefix }}-pods-{{ fiotest_maxpods }}-sc-{{ fiotest_storageclass }}-create_pods-{{ fiotest_description }}" -- 'VIPERCONFIG=/root/workload/fiotest.yml python3 /tmp/snafu/run_snafu.py -t cl scale-ci --cl-output True --dir /tmp/snafu_results -p openshift-tests' + pbench-user-benchmark --config="{{ fiotest_prefix }}-pods-{{ fiotest_maxpods }}-sc-{{ fiotest_storageclass }}-create_pods-{{ fiotest_description }}" -- 'VIPERCONFIG=/root/workload/fiotest.yml run_snafu -t cl scale-ci --cl-output True --dir /tmp/snafu_results -p openshift-tests' echo "$(date -u) Pods for FIO I/O test created." # wait until all pods are started and then collect data diff --git a/workloads/templates/workload-mastervertical-script-cm.yml.j2 b/workloads/templates/workload-mastervertical-script-cm.yml.j2 index 97134f9c..c57a8be2 100644 --- a/workloads/templates/workload-mastervertical-script-cm.yml.j2 +++ b/workloads/templates/workload-mastervertical-script-cm.yml.j2 @@ -115,7 +115,7 @@ data: export es={{ snafu_es_host }} export es_port={{ snafu_es_port }} export es_index={{ snafu_es_index_prefix }} - VIPERCONFIG=/tmp/mastervertical.yaml python3 /tmp/snafu/run_snafu.py -t cl scale-ci --cl-output True --dir "${result_dir}" -p openshift-tests | tee "${result_dir}/clusterloader.txt" + VIPERCONFIG=/tmp/mastervertical.yaml run_snafu -t cl scale-ci --cl-output True --dir "${result_dir}" -p openshift-tests | tee "${result_dir}/clusterloader.txt" exit_code=$? end_time=$(date +%s) duration=$((end_time-start_time)) diff --git a/workloads/templates/workload-namespaces-per-cluster-script-cm.yml.j2 b/workloads/templates/workload-namespaces-per-cluster-script-cm.yml.j2 index 537f7248..57647299 100644 --- a/workloads/templates/workload-namespaces-per-cluster-script-cm.yml.j2 +++ b/workloads/templates/workload-namespaces-per-cluster-script-cm.yml.j2 @@ -92,7 +92,7 @@ data: export es={{ snafu_es_host }} export es_port={{ snafu_es_port }} export es_index={{ snafu_es_index_prefix }} - VIPERCONFIG=/tmp/namespaces_per_cluster.yaml python3 /tmp/snafu/run_snafu.py -t cl scale-ci --cl-output True --dir "${result_dir}" -p openshift-tests | tee "${result_dir}/clusterloader.txt" + VIPERCONFIG=/tmp/namespaces_per_cluster.yaml run_snafu -t cl scale-ci --cl-output True --dir "${result_dir}" -p openshift-tests | tee "${result_dir}/clusterloader.txt" exit_code=$? end_time=$(date +%s) duration=$((end_time-start_time)) diff --git a/workloads/templates/workload-network-script-cm.yml.j2 b/workloads/templates/workload-network-script-cm.yml.j2 index d7edf7aa..8bd62337 100644 --- a/workloads/templates/workload-network-script-cm.yml.j2 +++ b/workloads/templates/workload-network-script-cm.yml.j2 @@ -77,7 +77,7 @@ data: export es={{ snafu_es_host }} export es_port={{ snafu_es_port }} export es_index={{ snafu_es_index_prefix }} - VIPERCONFIG=/tmp/network.yaml python3 /tmp/snafu/run_snafu.py -t cl scale-ci --cl-output True --dir "${result_dir}" -p openshift-tests + VIPERCONFIG=/tmp/network.yaml python3 run_snafu -t cl scale-ci --cl-output True --dir "${result_dir}" -p openshift-tests # Check if clients and servers are ready for rc_num in `seq 0 $((${pair_count} - 1))` diff --git a/workloads/templates/workload-nodevertical-heavy-script-cm.yml.j2 b/workloads/templates/workload-nodevertical-heavy-script-cm.yml.j2 index a91ccce0..ec1817b9 100644 --- a/workloads/templates/workload-nodevertical-heavy-script-cm.yml.j2 +++ b/workloads/templates/workload-nodevertical-heavy-script-cm.yml.j2 @@ -90,7 +90,7 @@ data: export es={{ snafu_es_host }} export es_port={{ snafu_es_port }} export es_index={{ snafu_es_index_prefix }} - VIPERCONFIG=/tmp/nodevertical-heavy.yaml python3 /tmp/snafu/run_snafu.py -t cl scale-ci --cl-output True --dir "${result_dir}" -p openshift-tests | tee "${result_dir}/clusterloader.txt" + VIPERCONFIG=/tmp/nodevertical-heavy.yaml run_snafu -t cl scale-ci --cl-output True --dir "${result_dir}" -p openshift-tests | tee "${result_dir}/clusterloader.txt" exit_code=$? end_time=$(date +%s) duration=$((end_time-start_time)) diff --git a/workloads/templates/workload-nodevertical-script-cm.yml.j2 b/workloads/templates/workload-nodevertical-script-cm.yml.j2 index ba94b5ec..e68d6ec1 100644 --- a/workloads/templates/workload-nodevertical-script-cm.yml.j2 +++ b/workloads/templates/workload-nodevertical-script-cm.yml.j2 @@ -111,7 +111,7 @@ data: export es={{ snafu_es_host }} export es_port={{ snafu_es_port }} export es_index={{ snafu_es_index_prefix }} - VIPERCONFIG=/tmp/nodevertical.yaml python3 /tmp/snafu/run_snafu.py -t cl scale-ci --cl-output True --dir "${result_dir}" -p openshift-tests | tee "${result_dir}/clusterloader.txt" + VIPERCONFIG=/tmp/nodevertical.yaml run_snafu -t cl scale-ci --cl-output True --dir "${result_dir}" -p openshift-tests | tee "${result_dir}/clusterloader.txt" exit_code=$? end_time=$(date +%s) duration=$((end_time-start_time)) diff --git a/workloads/templates/workload-podvertical-script-cm.yml.j2 b/workloads/templates/workload-podvertical-script-cm.yml.j2 index 0f7da5a0..05fef457 100644 --- a/workloads/templates/workload-podvertical-script-cm.yml.j2 +++ b/workloads/templates/workload-podvertical-script-cm.yml.j2 @@ -93,7 +93,7 @@ data: export es={{ snafu_es_host }} export es_port={{ snafu_es_port }} export es_index={{ snafu_es_index_prefix }} - VIPERCONFIG=/tmp/podvertical.yaml python3 /tmp/snafu/run_snafu.py -t cl scale-ci --cl-output True --dir "${result_dir}" -p openshift-tests | tee "${result_dir}/clusterloader.txt" + VIPERCONFIG=/tmp/podvertical.yaml run_snafu -t cl scale-ci --cl-output True --dir "${result_dir}" -p openshift-tests | tee "${result_dir}/clusterloader.txt" exit_code=$? end_time=$(date +%s) duration=$((end_time-start_time)) diff --git a/workloads/templates/workload-pvcscale-script-cm.yml.j2 b/workloads/templates/workload-pvcscale-script-cm.yml.j2 index 7da1c797..f2ca1920 100644 --- a/workloads/templates/workload-pvcscale-script-cm.yml.j2 +++ b/workloads/templates/workload-pvcscale-script-cm.yml.j2 @@ -51,7 +51,7 @@ data: export es={{ snafu_es_host }} export es_port={{ snafu_es_port }} export es_index={{ snafu_es_index_prefix }} - pbench-user-benchmark --config="{{ pvcscale_test_prefix }}-pods-{{ pvcscale_maxpods }}-sc-{{ pvcscale_storageclass }}-create_pods" -- 'VIPERCONFIG=/root/workload/pvcscale.yml python3 /tmp/snafu/run_snafu.py -t cl scale-ci --cl-output True --dir /tmp/snafu_results -p openshift-tests' + pbench-user-benchmark --config="{{ pvcscale_test_prefix }}-pods-{{ pvcscale_maxpods }}-sc-{{ pvcscale_storageclass }}-create_pods" -- 'VIPERCONFIG=/root/workload/pvcscale.yml run_snafu -t cl scale-ci --cl-output True --dir /tmp/snafu_results -p openshift-tests' echo "$(date -u) Pods/PVC are crated ..." # End Test Configuration diff --git a/workloads/templates/workload-services-per-namespace-script-cm.yml.j2 b/workloads/templates/workload-services-per-namespace-script-cm.yml.j2 index 5b5df720..4446a3da 100644 --- a/workloads/templates/workload-services-per-namespace-script-cm.yml.j2 +++ b/workloads/templates/workload-services-per-namespace-script-cm.yml.j2 @@ -92,7 +92,7 @@ data: export es={{ snafu_es_host }} export es_port={{ snafu_es_port }} export es_index={{ snafu_es_index_prefix }} - VIPERCONFIG=/tmp/services_per_namespace.yaml python3 /tmp/snafu/run_snafu.py -t cl scale-ci --cl-output True --dir "${result_dir}" -p openshift-tests | tee "${result_dir}/clusterloader.txt" + VIPERCONFIG=/tmp/services_per_namespace.yaml run_snafu -t cl scale-ci --cl-output True --dir "${result_dir}" -p openshift-tests | tee "${result_dir}/clusterloader.txt" exit_code=$? end_time=$(date +%s) duration=$((end_time-start_time))