Skip to content

Add regression test for #96395 #96950

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
May 29, 2022
Merged

Add regression test for #96395 #96950

merged 1 commit into from
May 29, 2022

Conversation

JohnTitor
Copy link
Member

Closes #96395
This repeats "fixed" and "ICE", see rust-lang/glacier#1243 (comment)
I think it's good to add a test before regressing again.
r? @compiler-errors for quick reviiew

cc @oli-obk you might want to check as you're familiar with MIR

@rustbot rustbot added the T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. label May 11, 2022
@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label May 11, 2022
@compiler-errors
Copy link
Member

I will approve this, but also I hope this test isn't as flaky as it is in glacier.

@bors r+

@bors
Copy link
Collaborator

bors commented May 11, 2022

📌 Commit dc87ad2 has been approved by compiler-errors

@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 May 11, 2022
@Alexendoo
Copy link
Member

further info: it became flaky around 2022-04-04

nightly-2022-03-01 ICE
nightly-2022-03-02 ICE
nightly-2022-03-03 ICE
... all ICEs
nightly-2022-04-02 ICE
nightly-2022-04-03 ICE
nightly-2022-04-04 ICE
nightly-2022-04-05 OK
nightly-2022-04-06 OK
nightly-2022-04-07 ICE
nightly-2022-04-08 ICE
nightly-2022-04-09 OK
nightly-2022-04-10 OK
nightly-2022-04-11 ICE
nightly-2022-04-12 ICE
nightly-2022-04-13 OK
nightly-2022-04-14 OK
nightly-2022-04-15 OK
nightly-2022-04-16 ICE
nightly-2022-04-17 OK
nightly-2022-04-18 OK
nightly-2022-04-19 OK
nightly-2022-04-20 OK
nightly-2022-04-21 ICE
nightly-2022-04-22 ICE
nightly-2022-04-23 ICE
nightly-2022-04-24 ICE
nightly-2022-04-25 ICE
nightly-2022-04-26 OK
nightly-2022-04-27 ICE
nightly-2022-04-28 OK
nightly-2022-04-29 ICE
nightly-2022-04-30 OK

@oli-obk
Copy link
Contributor

oli-obk commented May 11, 2022

@bors r-

I want to look into the ICE. If it really is this flaky, having it in CI will only frustrate people, not actually make sure it doesn't regress again

@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-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels May 11, 2022
@oli-obk oli-obk self-assigned this May 11, 2022
@oli-obk
Copy link
Contributor

oli-obk commented May 12, 2022

I opened #96965 which should fix both the ICE and the flakiness

@JohnTitor
Copy link
Member Author

JohnTitor commented May 12, 2022

Great! Do you want to keep this open for a while to see that PR fixes the issue actually?
EDIT: I should've read OP carefully, found this:

If this PR solves the flakiness on glacier, we can then merge #96950

I'm going to mark this blocked until we can say "it's okay".

@JohnTitor JohnTitor added S-blocked Status: Blocked on something else such as an RFC or other implementation work. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels May 12, 2022
bors added a commit to rust-lang-ci/rust that referenced this pull request May 13, 2022
Gracefully handle normalization failures in the prospective inliner cycle detector

Preliminary work for adding the regression test in rust-lang#96950 to our test suite (it was flaky on glacier).

If this PR solves the flakiness on glacier, we can then merge rust-lang#96950
@Alexendoo
Copy link
Member

It has been a fair while since #96965 and each nightly since then no longer ICEs, I think it did the trick 👍

@JohnTitor
Copy link
Member Author

Thanks for confirming it! Moving back to waiting-on-review then.

@JohnTitor JohnTitor added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-blocked Status: Blocked on something else such as an RFC or other implementation work. labels May 28, 2022
@oli-obk
Copy link
Contributor

oli-obk commented May 28, 2022

@bors r=compiler-errors,oli-obk

@JohnTitor
Copy link
Member Author

Hm, bors ignored it?
@bors r=compiler-errors,oli-obk

@bors
Copy link
Collaborator

bors commented May 28, 2022

📌 Commit dc87ad2 has been approved by compiler-errors,oli-obk

@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 May 28, 2022
@JohnTitor
Copy link
Member Author

@bors rollup

GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request May 28, 2022
…rrors,oli-obk

Add regression test for rust-lang#96395

Closes rust-lang#96395
This repeats "fixed" and "ICE", see rust-lang/glacier#1243 (comment)
I think it's good to add a test before regressing again.
r? `@compiler-errors` for quick reviiew

cc `@oli-obk` you might want to check as you're familiar with MIR
bors added a commit to rust-lang-ci/rust that referenced this pull request May 29, 2022
…laumeGomez

Rollup of 5 pull requests

Successful merges:

 - rust-lang#96950 (Add regression test for rust-lang#96395)
 - rust-lang#97028 (Add support for embedding pretty printers via `#[debugger_visualizer]` attribute)
 - rust-lang#97478 (Remove FIXME on `ExtCtxt::fn_decl()`)
 - rust-lang#97479 (Make some tests check-pass)
 - rust-lang#97482 (ptr::invalid is not equivalent to a int2ptr cast)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 376163a into rust-lang:master May 29, 2022
@rustbot rustbot added this to the 1.63.0 milestone May 29, 2022
@JohnTitor JohnTitor deleted the issue-96395 branch May 29, 2022 03:04
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ICE: glacier fixed/82079.rs with -Zmir-opt-level=3: failed to normalize [closure@./82079.rs:13:25: 13:46]
7 participants