Skip to content

make CI failures easier to interpret #3399

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

Merged
merged 2 commits into from
Mar 23, 2024
Merged

make CI failures easier to interpret #3399

merged 2 commits into from
Mar 23, 2024

Conversation

RalfJung
Copy link
Member

RUST_BACKTRACE=1 means we show 2 backtraces that are almost always irrelevant: from ui_test and from the miri script. Instead let's set the env var inside the test harness so we see backtraces of Miri ICEing but nothing else.

@RalfJung
Copy link
Member Author

@bors r+

@bors
Copy link
Contributor

bors commented Mar 23, 2024

📌 Commit 9dfd214 has been approved by RalfJung

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Mar 23, 2024

⌛ Testing commit 00f700d with merge bf1e82f...

bors added a commit that referenced this pull request Mar 23, 2024
make CI failures easier to interpret

RUST_BACKTRACE=1 means we show 2 backtraces that are almost always irrelevant: from ui_test and from the miri script. Instead let's set the env var inside the test harness so we see backtraces of Miri ICEing but nothing else.
@RalfJung
Copy link
Member Author

Oh lol, I force-pushed after approval and bors picked that up...
just in case: @bors r+

@bors
Copy link
Contributor

bors commented Mar 23, 2024

📌 Commit 00f700d has been approved by RalfJung

It is now in the queue for this repository.

@@ -223,14 +227,15 @@ fn ui(
with_dependencies: Dependencies,
tmpdir: &Path,
) -> Result<()> {
let msg = format!("## Running ui tests in {path} against miri for {target}");
let msg = format!("## Running ui tests in {path} for {target}");
Copy link
Member Author

Choose a reason for hiding this comment

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

The "against miri" part is a leftover from ancient times when we also ran these tests in rustc.

bors added a commit that referenced this pull request Mar 23, 2024
make CI failures easier to interpret

RUST_BACKTRACE=1 means we show 2 backtraces that are almost always irrelevant: from ui_test and from the miri script. Instead let's set the env var inside the test harness so we see backtraces of Miri ICEing but nothing else.
@bors
Copy link
Contributor

bors commented Mar 23, 2024

⌛ Testing commit 00f700d with merge adc9951...

@RalfJung
Copy link
Member Author

@bors r+

@bors
Copy link
Contributor

bors commented Mar 23, 2024

📌 Commit bb96963 has been approved by RalfJung

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Mar 23, 2024

⌛ Testing commit bb96963 with merge 2dd7ff6...

@bors
Copy link
Contributor

bors commented Mar 23, 2024

☀️ Test successful - checks-actions
Approved by: RalfJung
Pushing 2dd7ff6 to master...

@bors bors merged commit 2dd7ff6 into rust-lang:master Mar 23, 2024
@RalfJung RalfJung deleted the ci branch March 23, 2024 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants