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

Fix rustc-guide toolstate tracking. #63199

Merged
merged 1 commit into from
Aug 4, 2019

Conversation

ehuss
Copy link
Contributor

@ehuss ehuss commented Aug 1, 2019

The rustc-guide is still not saving its toolstate. It needs to be done explicitly.

Note: There are some confusing bits here, like without --no-fail-fast, it saves the wrong value in toolstates.json. Also, "rustbook" is always added as "test-fail". Presumably this code assumes everything fails until it passes tests, which is a bit confusing for things that don't run tests.

cc @mark-i-m

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Aug 1, 2019
@bors
Copy link
Contributor

bors commented Aug 3, 2019

☔ The latest upstream changes (presumably #63228) made this pull request unmergeable. Please resolve the merge conflicts.

@ehuss ehuss force-pushed the fix-rustc-guide-toolstate branch from 63c1f17 to 2da89de Compare August 3, 2019 04:28
@kennytm
Copy link
Member

kennytm commented Aug 3, 2019

@bors r+

@bors
Copy link
Contributor

bors commented Aug 3, 2019

📌 Commit 2da89de has been approved by kennytm

@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 Aug 3, 2019
@bors
Copy link
Contributor

bors commented Aug 4, 2019

⌛ Testing commit 2da89de with merge 2c13edc...

bors added a commit that referenced this pull request Aug 4, 2019
Fix rustc-guide toolstate tracking.

The rustc-guide is still not saving its toolstate.  It needs to be done explicitly.

Note: There are some confusing bits here, like without `--no-fail-fast`, it saves the wrong value in `toolstates.json`.  Also, "rustbook" is always added as "test-fail".  Presumably [this code](https://github.com/rust-lang/rust/blame/63c1f17d950bfefc8f356777f124f304f0575c76/src/bootstrap/tool.rs#L201-L205) assumes everything fails until it passes tests, which is a bit confusing for things that don't run tests.

cc @mark-i-m
@bors
Copy link
Contributor

bors commented Aug 4, 2019

☀️ Test successful - checks-azure
Approved by: kennytm
Pushing 2c13edc to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Aug 4, 2019
@bors bors merged commit 2da89de into rust-lang:master Aug 4, 2019
@rust-highfive
Copy link
Collaborator

📣 Toolstate changed by #63199!

Tested on commit 2c13edc.
Direct link to PR: #63199

💔 rustc-guide on linux: test-pass → test-fail (cc @mark-i-m @spastorino, @rust-lang/infra).

rust-highfive added a commit to rust-lang-nursery/rust-toolstate that referenced this pull request Aug 4, 2019
Tested on commit rust-lang/rust@2c13edc.
Direct link to PR: <rust-lang/rust#63199>

💔 rustc-guide on linux: test-pass → test-fail (cc @mark-i-m @spastorino, @rust-lang/infra).
@RalfJung
Copy link
Member

RalfJung commented Aug 6, 2019

Is it expected that tests still fail, but only on Linux?

2019-08-04T05:32:24.4490738Z Error: there are broken links
2019-08-04T05:32:24.4492172Z 	Caused By: "https://github.com/rust-lang/compiler-team/blob/master/experts/MAP.md" returned 404 Not Found
2019-08-04T05:32:24.4492582Z 	Caused By: "https://github.com/rust-lang/rust/tree/master/src/test/run-pass/" returned 404 Not Found
2019-08-04T05:32:24.4492938Z 	Caused By: "https://doc.rust-lang.org/nightly/nightly-rustc/rustc/mir/enum.Place.html" returned 404 Not Found
2019-08-04T05:32:24.4493344Z 	Caused By: "https://doc.rust-lang.org/nightly/nightly-rustc/rustc/mir/enum.Place.html" returned 404 Not Found
2019-08-04T05:32:24.4493678Z 	Caused By: "https://doc.rust-lang.org/nightly/nightly-rustc/rustc/mir/enum.Place.html" returned 404 Not Found
2019-08-04T05:32:24.4494032Z 	Caused By: "https://doc.rust-lang.org/nightly/nightly-rustc/rustc/mir/enum.Place.html" returned 404 Not Found
2019-08-04T05:32:24.4494394Z 	Caused By: "https://doc.rust-lang.org/nightly/nightly-rustc/rustc/mir/enum.Place.html" returned 404 Not Found
2019-08-04T05:32:24.4494728Z 	Caused By: "https://doc.rust-lang.org/nightly/nightly-rustc/rustc/mir/enum.Place.html" returned 404 Not Found
2019-08-04T05:32:24.4495183Z 	Caused By: "https://doc.rust-lang.org/nightly/nightly-rustc/rustc/mir/enum.Place.html" returned 404 Not Found
2019-08-04T05:32:24.4495483Z 	Caused By: "https://doc.rust-lang.org/nightly/nightly-rustc/rustc/mir/enum.Place.html" returned 404 Not Found
2019-08-04T05:32:24.4496528Z 	Caused By: "https://doc.rust-lang.org/nightly/nightly-rustc/rustc/mir/enum.Place.html" returned 404 Not Found
2019-08-04T05:32:24.4497011Z 	Caused By: "https://doc.rust-lang.org/nightly/nightly-rustc/rustc/mir/enum.Place.html" returned 404 Not Found
2019-08-04T05:32:24.4511578Z 
2019-08-04T05:32:24.4511851Z 
2019-08-04T05:32:24.4512747Z command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/rustbook" "linkcheck" "/checkout/src/doc/rustc-guide"
2019-08-04T05:32:24.4513201Z expected success, got: exit code: 101

@ehuss
Copy link
Contributor Author

ehuss commented Aug 6, 2019

@RalfJung Yes, it currently only runs on one job. See #62950 (comment) for an explanation.

@mark-i-m
Copy link
Member

mark-i-m commented Aug 6, 2019

Thanks @ehuss!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants