Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cross_check_raw_capacity is not accurate in margins; test_create_delete_pool fails #10750

Open
DanielOsypenko opened this issue Oct 27, 2024 · 2 comments · May be fixed by #10764
Open

cross_check_raw_capacity is not accurate in margins; test_create_delete_pool fails #10750

DanielOsypenko opened this issue Oct 27, 2024 · 2 comments · May be fixed by #10764
Assignees
Labels
Squad/Black Covers UI specific test cases such as ODF Dashboard etc. TestCase failing

Comments

@DanielOsypenko
Copy link
Contributor

https://reportportal-ocs4.apps.ocp-c1.prod.psi.redhat.com/ui/#ocs/launches/738/24953/1209556/1209576/log

2024-09-11T10:29:05.421Z] 06:29:05 - MainThread - ocs_ci.ocs.ui.block_pool - �[32mINFO�[0m  - Used raw capacity of rbd-pool-test-a6547b8eca37433f8fb001e3a7 is 158 MiB as checked by CLI
[2024-09-11T10:29:05.421Z] 06:29:05 - MainThread - ocs_ci.ocs.ui.base_ui - �[32mINFO�[0m  - You are on * BlockAndFile Web Page *
[2024-09-11T10:29:05.421Z] 06:29:05 - MainThread - ocs_ci.ocs.ui.base_ui - �[32mINFO�[0m  - UI logs directory class /home/jenkins/current-cluster-dir/logs/ui_logs_dir_1726047426
[2024-09-11T10:29:05.421Z] 06:29:05 - MainThread - ocs_ci.utility.utils - �[32mINFO�[0m  - Executing command: oc get clusterversion -n openshift-storage -o yaml
[2024-09-11T10:29:07.925Z] 06:29:07 - MainThread - ocs_ci.ocs.ui.base_ui - �[32mINFO�[0m  - page loaded: https://console-openshift-console.apps.j-065bu1cmni33-t1.qe.rh-ocs.com/odf/system/ns/openshift-storage/ocs.openshift.io~v1~storagecluster/ocs-storagecluster-storagesystem/storage-pools/rbd-pool-test-a6547b8eca37433f8fb001e3a7
[2024-09-11T10:29:07.925Z] 06:29:07 - MainThread - ocs_ci.ocs.ui.base_ui - �[32mINFO�[0m  - You are on * BlockAndFile Web Page *
[2024-09-11T10:29:07.925Z] 06:29:07 - MainThread - ocs_ci.ocs.ui.base_ui - �[32mINFO�[0m  - UI logs directory class /home/jenkins/current-cluster-dir/logs/ui_logs_dir_1726047426
[2024-09-11T10:29:07.925Z] 06:29:07 - MainThread - ocs_ci.utility.utils - �[32mINFO�[0m  - Executing command: oc get clusterversion -n openshift-storage -o yaml
[2024-09-11T10:29:09.803Z] 06:29:09 - MainThread - ocs_ci.ocs.ui.base_ui - �[32mINFO�[0m  - page loaded: https://console-openshift-console.apps.j-065bu1cmni33-t1.qe.rh-ocs.com/odf/system/ns/openshift-storage/ocs.openshift.io~v1~storagecluster/ocs-storagecluster-storagesystem/storage-pools/rbd-pool-test-a6547b8eca37433f8fb001e3a7
[2024-09-11T10:29:09.803Z] 06:29:09 - MainThread - ocs_ci.ocs.ui.helpers_ui - �[32mINFO�[0m  - Get the raw capacity card values
[2024-09-11T10:29:09.803Z] 06:29:09 - MainThread - ocs_ci.ocs.ui.block_pool - �[32mINFO�[0m  - Used raw capacity of rbd-pool-test-a6547b8eca37433f8fb001e3a7 is 157.5 MiB as checked by UI
[2024-09-11T10:29:09.803Z] 06:29:09 - MainThread - ocs_ci.ocs.ui.block_pool - �[31m�[1mERROR�[0m  - UI value (i.e 157.5 MiB) did not match as per CLI for the Raw Capacity

https://reportportal-ocs4.apps.ocp-c1.prod.psi.redhat.com/ui/#ocs/launches/738/24953/1209556/1209576/log

@DanielOsypenko DanielOsypenko added TestCase failing Squad/Black Covers UI specific test cases such as ODF Dashboard etc. labels Oct 27, 2024
@DanielOsypenko
Copy link
Contributor Author

DanielOsypenko commented Oct 27, 2024

test fails 50% of time because it does not count 0.5 Mb(any data unit) values
around 30+ failures with this issue on 4.17

@shivamdurgbuns
Copy link
Member

This PR will add a range +-1.0 points to avoid this error
range_list
[156.7, 156.8, 156.9, 157.0, 157.1, 157.2, 157.3, 157.4, 157.5, 157.6, 157.7, 157.8, 157.9, 158.0, 158.1, 158.2, 158.3, 158.4, 158.5, 158.6, 158.7]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Squad/Black Covers UI specific test cases such as ODF Dashboard etc. TestCase failing
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants