Skip to content

Allow running EC2 jobs locally - #161373

Open
JonathanBrouwer wants to merge 1 commit into
rust-lang:mainfrom
JonathanBrouwer:ec2-local
Open

Allow running EC2 jobs locally#161373
JonathanBrouwer wants to merge 1 commit into
rust-lang:mainfrom
JonathanBrouwer:ec2-local

Conversation

@JonathanBrouwer

Copy link
Copy Markdown
Member

The command

cargo run --manifest-path src/ci/citool/Cargo.toml run-local dist-x86_64-linux

Fails locally with the error "Only Linux jobs can be executed locally", which I think is not correct.
The os is displayed as ec2-x86_64ami-c8a.8xlarge-x64-linux-$github.run_id-$github.run_attempt.
This was my hack to fix it, but I'm not sure if the problem should be fixed here or whether the os string is wrong

@rustbot rustbot added A-CI Area: Our Github Actions CI 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 Aug 19, 2026
@rustbot

rustbot commented Aug 19, 2026

Copy link
Copy Markdown
Collaborator

r? @marcoieni

rustbot has assigned @marcoieni.
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

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: infra-ci
  • infra-ci expanded to Kobzol, Mark-Simulacrum, jieyouxu, marcoieni, ubiratansoares
  • Random selection from Mark-Simulacrum, marcoieni, ubiratansoares

@Mark-Simulacrum

Copy link
Copy Markdown
Member

I think this is reasonable.

@bors r+ rollup

r? me

@rust-bors

rust-bors Bot commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

📌 Commit f11d76f has been approved by Mark-Simulacrum

It is now in the queue for this repository.

🌲 The tree is currently closed for pull requests below priority 10. This pull request will be tested once the tree is reopened.

Reason for tree closure: Main branch is broken

@rust-bors rust-bors Bot added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Aug 19, 2026
@rust-bors rust-bors Bot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Aug 19, 2026
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Aug 20, 2026
…Simulacrum

Allow running EC2 jobs locally

The command
```
cargo run --manifest-path src/ci/citool/Cargo.toml run-local dist-x86_64-linux
```
Fails locally with the error "Only Linux jobs can be executed locally", which I think is not correct.
The os is displayed as `ec2-x86_64ami-c8a.8xlarge-x64-linux-$github.run_id-$github.run_attempt`.
This was my hack to fix it, but I'm not sure if the problem should be fixed here or whether the os string is wrong
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Aug 20, 2026
…Simulacrum

Allow running EC2 jobs locally

The command
```
cargo run --manifest-path src/ci/citool/Cargo.toml run-local dist-x86_64-linux
```
Fails locally with the error "Only Linux jobs can be executed locally", which I think is not correct.
The os is displayed as `ec2-x86_64ami-c8a.8xlarge-x64-linux-$github.run_id-$github.run_attempt`.
This was my hack to fix it, but I'm not sure if the problem should be fixed here or whether the os string is wrong
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-CI Area: Our Github Actions CI 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.

4 participants