@@ -69,7 +69,7 @@ You can use the `ROLE_WORKER_CNF` variable to override the worker pool name:
69
69
[source,terminal]
70
70
----
71
71
$ docker run -v $(pwd)/:/kubeconfig -e KUBECONFIG=/kubeconfig/kubeconfig -e
72
- ROLE_WORKER_CNF=custom-worker-pool registry.redhat.io/openshift4/cnf-tests-rhel8:v4.10 /usr/bin/test-run.sh
72
+ ROLE_WORKER_CNF=custom-worker-pool registry.redhat.io/openshift4/cnf-tests-rhel8:v4.11 /usr/bin/test-run.sh
73
73
----
74
74
+
75
75
[NOTE]
@@ -84,7 +84,7 @@ Use this command to run in dry-run mode. This is useful for checking what is in
84
84
85
85
[source,terminal]
86
86
----
87
- $ docker run -v $(pwd)/:/kubeconfig -e KUBECONFIG=/kubeconfig/kubeconfig registry.redhat.io/openshift4/cnf-tests-rhel8:v4.10 /usr/bin/test-run.sh -ginkgo.dryRun -ginkgo.v
87
+ $ docker run -v $(pwd)/:/kubeconfig -e KUBECONFIG=/kubeconfig/kubeconfig registry.redhat.io/openshift4/cnf-tests-rhel8:v4.11 /usr/bin/test-run.sh -ginkgo.dryRun -ginkgo.v
88
88
----
89
89
90
90
[id="cnf-performing-end-to-end-tests-disconnected-mode_{context}"]
@@ -105,7 +105,7 @@ Run this command from an intermediate machine that has access both to the cluste
105
105
106
106
[source,terminal]
107
107
----
108
- $ docker run -v $(pwd)/:/kubeconfig -e KUBECONFIG=/kubeconfig/kubeconfig registry.redhat.io/openshift4/cnf-tests-rhel8:v4.10 /usr/bin/mirror -registry my.local.registry:5000/ | oc image mirror -f -
108
+ $ docker run -v $(pwd)/:/kubeconfig -e KUBECONFIG=/kubeconfig/kubeconfig registry.redhat.io/openshift4/cnf-tests-rhel8:v4.11 /usr/bin/mirror -registry my.local.registry:5000/ | oc image mirror -f -
109
109
----
110
110
111
111
Then, follow the instructions in the following section about overriding the registry used to fetch the images.
@@ -117,7 +117,7 @@ This is done by setting the `IMAGE_REGISTRY` environment variable:
117
117
118
118
[source,terminal]
119
119
----
120
- $ docker run -v $(pwd)/:/kubeconfig -e KUBECONFIG=/kubeconfig/kubeconfig -e IMAGE_REGISTRY="my.local.registry:5000/" -e CNF_TESTS_IMAGE="custom-cnf-tests-image:latests" registry.redhat.io/openshift4/cnf-tests-rhel8:v4.10 /usr/bin/test-run.sh
120
+ $ docker run -v $(pwd)/:/kubeconfig -e KUBECONFIG=/kubeconfig/kubeconfig -e IMAGE_REGISTRY="my.local.registry:5000/" -e CNF_TESTS_IMAGE="custom-cnf-tests-image:latests" registry.redhat.io/openshift4/cnf-tests-rhel8:v4.11 /usr/bin/test-run.sh
121
121
----
122
122
123
123
[id="cnf-performing-end-to-end-tests-mirroring-to-cluster-internal-registry_{context}"]
@@ -214,7 +214,7 @@ echo "{\"auths\": { \"$REGISTRY\": { \"auth\": $TOKEN } }}" > dockerauth.json
214
214
+
215
215
[source,terminal]
216
216
----
217
- $ docker run -v $(pwd)/:/kubeconfig -e KUBECONFIG=/kubeconfig/kubeconfig registry.redhat.io/openshift4/cnf-tests-rhel8:v4.10 /usr/bin/mirror -registry $REGISTRY/cnftests | oc image mirror --insecure=true -a=$(pwd)/dockerauth.json -f -
217
+ $ docker run -v $(pwd)/:/kubeconfig -e KUBECONFIG=/kubeconfig/kubeconfig registry.redhat.io/openshift4/cnf-tests-rhel8:v4.11 /usr/bin/mirror -registry $REGISTRY/cnftests | oc image mirror --insecure=true -a=$(pwd)/dockerauth.json -f -
218
218
----
219
219
220
220
. Run the tests:
@@ -236,11 +236,11 @@ $ docker run -v $(pwd)/:/kubeconfig -e KUBECONFIG=/kubeconfig/kubeconfig -e IMAG
236
236
[
237
237
{
238
238
"registry": "public.registry.io:5000",
239
- "image": "imageforcnftests:4.10 "
239
+ "image": "imageforcnftests:4.11 "
240
240
},
241
241
{
242
242
"registry": "public.registry.io:5000",
243
- "image": "imagefordpdk:4.10 "
243
+ "image": "imagefordpdk:4.11 "
244
244
}
245
245
]
246
246
----
@@ -249,7 +249,7 @@ $ docker run -v $(pwd)/:/kubeconfig -e KUBECONFIG=/kubeconfig/kubeconfig -e IMAG
249
249
+
250
250
[source,terminal]
251
251
----
252
- $ docker run -v $(pwd)/:/kubeconfig -e KUBECONFIG=/kubeconfig/kubeconfig registry.redhat.io/openshift4/cnf-tests-rhel8:v4.10 /usr/bin/mirror --registry "my.local.registry:5000/" --images "/kubeconfig/images.json" | oc image mirror -f -
252
+ $ docker run -v $(pwd)/:/kubeconfig -e KUBECONFIG=/kubeconfig/kubeconfig registry.redhat.io/openshift4/cnf-tests-rhel8:v4.11 /usr/bin/mirror --registry "my.local.registry:5000/" --images "/kubeconfig/images.json" | oc image mirror -f -
253
253
----
254
254
255
255
[id="cnf-performing-end-to-end-tests-running-in-single-node-cluster_{context}"]
@@ -343,7 +343,7 @@ For example, to change the `CNF_TESTS_IMAGE` with a custom registry run the foll
343
343
344
344
[source,terminal]
345
345
----
346
- $ docker run -v $(pwd)/:/kubeconfig -e KUBECONFIG=/kubeconfig/kubeconfig -e CNF_TESTS_IMAGE="custom-cnf-tests-image:latests" registry.redhat.io/openshift4/cnf-tests-rhel8:v4.10 /usr/bin/test-run.sh
346
+ $ docker run -v $(pwd)/:/kubeconfig -e KUBECONFIG=/kubeconfig/kubeconfig -e CNF_TESTS_IMAGE="custom-cnf-tests-image:latests" registry.redhat.io/openshift4/cnf-tests-rhel8:v4.11 /usr/bin/test-run.sh
347
347
----
348
348
349
349
[id="cnf-performing-end-to-end-tests-ginkgo-parameters_{context}"]
@@ -355,7 +355,7 @@ You can use the `-ginkgo.focus` parameter to filter a set of tests:
355
355
356
356
[source,terminal]
357
357
----
358
- $ docker run -v $(pwd)/:/kubeconfig -e KUBECONFIG=/kubeconfig/kubeconfig registry.redhat.io/openshift4/cnf-tests-rhel8:v4.10 /usr/bin/test-run.sh -ginkgo.focus="performance|sctp"
358
+ $ docker run -v $(pwd)/:/kubeconfig -e KUBECONFIG=/kubeconfig/kubeconfig registry.redhat.io/openshift4/cnf-tests-rhel8:v4.11 /usr/bin/test-run.sh -ginkgo.focus="performance|sctp"
359
359
----
360
360
361
361
You can run only the latency test using the `-ginkgo.focus` parameter.
@@ -364,7 +364,7 @@ To run only the latency test, you must provide the `-ginkgo.focus` parameter and
364
364
365
365
[source,terminal]
366
366
----
367
- $ docker run --rm -v $KUBECONFIG:/kubeconfig -e KUBECONFIG=/kubeconfig -e LATENCY_TEST_RUN=true -e LATENCY_TEST_RUNTIME=600 -e OSLAT_MAXIMUM_LATENCY=20 -e PERF_TEST_PROFILE=<performance_profile_name> registry.redhat.io/openshift4/cnf-tests-rhel8:v4.10 /usr/bin/test-run.sh -ginkgo.focus="\[performance\]\[config\]|\[performance\]\ Latency\ Test"
367
+ $ docker run --rm -v $KUBECONFIG:/kubeconfig -e KUBECONFIG=/kubeconfig -e LATENCY_TEST_RUN=true -e LATENCY_TEST_RUNTIME=600 -e OSLAT_MAXIMUM_LATENCY=20 -e PERF_TEST_PROFILE=<performance_profile_name> registry.redhat.io/openshift4/cnf-tests-rhel8:v4.11 /usr/bin/test-run.sh -ginkgo.focus="\[performance\]\[config\]|\[performance\]\ Latency\ Test"
368
368
----
369
369
370
370
[NOTE]
@@ -637,7 +637,7 @@ Will run 1 of 151 specs
637
637
638
638
SSSSSSS
639
639
------------------------------
640
- [performance] Latency Test with the hwlatdetect image
640
+ [performance] Latency Test with the hwlatdetect image
641
641
should succeed
642
642
/remote-source/app/vendor/github.com/openshift-kni/performance-addon-operators/functests/4_latency/latency.go:221
643
643
STEP: Waiting two minutes to download the latencyTest image
@@ -669,7 +669,7 @@ Feb 10 17:11:56.825: [ERROR]: timed out waiting for the condition
669
669
Sample width: 950000us
670
670
Non-sampling period: 9050000us
671
671
Output File: None
672
-
672
+
673
673
Starting test
674
674
test finished
675
675
Max Latency: 24us <3>
@@ -688,13 +688,13 @@ Feb 10 17:11:56.825: [ERROR]: timed out waiting for the condition
688
688
/remote-source/app/vendor/k8s.io/klog/klog.go:1276
689
689
main.main()
690
690
/remote-source/app/cnf-tests/pod-utils/hwlatdetect-runner/main.go:53 +0x897
691
-
691
+
692
692
goroutine 6 [chan receive]:
693
693
k8s.io/klog.(*loggingT).flushDaemon(0x5bed00)
694
694
/remote-source/app/vendor/k8s.io/klog/klog.go:1010 +0x8b
695
695
created by k8s.io/klog.init.0
696
696
/remote-source/app/vendor/k8s.io/klog/klog.go:411 +0xd8
697
-
697
+
698
698
goroutine 7 [chan receive]:
699
699
k8s.io/klog/v2.(*loggingT).flushDaemon(0x5bede0)
700
700
/remote-source/app/vendor/k8s.io/klog/v2/klog.go:1169 +0x8b
@@ -715,7 +715,7 @@ JUnit report was created: /junit.xml/cnftests-junit.xml
715
715
716
716
Summarizing 1 Failure:
717
717
718
- [Fail] [performance] Latency Test with the hwlatdetect image [It] should succeed
718
+ [Fail] [performance] Latency Test with the hwlatdetect image [It] should succeed
719
719
/remote-source/app/vendor/github.com/openshift-kni/performance-addon-operators/functests/4_latency/latency.go:433
720
720
721
721
Ran 1 of 151 Specs in 222.254 seconds
731
731
[id="cnf-performing-end-to-end-tests-capturing-results-hwlatdetect"]
732
732
==== Capturing the results
733
733
734
- You can capture the following types of results:
734
+ You can capture the following types of results:
735
735
736
736
* Rough results that are gathered after each run to create a history of impact on any changes made throughout the test
737
737
* The combined set of the rough tests with the best results and configuration settings
@@ -915,7 +915,7 @@ The same output can indicate different results for different workloads. For exam
915
915
916
916
[source, terminal]
917
917
----
918
- running cmd: cyclictest -q -D 10m -p 1 -t 16 -a 2,4,6,8,10,12,14,16,54,56,58,60,62,64,66,68 -h 30 -i 1000 -m
918
+ running cmd: cyclictest -q -D 10m -p 1 -t 16 -a 2,4,6,8,10,12,14,16,54,56,58,60,62,64,66,68 -h 30 -i 1000 -m
919
919
# Histogram
920
920
000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000
921
921
000001 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000
@@ -949,7 +949,7 @@ More histogram entries ...
949
949
950
950
[source, terminal]
951
951
----
952
- running cmd: cyclictest -q -D 10m -p 1 -t 16 -a 2,4,6,8,10,12,14,16,54,56,58,60,62,64,66,68 -h 30 -i 1000 -m
952
+ running cmd: cyclictest -q -D 10m -p 1 -t 16 -a 2,4,6,8,10,12,14,16,54,56,58,60,62,64,66,68 -h 30 -i 1000 -m
953
953
# Histogram
954
954
000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000
955
955
000001 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000
@@ -989,7 +989,7 @@ More histogram entries ...
989
989
990
990
.Procedure
991
991
992
- * To perform the `oslat`, run the following command:
992
+ * To perform the `oslat`, run the following command:
993
993
994
994
[source,terminal,subs="attributes+"]
995
995
----
@@ -1119,7 +1119,7 @@ A JUnit-compliant XML is produced by passing the `--junit` parameter together wi
1119
1119
1120
1120
[source,terminal]
1121
1121
----
1122
- $ docker run -v $(pwd)/:/kubeconfig -v $(pwd)/junitdest:/path/to/junit -e KUBECONFIG=/kubeconfig/kubeconfig registry.redhat.io/openshift4/cnf-tests-rhel8:v4.10 /usr/bin/test-run.sh --junit /path/to/junit
1122
+ $ docker run -v $(pwd)/:/kubeconfig -v $(pwd)/junitdest:/path/to/junit -e KUBECONFIG=/kubeconfig/kubeconfig registry.redhat.io/openshift4/cnf-tests-rhel8:v4.11 /usr/bin/test-run.sh --junit /path/to/junit
1123
1123
----
1124
1124
1125
1125
[id="cnf-performing-end-to-end-tests-test-failure-report_{context}"]
@@ -1129,7 +1129,7 @@ A report with information about the cluster state and resources for troubleshoot
1129
1129
1130
1130
[source,terminal]
1131
1131
----
1132
- $ docker run -v $(pwd)/:/kubeconfig -v $(pwd)/reportdest:/path/to/report -e KUBECONFIG=/kubeconfig/kubeconfig registry.redhat.io/openshift4/cnf-tests-rhel8:v4.10 /usr/bin/test-run.sh --report /path/to/report
1132
+ $ docker run -v $(pwd)/:/kubeconfig -v $(pwd)/reportdest:/path/to/report -e KUBECONFIG=/kubeconfig/kubeconfig registry.redhat.io/openshift4/cnf-tests-rhel8:v4.11 /usr/bin/test-run.sh --report /path/to/report
1133
1133
----
1134
1134
1135
1135
[id="cnf-performing-end-to-end-tests-podman_{context}"]
@@ -1190,5 +1190,5 @@ To override the performance profile, the manifest must be mounted inside the con
1190
1190
1191
1191
[source,termal]
1192
1192
----
1193
- $ docker run -v $(pwd)/:/kubeconfig:Z -e KUBECONFIG=/kubeconfig/kubeconfig -e PERFORMANCE_PROFILE_MANIFEST_OVERRIDE=/kubeconfig/manifest.yaml registry.redhat.io/openshift4/cnf-tests-rhel8:v4.10 /usr/bin/test-run.sh
1193
+ $ docker run -v $(pwd)/:/kubeconfig:Z -e KUBECONFIG=/kubeconfig/kubeconfig -e PERFORMANCE_PROFILE_MANIFEST_OVERRIDE=/kubeconfig/manifest.yaml registry.redhat.io/openshift4/cnf-tests-rhel8:v4.11 /usr/bin/test-run.sh
1194
1194
----
0 commit comments