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

run-make regression test for issue #70924. #72952

Merged
merged 2 commits into from
Jun 7, 2020

Conversation

pnkfelix
Copy link
Member

@pnkfelix pnkfelix commented Jun 3, 2020

Sometime after my PR #72767 (to fix issue #70924) landed, I realized that I could make a local regression test, thanks to rustc --print sysroot: I can make a fresh "copy" (really mostly symlinks) of the sysroot, and then modify it to recreate the terms of this bug.

@rust-highfive
Copy link
Collaborator

r? @nikomatsakis

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jun 3, 2020
@pnkfelix pnkfelix changed the title run-make regression test for issue #70924. [WIP] run-make regression test for issue #70924. Jun 3, 2020
@pnkfelix
Copy link
Member Author

pnkfelix commented Jun 4, 2020

(okay it looks like this test won't break the windows build. I'll remove the test commit pnkfelix@56d185f now )

@pnkfelix pnkfelix force-pushed the regression-test-for-issue-70924 branch from 56d185f to 94605b9 Compare June 4, 2020 12:57
@pnkfelix pnkfelix changed the title [WIP] run-make regression test for issue #70924. run-make regression test for issue #70924. Jun 4, 2020
@pnkfelix pnkfelix added the T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. label Jun 4, 2020
@nikomatsakis
Copy link
Contributor

@bors r+ rollup

@bors
Copy link
Contributor

bors commented Jun 4, 2020

📌 Commit 94605b9 has been approved by nikomatsakis

@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 Jun 4, 2020
Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request Jun 5, 2020
…70924, r=nikomatsakis

run-make regression test for issue rust-lang#70924.

Sometime after my PR rust-lang#72767 (to fix issue rust-lang#70924) landed, I realized that I *could* make a local regression test, thanks to `rustc --print sysroot`: I can make a fresh "copy" (really mostly symlinks) of the sysroot, and then modify it to recreate the terms of this bug.
Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request Jun 5, 2020
…70924, r=nikomatsakis

run-make regression test for issue rust-lang#70924.

Sometime after my PR rust-lang#72767 (to fix issue rust-lang#70924) landed, I realized that I *could* make a local regression test, thanks to `rustc --print sysroot`: I can make a fresh "copy" (really mostly symlinks) of the sysroot, and then modify it to recreate the terms of this bug.
@mati865
Copy link
Contributor

mati865 commented Jun 5, 2020

Failed in rollup: https://dev.azure.com/rust-lang/rust/_build/results?buildId=31133&view=logs&j=a6a2dd6f-5140-5fa9-b933-dfe57be2bdd5&t=53c32ceb-c4c2-54e8-ee5b-d47a390af72f

