-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Debug CI crash #5621
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debug CI crash #5621
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -341,6 +341,8 @@ def run_individual_tests(test_files, workspace_root, isaacsim_ci): | |
| sys.executable, | ||
| "-m", | ||
| "pytest", | ||
| "-s", | ||
| "-vv", | ||
|
Comment on lines
+344
to
+345
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time! |
||
| "--no-header", | ||
| f"--config-file={workspace_root}/pyproject.toml", | ||
| f"--junitxml=tests/test-reports-{str(file_name)}.xml", | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-sflag-sdisables pytest's internal output capture so all test stdout flows directly into the subprocess pipe.capture_test_output_with_timeoutaccumulates the entire pipe content in memory (stdout_data += chunk). Isaac Sim tests are extremely verbose — simulation logs, Kit messages, shader compilation output — and the-sflag means none of that is buffered or discarded by pytest. On a long-running test,stdout_datacan grow to hundreds of MB inside the conftest runner process, which could trigger an OOM kill of the runner itself rather than the test under investigation.