Skip to content

Commit faa2681

Browse files
jramkissoonclaude
andcommitted
Validate the Devin review fixes on the test bed
Operator built from 455fd80 (issue/NVIDIA#2979 at 0eec9ff merged); the -dirty suffix in the image tag reflects these two files being uncommitted at build time, the validator inside is the committed one. gpus-http-endpoint-node-host (HTTP_ENDPOINT=$(NODE_NAME):51516), on the first fix's build 392ada6: rejected, "the gpus container metrics endpoint (HTTP_ENDPOINT "$(NODE_NAME):51516") and spec.draDriver.gpus.kubeletPlugin.healthcheck.port must differ; both resolve to 51516". The previous build accepted it and the gpus container crash-looped. The IPv6 canonicalisation and the port-range check (0eec9ff) are resolution rules with no cluster-dependent behaviour and are covered by unit tests; the e2e run on their build is the regression guard, since canonicalisation touches every literal host comparison. e2e.sh gains the node-host step. Full run on 455fd80, 11 of 11 passed: resolution-proof PASS 100s metrics-path-proof PASS 87s http-endpoint-override PASS 17s http-endpoint-collision PASS 5s distinct-hosts PASS 97s host-vs-healthcheck PASS 5s env-expansion PASS 91s env-expansion-collision PASS 5s named-port PASS 92s named-port-collision PASS 11s node-host PASS 5s Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
1 parent 455fd80 commit faa2681

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

‎deploy/issue-test-bed/kustomize/components/operator-image/kustomization.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ kind: Component
77
images:
88
- name: nvcr.io/nvidia/gpu-operator
99
newName: localhost/gpu-operator
10-
newTag: issue-2979-2f39ddbb1
10+
newTag: issue-2979-455fd8069-dirty

‎deploy/issue-test-bed/scripts/e2e.sh‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@
1010
# metrics-path-proof review follow-up: an empty METRICS_PATH frees 8080/8081
1111
# http-endpoint-check Devin review: a moved metrics endpoint is accepted,
1212
# and still rejected when it lands on a health port
13-
# endpoint-check x6 kvalliyurnatt's three comments: distinct hosts,
13+
# endpoint-check x7 kvalliyurnatt's three comments: distinct hosts,
1414
# $(VAR) expansion, service names, each with its
15-
# accepted case and its collision case
15+
# accepted case and its collision case; and Devin's
16+
# unresolved-host case, $(NODE_NAME) on a health port
1617
#
1718
# Every step keeps its own proof directory; this script also writes each step's
1819
# output and a summary under proof/e2e-<timestamp>/. The cluster is left on the
@@ -65,6 +66,7 @@ step env-expansion OVERLAY=gpus-http-endpoint-expansion EXPEC
6566
step env-expansion-collision OVERLAY=gpus-http-endpoint-expansion-collision EXPECT=rejected -- "$S/endpoint-check.sh"
6667
step named-port OVERLAY=gpus-http-endpoint-named-port EXPECT=accepted -- "$S/endpoint-check.sh"
6768
step named-port-collision OVERLAY=gpus-http-endpoint-named-port-collision EXPECT=rejected -- "$S/endpoint-check.sh"
69+
step node-host OVERLAY=gpus-http-endpoint-node-host EXPECT=rejected -- "$S/endpoint-check.sh"
6870

6971
failed=0
7072
{

0 commit comments

Comments
 (0)