Repository navigation
Closed as not planned
Closed as not planned
Copy link
Labels
NV QABugs found by the NVIDIA QA Teamarea: onboardingOnboarding FSM, provider setup, sandbox launch, or first-run flowarea: sandboxOpenShell sandbox lifecycle, runtime, config, or recoveryintegration: braveBrave integration behaviorplatform: ubuntuAffects Ubuntu Linux environments
Description
Description
Description
On NemoClaw v0.0.38 (Ubuntu 24.04, RTX 6000 Ada), running `nemoclaw onboard --fresh --name brave-test` with Ollama (qwen2.5:7b) provider and `BRAVE_API_KEY` set in the shell so the Brave web-search preset is enabled, the wizard exports the sandbox image successfully and uploads it to the OpenShell gateway, but then the in-gateway sandbox-create step takes much longer than the wizard's 180s readiness check — the wizard concludes "Sandbox 'brave-test' was created but did not become ready within 180s. The orphaned sandbox has been removed — you can safely retry." and the resulting registry has no sandbox. The image-upload phase alone logged "Still uploading image into OpenShell gateway... (525s elapsed)" before "Image openshell/sandbox-from:1778494022 is available in the gateway." — so the cumulative onboard time on this host is roughly 9 min image-upload + 3 min sandbox-ready wait. The 180s timeout is hit even though the sandbox was just created seconds earlier. Net effect: onboard with the Brave preset enabled fails on Ubuntu 24.04 + RTX 6000 Ada with the latest installer despite a healthy gateway, Ollama running, and a valid Brave API key — making the Web-Search day0 path (T560826) un-passable without a manual retry / longer timeout.Environment
Device: Ubuntu workstation 2u1g-x570-1795 (10.63.136.90) OS: Ubuntu 24.04.4 LTS (kernel 6.17.0-19-generic) Architecture: x86_64 GPU: NVIDIA RTX 6000 Ada Generation, 46068 MiB Node.js: v22.22.2 npm: 10.9.7 Docker: 29.4.3 (build 055a478) OpenShell CLI: openshell 0.0.36 NemoClaw: v0.0.38 OpenClaw: 2026.4.24 (cbcfdf6) Provider: Local Ollama, model qwen2.5:7b (4.7 GB) Preset: brave + npm/pypi/huggingface/brew/local-inference auto-applied BRAVE_API_KEY: 31-char BSA-prefixed key (provided in shell)Steps to Reproduce
1. Fresh-ish host with NemoClaw v0.0.38 installed; gateway 'nemoclaw'
already running healthy; Ollama installed and running with qwen2.5:7b.
2. export BRAVE_API_KEY=BSA...
3. Run: nemoclaw onboard --fresh --name brave-test
4. Wizard prompts (this run):
[3/8] inference: Choose [1]: 7 (Local Ollama)
Choose model [1]: (default qwen2.5:7b)
"Apply this configuration? [Y/n]:" → Enter
"Enable Brave Web Search? [y/N]:" → y
(Brave key prompt did NOT appear in this run — BRAVE_API_KEY env
was already set, so the wizard accepted it silently)
[5/8] Messaging channels → Enter (skip)
... policies / preset stage continues ...
[8/8] Building sandbox image (image export, upload)
5. Observe: "Still uploading image into OpenShell gateway... (525s elapsed)"
6. After ~9 min, "Image openshell/sandbox-from: is available in the gateway"
7. Wizard then: "Starting NIM container..." (well, OpenClaw sandbox container)
then: "Waiting for sandbox to become ready..."
8. After 180s, wizard prints failure and removes the orphan.
Expected Result
After a successful sandbox image upload to the gateway, the readiness
wait must give the sandbox enough time to finish initialization
(Ollama proxy bring-up + OpenClaw agent boot + brave preset egress
rules + policy version load) on a normal workstation. Either:
(a) extend the per-readiness-poll deadline (180s → e.g. 600s) so
large preset stacks have time to come up, OR
(b) actively surface what subsystem is still not-yet-ready so the
user knows whether to wait or abort, OR
(c) decouple readiness from a fixed deadline and let the user
`nemoclaw status` afterwards to inspect.
Either way, on a non-pathological host (40+ GB free VRAM, fast disk,
healthy gateway, valid API key), `nemoclaw onboard --fresh` with
the brave preset enabled should produce a Ready sandbox in
`nemoclaw list` on the first run.
Actual Result
Wizard tail:
[progress] Exported 609 MiB
[progress] Uploaded to gateway
Image openshell/sandbox-from:1778494022 is available in the gateway.
Still uploading image into OpenShell gateway... (525s elapsed)
Create stream exited with code 1 after sandbox was created.
Checking whether the sandbox reaches Ready state...
Waiting for sandbox to become ready...
✓ Deleted sandbox brave-test
Sandbox 'brave-test' was created but did not become ready within 180s.
The orphaned sandbox has been removed — you can safely retry.
Retry: nemoclaw onboard
$ nemoclaw list
Sandboxes:
my-assistant * (from a separate earlier silent-install run)
$ # no 'brave-test' present
Logs
Full per-step capture: /home/lab/day0-automation/20260511/report-T560826.txt Driver: /home/lab/day0-automation/20260511/drive_T560826.py Onboard state-machine transitions: [10:06:33] inference (selected Ollama at item 7) [10:06:40] model menu (Enter, default qwen2.5:7b) [10:06:47] yn (Apply config → Enter) [10:06:53] brave_yn (Enable Brave Web Search → y) [10:07:00] messaging (Enter, skip) [10:07:06] wait (image build + upload + sandbox-create) [10:18:52] bash (wizard ended; "did not become ready within 180s") Note: another sandbox 'my-assistant' DOES carry the brave preset (applied by an earlier silent-install run T560899), so the brave preset itself can be applied successfully. The defect is specifically the 180s readiness wait timing out in the fresh-onboard path.
Bug Details
| Field | Value |
|---|---|
| Priority | Unprioritized |
| Action | Dev - Open - To fix |
| Disposition | Open issue |
| Module | Machine Learning - NemoClaw |
| Keyword | NemoClaw, NEMOCLAW_GH_SYNC_APPROVAL, NemoClaw_Onboard, NemoClaw_Sandbox |
[NVB#6164319]
Metadata
Metadata
Assignees
Labels
NV QABugs found by the NVIDIA QA Teamarea: onboardingOnboarding FSM, provider setup, sandbox launch, or first-run flowarea: sandboxOpenShell sandbox lifecycle, runtime, config, or recoveryintegration: braveBrave integration behaviorplatform: ubuntuAffects Ubuntu Linux environments
Activity
docs(onboard): document NEMOCLAW_SANDBOX_READY_TIMEOUT (#3440)
rpelevin commentedon Jul 7, 2026
I would treat this as a sandbox lifecycle receipt problem, not only a longer timeout.
The onboard flow has several durable transitions:
Regression cases:
The important boundary is that created-but-not-ready is a terminal state with evidence, not a generic failure. If the wizard deletes the sandbox, the receipt should prove which created resource was removed and why retry is safe; if it keeps the sandbox, status should expose the last readiness gate that blocked it.
wangericnv commentedon Jul 7, 2026
QA data points supporting this framing, from the original failing run (v0.0.38, Ubuntu 24.04 + RTX 6000 Ada):
From the QA side, a created-but-not-ready terminal state that names the last blocking readiness gate (option (b) in the report), plus retained-for-inspection instead of silent delete, would have made this diagnosable in a single run. Happy to re-run the Brave-preset onboard on the current build with timing instrumentation if that would help validate the receipt design.
rpelevin commentedon Jul 7, 2026
That rerun would be most useful if it treats readiness as a trace with one stable sandbox lifecycle id, not just elapsed time.
I would instrument the Brave-preset path around four checkpoints:
The rerun should include the negative controls that make this non-ambiguous:
That turns the QA rerun into a receipt check: if it passes, the wizard has a real created-but-not-ready lifecycle record; if it fails, the missing field names the next implementation boundary.
fix(onboard): print created sandbox readiness receipt (#6620)
fix(onboard): print created sandbox readiness receipt (NVIDIA#6620)
dfernandez365-rgb commentedon Jul 20, 2026
Current-main audit (
70d7d287) finds the original v0.0.38 GPU-policy cause fixed, but the issue is not fully closed by current evidence./proc/self/task/*/commdirect-GPU policy entry that maintainers identified as the shared cause of [Ubuntu 24.04][Onboard] Brave-preset sandbox onboard times out: "Sandbox … did not become ready within 180s" after 500+s gateway-image upload #3344/[DGX Station][Install] NemoClaw sandbox not ready in 180 seconds #3416; focused current-source tests pass.NEMOCLAW_SANDBOX_READY_TIMEOUT: build/upload/create complete before the 180-second readiness poll starts.reportSandboxReadinessFailureand its isolated tests remain, but the current production flow no longer calls it after feat(gpu): prefer native OpenShell with compatibility fallback #6333 removed the caller. The green helper test therefore protects an orphan, not the outer failure path.Recommended remediation boundary:
sandbox-gpu-create-run-attempt.tsthroughreportSandboxReadinessFailure.alreadyGone, compatibility-deferred, retained-sandbox, and nonzero-create-status behavior.runSandboxGpuCreateFlowreceipt tests for timeout, terminal phase, successful deletion, retained deletion failure, deferred cleanup, and failed create status.mainon the reporter-class Brave path and capture build, upload, create, readiness, status, and receipt evidence before closing.fix(onboard): restore readiness lifecycle receipts
dfernandez365-rgb commentedon Jul 20, 2026
Implementation candidate published from current
main(1143aa5cce77f3bad1b3b5588bd7fddbe438237e):Behavior covered:
The fallback path still prints the structured readiness diagnostic before returning to compatibility handling. Nonzero sandbox-create status remains preserved.
Evidence from the exact signed commit:
npm run build:cli: passednpm run check:diff: passed, including commitlint, Biome, gitleaks, repository checks, CLI TypeScript, env-var documentation gate, and pre-push checksgit diff --check HEAD^...HEAD: passedThe docs receipt example was corrected to the actual emitted values (
state: created_but_not_ready,readiness_gate: sandbox_list:not_ready_timeout) before publication. A native-to-compatibility fallback diagnostic lost during the first draft was also restored before publication.Remaining boundary: a reporter-class remote GPU failure is still required to validate the real backend cleanup/retention paths; mocked lifecycle tests do not manufacture hardware evidence.
fix(onboard): restore readiness lifecycle receipts
dfernandez365-rgb commentedon Jul 20, 2026
A replacement publication candidate now includes upstream
mainat65d78eeb.fix/gpu-readiness-receipt-3344-v21db3404001561c79verified=true, reasonvalidThe replacement preserves the #7261 command and troubleshooting updates. The documentation now identifies each
terminal_resolutionand says to retry only when the CLI prints a retry hint. A second language review found no blocking ambiguity.Exact-head evidence:
test/changelog-docs.test.tsafter the documentation correction: 6 tests passednpm run docs: 0 errors, 2 warningsnpm run build:cli: passednpm run check:diff: passed on01561c79, including both commit messages, gitleaks, repository checks, and CLI TypeScriptThe hardware boundary remains unchanged. Mocked lifecycle tests do not prove a reporter-class remote GPU cleanup or retained-sandbox outcome.
cjagwani commentedon Aug 20, 2026
Prepared the maintainer fix and pushed it for review.
Root cause: the created-sandbox readiness receipt helper and isolated tests remained in the tree, but the production post-create readiness path bypassed the helper and duplicated the older cleanup behavior.
Prepared branch: https://github.com/NVIDIA/NemoClaw/tree/codex/qa-3344-readiness-receipt
Behavior commit: e8549a1
Current published head: e172b63
GitHub reports all published commits as verified.
Behavior now covered:
Evidence:
The branch was synchronized through main commit 95efa26 before the final exact-head gate; main continued moving during validation, so ordinary freshness reconciliation remains for PR opening. A reporter-class Ubuntu + RTX 6000 Ada + Ollama + Brave rerun is still required for hardware evidence before closing the issue.
No PR was opened because that external publication step still awaits explicit user approval.
wscurran commentedon Nov 16, 2026
Thanks for the careful testing and detailed report. We’re focusing development on NemoClaw V1 and don’t plan further work on this Classic report, so we’re closing it as not planned. We appreciate your contribution.