Skip to content

fix(e2e): adapt three E2E jobs to Ubuntu 26.04 runners - #13716

Merged
sandl99 merged 2 commits into
mainfrom
fix/e2e-ubuntu-2604-runner
Oct 26, 2026
Merged

sandl99 merged 2 commits into
mainfrom
fix/e2e-ubuntu-2604-runner

Conversation

@sandl99

@sandl99 sandl99 commented Oct 26, 2026 •

Copy link
Copy Markdown
Collaborator

"## Outcome
Three E2E jobs fail on every run since ubuntu-latest became Ubuntu 26.04 (image 20261012.163.1). This PR makes the smallest test-harness changes needed for them to pass. It contains no product changes.

Reason

  • Shared E2E (vllm-docker-storage-docker): the test put its fake home under os.tmpdir(). On 26.04, /tmp had only 7.7 GiB free, which is less than the 9.3 GB the model cache needs. As a result, the earlier "Insufficient storage" check stopped the run before the error the test expects (could not create Hugging Face cache directory).
  • Install: bootstraps NemoClaw (launchable-smoke): 26.04 ships sudo-rs, which ignores -E. NEMOCLAW_CLONE_DIR never reached scripts/brev-launchable-ci-cpu.sh, so the script cloned to /home/runner/NemoClaw. The test then found <cloneDir>/dist missing.
  • Inference: Model Router: 26.04 ships only Python 3.14. Model Router accepts Python 3.10 up to, but not including, 3.14 (src/lib/onboard/model-router-python.ts), so onboarding exits 1.

PR #12382 already contains the first two fixes, but that PR is a large OpenClaw upgrade. This PR applies those two fixes separately so they do not wait on it.

Related issues

Refs #12382

Changes

  • test/platform/images/vllm-docker-storage.test.ts: create the fake home under RUNNER_TEMP, which is on the runner disk. Off CI, it falls back to os.tmpdir().
  • test/e2e/live/launchable-smoke.test.ts and new test/e2e/fixtures/bootstrap-install-command.ts: run sudo -n env NAME=value ... bash <script> with the bootstrap's non-secret inputs: LAUNCH_LOG, NEMOCLAW_CLONE_DIR, NEMOCLAW_REF, SKIP_DOCKER_PULL, and NEMOCLAW_OPENSHELL_CHANNEL (default stable). No secrets are passed on the command line. The helper and its fast test in test/automation/e2e/brev-launchable-ci-cpu-checksum.test.ts are copied unchanged from chore(deps): update OpenClaw to 2026.10.5 #12382, which keeps the mock/live parity gate satisfied and avoids a merge conflict with that PR.
  • tools/e2e/target-catalogue.mts: pin model-router-provider-routed-inference to ubuntu-24.04. The Pi qualification target already uses this pin.

No assertion, threshold, or deadline changed.

Verification

  • npx vitest run test/e2e/support/workflow-plan.test.ts test/e2e/support/model-router-provider-routed-inference.test.ts test/e2e/support/vllm-docker-storage-telemetry.test.ts test/automation/e2e/e2e-recommendations.test.ts test/e2e/support/standard-profile-workflow-boundary.test.ts test/e2e/support/larger-runner-routing-workflow-boundary.test.ts test/e2e/support/credential-free-tests.test.ts — all passed.
  • Pre-commit hooks passed, including the growth guardrails, the source-shape budget, and the E2E semantic phase plans.
  • Pre-push hooks passed, including publication validation and TypeScript (CLI).
  • Manual PR E2E run 40284953400 on head e03e4903f4, ubuntu-26.04 image: Shared E2E (vllm-docker-storage-docker) and Install: bootstraps NemoClaw and completes hosted inference (docker) both passed.
  • An earlier run 40283362230 on head d9b7f0abe7 also passed both jobs. In that run, Inference: Model Router still failed with the Python 3.14 error. This is expected. Manual PR E2E builds its matrix from tools/e2e/target-catalogue.mts at the trusted main workflow SHA (generate-matrix checks out github.workflow_sha), so the candidate's runner pin cannot take effect before merge. The Pi qualification target already uses the same runner: "ubuntu-24.04" field. Runtime evidence for Model Router will come from the first main push run after merge.
  • npx vitest run test/automation/e2e/brev-launchable-ci-cpu-checksum.test.ts — 24 passed.
  • npx tsx scripts/checks/e2e-mock-parity.mts --base origin/main --head HEAD — passed.
  • The diff contains no secrets, API keys, or credentials.

