fix(ci): stabilize nightly E2E — PONG retry + landlock PATH
Summary
The nightly E2E has been failing for 10+ consecutive runs with two independent issues. Neither is a code bug — both are test reliability problems.
Failure 1: PONG inference assertion (cloud-e2e, sandbox-survival-e2e)
Direct API call to integrate.api.nvidia.com returns PONG correctly, but sandbox inference through inference.local (gateway proxy) returns hallucinated responses:
FAIL: [LIVE] Sandbox inference: expected PONG, got: The given text does not contain any content to translate into Chinese...
The test asserts an exact match on a single attempt against a live model endpoint. Live models are not deterministic — the assertion needs a retry loop.
Fix: Add 3-attempt retry with 5s backoff for sandbox inference PONG assertions in test-full-e2e.sh and test-sandbox-survival.sh.
Failure 2: Landlock exit 127 (cloud-experimental-e2e)
FAIL: case 04-landlock-readonly exited 127
04-landlock-readonly.sh calls openshell sandbox exec but openshell is not on PATH when the check script runs as a child bash process. The parent script sets PATH in Phase 3, but the child process launched via bash "$case_script" in Phase 5 may not inherit it.
Fix: Export PATH including /usr/local/bin before Phase 5 check scripts in test-e2e-cloud-experimental.sh.
Related
- Auto-created failure issue: #1851
- Nightly workflow:
.github/workflows/nightly-e2e.yaml
✨ Thanks for submitting this issue about the nightly E2E tests failing, which could help resolve the problems with the PONG inference assertion and the landlock PATH issue.
Possibly related open issues: