-
Notifications
You must be signed in to change notification settings - Fork 41
CASMCMS-9609:Add cmsdev new options and CRUD tests #6430
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
base: release/1.7
Are you sure you want to change the base?
Conversation
f8b9474 to
4947985
Compare
4947985 to
720a05d
Compare
|
Keeping it in draft mode until the cms team reviews this. |
troubleshooting/cmsdev_tests.md
Outdated
| @@ -0,0 +1,573 @@ | |||
| # `cmsdev` Test Suite Documentation | |||
|
|
|||
| The `cmsdev` test suite is a comprehensive validation tool in CSM (Cray System Management). It verifies the health, functionality, and API operations of critical system services including BOS, CFS, Conman, IMS, iPXE/TFTP, and VCS. | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BOS, CFS, IMS, and VCS should have their full names in parentheses, and link to their entry in glossary.md (in the root of the repo)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated
troubleshooting/cmsdev_tests.md
Outdated
| When run on a Kubernetes master NCN, the TFTP file transfer subtest is omitted. However, that TFTP subtest is | ||
| run on a worker NCN as part of the Goss NCN health checks. | ||
|
|
||
| (`ncn-mw#`) The following command runs the entire `cmsdev` test suite (with the possible exception of the TFTP file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is no longer true with the addition of the CLI and tenancy flags. The example should either use those flags, or note those exceptions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated to add the exceptions
troubleshooting/cmsdev_tests.md
Outdated
|
|
||
| **Tests performed**: | ||
|
|
||
| 1. **iPXE pod verification** (per architecture): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| 1. **iPXE pod verification** (per architecture): | |
| * iPXE pod verification |
troubleshooting/cmsdev_tests.md
Outdated
|
|
||
| 1. **iPXE pod verification** (per architecture): | ||
| * Verifies iPXE build pods for supported architectures: | ||
| * `x86_64` (`amd64`) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does it mean to have that in parentheses here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is added for clarity as x86_64 is also referred as amd64
troubleshooting/cmsdev_tests.md
Outdated
|
|
||
| 2. **TFTP pod verification**: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| 2. **TFTP pod verification**: | |
| * TFTP pod verification |
troubleshooting/cmsdev_tests.md
Outdated
| * `x86_64` (`amd64`) | ||
| * aarch64 (arm64) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does the parenthetical text indicate?
troubleshooting/cmsdev_tests.md
Outdated
| 1. **iPXE pod verification** (per architecture): | ||
| * Verifies iPXE build pods for supported architectures: | ||
| * `x86_64` (`amd64`) | ||
| * aarch64 (arm64) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| * aarch64 (arm64) | |
| * `aarch64` (`arm64`) |
|
I have more comments coming -- github just seemed unhappy with me adding more before I submitted them, for some reason. I'll comment when I'm all done |
troubleshooting/cmsdev_tests.md
Outdated
| * `x86_64` (`amd64`) | ||
| * aarch64 (arm64) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does the parenthetical text indicate?
troubleshooting/cmsdev_tests.md
Outdated
|
|
||
| 3. **Persistent Volume Claims (PVC) verification**: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| 3. **Persistent Volume Claims (PVC) verification**: | |
| * Persistent Volume Claims (PVC) verification |
troubleshooting/cmsdev_tests.md
Outdated
|
|
||
| 4. **iPXE binary `configmap` validation**: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| 4. **iPXE binary `configmap` validation**: | |
| * iPXE binary ConfigMap validation |
troubleshooting/cmsdev_tests.md
Outdated
| * Retrieves iPXE binary names from Kubernetes `configmap` | ||
| * Validates `configmap` structure and content |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| * Retrieves iPXE binary names from Kubernetes `configmap` | |
| * Validates `configmap` structure and content | |
| * Retrieves iPXE binary names from Kubernetes ConfigMap | |
| * Validates ConfigMap structure and content |
troubleshooting/cmsdev_tests.md
Outdated
|
|
||
| 5. **TFTP file transfer test** (worker NCNs only): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| 5. **TFTP file transfer test** (worker NCNs only): | |
| * TFTP file transfer test (only run on worker NCNs) |
troubleshooting/cmsdev_tests.md
Outdated
| * `cray-tftp` (NMN network) | ||
| * `cray-tftp-hmn` (HMN network) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The two networks should be links to their corresponding entries in glossary.md
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added the links.
| message that resembles the following: | ||
| **Symptom**: The VCS subtest fails with a command error. | ||
| **Error message**: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| **Error message**: | |
| The error message resembles the following: |
| ``` | ||
|
|
||
| If the test is run in verbose mode, or the `cmsdev` log file is examined, a line similar to the following is found: | ||
| **Detailed error** (visible in verbose mode or log file): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| **Detailed error** (visible in verbose mode or log file): | |
| If the test is run in verbose mode, or the `cmsdev` log file is examined, a line similar to the following is found: |
| * Run test in verbose mode: `/usr/local/bin/cmsdev test -v vcs` | ||
| * Or examine the log file: `/opt/cray/tests/install/logs/cmsdev/YYMMDD_HHMMSS_microseconds_PID/cmsdev.log` | ||
|
|
||
| See the [`cmsdev` Test Suite Documentation](../cmsdev_tests.md#logging) for more information on logging. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| See the [`cmsdev` Test Suite Documentation](../cmsdev_tests.md#logging) for more information on logging. | |
| See [Logging](../cmsdev_tests.md#logging) for more information on logging. |
|
|
||
| See the [`cmsdev` Test Suite Documentation](../cmsdev_tests.md#logging) for more information on logging. | ||
|
|
||
| ## Additional Resources |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| ## Additional Resources | |
| ## Additional resources |
|
|
||
| ## SMS test execution | ||
| > **See also**: [`cmsdev` Test Suite Documentation](../cmsdev_tests.md) - Comprehensive documentation including all available tests, command-line options, and usage examples. | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There should be a table of contents for the page here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added
|
Ok, I'm done with this review pass |
Co-authored-by: Mitch Harding <mitchell.harding@hpe.com> Signed-off-by: kumarrahul04 <146384313+kumarrahul04@users.noreply.github.com>
cff93b9 to
3db5045
Compare
CASMCMS-9609:Add cmsdev new options and CRUD tests