make[1]: Entering directory '/d/a/1/s/src/test/run-make-fulldeps/incr-add-rust-src-component'
mkdir /d/a/1/s/build/x86_64-pc-windows-msvc/test/run-make-fulldeps/incr-add-rust-src-component/incr-add-rust-src-component/fakeroot
ln -s C:\MORE_SPACE\x86_64-pc-windows-msvc\stage2/* /d/a/1/s/build/x86_64-pc-windows-msvc/test/run-make-fulldeps/incr-add-rust-src-component/incr-add-rust-src-component/fakeroot
make[1]: Leaving directory '/d/a/1/s/src/test/run-make-fulldeps/incr-add-rust-src-component'

------------------------------------------
stderr:
------------------------------------------
ln: failed to create symbolic link '/d/a/1/s/build/x86_64-pc-windows-msvc/test/run-make-fulldeps/incr-add-rust-src-component/incr-add-rust-src-component/fakeroot/*': No such file or directory
make[1]: *** [Makefile:25: all] Error 1

@Dylan-DPC-zz
Copy link

@bors r-

@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 Jun 5, 2020
@pnkfelix
Copy link
Member Author

pnkfelix commented Jun 5, 2020

argh, I specifically thought I tested windows-msvc in pnkfelix@56d185f

I'll see what I can do about making this test only run on compatible platforms. And also check with the infrastructure team about what I did wrong in my attempt to do a test run.

@pnkfelix
Copy link
Member Author

pnkfelix commented Jun 5, 2020

@bors r=nikomatsakis rollup

@bors
Copy link
Contributor

bors commented Jun 5, 2020

📌 Commit a9d5dff has been approved by nikomatsakis

@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-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Jun 5, 2020
@pnkfelix
Copy link
Member Author

pnkfelix commented Jun 5, 2020

argh, I specifically thought I tested windows-msvc in pnkfelix@56d185f

I'll see what I can do about making this test only run on compatible platforms. And also check with the infrastructure team about what I did wrong in my attempt to do a test run.

(the answer to what I did wrong: I added my test commit, but I never actually asked bors to do a try run! 🤦)

Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request Jun 5, 2020
…70924, r=nikomatsakis

run-make regression test for issue rust-lang#70924.

Sometime after my PR rust-lang#72767 (to fix issue rust-lang#70924) landed, I realized that I *could* make a local regression test, thanks to `rustc --print sysroot`: I can make a fresh "copy" (really mostly symlinks) of the sysroot, and then modify it to recreate the terms of this bug.
Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request Jun 5, 2020
…70924, r=nikomatsakis

run-make regression test for issue rust-lang#70924.

Sometime after my PR rust-lang#72767 (to fix issue rust-lang#70924) landed, I realized that I *could* make a local regression test, thanks to `rustc --print sysroot`: I can make a fresh "copy" (really mostly symlinks) of the sysroot, and then modify it to recreate the terms of this bug.
Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request Jun 6, 2020
…70924, r=nikomatsakis

run-make regression test for issue rust-lang#70924.

Sometime after my PR rust-lang#72767 (to fix issue rust-lang#70924) landed, I realized that I *could* make a local regression test, thanks to `rustc --print sysroot`: I can make a fresh "copy" (really mostly symlinks) of the sysroot, and then modify it to recreate the terms of this bug.
Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request Jun 6, 2020
…70924, r=nikomatsakis

run-make regression test for issue rust-lang#70924.

Sometime after my PR rust-lang#72767 (to fix issue rust-lang#70924) landed, I realized that I *could* make a local regression test, thanks to `rustc --print sysroot`: I can make a fresh "copy" (really mostly symlinks) of the sysroot, and then modify it to recreate the terms of this bug.
RalfJung added a commit to RalfJung/rust that referenced this pull request Jun 6, 2020
…70924, r=nikomatsakis

run-make regression test for issue rust-lang#70924.

Sometime after my PR rust-lang#72767 (to fix issue rust-lang#70924) landed, I realized that I *could* make a local regression test, thanks to `rustc --print sysroot`: I can make a fresh "copy" (really mostly symlinks) of the sysroot, and then modify it to recreate the terms of this bug.
RalfJung added a commit to RalfJung/rust that referenced this pull request Jun 6, 2020
…70924, r=nikomatsakis

run-make regression test for issue rust-lang#70924.

Sometime after my PR rust-lang#72767 (to fix issue rust-lang#70924) landed, I realized that I *could* make a local regression test, thanks to `rustc --print sysroot`: I can make a fresh "copy" (really mostly symlinks) of the sysroot, and then modify it to recreate the terms of this bug.
RalfJung added a commit to RalfJung/rust that referenced this pull request Jun 6, 2020
…70924, r=nikomatsakis

run-make regression test for issue rust-lang#70924.

Sometime after my PR rust-lang#72767 (to fix issue rust-lang#70924) landed, I realized that I *could* make a local regression test, thanks to `rustc --print sysroot`: I can make a fresh "copy" (really mostly symlinks) of the sysroot, and then modify it to recreate the terms of this bug.
@RalfJung
Copy link
Member

RalfJung commented Jun 6, 2020

This is one of only a few PRs that are in the intersection of 4 rollups that all failed the same way: #72952, #72977, #73007.

The failure is on 32bit Windows, a bunch of tests show

------------------------------------------
stderr:
------------------------------------------
thread 'rustc' panicked at 'assertion failed: self.ptr <= self.end', D:\a\1\s\src\libstd\macros.rs:13:23
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

The line number is utterly useless, it points to the macro definition (how is that possible?!?).

Affected tests:

failures:
    [ui] ui\fn\expr-fn-panic.rs
    [ui] ui\imports\glob-use-std.rs
    [ui] ui\macros\die-macro-2.rs
    [ui] ui\macros\die-macro-pure.rs
    [ui] ui\macros\unimplemented-macro-panic.rs
    [ui] ui\macros\unreachable-macro-panic.rs
    [ui] ui\macros\unreachable.rs
    [ui] ui\meta-revision-ok.rs#bar
    [ui] ui\meta-revision-ok.rs#foo
    [ui] ui\mir\mir_codegen_calls_diverging.rs
    [ui] ui\panics\doublepanic.rs
    [ui] ui\panics\explicit-panic.rs
    [ui] ui\panics\main-panic.rs
    [ui] ui\panics\panic-macro-explicit.rs
    [ui] ui\panics\panic-macro-owned.rs
    [ui] ui\panics\panic-macro-static.rs
    [ui] ui\panics\panic-main.rs
    [ui] ui\rfc-1937-termination-trait\termination-trait-for-never.rs

All 3 PRs in the intersection seem impossible to be the cause here, so I'd appreciate help with figuring out what is going on.^^

@Dylan-DPC-zz
Copy link

I am going to put 2 of them in a rollup so we can bisect (or trisect) which PR is causing the failure

@Dylan-DPC-zz
Copy link

@bors rollup=maybe

bors added a commit to rust-lang-ci/rust that referenced this pull request Jun 7, 2020
Rollup of 2 pull requests

Successful merges:

 - rust-lang#72952 (run-make regression test for issue rust-lang#70924.)
 - rust-lang#72977 (Fix codegen tests for RISC-V)

Failed merges:

r? @ghost
@bors bors merged commit b733368 into rust-lang:master Jun 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in 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.

None yet

7 participants