-
Notifications
You must be signed in to change notification settings - Fork 14
test(e2e): add ARM64 GPU end-to-end test on merge to main #670
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
Changes from all commits
1f20b93
bcf592c
4f44eed
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -59,18 +59,32 @@ holodeck_progress "$COMPONENT" 2 4 "Adding CRI-O repository" | |
|
|
||
| CRIO_VERSION="${DESIRED_VERSION}" | ||
|
|
||
| # Default to latest stable CRI-O if no version specified | ||
| if [[ -z "$CRIO_VERSION" ]]; then | ||
| CRIO_VERSION="v1.33" | ||
| holodeck_log "INFO" "$COMPONENT" "No version specified, defaulting to ${CRIO_VERSION}" | ||
| fi | ||
|
|
||
| # Ensure version starts with 'v' and is in vX.Y format (strip patch if present) | ||
| CRIO_VERSION="${CRIO_VERSION#v}" | ||
| CRIO_VERSION="v$(echo "$CRIO_VERSION" | cut -d. -f1,2)" | ||
|
|
||
| # CRI-O migrated from pkgs.k8s.io to download.opensuse.org | ||
| # See: https://github.com/cri-o/packaging#readme | ||
| CRIO_REPO_URL="https://download.opensuse.org/repositories/isv:/cri-o:/stable:/${CRIO_VERSION}" | ||
|
|
||
| # Add CRI-O repo (idempotent) | ||
| if [[ ! -f /etc/apt/keyrings/cri-o-apt-keyring.gpg ]]; then | ||
| sudo mkdir -p /etc/apt/keyrings | ||
| holodeck_retry 3 "$COMPONENT" curl -fsSL \ | ||
| "https://pkgs.k8s.io/addons:/cri-o:/stable:/${CRIO_VERSION}/deb/Release.key" | \ | ||
| "${CRIO_REPO_URL}/deb/Release.key" | \ | ||
| sudo gpg --dearmor -o /etc/apt/keyrings/cri-o-apt-keyring.gpg | ||
| else | ||
| holodeck_log "INFO" "$COMPONENT" "CRI-O GPG key already present" | ||
| fi | ||
|
|
||
| if [[ ! -f /etc/apt/sources.list.d/cri-o.list ]]; then | ||
| echo "deb [signed-by=/etc/apt/keyrings/cri-o-apt-keyring.gpg] https://pkgs.k8s.io/addons:/cri-o:/stable:/${CRIO_VERSION}/deb/ /" | \ | ||
| echo "deb [signed-by=/etc/apt/keyrings/cri-o-apt-keyring.gpg] ${CRIO_REPO_URL}/deb/ /" | \ | ||
| sudo tee /etc/apt/sources.list.d/cri-o.list > /dev/null | ||
| else | ||
| holodeck_log "INFO" "$COMPONENT" "CRI-O repository already configured" | ||
|
Comment on lines
+62
to
90
|
||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,24 @@ | ||||||
| apiVersion: holodeck.nvidia.com/v1alpha1 | ||||||
| kind: Environment | ||||||
| metadata: | ||||||
| name: holodeck-aws-e2e-test-arm64 | ||||||
| description: "end-to-end test infrastructure for ARM64 (Graviton + GPU)" | ||||||
| spec: | ||||||
| provider: aws | ||||||
| auth: | ||||||
| keyName: cnt-ci | ||||||
| privateKey: /home/runner/.cache/key | ||||||
| instance: | ||||||
| type: g5g.xlarge | ||||||
| region: us-east-1 | ||||||
|
||||||
| region: us-east-1 | |
| region: us-west-1 |
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 ARM64 E2E test job is missing an artifact upload step that exists in the main e2e-test job. The e2e-test job includes an "Archive Ginkgo logs" step (lines 68-73) that uploads ginkgo.json artifacts with 15-day retention. This step should be added after the "Run ARM64 GPU e2e test" step to maintain consistency and ensure test results are preserved for debugging. Note that the test run command in line 107 doesn't generate ginkgo.json (no --json-report flag), so you would either need to add the flag to generate the artifact or adjust the artifact upload to capture different logs.