-
Bug
-
Resolution: Done
-
Major
-
4.12.z
-
None
-
Quality / Stability / Reliability
-
False
-
-
2
-
None
-
None
-
None
-
Rejected
-
T&PS 2023 #01
-
1
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Description of problem:
After major changed in the latest version of cnf-tests container the new environment variable is required in order to run latency tests: FEATURES=performance. Without this env var we have an failure on AfterSuite step
Version-Release number of selected component (if applicable):
Relevant documentation is present here: https://docs.openshift.com/container-platform/4.11/scalability_and_performance/cnf-performing-platform-verification-latency-tests.html
We need to add this env var to all podman commands:
$ podman run -v $(pwd)/:/kubeconfig:Z -e KUBECONFIG=/kubeconfig/kubeconfig \
-e LATENCY_TEST_RUN=true -e DISCOVERY_MODE=true -e ROLE_WORKER_CNF=worker-cnf \
-e LATENCY_TEST_CPUS=10 -e LATENCY_TEST_RUNTIME=600 -e MAXIMUM_LATENCY=20 \
registry.redhat.io/openshift4/cnf-tests-rhel8:v4.11 \
/usr/bin/test-run.sh -ginkgo.v -ginkgo.focus="cyclictest"
$ podman run -v $(pwd)/:/kubeconfig:Z -e KUBECONFIG=/kubeconfig/kubeconfig \
-e LATENCY_TEST_RUN=true -e DISCOVERY_MODE=true -e ROLE_WORKER_CNF=worker-cnf \
-e LATENCY_TEST_CPUS=7 -e LATENCY_TEST_RUNTIME=600 -e MAXIMUM_LATENCY=20 \
registry.redhat.io/openshift4/cnf-tests-rhel8:v4.11 \
/usr/bin/test-run.sh -ginkgo.v -ginkgo.focus="oslat"
$ podman run -v $(pwd)/:/kubeconfig:Z -e KUBECONFIG=/kubeconfig/kubeconfig \
-e LATENCY_TEST_RUN=true -e DISCOVERY_MODE=true -e ROLE_WORKER_CNF=worker-cnf \
-e LATENCY_TEST_CPUS=7 -e LATENCY_TEST_RUNTIME=600 -e MAXIMUM_LATENCY=20 \
registry.redhat.io/openshift4/cnf-tests-rhel8:v4.11 \
/usr/bin/test-run.sh -ginkgo.v -ginkgo.focus="oslat"
podman run -v $(pwd)/:/kubeconfig:Z