Skip to content

test(e2e): drop the live Docker registry pull test - #14093

Merged
cv merged 8 commits into
v1from
test/14061-registry-unit
Nov 3, 2026
Merged

cv merged 8 commits into
v1from
test/14061-registry-unit

Conversation

@sandl99

@sandl99 sandl99 commented Nov 2, 2026

Copy link
Copy Markdown
Collaborator

Failure

Part of #14061. Stacked on #14082.

tests/e2e/rust/docker_registry.rs ran in cargo ci live-docker without deploying NemoClaw. It compiled a document with a listed registry, wrote a one-resource OpenTofu graph around the Docker provider block, and checked that the provider pulled from a run-owned registry with the host's login, that an anonymous pull was refused, and that state and output held no credential.

Decision

Delete the live test and its live-docker selector, as the follow-up checklist proposed.

Check Owner after this PR
A listed registry becomes registry_auth on every Docker provider, with an optional config file nemoclaw-sdk compile::docker_providers_authenticate_to_listed_registries (existing)
The configuration holds no credential value: a password field is rejected, and the graph names only addresses and config-file paths The same test (existing)
The provider pulls with the host's login and refuses an anonymous pull The Docker provider's behavior; no NemoClaw test

The Kubernetes private-image test still uses registry_fixture.rs, which stays.

I also checked the checklist's managed_gateway contract item; existing tests already cover it, so it needs no code:

  • A gateway port in use: nemoclaw-provider discovery reports the gateway prerequisites unavailable with the spec.gateway.endpoint reason.
  • A subnet another network holds: planning_checks_subnet_conflicts_and_defers_absent_shared_networks and planning_new_gateway_storage_refuses_a_subnet_another_network_holds.
  • A swapped key-encryption key: gateway_identity_includes_signing_key_and_persisted_encryption_key and gateway_observation_preserves_identity_and_fails_closed_on_drift_or_partial_results.

managed_gateway.rs stays until #14060 owns its port-change and re-apply-after-destroy checks.

Validation

  • cargo ci fmt, cargo ci clippy, and cargo ci test (1,746 tests) passed on darwin_arm64.
  • cargo ci live-docker runs in this PR's CI without the registry test.

Each live scenario now runs as an HCL E2E case: tofu test applies the
case through the bundled CLI, checks a real reply from the recorded
runtime, a plan without changes, and destroy with only persistent
storage retained. Live / HCL gains the two hosted parity cases, Brev runs
the OpenClaw parity case, and cargo ci live-docker runs the dummy case.

Delete the Rust lifecycles they replace: brev.rs and its test target,
fabric_live.rs, model_live.rs, dummy_agent.rs, and hosted_parity's live
module. Their failure, recovery, drift, and export checks belong to the
HCL integration and contract migrations (#14060, #14059).

Refs #14061
Move nemoclaw-e2e's local-fixture tests to tests/integration (binary
integration) and its live tests to tests/e2e (binary e2e). The shared
NemoClaw documents move from hcl/cases to cases, the tofu test root to
tests/integration/hcl, its runner to tests/integration/tofu_test, and the
live HCL to tests/e2e/hcl. Module and test names are unchanged.

Related to #14060 and #14061.
The e2e binary now separates the HCL E2E scenarios in tests/e2e/hcl from
the Rust live tests not yet migrated to them, which move to tests/e2e/rust
with their fixtures and helpers. Module names stay the same, so test names
and profile filters do not change. Brev runs the e2e executable.

Refs #14061
#14090)

<!-- SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION &
AFFILIATES. All rights reserved. -->
<!-- SPDX-License-Identifier: Apache-2.0 -->

## Failure

Part of #14061 (parent #13933). Stacked on #14082, which is stacked on
#14088.

The live checks for several agents sharing one local model, and for
agents on a managed Ollama model, were Rust tests that no workflow ran:
the Spark plan-and-apply test needs GB10 hardware, and `shared_service`,
`managed_ollama`, and `existing_ollama` run against a simulated Ollama
service. Two more, `managed.rs` and `nemoclaw-sdk`'s `managed_live`,
only re-read state an earlier manual run left behind.

## Decision

Add two HCL E2E scenarios on the Live / HCL NVIDIA GPU runner. Each has
the four runs from #14082: apply through the bundled CLI, a reply from
each agent's recorded runtime, a plan without changes, and destroy that
keeps only the expected storage.

| Case | Deployment | Reply check |
|---|---|---|
| `docker-openclaw-hermes-vllm` | OpenClaw and Hermes sharing one vLLM
Qwen3-4B service with bearer authentication | Any reply from each |
| `docker-openclaw-hermes-ollama` | OpenClaw on NVIDIA hosted inference
beside Hermes on a managed Ollama `qwen3:0.6b` | OpenClaw answers
`FOUR`; Hermes any reply |

Both documents copy the integration cases
`docker-vllm-shared-two-agents` and `docker-hosted-ollama-two-agents`,
changing only what the GPU runner needs: the `rtx-pro-6000-blackwell`
hardware profile, candidate agent image templates, and their own
identity, port, and subnet. I first changed the shared cases instead,
but the profile and image changes alter resource addresses that the
#14063 integration scenarios assert, so `hcl_integration` failed; the
shared cases are unchanged here.

