NVMe Command constant needs to use full path and UT coverage #55
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
The PR contains the below changes
GitHub Issues
List the GitHub issues impacted by this PR:
Checklist:
How Has This Been Tested?
Built the powerstore image pulling the latest changes and sanity run, and tests are passing.
[root@ cert-csi]# ./cert-csi test scaling --sc powerstore
[2024-11-21 06:33:17] INFO Starting cert-csi; ver. 1.6.0
[2024-11-21 06:33:17] INFO Using EVENT observer type
[2024-11-21 06:33:17] INFO Using config from /etc/kubernetes/admin.conf
[2024-11-21 06:33:17] INFO Successfully loaded config. Host: https://X.X.X.X:6443
[2024-11-21 06:33:17] INFO Created new KubeClient
[2024-11-21 06:33:17] INFO Running 1 iteration(s)
[2024-11-21 06:33:17] INFO *** ITERATION NUMBER 1 ***
[2024-11-21 06:33:17] INFO Starting ScalingSuite with powerstore storage class
[2024-11-21 06:33:17] INFO Successfully created namespace scale-test-5ae9a3bb
[2024-11-21 06:33:17] INFO Using default volume size 3Gi
[2024-11-21 06:33:17] INFO Using default image: quay.io/centos/centos:latest
[2024-11-21 06:33:17] INFO Created stateful set sts-scale-test68np7
[2024-11-21 06:33:17] INFO Waiting for sts pods to become ready
[2024-11-21 06:33:27] INFO Scaling to 5 replicas
[2024-11-21 06:33:27] INFO Waiting for sts pods to become ready
[2024-11-21 06:34:01] INFO Scaling to 0 replicas
[2024-11-21 06:34:01] INFO Waiting for sts pods to become ready
[2024-11-21 06:34:03] INFO Deleting all resources in namespace scale-test-5ae9a3bb
[2024-11-21 06:35:06] INFO Namespace scale-test-5ae9a3bb was deleted in 1m2.761504512s
[2024-11-21 06:35:07] INFO SUCCESS: ScalingSuite in 1m50.080913067s
[2024-11-21 06:35:07] INFO Started generating reports...
Collecting metrics
1 / 1 [----------------------------------------------------------------------------------------------------] 100.00% ? p/s[2024-11-21 06:35:07] INFO Started generating reports...
Collecting metrics
1 / 1 [----------------------------------------------------------------------------------------------------] 100.00% ? p/sGenerating plots
1 / 1 [----------------------------------------------------------------------------------------------------] 100.00% ? p/s[2024-11-21 06:35:07] WARN No ResourceUsageMetrics provided
[2024-11-21 06:35:07] ERROR no ResourceUsageMetrics provided
report-test-run-f57749d9:
Name: test-run-f57749d9
Host: https://10.x.x.x:6443
StorageClass: powerstore
Minimum and Maximum EntityOverTime charts:
/root/.cert-csi/reports/test-run-f57749d9/PodsCreatingOverTime.png
/root/.cert-csi/reports/test-run-f57749d9/PodsReadyOverTime.png
/root/.cert-csi/reports/test-run-f57749d9/PodsTerminatingOverTime.png
/root/.cert-csi/reports/test-run-f57749d9/PvcsCreatingOverTime.png
/root/.cert-csi/reports/test-run-f57749d9/PvcsBoundOverTime.png
Tests:
TestCase: ScalingSuite
Started: 2024-11-21 06:33:17.28866488 +0000 UTC
Ended: 2024-11-21 06:35:07.369374214 +0000 UTC
Result: SUCCESS
[2024-11-21 06:35:07] INFO Avg time of a run: 46.05s
[2024-11-21 06:35:07] INFO Avg time of a del: 62.76s
[2024-11-21 06:35:07] INFO Avg time of all: 110.08s
[2024-11-21 06:35:07] INFO During this run 100.0% of suites succeeded
[root@ cert-csi]#