Review notes

Pinning Model Router to 24.04 only unblocks CI. Real users on Ubuntu 26.04 still hit the same Python 3.14 block. Fixing that needs a product decision: either qualify Python 3.14 for Model Router or document a supported interpreter. That work is out of scope here.


Signed-off-by: San Dang [email protected]
"

Summary by CodeRabbit

  • Tests
    • Improved automated checks for installation setup, including verification that configuration is preserved and sensitive values are not exposed.
    • Updated smoke-test command handling to use consistent setup behavior.
    • Made storage-related checks more reliable across hosted runner environments.
    • Pinned a model-routing test to a compatible runner version to avoid failures from unsupported runtime versions.

- vllm-docker-storage: create the fake home under RUNNER_TEMP; /tmp is a
  small tmpfs on 26.04, so the storage gate stopped the run before the
  asserted cache-directory error.
- launchable-smoke: pass bootstrap inputs through sudo -n env NAME=value;
  sudo-rs ignores -E, so the script cloned to its default location.
- model-router-provider-routed-inference: pin the job to ubuntu-24.04;
  26.04 ships only Python 3.14, outside Model Router's supported range.

Signed-off-by: San Dang <[email protected]>
@copy-pr-bot

copy-pr-bot Bot commented Oct 26, 2026

Copy link
Copy Markdown

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@coderabbitai

coderabbitai Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
Commits

Reviewing files that changed from the base of the PR and between 639670d and e03e490.

Files selected for processing: 5
  • test/automation/e2e/brev-launchable-ci-cpu-checksum.test.ts
  • test/e2e/fixtures/bootstrap-install-command.ts
  • test/e2e/live/launchable-smoke.test.ts
  • test/platform/images/vllm-docker-storage.test.ts
  • tools/e2e/target-catalogue.mts

Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 11 remain after this review.

Walkthrough

The changes add a shared helper for bootstrap sudo arguments, update the vLLM storage-test fixture location, and pin the Model Router E2E target to Ubuntu 24.04.

Changes: Bootstrap sudo environment

Layer / File(s) Summary
Build and validate bootstrap arguments
test/e2e/fixtures/bootstrap-install-command.ts, test/automation/e2e/brev-launchable-ci-cpu-checksum.test.ts
The helper builds noninteractive sudo environment arguments and supplies defaults for Docker pulling and the OpenShell channel. Tests check default and selected values, confirm fixture secrets are absent, and verify token variables remain unset.
Use shared arguments in smoke test
test/e2e/live/launchable-smoke.test.ts
The smoke test uses the helper to construct the bootstrap command arguments. Its command environment and install timeout remain unchanged.

vLLM storage-test fixture

Layer / File(s) Summary
Select the fixture directory
test/platform/images/vllm-docker-storage.test.ts
The fixture uses RUNNER_TEMP when set and otherwise uses the OS temporary directory. Comments describe the hosted-runner storage constraint and the intended cache-directory error.

Model Router runner pin

Layer / File(s) Summary
Pin the target runner
tools/e2e/target-catalogue.mts
The Model Router E2E target uses ubuntu-24.04 instead of the default runner.

Priority: Normal

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

Suggested reviewers: rsliter, deepujain, prekshivyas

Merge Risk: Minimal · up to e03e4

No established issue blocks merging. The Model Router runner pin will receive its first reported runtime validation on a main push.

