Repository navigation
Labels
NV QABugs found by the NVIDIA QA Teamarea: cliCommand line interface, flags, terminal UX, or outputarea: networkingDNS, proxy, TLS, ports, host aliases, or connectivity
Description
Description
When all dashboard ports in the default 18789–18799 range are held by external processes, nemoclaw onboard continues instead of failing fast with a clear "all dashboard ports occupied" error. This behavior conflicts with the test design that expects a fatal preflight abort when the entire dashboard port range is unavailable.
Component area: Onboard (preflight, dashboard port allocation).
Environment
Host: DGX Spark (NVIDIA GB10, FastOS), aarch64
nemoclaw: v0.0.46
openshell: 0.0.39
Docker: Docker CE; nvidia user in docker group; docker ps empty before test.
Steps to Reproduce
Preconditions:
nemoclaw list
# (no sandboxes)
docker ps
# (empty)Repro:
- Start placeholder servers on all 11 ports:
for p in $(seq 18789 18799); do python3 -m http.server "$p" &> /dev/null & done
- Verify ports:
ss -ltn | grep -E ':1879[0-9]' # LISTEN lines for 18789–18799, all external (python3)
- Run onboarding:
nemoclaw onboard --name overflow-test
- Observe the preflight and subsequent steps.
Expected Result
- Preflight should detect that all candidate dashboard ports (18789–18799) are occupied by non-OpenShell processes.
nemoclaw onboardshould abort before the inference step with a fatal error similar to:All dashboard ports in range 18789-18799 are occupied: - 18789 → non-OpenShell host listener - 18790 → non-OpenShell host listener ... - 18799 → non-OpenShell host listener- Exit code should be non-zero; no gateway or sandbox should be created.
- After freeing the ports and rerunning
nemoclaw onboard --name overflow-test, onboarding should succeed and assign 18789 as the dashboard port.
Actual Result
All 11 ports are confirmed listening for external python3 processes:
ss -ltn | grep -E ':1879[0-9]'
# LISTEN 0 5 0.0.0.0:18790 ...
# ...
# LISTEN 0 5 0.0.0.0:18799 ...
nemoclaw onboard --name overflow-test:
- Preflight passes.
- Gateway reuse is reported on port 8080:
✓ Port 8080 already owned by healthy NemoClaw runtime (OpenShell gateway) - Onboarding proceeds to
[3/8] Configuring inference (NIM)and shows the inference menu. - No "all dashboard ports occupied" error is shown.
- Exit code is 0 up to the inference selection step.
Impact
- The documented/expected negative behavior "all dashboard ports in range occupied ⇒ fatal preflight abort with clear listing" is not implemented in NemoClaw v0.0.46.
- QA cannot validate how NemoClaw behaves when the entire dashboard port range is exhausted; instead, onboarding continues until a later bind failure (if any) or silently records no dashboard URL.
- Users with many external processes on 18789–18799 may see onboarding proceed without a dashboard, with no clear guidance on port conflicts.
Suggested Fix
- At preflight or early in
onboard, scan the dashboard port range (default 18789–18799, or the configured range) for listeners. - If all ports are occupied by non-OpenShell processes, fail fast with a clear fatal error that lists each port and process and suggests either:
- Freeing some ports; or
- Setting
NEMOCLAW_DASHBOARD_PORT/--control-ui-portto a different range.
Metadata
Metadata
Assignees
Labels
NV QABugs found by the NVIDIA QA Teamarea: cliCommand line interface, flags, terminal UX, or outputarea: networkingDNS, proxy, TLS, ports, host aliases, or connectivity
Activity
wscurran commentedon May 21, 2026
✨
Related open PRs:
PrachiShevate-nv commentedon May 27, 2026
Unable to reproduce the issue on NemoClaw v0.0.52, closing the bug.
local-mercl@2u2g-gen-0690:~$ nemoclaw onboard --name overflow-test
NemoClaw Onboarding
[1/8] Preflight checks
──────────────────────────────────────────────────
✓ Docker is running
✓ Docker can start bridge containers
✓ Container DNS resolution works
✓ Container runtime: docker
✓ Container runtime resources: 16 vCPU / 251.4 GiB
✓ openshell CLI: openshell 0.0.44
✓ Port 8080 already owned by healthy NemoClaw runtime (OpenShell gateway)
✓ NVIDIA GPU detected (NVIDIA GeForce RTX 5090, 32607 MB)
✓ Docker CDI GPU support detected (/etc/cdi/nvidia.yaml, /run/cdi/nvidia.yaml)
✓ Sandbox GPU: enabled (auto)
✓ Memory OK: 257441 MB RAM + 0 MB swap
All dashboard ports in range 18789-18799 are occupied:
18789 → non-OpenShell host listener
18790 → non-OpenShell host listener
18791 → non-OpenShell host listener
18792 → non-OpenShell host listener
18793 → non-OpenShell host listener
18794 → non-OpenShell host listener
18795 → non-OpenShell host listener
18796 → non-OpenShell host listener
18797 → non-OpenShell host listener
18798 → non-OpenShell host listener
18799 → non-OpenShell host listener
Free a sandbox or use --control-ui-port with a port outside this range.
local-mercl@2u2g-gen-0690:~$