Skip to content

cpu: rv64: rebalance weekly CI test partitions#4955

Merged
zhangjian29 merged 2 commits into
uxlfoundation:mainfrom
xiazhuozhao:fix_rv_weekly
Apr 9, 2026
Merged

cpu: rv64: rebalance weekly CI test partitions#4955
zhangjian29 merged 2 commits into
uxlfoundation:mainfrom
xiazhuozhao:fix_rv_weekly

Conversation

@xiazhuozhao
Copy link
Copy Markdown
Contributor

@xiazhuozhao xiazhuozhao commented Apr 6, 2026

Description

This PR rebalances the weekly RISC-V test partitions.

The weekly workflow previously split tests by fixed ctest -I start,,stride indexing, which led to uneven runtimes and caused some partitions to exceed the 6-hour timeout.

This change adds a weighted partitioning mode in the RISC-V test runner and initially uses runtime data from the last successful weekly run to distribute tests more evenly across the 10 weekly jobs, while keeping the existing smoke CI path unchanged.

After the initial rebalance, the runtime weights were refreshed once more using a validation run on my own fork, and the updated results are included here.

Tests missing from the collected runtime data are assigned a default estimated cost of 60 seconds, which keeps the partitioning logic stable for newly added or previously unseen cases.

before

image

after

image

@github-actions github-actions Bot added the devops Github automation label Apr 6, 2026
Co-authored-by: Fei Zhang <zhangfei@iscas.ac.cn>
Co-authored-by: Fei Zhang <zhangfei@iscas.ac.cn>
@xiazhuozhao xiazhuozhao marked this pull request as ready for review April 7, 2026 01:14
@xiazhuozhao xiazhuozhao requested a review from a team as a code owner April 7, 2026 01:14
@vpirogov vpirogov requested a review from a team April 7, 2026 03:18
@zhangjian29 zhangjian29 merged commit c7db8a1 into uxlfoundation:main Apr 9, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

devops Github automation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants