Skip to content
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

CI: split x86_64-mingw job #132721

Draft
wants to merge 26 commits into
base: master
Choose a base branch
from
Draft

Conversation

MarcoIeni
Copy link
Member

@MarcoIeni MarcoIeni commented Nov 7, 2024

I'm trying to split the x86_64-mingw job in two to hopefully move it to free runners and reduce the use of large runners in CI.
If the job is too slow with free runners we could build the artifacts in a large runner and test them in various free runners.

try-job: x86_64-mingw-1
try-job: x86_64-mingw-2

@rustbot
Copy link
Collaborator

rustbot commented Nov 7, 2024

r? @Mark-Simulacrum

rustbot has assigned @Mark-Simulacrum.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@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 Nov 7, 2024
@MarcoIeni
Copy link
Member Author

@bors try

@bors
Copy link
Contributor

bors commented Nov 7, 2024

⌛ Trying commit 59f649f with merge 5c29c17...

bors added a commit to rust-lang-ci/rust that referenced this pull request Nov 7, 2024
CI: split x86_64-mingw job

try-job: x86_64-mingw-1
try-job: x86_64-mingw-2
@rust-log-analyzer

This comment has been minimized.

@bors
Copy link
Contributor

bors commented Nov 7, 2024

💔 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 Nov 7, 2024
@mati865
Copy link
Contributor

mati865 commented Nov 8, 2024

NO_DOWNLOAD_CI_LLVM: 1 can be removed, I forgot about it when upgrading the toolchain.

That alone should shorten the time by a large amount.

@MarcoIeni
Copy link
Member Author

thanks! I will create a separate PR for this.
This environment variable is present in the following windows jobs:

  • i686-mingw
  • x86_64-mingw
  • dist-i686-mingw
  • dist-x86_64-mingw

Can I delete it for all of them?

@mati865
Copy link
Contributor

mati865 commented Nov 8, 2024

Yeah, they all should be fine to remove.

@MarcoIeni
Copy link
Member Author

opened #132781 🙏

@MarcoIeni
Copy link
Member Author

Interestingly I found #112645 which does the opposite of this PR. My goal is to try to "revert" part of the PR by using two free runners.
I'll try bors again because I don't get why it failed. Maybe it's a flaky error.

@MarcoIeni
Copy link
Member Author

@bors try

@bors
Copy link
Contributor

bors commented Nov 14, 2024

⌛ Trying commit a3d3c42 with merge 92e5539...

bors added a commit to rust-lang-ci/rust that referenced this pull request Nov 14, 2024
CI: split x86_64-mingw job

try-job: x86_64-mingw-1
try-job: x86_64-mingw-2
@rust-log-analyzer

This comment has been minimized.

@bors
Copy link
Contributor

bors commented Nov 14, 2024

💔 Test failed - checks-actions

@MarcoIeni
Copy link
Member Author

I'll give this one last try 🤔

@MarcoIeni
Copy link
Member Author

@bors try

@mati865
Copy link
Contributor

mati865 commented Nov 14, 2024

This not a spurious failure, the linker is misconfigured.

bors added a commit to rust-lang-ci/rust that referenced this pull request Nov 14, 2024
CI: split x86_64-mingw job

try-job: x86_64-mingw-1
try-job: x86_64-mingw-2
@bors
Copy link
Contributor

bors commented Nov 14, 2024

⌛ Trying commit a3d3c42 with merge 89ca439...

@rust-log-analyzer

This comment has been minimized.

@bors
Copy link
Contributor

bors commented Nov 20, 2024

💔 Test failed - checks-actions

@MarcoIeni
Copy link
Member Author

@bors try

@bors
Copy link
Contributor

bors commented Nov 21, 2024

⌛ Trying commit da46489 with merge 7da7d0c53c4b05d83eec95ce157cb95f9c8522a8...

bors added a commit to rust-lang-ci/rust that referenced this pull request Nov 21, 2024
CI: split x86_64-mingw job

try-job: x86_64-mingw-1
try-job: x86_64-mingw-2
@rust-log-analyzer

This comment has been minimized.

@bors
Copy link
Contributor

bors commented Nov 21, 2024

💔 Test failed - checks-actions

bors added a commit to rust-lang-ci/rust that referenced this pull request Nov 21, 2024
[EXPERIMENT] check npm path on the regular `x86_64-mingw` job

cc rust-lang#132721.
r? `@ghost`

