Repository navigation
Restore concurrent standalone tests and fix shutdown resource cleanup - #9210
kellyguo11 wants to merge 6 commits into
Conversation
|
run-ci |
[Medium impact] The PR appears safe to merge; no actionable issues were found. SummaryRestores parallel standalone smoke tests and disables startup telemetry in test containers.
Reviews (1) · Last reviewed commit: "Restore concurrent standalone tests with..." · Reviewed by Greptile |
There was a problem hiding this comment.
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.
| 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. |
There was a problem hiding this comment.
🟡 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.
|
run-ci |
|
run-ci |
Standalone non-Kit smoke tests grew from about 7 minutes to 20 minutes after #9145 reduced their pytest worker count from four to one. Restore four workers within the existing CI job slot budgets and runner count, and address the shutdown problems exposed by concurrent launches.
fflush(NULL)shutdown hook on the launcher-owned app with a flush of Python and native stdout/stderr. The global flush can deadlock on an unrelated C stream held by a background thread. Normal app and renderer cleanup still runs.All existing launch cases, clean-exit assertions, timeouts, runner counts, and GPU slot budgets are preserved. Kit remains capped at its existing three job slots. Temporary Python/native diagnostic instrumentation has been removed.
Validation:
git diff --checkpassed.ovstorageon macOS. Linux GPU CI validates those packages.7676140de: run 45586822740, attempt 1. Visualizer, OVRTX, and all other package jobs passed.destroyRTXRenderer→gpu.foundation→carb.tasking. CUDA synchronization did not eliminate this slowdown. The overall speedup does not establish stable shutdown.7676140decommit. Non-Kit attempt 2: 23 passed / 3 skipped in 8m34s pytest time (9m36s whole job). Kit attempt 3: 19 passed / 2 skipped in 4m39s pytest time (5m29s whole job), including tactile in 26.81s. No timeout or crash occurred in these repeats.