Skip to content

ci: use aws codebuild for the dist-x86_64-linux job #140349

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

marcoieni
Copy link
Member

@marcoieni marcoieni commented Apr 26, 2025

r? @ghost

We want to use aws credits for linux runners.

try-job: dist-x86_64-linux

@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 Apr 26, 2025
@marcoieni
Copy link
Member Author

@bors try

bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 26, 2025
…ers, r=<try>

ci: use aws codebuild for x86 linux large runners

try-job: dist-x86_64-linux
try-job: dist-x86_64-linux-alt
try-job: x86_64-gnu-distcheck
@bors
Copy link
Collaborator

bors commented Apr 26, 2025

⌛ Trying commit c2922b4 with merge 1c29b938bf040094c6a8f4e14e5c0980bea69d8c...

@bors
Copy link
Collaborator

bors commented Apr 26, 2025

💔 Test failed - checks-actions

@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 Apr 26, 2025
@rust-log-analyzer

This comment has been minimized.

@marcoieni marcoieni force-pushed the codebuild-linux-large-runners branch 3 times, most recently from 48990e2 to ed20b7f Compare April 27, 2025 09:11
@marcoieni
Copy link
Member Author

@bors try

@bors
Copy link
Collaborator

bors commented Apr 27, 2025

⌛ Trying commit ed20b7f with merge 51349b0d6ae41043c5e7b4925d19f587cdeb7c72...

bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 27, 2025
…ers, r=<try>

ci: use aws codebuild for x86 linux large runners

try-job: dist-x86_64-linux
try-job: dist-x86_64-linux-alt
@bors
Copy link
Collaborator

bors commented Apr 27, 2025

☀️ Try build successful - checks-actions
Build commit: 51349b0 (51349b0d6ae41043c5e7b4925d19f587cdeb7c72)

@Kobzol
Copy link
Contributor

Kobzol commented Apr 27, 2025

@bors try

bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 27, 2025
…ers, r=<try>

ci: use aws codebuild for x86 linux large runners

try-job: dist-x86_64-linux
try-job: dist-x86_64-linux-alt
@bors
Copy link
Collaborator

bors commented Apr 27, 2025

⌛ Trying commit ed20b7f with merge 0148c0b...

@bors
Copy link
Collaborator

bors commented Apr 27, 2025

☀️ Try build successful - checks-actions
Build commit: 0148c0b (0148c0b5e1aa4da2470d93e88991a3cb8e2148a1)

@marcoieni
Copy link
Member Author

@bors try

@bors
Copy link
Collaborator

bors commented Apr 27, 2025

⌛ Trying commit ed20b7f with merge 59ef764abee62044f1dc9818d9ccc95f65d962ef...

bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 27, 2025
…ers, r=<try>

ci: use aws codebuild for x86 linux large runners

try-job: dist-x86_64-linux
try-job: dist-x86_64-linux-alt
@marcoieni
Copy link
Member Author

marcoieni commented Apr 27, 2025

oh I didn't see you already retried Jakub. It's quite weird that with 36 cores the jobs take so long. Maybe GitHub runners have faster cores? Or maybe some caching is not working. We need to analyze the logs.
image

@bors
Copy link
Collaborator

bors commented Apr 27, 2025

☀️ Try build successful - checks-actions
Build commit: 59ef764 (59ef764abee62044f1dc9818d9ccc95f65d962ef)

@marcoieni
Copy link
Member Author

marcoieni commented Apr 28, 2025

I compared the logs for the dist-x86_64-linux-alt job (try build vs auto build in rust-lang-ci). Building LLVM takes 2x in the try build. Not sure why.

EDIT: I was comparing things in the wrong way. Apparently compiling llvm in the try job is faster. I need to check where the try job is slower.

@marcoieni marcoieni force-pushed the codebuild-linux-large-runners branch from ed20b7f to 7bc2b01 Compare April 28, 2025 06:46
@marcoieni marcoieni changed the title ci: use aws codebuild for x86 linux large runners ci: use aws codebuild for the dist-x86_64-linux job Apr 28, 2025
@marcoieni marcoieni force-pushed the codebuild-linux-large-runners branch from 7bc2b01 to 480d007 Compare April 28, 2025 06:48
@marcoieni
Copy link
Member Author

marcoieni commented Apr 28, 2025

I don't know why the alt job is that slow. I edited this PR to only convert the dist-x86_64-linux job for now.

Imo this PR can be a rollup because we tried this job multiple times.

@marcoieni marcoieni marked this pull request as ready for review April 28, 2025 06:48
@marcoieni
Copy link
Member Author

@rustbot ready

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Apr 28, 2025
@marcoieni marcoieni requested a review from Kobzol April 28, 2025 06:50
@Kobzol
Copy link
Contributor

Kobzol commented Apr 28, 2025

Hmm, it's weird. Most of the bootstrap steps were faster, some of them significantly, but the run as a whole was ~15 minutes slower. sccache stats also look good in both. I tried to go through both logs in parallel, but haven't found anything useful, it would be great to have some visualization of the log timeline. It's like the slowdown happened in between bootstrap steps or something.

But otherwise it looks fine.

@bors r+

@bors
Copy link
Collaborator

bors commented Apr 28, 2025

📌 Commit 480d007 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-review Status: Awaiting review from the assignee but also interested parties. labels Apr 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants