[CI] Simplify Jenkins pytest execution#19947
Conversation
There was a problem hiding this comment.
Code Review
This pull request simplifies the CI pipeline by removing test sharding, the custom run_pytest wrapper, and the skipped tests reporting bot. Instead, it transitions to running tests directly via pytest -n auto using pytest-xdist for parallel execution. To prevent CPU throttling under parallel execution, several meta-schedule tests have been updated to limit thread/core usage. Feedback on the changes suggests making the test target validation in task_python_unittest.sh more robust by checking for general existence (-e) rather than strictly requiring a directory (-d), which would allow individual test files to be specified in the future.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
4685d69 to
7fc89e7
Compare
Enable standard pytest-xdist automatic parallelism in the canonical launchers while removing external sharding, obsolete wrapper machinery, JUnit reporting, and its XML consumer. Repair broad-suite targets and failure propagation, and bound active nested MetaSchedule test parallelism without blanket serialization.
Build only the tvm_runtime target for the secondary GPU configuration and drop its unused gpu2 artifact upload.
Delete the remaining integration suite-name variables after removing their JUnit wrapper consumer.
7fc89e7 to
d2f51ff
Compare
This PR simplifies Jenkins pytest execution around standard pytest-xdist behavior.
-n auto; the broad suite keeps load-group scheduling because its order-sensitive cases require it.task_clear_pytest.shentry point only because PR jobs evaluate their Jenkinsfile from the trusted base branch before checking out the PR; it performs no cleanup or reporting and can be removed after this pipeline lands.T.handlepointer semantics while preserving its negative lowering check.tvm_runtimetarget for the secondary GPU configuration and removes its unconsumedgpu2artifact upload.The result reduces parallelism to one layer managed by pytest-xdist while preserving GPU filtering and native failure visibility.