Repository navigation
Description
Summary
Since the nightly run of 2026-09-13, mesh-http and gateway-http have failed every single night. The conformance tests themselves pass — gateway-http has zero failing subtests. The only failure is the final writeReport call:
aether_conformance_test.go:406:
Error Trace: gateway-api/conformance/aether_conformance_test.go:267
gateway-api/conformance/aether_conformance_test.go:406
Error: Received unexpected error:
can't generate report: the test suite is currently running
Test: TestAetherMeshHTTP
and the artifact upload then warns No files were found with the provided path: .../gateway-http-report.yaml.
Root cause
a2d72e1 (#751, merged 2026-09-12 17:33Z — after that day's passing 08:37Z run, before the first failure) bumped GATEWAY_API_VERSION: v1.6.1 → v1.6.2 in .github/workflows/e2e.yaml.
Upstream conformance/utils/suite/suite.go changed between those tags. In v1.6.1, Run() cleared the running flag synchronously before returning:
// now that the tests have completed, mark the test suite as not running
suite.lock.Lock()
suite.running = false
suite.results = results
suite.lock.Unlock()
return nilIn v1.6.2 that block is deleted and replaced with a deferred cleanup registered inside Run():
suite.running = true
suite.results = make(map[string]testResult)
suite.lock.Unlock()
t.Cleanup(func() {
suite.lock.Lock()
suite.running = false
suite.lock.Unlock()
})Report() is unchanged and still refuses while the flag is set:
func (suite *ConformanceTestSuite) Report() (*confv1.ConformanceReport, error) {
suite.lock.RLock()
if suite.running {
suite.lock.RUnlock()
return nil, fmt.Errorf("can't generate report: the test suite is currently running")
}Our runner calls writeReport from the test function body, immediately after cSuite.Run(...) returns (test/conformance/conformance_test.go:324 and :406). Under v1.6.2 the flag is still true at that point — it is only cleared once the test body has returned and cleanups run. So Report() now fails deterministically, 100% of the time, regardless of how the conformance tests themselves went. (The run log confirms it: === CONT TestAether.../... lines appear after the report error, i.e. the parallel subtests were still resuming.)
The 503 responses visible in the log are the suite's normal not ready yet: retry probes and are not the failure; nor is digest-mismatch: error, which is an input parameter of actions/download-artifact@v8.
Evidence chain
- Last green: run
34683756839(2026-09-12T08:37, sha323ea92). First red: run34749671249(2026-09-13, shae871c26).a2d72e1lands in that window and is the only commit touching.github/workflows/e2e.yamlortest/conformance/in it (git log --oneline --since=2026-09-01 -- .github/workflows/e2e.yaml test/conformance/). - The only diff
a2d72e1makes toe2e.yamlis the one line:- GATEWAY_API_VERSION: v1.6.1/+ GATEWAY_API_VERSION: v1.6.2. gateway-httpin run35501844094:grep -cE '^\s+--- FAIL' → 0subtest failures, yet--- FAIL: TestAetherGatewayHTTP (42.15s). The report error is the sole cause.- Upstream diff reproduced with
curl raw.githubusercontent.com/kubernetes-sigs/gateway-api/{v1.6.1,v1.6.2}/conformance/utils/suite/suite.go.
Fix direction
Write the report from a t.Cleanup registered before cSuite.Run(...). Cleanups run LIFO, so the suite's own cleanup (registered inside Run, therefore later) fires first and clears running, and ours then sees a quiescent suite — and it also guarantees every parallel subtest has finished, which the current call site never did.
Also make writeReport non-fatal (t.Errorf + return rather than require), so a report failure inside a cleanup does not skip Setup's teardown cleanups.
Pinning back to v1.6.1 is not the fix — the runner should work against the suite version we track.
Not this
digest-mismatch: error— adownload-artifact@v8input, not an error.- The
Error from server (NotFound): gatewayclasses... "aether" not foundline — that is the deliberately toleratedkubectl get gatewayclass aether -o yaml || truediagnostic at the end of the helm-install step; the GatewayClass is created asynchronously by the controller and is present by the time the suite runs (GATEWAY-HTTP passes 100% of its subtests). - The
report-failurejob being broken (missingGH_REPO, fixed in fix(ci): let the e2e failure reporter find its own repository #858) is why nobody was told, but it does not cause this.
Activity