CI: use free runners for x86_64-gnu-llvm jobs by marcoieni · Pull Request #134124 · rust-lang/rust (original) (raw)

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 andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation94 Commits21 Checks6 Files changed

Conversation

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})

marcoieni

Split the x86_64-gnu-llvm jobs in two to move them to free runners and reduce the use of large runners in CI.
r? @Kobzol

try-job: x86_64-gnu-llvm-19-1
try-job: x86_64-gnu-llvm-19-2
try-job: x86_64-gnu-llvm-19-3
try-job: x86_64-gnu-llvm-18-1
try-job: x86_64-gnu-llvm-18-2
try-job: x86_64-gnu-llvm-18-3

@marcoieni

@rustbot rustbot added A-testsuite

Area: The testsuite used to check the correctness of rustc

S-waiting-on-review

Status: Awaiting review from the assignee but also interested parties.

T-infra

Relevant to the infrastructure team, which will review and decide on the PR/issue.

labels

Dec 10, 2024

@Kobzol

bors added a commit to rust-lang-ci/rust that referenced this pull request

Dec 10, 2024

@bors

CI: use free runners for x86_64-gnu-llvm jobs

try-job: x86_64-gnu-llvm-19-1 try-job: x86_64-gnu-llvm-19-2 try-job: x86_64-gnu-llvm-18-1 try-job: x86_64-gnu-llvm-18-2

@bors

marcoieni

@rust-log-analyzer

This comment has been minimized.

@bors

@bors bors added S-waiting-on-author

Status: This is awaiting some action (such as code changes or more information) from the author.

and removed S-waiting-on-review

Status: Awaiting review from the assignee but also interested parties.

labels

Dec 10, 2024

@marcoieni

@marcoieni

bors added a commit to rust-lang-ci/rust that referenced this pull request

Dec 10, 2024

@bors

CI: use free runners for x86_64-gnu-llvm jobs

try-job: x86_64-gnu-llvm-19-1 try-job: x86_64-gnu-llvm-19-2 try-job: x86_64-gnu-llvm-18-1 try-job: x86_64-gnu-llvm-18-2

@bors

@bors

☀️ Try build successful - checks-actions
Build commit: 3a90623 (3a906231e57c11e9af1a025356a4d7d7acff0fd7)

@Kobzol

bors added a commit to rust-lang-ci/rust that referenced this pull request

Dec 10, 2024

@bors

CI: use free runners for x86_64-gnu-llvm jobs

try-job: x86_64-gnu-llvm-19-1 try-job: x86_64-gnu-llvm-19-2 try-job: x86_64-gnu-llvm-18-1 try-job: x86_64-gnu-llvm-18-2

@bors

@bors

☀️ Try build successful - checks-actions
Build commit: 786e8ac (786e8ac3c40d1020fa839ccff8ef4070960ea800)

@Kobzol

Too slow. Docker was cached, so that was not it. Probably in this case the build part is slower than the test part? We could use my/your infra analysis scripts to confirm.

@marcoieni

@marcoieni

we were repeating many thing among the two jobs, I created two script to easily test the job split. Once we are satisfied with this experiment, we can find a more "idiomatic" way to split the tasks among the two jobs 👍

@marcoieni

@bors

bors added a commit to rust-lang-ci/rust that referenced this pull request

Dec 11, 2024

@bors

CI: use free runners for x86_64-gnu-llvm jobs

try-job: x86_64-gnu-llvm-19-1 try-job: x86_64-gnu-llvm-19-2 try-job: x86_64-gnu-llvm-18-1 try-job: x86_64-gnu-llvm-18-2

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@marcoieni

@marcoieni

@bors

bors added a commit to rust-lang-ci/rust that referenced this pull request

Dec 12, 2024

@bors

CI: use free runners for x86_64-gnu-llvm jobs

try-job: x86_64-gnu-llvm-19-1 try-job: x86_64-gnu-llvm-19-2 try-job: x86_64-gnu-llvm-19-3 try-job: x86_64-gnu-llvm-18-1 try-job: x86_64-gnu-llvm-18-2 try-job: x86_64-gnu-llvm-18-3

@bors

☀️ Try build successful - checks-actions
Build commit: b9306da (b9306da077ca87a4647b94706d0ef3907619ea0f)

@marcoieni

Looks good 👍
image

Kobzol

set -ex
/tmp/add_dummy_commit.sh

Choose a reason for hiding this comment

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

This should only be needed for the bootstrap self tests, but the way the skips are configured, these now probably run on both llvm[1/2/3]. Anyway, it doesn't hurt to run it everywhere.

@Kobzol

I can't say that I'm happy about this 😆 But it is what it is.

@Kobzol

@bors

📌 Commit ac078a4 has been approved by Kobzol

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors

Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

and removed S-waiting-on-author

Status: This is awaiting some action (such as code changes or more information) from the author.

labels

Dec 16, 2024

GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request

Dec 16, 2024

@GuillaumeGomez

CI: use free runners for x86_64-gnu-llvm jobs

try-job: x86_64-gnu-llvm-19-1 try-job: x86_64-gnu-llvm-19-2 try-job: x86_64-gnu-llvm-19-3 try-job: x86_64-gnu-llvm-18-1 try-job: x86_64-gnu-llvm-18-2 try-job: x86_64-gnu-llvm-18-3

GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request

Dec 16, 2024

@GuillaumeGomez

CI: use free runners for x86_64-gnu-llvm jobs

try-job: x86_64-gnu-llvm-19-1 try-job: x86_64-gnu-llvm-19-2 try-job: x86_64-gnu-llvm-19-3 try-job: x86_64-gnu-llvm-18-1 try-job: x86_64-gnu-llvm-18-2 try-job: x86_64-gnu-llvm-18-3

GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request

Dec 16, 2024

@GuillaumeGomez

CI: use free runners for x86_64-gnu-llvm jobs

try-job: x86_64-gnu-llvm-19-1 try-job: x86_64-gnu-llvm-19-2 try-job: x86_64-gnu-llvm-19-3 try-job: x86_64-gnu-llvm-18-1 try-job: x86_64-gnu-llvm-18-2 try-job: x86_64-gnu-llvm-18-3

bors added a commit to rust-lang-ci/rust that referenced this pull request

Dec 16, 2024

@bors

…llaumeGomez

Rollup of 9 pull requests

Successful merges:

r? @ghost @rustbot modify labels: rollup

bors added a commit to rust-lang-ci/rust that referenced this pull request

Dec 16, 2024

@bors

…iaskrgr

Rollup of 9 pull requests

Successful merges:

r? @ghost @rustbot modify labels: rollup

rust-timer added a commit to rust-lang-ci/rust that referenced this pull request

Dec 16, 2024

@rust-timer

Rollup merge of rust-lang#134124 - MarcoIeni:split-llvm-jobs, r=Kobzol

CI: use free runners for x86_64-gnu-llvm jobs

try-job: x86_64-gnu-llvm-19-1 try-job: x86_64-gnu-llvm-19-2 try-job: x86_64-gnu-llvm-19-3 try-job: x86_64-gnu-llvm-18-1 try-job: x86_64-gnu-llvm-18-2 try-job: x86_64-gnu-llvm-18-3

@lqd

For future PRs, it would be nice to clean up the commit history before landing, thanks! 🙏

@marcoieni

oh my god, sorry...I forgot 😵

@Kobzol

@lqd

Labels

A-testsuite

Area: The testsuite used to check the correctness of rustc

S-waiting-on-bors

Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

T-infra

Relevant to the infrastructure team, which will review and decide on the PR/issue.