Live / HCL builds the `ollama` image for the Ollama case and binds
`nc-prototype-ollama@sha256:a…` to it, as it binds the vLLM and agent
images.

Deleted, with where each remaining check belongs:

| Deleted | Happy path now in | Other checks |
|---|---|---|
| `spark::spark_yaml_plans_and_applies_expected_resources` |
`docker-openclaw-hermes-vllm` | The Spark document's exact plan set:
#14063. GB10 hardware: a later Spark case. The image-change test stays
in `tests/e2e/rust/spark.rs`. |
| `shared_service` | `docker-openclaw-hermes-vllm` | Export/reapply of a
shared service: #14063 export test |
| `managed_ollama` | `docker-openclaw-hermes-ollama` | Capacity and
container-creation failures, storage retained without a container:
#14063 and #14064 `nemoclaw/storage` |
| `existing_ollama` | `docker-openclaw-hermes-ollama` (managed Ollama) |
A changed upstream model digest is refused: #14063. Reusing an existing
Ollama server has no live case yet. |
| e2e `managed.rs`, `nemoclaw-sdk` `managed_live` | Every scenario's
unchanged plan and destroy | None; they re-read an earlier run's state |

The service-image helpers that only those tests used are removed;
`remote_models` keeps the rest.

Net: +354/−641 across 16 files.

## Validation

- `cargo ci fmt`, `cargo ci clippy`, and `cargo ci test` (1,746 tests)
passed on darwin_arm64.
- `cargo ci lifecycle` on darwin_arm64: `hcl_integration` shards pass
with the shared cases unchanged. One run failed `nemoclaw-provider`
`service_readiness::standalone_readiness_defers_to_apply_rechecks_unchanged_services_and_allows_destroy`
under load; it passed twice when run alone, and this PR doesn't touch
providers.
- The Linux-only service-image modules don't compile on macOS. I
compiled them with clippy `-D warnings` after stripping their
`cfg(target_os = "linux")` gates in a scratch copy, which found the
helpers removed here; the files in the PR keep their gates.
- Both scenarios pass against a fake CLI and probe with the pinned
OpenTofu 1.12.9.
- Not run: the two Live / HCL GPU lanes. They need a push to
`run-hcl-e2e/**`, which hasn't been authorized. Until they pass, this PR
should not merge.
Resolve the squashed #14088 against this branch's earlier merge of its unsquashed branch: keep this branch's tests/e2e/hcl and tests/e2e/rust layout and take v1's other changes, including #14064 and #14080.
The live test wrote a one-resource OpenTofu graph and checked that the
Docker provider pulls with the host's registry login. NemoClaw's part,
turning a listed registry into the provider's registry_auth without
credential values, is covered by nemoclaw-sdk's
docker_providers_authenticate_to_listed_registries; the pull itself is
the Docker provider's behavior. The Kubernetes registry test keeps the
shared registry fixture.

Refs #14061
@sandl99

sandl99 commented Nov 2, 2026

Copy link
Copy Markdown
Collaborator Author
Authoring session — opening
Field Status Value Evidence or limit
Harness recorded Pi 1.2.0 (TUI) Session metadata and installed release; cutoff before publication
Skills recorded nemoclaw-contributor-implement-issue (complete read); nemoclaw-contributor-create-pr (complete read) Tool reads in the session record to cutoff
Instruction files partial AGENTS.md on main (injected); AGENTS.md on v1 (complete read); PULL_REQUEST_TEMPLATE.md (complete read); SESSION_REPORT_TEMPLATE.md (complete read) WRITING.md and E2E authoring guidance were read only in part
Tool calls partial typescript: 387 Wrapper calls to cutoff, including 15 failed results; nested shell and git calls inside the wrapper are not counted
Session window recorded 2026-11-02T05:51Z to 2026-11-02T17:04Z; 11 h 13 min First event to cutoff, including idle time
Compactions recorded 0 Complete record to cutoff; it has context elisions but no compaction
Models recorded claude-opus-5-5 Model change event; no later change
Reasoning levels recorded medium; high Thinking-level changes, in order

@wscurran wscurran added area: ci CI workflows, checks, release automation, or GitHub Actions area: e2e End-to-end tests, nightly failures, or validation infrastructure area: security Security controls, permissions, secrets, or hardening chore Build, CI, dependency, or tooling maintenance labels Nov 2, 2026
Base automatically changed from test/14061-hcl-live-migration to v1 November 3, 2026 02:49
@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

@cv
cv merged commit c78579e into v1 Nov 3, 2026
54 checks passed
@cv
cv deleted the test/14061-registry-unit branch November 3, 2026 03:12
@wscurran wscurran added the v1 NemoClaw v1 branch label Nov 3, 2026
@cv cv added this to the Roadmap: GTC DC 2026 milestone Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: ci CI workflows, checks, release automation, or GitHub Actions area: e2e End-to-end tests, nightly failures, or validation infrastructure area: security Security controls, permissions, secrets, or hardening chore Build, CI, dependency, or tooling maintenance v1 NemoClaw v1 branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants