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

Added DiscoveryStarted as an allowed RedfishEndpoint state in the tests #167

Merged
merged 1 commit into from
Jan 13, 2025

Conversation

shunr-hpe
Copy link
Contributor

@shunr-hpe shunr-hpe commented Jan 10, 2025

Summary and Scope

Added DiscoveryStarted as an allowed RedfishEndpoint state in the tests

The test in question takes the first RedishEndpoint in hsm's data and verifies that it has valid data. These tests can be run at any time including right after an install, after an upgrade, after the system has been up for a long time, or others. In these cases DiscoveryStarted is a valid state.

CASMHMS-6363

Issues and Related PRs

Testing

Tested on:

  • Local development environment
  • mug

Risks and Mitigations

Pull Request Checklist

  • Version number(s) incremented, if applicable
  • Copyrights updated
  • License file intact
  • Target branch correct
  • CHANGELOG.md updated
  • Testing is appropriate and complete, if applicable

@shunr-hpe shunr-hpe requested review from a team as code owners January 10, 2025 23:54
Copy link

👋 Hey! Here is the image we built for you (Artifactory Link):

artifactory.algol60.net/csm-docker/unstable/cray-smd-hmth-test:2.32.0-20250110235439.412d9de

Use podman or docker to pull it down and inspect locally:

podman pull artifactory.algol60.net/csm-docker/unstable/cray-smd-hmth-test:2.32.0-20250110235439.412d9de

Or, use this script to pull the image from the build server to a dev system:

Dev System Pull Script

Note the following script only applies to systems running CSM 1.2 or later.

#!/usr/bin/env bash

IMAGE=artifactory.algol60.net/csm-docker/unstable/cray-smd-hmth-test:2.32.0-20250110235439.412d9de

podman run --rm --network host  \
    quay.io/skopeo/stable copy \
    --src-tls-verify=false \
    --dest-tls-verify=false \
    --dest-username "$(kubectl -n nexus get secret nexus-admin-credential -o json | jq -r '.data.username | @base64d')" \
    --dest-password "$(kubectl -n nexus get secret nexus-admin-credential -o json | jq -r '.data.password | @base64d')" \
    docker://$IMAGE \
    docker://registry.local/$IMAGE
Snyk Report

Coming soon

Software Bill of Materials
cosign download sbom artifactory.algol60.net/csm-docker/unstable/cray-smd-hmth-test:2.32.0-20250110235439.412d9de > container_image.spdx

If you don't have cosign, then you can get it here.

Note: this SHA is the merge of 09a08d1 and the PR base branch. Good luck and make rocket go now! 🌮 🚀

Copy link

👋 Hey! Here is the image we built for you (Artifactory Link):

artifactory.algol60.net/csm-docker/unstable/cray-smd:2.32.0-20250110235429.412d9de

Use podman or docker to pull it down and inspect locally:

podman pull artifactory.algol60.net/csm-docker/unstable/cray-smd:2.32.0-20250110235429.412d9de

Or, use this script to pull the image from the build server to a dev system:

Dev System Pull Script

Note the following script only applies to systems running CSM 1.2 or later.

#!/usr/bin/env bash

IMAGE=artifactory.algol60.net/csm-docker/unstable/cray-smd:2.32.0-20250110235429.412d9de

podman run --rm --network host  \
    quay.io/skopeo/stable copy \
    --src-tls-verify=false \
    --dest-tls-verify=false \
    --dest-username "$(kubectl -n nexus get secret nexus-admin-credential -o json | jq -r '.data.username | @base64d')" \
    --dest-password "$(kubectl -n nexus get secret nexus-admin-credential -o json | jq -r '.data.password | @base64d')" \
    docker://$IMAGE \
    docker://registry.local/$IMAGE
Snyk Report

Coming soon

Software Bill of Materials
cosign download sbom artifactory.algol60.net/csm-docker/unstable/cray-smd:2.32.0-20250110235429.412d9de > container_image.spdx

If you don't have cosign, then you can get it here.

Note: this SHA is the merge of 09a08d1 and the PR base branch. Good luck and make rocket go now! 🌮 🚀

Copy link

👋 Hey! Here is the image we built for you (Artifactory Link):

artifactory.algol60.net/csm-docker/unstable/cray-smd-pprof:2.32.0-20250110235433.412d9de

Use podman or docker to pull it down and inspect locally:

podman pull artifactory.algol60.net/csm-docker/unstable/cray-smd-pprof:2.32.0-20250110235433.412d9de

Or, use this script to pull the image from the build server to a dev system:

Dev System Pull Script

Note the following script only applies to systems running CSM 1.2 or later.

#!/usr/bin/env bash

IMAGE=artifactory.algol60.net/csm-docker/unstable/cray-smd-pprof:2.32.0-20250110235433.412d9de

podman run --rm --network host  \
    quay.io/skopeo/stable copy \
    --src-tls-verify=false \
    --dest-tls-verify=false \
    --dest-username "$(kubectl -n nexus get secret nexus-admin-credential -o json | jq -r '.data.username | @base64d')" \
    --dest-password "$(kubectl -n nexus get secret nexus-admin-credential -o json | jq -r '.data.password | @base64d')" \
    docker://$IMAGE \
    docker://registry.local/$IMAGE
Snyk Report

Coming soon

Software Bill of Materials
cosign download sbom artifactory.algol60.net/csm-docker/unstable/cray-smd-pprof:2.32.0-20250110235433.412d9de > container_image.spdx

If you don't have cosign, then you can get it here.

Note: this SHA is the merge of 09a08d1 and the PR base branch. Good luck and make rocket go now! 🌮 🚀

@shunr-hpe shunr-hpe merged commit 0781f83 into master Jan 13, 2025
19 checks passed
@shunr-hpe shunr-hpe deleted the update-expected-test-cases branch January 13, 2025 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants