Skip to content

[All Platforms][Sandbox] --cleanup-gateway leaves OpenShell listening on port 8080 after final sandbox destroy #7904

Closed

Description

@mercl-lau

Warning

Regression: the final-destroy listener symptom was fixed by #6597 for #4662, but is reproduced again with NemoClaw v0.0.97.

Description

Destroying the final sandbox with the explicit --cleanup-gateway flag returns success, but the shared OpenShell gateway remains bound to 127.0.0.1:8080 for more than 90 seconds.

Platform scope: Reproduced on macOS arm64, WSL2 arm64/x86_64, DGX Spark, DGX Station, Ubuntu 22.04, Ubuntu 24.04, and Ubuntu 26.04. Brev showed a different earlier-stage failure and is excluded.

Environment

Device:        macOS, WSL2, DGX Spark, DGX Station, and Ubuntu test hosts
OS:            macOS 26.5 and Linux/WSL2
Architecture:  arm64, aarch64, x86_64
Node.js:       v22.22.2 to v22.23.1
npm:           10.9.7 to 10.9.8
Docker:        Docker Engine 28.3.3 to 29.6.2
OpenShell CLI: openshell 0.0.85
NemoClaw:      nemoclaw v0.0.97
OpenClaw:      Unknown (not required for host gateway cleanup)

Steps to Reproduce

  1. Install NemoClaw v0.0.97 with OpenShell 0.0.85.
  2. Onboard two sandboxes named cleanup-a and cleanup-b.
  3. Run nemoclaw cleanup-a destroy --yes.
  4. Verify cleanup-b remains listed and healthy.
  5. Run nemoclaw cleanup-b destroy --yes --cleanup-gateway.
  6. Wait up to 90 seconds and check whether 127.0.0.1:8080 is released.

Expected Result

The final sandbox is removed, the explicit --cleanup-gateway flag tears down the shared NemoClaw gateway, and 127.0.0.1:8080 becomes free.

Actual Result

The destroy command returns success and removes the sandbox, but the OpenShell gateway listener remains on 127.0.0.1:8080 beyond the 90-second wait.

Logs

Port 8080 did not become free within 90000ms. Last observed state: busy.

Activity

  1. added
    NV QA
    needs: triage
    on Jul 30, 2026
  2. added theissue type on Jul 30, 2026
  3. self-assigned this
    on Jul 30, 2026
  4. added
    area: sandbox
    and removed
    needs: triage
    on Jul 31, 2026
  5. added 2 commits that reference this issue on Jul 31, 2026
    a9990cc
    9bc461f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

NV QAarea: sandbox

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions