Repository navigation
In progress
In progress
Copy link
Labels
topic:testingUnit, integration, regression, conformance, E2E tests, coverage, flakes, and test infrastructure.
Description
User Story
As a maintainer retiring e2e/rust, I want the OTLP relay and SPIFFE token-exchange tests on testkit with fixtures the environment owns, so they can run alongside other tests on one gateway instead of one at a time.
Description
Split from #5729 (#5792). #5792 keeps provider-refresh and provider-rotation; this issue takes otlp-relay and provider-token-exchange. As written in #5792, both suites bind a service the gateway was configured with at startup, so they can't run concurrently. Rule: the environment owns any service the gateway is configured with at startup; tests check only their own traffic.
| Legacy test | Destination | Notes |
|---|---|---|
otlp_relay::agent_span_reaches_collector_with_attribution |
tests/suites/features/otlp-relay |
|
otlp_relay::span_emitted_before_exit_is_delivered |
tests/suites/features/otlp-relay |
|
otlp_relay::relay_is_inert_without_collector |
tests/suites/features/otlp-relay-inactive |
Runs on an environment whose default gateway has no OTLP export or agent relay, and fails if OPENSHELL_TEST_OTLP_ENDPOINT is set. Not conformance: it would fail any gateway with the relay configured, and its log read is unreliable on k3s-ha (#5752). No per-row filter. |
provider_token_exchange:: independent grants; A/B/A route recovery (2 tests) |
tests/suites/features/provider-token-exchange |
- OTLP: the OTLP environment runs a collector for its lifetime and publishes its captures (for example
OPENSHELL_TEST_OTLP_LOG, JSONL) in place ofOPENSHELL_TEST_OTLP_PORT. Tests name spans from the test's unique name, wait for their own spans, and check attribution and duplicate resource keys only on those spans. - SPIFFE: the environment owns the Workload API socket stub; tests don't delete or recreate the socket. Tests keep private token servers on ephemeral ports.
Acceptance Criteria
- Both packages run with more than one worker without interfering, and carry no "can't run at the same time" note.
-
relay_is_inert_without_collectorruns in its own features package on a gateway without a collector;e2e-suites.ymlhas no per-rowfilter. -
tests/support/README.mdenvironment contract table matches the new variables. -
e2e/rust/tests/otlp_relay.rsandprovider_token_exchange.rsare deleted with their wrapper wiring.
Context
Part of #5297 (PR6a). Provider profile race #5927 is separate.
Metadata
Metadata
Assignees
Labels
topic:testingUnit, integration, regression, conformance, E2E tests, coverage, flakes, and test infrastructure.
Activity