Pre-merge checks: Passed 4 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Docstring Coverage Warning Docstring coverage is 50.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 2 functions across 5 files. Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed Passed checks: 4 passed
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly summarizes the main changes across the three affected E2E jobs and identifies the Ubuntu 26.04 runner compatibility issue.
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Finishing Touches: 💡 1
📝 Generate docstrings: 💡
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@github-code-quality

github-code-quality Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Code coverage overview

Languages: TypeScript

TypeScript / code-coverage/plugin

main 63002cd fix/e2e-ubuntu-2604-... e03e490 +/-
96% 97% +1%
View coverage of the 10 most impacted files.
File main 63002cd fix/e2e-ubuntu-2604-... e03e490 +/-
nemoclaw/src/onboard/config.ts 98% 96% -2%
nemoclaw/src/index.ts 94% 93% -1%
nemoclaw/src/bl...print/runner.ts 95% 95% 0%
nemoclaw/src/bl...ime-identity.ts 97% 97% 0%
nemoclaw/src/bl...t-management.ts 100% 100% 0%
nemoclaw/src/co.../config-show.ts 100% 100% 0%
nemoclaw/src/commands/slash.ts 100% 100% 0%
nemoclaw/src/ru...time-context.ts 100% 100% 0%
nemoclaw/src/sh...er-boundary.cts 100% 100% 0%
nemoclaw/src/on...native-route.ts 0% 100% +100%

TypeScript / code-coverage/cli

main 63002cd fix/e2e-ubuntu-2604-... e03e490 +/-
84% 86% +2%
View coverage of the 10 most impacted files.
File main 63002cd fix/e2e-ubuntu-2604-... e03e490 +/-
src/lib/onboard.ts 62% 50% -12%
src/lib/actions...ess-recovery.ts 65% 81% +16%
src/lib/state/l...diness-lease.ts 66% 83% +17%
src/lib/inferen...ollama/proxy.ts 41% 61% +20%
src/lib/onboard.../application.ts 55% 84% +29%
src/lib/domain/...y/dimensions.ts 0% 72% +72%
src/lib/inferen...er/lifecycle.ts 0% 73% +73%
src/lib/actions...ry/operation.ts 0% 76% +76%
src/lib/actions...try/snapshot.ts 0% 81% +81%
src/lib/inferen...ovider/index.ts 0% 88% +88%

ℹ️ Calculations represent line coverage. Results may change as calculations are updated.


Updated October 26, 2026 07:40 UTC

Adopt the bootstrap sudo argument helper and its fast test from #12382 so
the launchable smoke change has mapped fast-test parity.

Signed-off-by: San Dang <[email protected]>
@sandl99
sandl99 marked this pull request as ready for review October 26, 2026 07:45
@sandl99

sandl99 commented Oct 26, 2026

Copy link
Copy Markdown
Collaborator Author

E2E evidence for e03e490

Manual PR E2E run 40284953400, attempt 1, passed on the ubuntu-26.04 image (20261012.163.1).

  • Candidate: e03e4903f4f2215facbdd331a551ba3f278e25d2
  • Base: 639670dd3a73a0686a682426058d840d962d900b
  • Workflow: .github/workflows/e2e.yaml on main at 639670dd3a73a0686a682426058d840d962d900b, triggered by workflow_dispatch
  • Selectors: jobs=vllm-docker-storage,bootstrap-install-smoke, targets= (empty), no opt-ins
  • Dispatch receipt e2e-dispatch-40284953400-1 (nemoclaw-e2e-dispatch-v2) matches this PR's number, source repository, candidate, base, and workflow SHA.
  • Result receipt review-queue-e2e-result-40284953400-1: status: pass
Job Result
Shared E2E (vllm-docker-storage-docker) success
Install: bootstraps NemoClaw and completes hosted inference (docker) success
base-image-publication success
Relevant E2E success

Not yet verified

