Bug 1979946
| Summary: | Latency tests runs on constant oslat version while the cnf-tests image uses the latest | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | OpenShift BugZilla Robot <openshift-bugzilla-robot> |
| Component: | CNF Platform Validation | Assignee: | Federico Paolinelli <fpaoline> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Nikita <nkononov> |
| Severity: | urgent | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.8 | CC: | aos-bugs, grajaiya, mniranja, shajmakh |
| Target Milestone: | --- | ||
| Target Release: | 4.8.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | cnf-tests-container-v4.8.0-58 | Doc Type: | No Doc Update |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-08-24 12:52:49 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1979554 | ||
| Bug Blocks: | 1979947 | ||
|
Description
OpenShift BugZilla Robot
2021-07-07 13:21:53 UTC
Bug verification:
Verified on:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[root@ocp-edge41 ~]# oc version
Client Version: 4.8.0-0.nightly-2021-06-22-192915
Server Version: 4.8.0-0.nightly-2021-06-29-033219
Kubernetes Version: v1.21.0-rc.0+766a5fe
[root@ocp-edge41 ~]# oc get csv
NAME DISPLAY VERSION REPLACES PHASE
performance-addon-operator.v4.8.0 Performance Addon Operator 4.8.0 Succeeded
[root@ocp-edge41 ~]#
Verification steps:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1. run latency tests on the image that supports the fix of the bug :registry-proxy.engineering.redhat.com/rh-osbs/openshift4-cnf-tests:v4.8.0-58
podman run -v $KUBECONFIG:/root/kubeconfig:Z -e KUBECONFIG=/root/kubeconfig -e IMAGE_REGISTRY=registry-proxy.engineering.redhat.com/rh-osbs -e CNF_TESTS_IMAGE=openshift4-cnf-tests:v4.8.0-58 -e PERF_TEST_PROFILE=performance -e ROLE_WORKER_CNF=worker-cnf -e LATENCY_TEST_RUN=true -e LATENCY_TEST_RUNTIME=30 -e OSLAT_MAXIMUM_LATENCY=20 -e DISCOVERY_MODE=true registry-proxy.engineering.redhat.com/rh-osbs/openshift4-cnf-tests:v4.8.0-58 usr/bin/test-run.sh -ginkgo.focus="\[performance\]\ Latency\ Test"
2. While running , check on another terminal tab the following :
2.1. oc get pods -n performance-addon-operators-testing
NAME READY STATUS RESTARTS AGE
oslat-c5x8x 0/1 ContainerCreating 0 13s
2.2. oc describe pods oslat-c5x8x -n performance-addon-operators-testing
...
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 62s default-scheduler Successfully assigned performance-addon-operators-testing/oslat-c5x8x to ocp48-worker-0.demo.lab.shajmakh
Normal AddedInterface 60s multus Add eth0 [10.133.2.102/23] from openshift-sdn
Normal Pulling 60s kubelet Pulling image "registry-proxy.engineering.redhat.com/rh-osbs/openshift4-cnf-tests:v4.8.0-58"
Normal Pulled 16s kubelet Successfully pulled image "registry-proxy.engineering.redhat.com/rh-osbs/openshift4-cnf-tests:v4.8.0-58" in 43.913564147s
Normal Created 15s kubelet Created container oslat-runner
Normal Started 15s kubelet Started container oslat-runner
2.3. oc logs oslat-c5x8x -n performance-addon-operators-testing
...
I0714 08:37:12.161730 1 main.go:89] Environment information: kernel version 4.18.0-305.3.1.rt7.75.el8_4.x86_64
I0714 08:37:12.161772 1 main.go:52] Running the oslat command with arguments [--duration 30 --rtprio 1 --cpu-list 2 --cpu-main-thread 1]
3. the result of the test run:
...
Will run 1 of 134 specs
SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS
------------------------------
• [SLOW TEST:79.540 seconds]
[performance] Latency Test
/remote-source/app/vendor/github.com/openshift-kni/performance-addon-operators/functests/4_latency/latency.go:76
with the oslat image
/remote-source/app/vendor/github.com/openshift-kni/performance-addon-operators/functests/4_latency/latency.go:127
should succeed
/remote-source/app/vendor/github.com/openshift-kni/performance-addon-operators/functests/4_latency/latency.go:128
------------------------------
S
JUnit report was created: /junit.xml/cnftests-junit.xml
Ran 1 of 134 Specs in 107.863 seconds
SUCCESS! -- 1 Passed | 0 Failed | 0 Pending | 133 Skipped
PASS
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
As one can notice from the above outputs , the test's pod started running properly on the updated image & it executed oslat using --duration flag instead of the deprecated --runtime that was in older version of oslat, and the latency test passed.
Bulk closing of all "CNF Platform Validation" component BZs assigned to CNF Network team members and in VERIFIED status for longer than 1 month. |