Skip to content

Restore four-worker standalone smoke tests - #9210

Merged
kellyguo11 merged 8 commits into
isaac-sim:mainfrom
kellyguo11:codex/reduce-standalone-ci-time
Nov 25, 2026
Merged

kellyguo11 merged 8 commits into
isaac-sim:mainfrom
kellyguo11:codex/reduce-standalone-ci-time

Conversation

@kellyguo11

@kellyguo11 kellyguo11 commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

#9145 serialized standalone smoke tests, increasing non-Kit test execution from roughly 7 minutes to 20 minutes. Restore four pytest workers within the existing CI job slot budgets. Runner counts, launch cases, assertions, and timeouts stay unchanged.

Kit smoke-test children use a test-only bootstrap that flushes Python and native stdout/stderr instead of Isaac Sim 6.3's global fflush(NULL), which was observed hanging on an unrelated native file lock. Normal app cleanup still runs. Production launchers and simulator code are unchanged; no new tests are added.

Validation on 005a4d524:

  • Full formatting/lint, changelog, and whitespace checks passed.
  • Full GPU CI passed.
  • Kit: 19 passed / 2 skipped in 4m32s; repeat passed in 4m34s.
  • Non-Kit: 23 passed / 3 skipped in 10m27s; repeat passed in 9m11s.
  • No timeout or crash occurred in either standalone group across those runs. Times above measure test execution, excluding job setup.

Native RTX destruction remains slow for H1/NIST under concurrent load: they reached 292s/288s in the first run and 275s/283s in the repeat, against the unchanged 300s limit. The green runs demonstrate that the test-only bootstrap works, but the native teardown delay remains a timeout-margin risk. This PR does not claim to fix that separate native delay.

@kellyguo11

Copy link
Copy Markdown
Contributor Author

run-ci

@isaaclab-bot isaaclab-bot Bot added ci:run-docker Trigger the on-demand Docker and GPU CI workflow and removed ci:run-docker Trigger the on-demand Docker and GPU CI workflow labels Nov 25, 2026
@greptile-apps

greptile-apps Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The reviewed changes appear safe to merge; no actionable defects were established.

Summary

Restores four standalone test workers and replaces Kit’s global native flush with a flush of Python and native standard output streams.

  • Kit flushes standard output and error without waiting on unrelated streams.
  • Standalone smoke tests run with four workers again.

Reviews (2) · Last reviewed commit: "Limit standalone CI changes to concurren..." · Reviewed by Greptile

@isaaclab-review-bot isaaclab-review-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isaac Lab Review Bot

Needs attention: Style consistency (1). Other reviewed categories look good.

  • PR description: Two-file scope matches; qualify “without telemetry exit waits” pending CI and substantiate timing with reproducible baseline/candidate revisions, command/workload, hardware, backend, environment count, warmup, duration, and clean-exit results.
  • Design and architecture: Architecture looks good.
  • Scope and over-engineering: No over-engineering issues.
  • API: API changes look good.
  • Compatibility and deprecation: No breaking changes identified.
  • Implementation: Implementation looks good.
  • Style consistency: The replacement worker comment repeats the nearby docstring and removes the shared-GPU renderer-destruction rationale; retain that constraint until parallel teardown is verified.
  • Test quality: Test quality looks good.

Minor fixes needed. Posted 1 inline finding.

Automated review; human maintainers own approval decisions.

Comment thread tools/test_settings.py Outdated
PYTEST_WORKERS = {
# Overlapping standalone RTX apps can stall in native renderer destruction on a shared GPU.
"test_standalone_scripts.py": 1,
# Each standalone launch owns a subprocess; overlap startups within the job's slot budget.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Warning · Style Consistency — Preserve the renderer-concurrency rationale

This replaces the shared-GPU renderer-destruction warning with process and slot mechanics already covered by the PYTEST_WORKERS docstring. The remaining concurrency constraint becomes hard to find; retain it until parallel renderer teardown is verified.

@kellyguo11

Copy link
Copy Markdown
Contributor Author

run-ci

@isaaclab-bot isaaclab-bot Bot added the ci:run-docker Trigger the on-demand Docker and GPU CI workflow label Nov 25, 2026
@github-actions github-actions Bot added isaac-lab Related to Isaac Lab team and removed ci:run-docker Trigger the on-demand Docker and GPU CI workflow labels Nov 25, 2026
@kellyguo11
kellyguo11 marked this pull request as draft November 25, 2026 08:36
@kellyguo11

Copy link
Copy Markdown
Contributor Author

run-ci

@isaaclab-bot isaaclab-bot Bot added ci:run-docker Trigger the on-demand Docker and GPU CI workflow and removed ci:run-docker Trigger the on-demand Docker and GPU CI workflow labels Nov 25, 2026
@kellyguo11 kellyguo11 changed the title Restore parallel standalone smoke tests without telemetry exit waits Restore concurrent standalone tests and fix shutdown resource cleanup Nov 25, 2026
@kellyguo11 kellyguo11 changed the title Restore concurrent standalone tests and fix shutdown resource cleanup Restore four-worker standalone tests and prevent Kit shutdown stalls Nov 25, 2026
@kellyguo11
kellyguo11 marked this pull request as ready for review November 25, 2026 18:57
@kellyguo11 kellyguo11 changed the title Restore four-worker standalone tests and prevent Kit shutdown stalls Restore four-worker standalone smoke tests Nov 25, 2026
@kellyguo11
kellyguo11 merged commit 76b6530 into isaac-sim:main Nov 25, 2026
131 checks passed
kellyguo11 added a commit that referenced this pull request Nov 25, 2026
…tion (#9228)

## Description

Backport #9210 to `release/3.1.0` and temporarily unblock release wheel
builds while Newton still requires GitHub-pinned dependencies.

The first commit is a clean, exact cherry-pick of
`76b6530954689623e272021263a2fcc1741b7bc2`. A separate follow-up commit
disables the release wheel direct-URL metadata gate, with a TODO to
restore it once Newton is released on a package index. Wheel build,
dependency resolution, and installation checks remain enabled.

Restore four pytest workers for standalone smoke tests within the
existing CI slot budgets. Kit smoke-test children use a test-only
bootstrap to flush Python and native stdout/stderr without Isaac Sim's
global `fflush(NULL)`, which was observed hanging on an unrelated native
file lock. The existing launch cases, assertions, and timeouts are
preserved.

## Validation

- All repository pre-commit hooks passed against
`upstream/release/3.1.0`:
`ISAACLAB_CHANGELOG_BASE_REF=upstream/release/3.1.0 uv run --no-project
--with pre-commit python -m pre_commit run --all-files`.
- Verified the cherry-pick commit exactly matches #9210; the relevant
test runner inputs on the release branch also match the source commit's
parent.
- `git diff --check` passed before committing. Full pre-commit checks
were rerun successfully after the workflow change.
- Reused the [original passing GPU
CI](https://github.com/isaac-sim/IsaacLab/actions/runs/45684084621/attempts/1)
and its repeat results recorded in #9210. GPU tests were not rerun
locally. The project lockfile excludes macOS, so `uv run isaaclab
--format` could not run; the same pre-commit hooks were run directly
through uv instead.

As noted in #9210, native RTX destruction can still approach the
existing 300-second timeout under concurrent load; this backport does
not address that separate delay.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infrastructure isaac-lab Related to Isaac Lab team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant