diff --git a/docs/plans-executions/2026-08-24-1224-tracing-e2e.md b/docs/plans-executions/2026-08-24-1224-tracing-e2e.md index 95ac2d6..fc02b96 100644 --- a/docs/plans-executions/2026-08-24-1224-tracing-e2e.md +++ b/docs/plans-executions/2026-08-24-1224-tracing-e2e.md @@ -32,7 +32,37 @@ Judgment calls beyond the plan's letter: OTLP-JSON (`batches[].scopeSpans[].spans[].name`), which is Tempo's actual shape (not Jaeger's). -Verified so far: `go vet -tags=e2e ./...` clean. The live run against -Tempo (`TEMPO_URL=http://192.168.0.30:3200 -OTLP_ENDPOINT=http://192.168.0.30:4318 make test-e2e`) is recorded below -once it has been executed. +Verified so far: `go vet -tags=e2e ./...` clean. + +## Live run against homelab Tempo + +First attempt failed before the suite started — Docker Desktop wasn't +running (`kind` could not create the cluster), and the failure was masked +to exit 0 by a `| tail` pipe on the make invocation (no pipefail in that +shell). Rerun with Docker started first and no pipe: + +```bash +TEMPO_URL=http://192.168.0.30:3200 OTLP_ENDPOINT=http://192.168.0.30:4318 make test-e2e +``` + +Result: **SUCCESS — 4/4 specs (Manager smoke + both tracing Its), 219 s**, +kind cluster auto-deleted. Run id `e2e-1787567624494810000`; the traces are +findable in Grafana with TraceQL +`{resource.test.run.id="e2e-1787567624494810000"}`. Both proxies reached +`Ready` on real squid pods; the create trace carried +`Reconcile Proxy` / `reconcile.managed` / `provider.create` / +`status.patch` and the expected resource attrs; the deletion trace carried +`reconcile.delete` / `provider.delete`. + +Worth noting: the OTLP preflight and both Tempo polls succeeded on the +in-cluster → LAN path (kind on macOS reaches 192.168.0.30 through Docker +Desktop's NAT), so no extra networking setup is needed on this machine. + +The plan's negative verification also ran: with a deliberately wrong +endpoint (`OTLP_ENDPOINT=http://192.168.0.30:9999`) the tracing spec +failed in the BeforeAll preflight after ~52 s with +`OTLP endpoint http://192.168.0.30:9999 is not reachable from inside the +kind cluster; curl output: OTLP_UNREACHABLE` — a named, fast failure +instead of a 2-minute opaque search timeout — and teardown still deleted +the kind cluster (`make cleanup-test-e2e` run explicitly, since a failing +`go test` skips the Makefile's cleanup step).