Skip to content

Commit db94c17

Browse files
test(podman): run the e2e binaries that pass in the tmachine guest (#4422)
* test(podman): run the e2e binaries that pass in the tmachine guest Remove ten binaries from podmanE2eFollowUpBinaries so the rootless tmachine e2e-podman archive runs them: credential_gating, forward_proxy_graphql_l7, forward_proxy_jsonrpc_l7, forward_proxy_l7_bypass, host_gateway_alias, landlock, no_proxy, podman_oci_identity, provider_refresh_handles, and websocket_conformance. All ten passed in two consecutive probe runs. Update the exclusion comments and TESTING.md to match what the remaining entries still need. Contributes to #3712. Signed-off-by: politerealism <burdcat17@gmail.com> * test(podman): explain why each remaining e2e binary is excluded Give every remaining podmanE2eFollowUpBinaries entry its own reason, and mark the five that the wrapper-based Podman lane still runs (driver_config_volume, local_driver_token_restart, podman_corporate_proxy, podman_gateway_start, provider_token_exchange) so it is clear they are covered there until tmachine provides what they need. Contributes to #3712. Signed-off-by: politerealism <burdcat17@gmail.com> --------- Signed-off-by: politerealism <burdcat17@gmail.com>
1 parent ea74f2b commit db94c17

2 files changed

Lines changed: 18 additions & 22 deletions

File tree

‎TESTING.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,8 +314,8 @@ Rust feature and preloads its Python workload image into the rootless Podman
314314
store. The separate `driver-podman` testsuite compares OpenShell and direct
315315
Podman user-namespace mappings for the default, `auto`, `keep-id`, and private
316316
profiles. The E2E archive excludes binaries that still depend on wrapper-owned
317-
gateway controls, host fixtures, missing guest tools, or nondeterministic relay
318-
setup. The `driver-podman` suite replaces the removed `podman_userns` E2E
317+
gateway controls, SPIFFE fixtures, the caller driver-config setting, or other
318+
guest setup. The `driver-podman` suite replaces the removed `podman_userns` E2E
319319
binary. `tests/artifacts.nix` keeps the follow-up exclusions explicit and uses
320320
the same filter for the generated inventory, so excluded binaries cannot appear
321321
as false passes or silently re-enter the archive.

‎tests/artifacts.nix‎

Lines changed: 16 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -104,32 +104,29 @@ let
104104
output = "artifacts/test-archives/${muslToolchain.target}/oci-image-tests.tar";
105105
};
106106

107-
# Follow-up: migrate these wrapper-coupled tests once tmachine provides their
108-
# managed-gateway controls, SPIFFE fixtures, caller driver-config setting,
109-
# guest tools, and matching workload-image identity behavior. The corporate
110-
# proxy and gateway-start binaries currently self-skip without wrapper-owned
111-
# gateway metadata, so exclude them rather than report false passes.
107+
# Follow-up: binaries that do not yet run in the rootless tmachine guest. Each
108+
# entry says what it needs. Entries marked "wrapper lane" still run in the
109+
# wrapper-based Podman lane (`mise run e2e:podman:ci`), so they are covered
110+
# there until tmachine provides what they need.
112111
podmanE2eFollowUpBinaries = [
113-
"credential_gating"
112+
# Needs the caller driver-config settings (`allow_driver_config`,
113+
# `enable_bind_mounts`), which the tmachine gateway does not enable. Wrapper
114+
# lane.
114115
"driver_config_volume"
115-
"forward_proxy_graphql_l7"
116-
"forward_proxy_jsonrpc_l7"
117-
"forward_proxy_l7_bypass"
118-
"host_gateway_alias"
119-
"landlock"
116+
# The next three self-skip without wrapper-owned gateway metadata (restart
117+
# and configuration control), so exclude them rather than report false
118+
# passes. Wrapper lane.
120119
"local_driver_token_restart"
121-
# Standalone tmachine runs can time out while opening the localhost relay.
122-
# Follow up on making the relay setup deterministic before restoring it.
123-
"no_proxy"
124120
"podman_corporate_proxy"
125121
"podman_gateway_start"
126-
"podman_oci_identity"
122+
# Its move to conformance is deferred until the isolation work in #4120; see
123+
# #4246.
127124
"provider_auto_create"
128-
# The provider-refresh feature suite covers revoked Keycloak grants. This
129-
# binary instead covers stable workload handles across repeated rotations
130-
# and explicit refresh reconfiguration in a long-running sandbox.
131-
"provider_refresh_handles"
125+
# Needs the SPIFFE fixtures that the wrapper sets up. Wrapper lane.
132126
"provider_token_exchange"
127+
# One test times out reaching support-container IPs from the sandbox in the
128+
# rootless guest; the other tests in the binary pass. Nextest archive
129+
# filters cannot select individual tests, so keep the complete binary here.
133130
"proxy_egress_pipeline"
134131
# Conformance covers stop/start workspace preservation and deletion while
135132
# stopped. The remaining canonical-main, TTY, attachment replay, and
@@ -138,7 +135,6 @@ let
138135
"sandbox_lifecycle"
139136
# Needs a prebuilt musl DNS probe in guest artifact mode; tracked in #3009.
140137
"transparent_tcp"
141-
"websocket_conformance"
142138
"workspace_lifecycle"
143139
];
144140
podmanE2eArchiveFilter =

0 commit comments

Comments
 (0)