try-job: x86_64-mingw
@MarcoIeni
Copy link
Member Author

@bors try

bors added a commit to rust-lang-ci/rust that referenced this pull request Nov 21, 2024
CI: split x86_64-mingw job

try-job: x86_64-mingw-1
try-job: x86_64-mingw-2
@bors
Copy link
Contributor

bors commented Nov 21, 2024

⌛ Trying commit af15021 with merge e7bb5511642c627d9d489654dabd27a51b49a5f9...

@rust-log-analyzer

This comment has been minimized.

@bors
Copy link
Contributor

bors commented Nov 21, 2024

💔 Test failed - checks-actions

@MarcoIeni
Copy link
Member Author

@bors try

@bors
Copy link
Contributor

bors commented Nov 21, 2024

⌛ Trying commit 037bdb1 with merge 90cd28c4f7011ef35026e34de85e4ecdbe36c80c...

bors added a commit to rust-lang-ci/rust that referenced this pull request Nov 21, 2024
CI: split x86_64-mingw job

try-job: x86_64-mingw-1
try-job: x86_64-mingw-2
@bors
Copy link
Contributor

bors commented Nov 21, 2024

💔 Test failed - checks-actions

@MarcoIeni
Copy link
Member Author

@bors try

bors added a commit to rust-lang-ci/rust that referenced this pull request Nov 21, 2024
CI: split x86_64-mingw job

try-job: x86_64-mingw-1
try-job: x86_64-mingw-2
@bors
Copy link
Contributor

bors commented Nov 21, 2024

⌛ Trying commit 0a084e3 with merge cf0bdf0...

@rust-log-analyzer
Copy link
Collaborator

The job x86_64-mingw-1 failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
Updating files:  98% (49507/50517)
Updating files:  99% (50012/50517)
Updating files: 100% (50517/50517)
Updating files: 100% (50517/50517), done.
branch 'try' set up to track 'origin/try'.
Switched to a new branch 'try'
[command]"C:\Program Files\Git\bin\git.exe" log -1 --format=%H
cf0bdf0baefbb6dc01d009b3654726aacf8d052e
##[group]Run src/ci/scripts/setup-environment.sh
src/ci/scripts/setup-environment.sh
---
file:.git/config remote.origin.url=https://github.com/rust-lang-ci/rust
file:.git/config remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
file:.git/config gc.auto=0
file:.git/config http.https://github.com/.extraheader=AUTHORIZATION: basic ***
file:.git/config branch.try.remote=origin
file:.git/config branch.try.merge=refs/heads/try
file:.git/config remote.upstream.fetch=+refs/heads/*:refs/remotes/upstream/*
file:.git/config submodule.library/backtrace.active=true
file:.git/config submodule.library/backtrace.url=https://github.com/rust-lang/backtrace-rs.git
file:.git/config submodule.library/stdarch.active=true
---
##[endgroup]
[TIMING] core::build_steps::tool::ToolBuild { compiler: Compiler { stage: 0, host: x86_64-pc-windows-gnu }, target: x86_64-pc-windows-gnu, tool: "rustdoc-gui-test", path: "src/tools/rustdoc-gui-test", mode: ToolStd, source_type: InTree, extra_features: [], allow_features: "test", cargo_args: [] } -- 1.984
[TIMING] core::build_steps::tool::RustdocGUITest { compiler: Compiler { stage: 0, host: x86_64-pc-windows-gnu }, target: x86_64-pc-windows-gnu } -- 0.000
##[group]Testing rustdoc-gui (stage2 -> stage3, x86_64-pc-windows-gnu)
path to npm can be wrong, provided path: "C:\\Program Files\\nodejs\\npm". Try to set npm path in config.toml in [build.npm]
thread 'main' panicked at src\tools\rustdoc-gui-test\src/main.rs:25:13:
Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
Build completed unsuccessfully in 1:41:40
Build completed unsuccessfully in 1:41:40
make: *** [Makefile:116: ci-mingw-x] Error 1
  network time: Thu, 21 Nov 2024 16:51:20 GMT
##[error]Process completed with exit code 2.
Post job cleanup.
[command]"C:\Program Files\Git\bin\git.exe" version

@bors
Copy link
Contributor

bors commented Nov 21, 2024

💔 Test failed - checks-actions

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-author Status: This is awaiting some action (such as code changes or more information) from the author. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) 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.

7 participants