This run did not cover Inference: Model Router. A manual PR E2E run builds its job list from tools/e2e/target-catalogue.mts on main, so it cannot use this PR's ubuntu-24.04 pin. On the earlier head d9b7f0abe7, run 40283362230 still used ubuntu-26.04 and failed with the known Python 3.14 error. The first main push run after merge will show whether the pin works.

@github-actions

Copy link
Copy Markdown
Contributor

PR Review Advisor finished for commit e03e490. Include the Advisor findings in the complete PR feedback collection. Verify and group valid findings before repair.

Request review only when Require no Advisor blockers is green.

All previous runs

@hunglp6d

Copy link
Copy Markdown
Collaborator

Reviewed e03e4903f4 against main@639670dd3a.

No blocking findings in the changed code. The sudo helper passes the intended non-secret inputs as separate arguments, the vLLM test retains its production storage checks, and the Model Router runner setting reaches the existing workflow.

The artifacts from run 40284953400 match this candidate. Both vllm-docker-storage and bootstrap-install-smoke report one passed test and zero skipped tests.

Two evidence limitations remain:

  • Model Router: The ubuntu-24.04 pin has no runtime verification yet. Manual PR E2E generates its matrix from the trusted workflow revision, so the existing run does not validate this change. If validation is deferred until after merge, please record maintainer acceptance and attach the first run that exercises this target on the pinned runner.

  • Inherited cleanup gap, separate follow-up: test/e2e/live/launchable-smoke.test.ts:476 invokes openshell gateway destroy -g nemoclaw without checking its result. The retained artifact reports exit code 2: unrecognized subcommand 'destroy'. This is already present in the base revision, so it is not a regression introduced here. The green test does not establish gateway removal; a separate fix should use the supported lifecycle and verify absence.

This review used source inspection and existing CI artifacts. No local tests were run.

@sandl99
sandl99 merged commit 14c9f59 into main Oct 26, 2026
105 checks passed
@sandl99
sandl99 deleted the fix/e2e-ubuntu-2604-runner branch October 26, 2026 08:02
@sandl99

sandl99 commented Oct 26, 2026

Copy link
Copy Markdown
Collaborator Author

Required-coverage E2E for e03e490

The PR Review Advisor (run 40287240533) required these jobs: cloud-onboard, full-e2e, security-posture, and vllm-docker-storage. Manual PR E2E run 40288222040, attempt 1, ran all of them plus bootstrap-install-smoke. Every job passed.

  • Candidate e03e4903f4f2215facbdd331a551ba3f278e25d2, base and workflow 639670dd3a73a0686a682426058d840d962d900b, triggered by workflow_dispatch.
  • Dispatch receipt e2e-dispatch-40288222040-1 matches this PR, candidate, base, and workflow.
  • Result receipt review-queue-e2e-result-40288222040-1: status: pass.
Job Result
Shared E2E (vllm-docker-storage-docker) success
Cloud onboard (docker) success
OpenClaw: installs, onboards, and completes an agent turn (docker) success
Security: OpenClaw retains the required sandbox posture (docker) success
Security: Hermes retains the required sandbox posture (docker) success
Install: bootstraps NemoClaw and completes hosted inference (docker) success
Relevant E2E success

This PR was merged at 08:02 UTC, before this run finished. The run tested the same head commit that was merged.

Inference: Model Router still has no evidence. The first main push E2E run after merge will show whether the ubuntu-24.04 pin works.

@sandl99

sandl99 commented Oct 26, 2026

Copy link
Copy Markdown
Collaborator Author

Post-merge result: in main push E2E run 40289587128 on merge commit 14c9f5982b, all three jobs this PR targets passed. Inference: Model Router ran on ubuntu-24.04 and passed (1 test). Shared E2E (vllm-docker-storage-docker) and Install: bootstraps NemoClaw also passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: ci CI workflows, checks, release automation, or GitHub Actions area: e2e End-to-end tests, nightly failures, or validation infrastructure chore Build, CI, dependency, or tooling maintenance platform: ubuntu Affects Ubuntu Linux environments

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants