Repository navigation
test(e2e): drop the live Docker registry pull test - #14093
Merged
Merged
Conversation
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.
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
Collaborator
Author
Authoring session — opening
|
8 tasks
Signed-off-by: Carlos Villela <[email protected]>
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Failure
Part of #14061. Stacked on #14082.
tests/e2e/rust/docker_registry.rsran incargo ci live-dockerwithout 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-dockerselector, as the follow-up checklist proposed.registry_authon every Docker provider, with an optional config filenemoclaw-sdkcompile::docker_providers_authenticate_to_listed_registries(existing)passwordfield is rejected, and the graph names only addresses and config-file pathsThe Kubernetes private-image test still uses
registry_fixture.rs, which stays.I also checked the checklist's
managed_gatewaycontract item; existing tests already cover it, so it needs no code:nemoclaw-providerdiscoveryreports the gateway prerequisitesunavailablewith thespec.gateway.endpointreason.planning_checks_subnet_conflicts_and_defers_absent_shared_networksandplanning_new_gateway_storage_refuses_a_subnet_another_network_holds.gateway_identity_includes_signing_key_and_persisted_encryption_keyandgateway_observation_preserves_identity_and_fails_closed_on_drift_or_partial_results.managed_gateway.rsstays until #14060 owns its port-change and re-apply-after-destroy checks.Validation
cargo ci fmt,cargo ci clippy, andcargo ci test(1,746 tests) passed on darwin_arm64.cargo ci live-dockerruns in this PR's CI without the registry test.