-
Notifications
You must be signed in to change notification settings - Fork 15
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
[BUG]: Generating report from multiple databases and test runs failure #921
Comments
@vincent1chen: Thank you for submitting this issue! The issue is currently awaiting triage. Please make sure you have given us as much context as possible. If the maintainers determine this is a relevant issue, they will remove the needs-triage label and assign an appropriate priority label. We want your feedback! If you have any questions or suggestions regarding our contributing process/workflow, please reach out to us at container.storage.modules@dell.com. |
@vincent1chen Thanks. |
Thanks the udpate.
From: Surya Gupta ***@***.***>
Sent: Wednesday, August 2, 2023 2:29 PM
To: dell/csm ***@***.***>
Cc: Chen, Yanfei ***@***.***>; Mention ***@***.***>
Subject: Re: [dell/csm] [BUG]: Generating report from multiple databases and test runs failure (Issue #921)
[EXTERNAL EMAIL]
@vincent1chen [github.com]<https://urldefense.com/v3/__https:/github.com/vincent1chen__;!!LpKI!mvdBEZnmwMihwyICtAi8DZVf2pwOcfS7mivOZTIlr6fT4_wO1EAkPT3bX2WCnBbYjaRXbdKGewrFF6FxaZXiTNP6FfE$>
We have replicated the issue and tried generating report from multiple db's. We figured out from our analysis that while generating the report, it is fetching the test-run for the second db from the first db itself hence unable to find it and giving error as test run with name test-run-xxxxxxx not found.
We are currently working on the fix.
Thanks.
-
Reply to this email directly, view it on GitHub [github.com]<https://urldefense.com/v3/__https:/github.com/dell/csm/issues/921*issuecomment-1661576770__;Iw!!LpKI!mvdBEZnmwMihwyICtAi8DZVf2pwOcfS7mivOZTIlr6fT4_wO1EAkPT3bX2WCnBbYjaRXbdKGewrFF6FxaZXiohUD4Vg$>, or unsubscribe [github.com]<https://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/BBSEVOH6PTDUP6AE65KOK7DXTHXTVANCNFSM6AAAAAA24TZJRA__;!!LpKI!mvdBEZnmwMihwyICtAi8DZVf2pwOcfS7mivOZTIlr6fT4_wO1EAkPT3bX2WCnBbYjaRXbdKGewrFF6FxaZXihRp0j2M$>.
You are receiving this because you were mentioned.Message ID: ***@***.******@***.***>>
Internal Use - Confidential
|
Fix has been done and will be available in the upcoming release. |
Bug Description
I have multiple db. each db display a storage class. I wan to generate a full report contain different SC test run
/root/cert-csi --debug report --tr powerstore-nfs.db:test-run-5266b8dd --tr powerstore-nfs.db:test-run-3e44b10e --tr powerstore-raw.db:test-run-6bed9547 --tabular --xml
[root@registry ~]# ./cert-csi --db powerstore-raw.db list test-runs |grep test-run [2023-07-29 13:06:31] INFO Starting cert-csi; ver. 0.8.1
[2023-07-29 04:59:14 -0400 EDT] test-run-6bed9547 powerstore-raw 1 ProvisioningSuite SUCCESS
[root@registry ~]# ./cert-csi --db powerstore-nfs.db list test-runs |grep test-run
[2023-07-29 13:06:39] INFO Starting cert-csi; ver. 0.8.1
[2023-07-29 04:54:34 -0400 EDT] test-run-5266b8dd powerstore-nfs 1 VolumeCreationSuite SUCCESS
[2023-07-29 04:59:14 -0400 EDT] test-run-3e44b10e powerstore-nfs 1 ProvisioningSuite SUCCESS
when creating report of second db powerstore-raw, it report fail
[2023-07-29 12:57:06] ERROR Can't generate reports; error=test run with name test-run-6bed9547 not found
[2023-07-29 12:57:06] FATAL test run with name test-run-6bed9547 not found
Logs
[root@registry ~]# /root/cert-csi --debug report --tr powerstore-nfs.db:test-run-5266b8dd --tr powerstore-nfs.db:test-run-3e44b10e --tr powerstore-raw.db:test-run-6bed9547 --tabular --xml
[2023-07-29 12:57:04] INFO Starting cert-csi; ver. 0.8.1
[2023-07-29 12:57:04] INFO powerstore-nfs.db:test-run-5266b8dd
[2023-07-29 12:57:04] INFO powerstore-nfs.db:test-run-3e44b10e
[2023-07-29 12:57:04] INFO powerstore-raw.db:test-run-6bed9547
[2023-07-29 12:57:04] INFO Started generating reports...
Collecting metrics
1 / 1 [-------------------------------------------------------------------------] 100.00% ? p/s
Collecting metrics
1 / 1 [-------------------------------------------------------------------------] 100.00% ? p/s
Collecting metrics
1 / 1 [-------------------------------------------------------------------------] 100.00% ? p/s
[2023-07-29 12:57:04] INFO Started generating reports...
Collecting metrics
1 / 1 [-------------------------------------------------------------------------] 100.00% ? p/s
Generating plots
1 / 1 [-------------------------------------------------------------------------] 100.00% ? p/s
[2023-07-29 12:57:05] WARN No ResourceUsageMetrics provided
[2023-07-29 12:57:05] ERROR no ResourceUsageMetrics provided
report-test-run-5266b8dd:
Name: test-run-5266b8dd
Host: https://192.168.30.2:6443
StorageClass: powerstore-nfs
Minimum and Maximum EntityOverTime charts:
/root/.cert-csi/reports/test-run-5266b8dd/PodsCreatingOverTime.png
/root/.cert-csi/reports/test-run-5266b8dd/PodsReadyOverTime.png
/root/.cert-csi/reports/test-run-5266b8dd/PodsTerminatingOverTime.png
/root/.cert-csi/reports/test-run-5266b8dd/PvcsCreatingOverTime.png
/root/.cert-csi/reports/test-run-5266b8dd/PvcsBoundOverTime.png
Tests:
TestCase: VolumeCreationSuite
Started: 2023-07-29 04:54:35.028048304 -0400 -0400
Ended: 2023-07-29 04:55:00.196481938 -0400 -0400
Result: SUCCESS
Collecting metrics
1 / 1 [-------------------------------------------------------------------------] 100.00% ? p/s
Generating plots
1 / 1 [-------------------------------------------------------------------------] 100.00% 3 p/s
report-test-run-3e44b10e:
Name: test-run-3e44b10e
Host: https://192.168.30.2:6443
StorageClass: powerstore-nfs
Minimum and Maximum EntityOverTime charts:
/root/.cert-csi/reports/test-run-3e44b10e/PodsCreatingOverTime.png
/root/.cert-csi/reports/test-run-3e44b10e/PodsReadyOverTime.png
/root/.cert-csi/reports/test-run-3e44b10e/PodsTerminatingOverTime.png
/root/.cert-csi/reports/test-run-3e44b10e/PvcsCreatingOverTime.png
/root/.cert-csi/reports/test-run-3e44b10e/PvcsBoundOverTime.png
Tests:
TestCase: ProvisioningSuite
Started: 2023-07-29 04:59:14.354888549 -0400 -0400
Ended: 2023-07-29 05:01:07.795076269 -0400 -0400
Result: SUCCESS
[2023-07-29 12:57:06] ERROR Can't generate reports; error=test run with name test-run-6bed9547 not found
[2023-07-29 12:57:06] FATAL test run with name test-run-6bed9547 not found
here is two db file
db.zip
Screenshots
No response
Additional Environment Information
No response
Steps to Reproduce
just execute it
/root/cert-csi --debug report --tr powerstore-nfs.db:test-run-5266b8dd --tr powerstore-nfs.db:test-run-3e44b10e --tr powerstore-raw.db:test-run-6bed9547 --tabular --xml
Expected Behavior
the command run without problem
CSM Driver(s)
CSI driver for powerstore 2.7
Installation Type
helm 3.0
Container Storage Modules Enabled
No response
Container Orchestrator
K8s 1.24.4
Operating System
RHEL 9.1
The text was updated successfully, but these errors were encountered: