4

Check AArch64 branch-protection earlier in the pipeline. by jacobbramley · Pull...

 1 year ago
source link: https://github.com/rust-lang/rust/pull/105421
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Conversation

Contributor

@jacobbramley jacobbramley commented Dec 7, 2022

As suggested in #93516.

r? @nagisa

rustbot

added A-translation Area: Translation infrastructure, and migrating existing diagnostics to SessionDiagnostic S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

labels

Dec 7, 2022

Member

@nagisa nagisa left a comment

Really nice. One nit inline, but otherwise r=me.

if sess.target.arch == "aarch64" {

if let Some(BranchProtection { bti, pac_ret }) = sess.opts.unstable_opts.branch_protection {

Rather than making this a no-op, we should probably bug! this, so that any issues with checking in rustc_session don’t get silently ignored.

Contributor

Author

@jacobbramley jacobbramley Dec 14, 2022

Good point! Done in 73d374f.

nagisa

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-review Status: Awaiting review from the assignee but also interested parties.

labels

Dec 11, 2022

Member

nagisa commented Dec 14, 2022

@bors r+

Contributor

bors commented Dec 14, 2022

pushpin Commit 73d374f has been approved by nagisa

It is now in the queue for this repository.

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

Dec 14, 2022

Contributor

bors commented Dec 16, 2022

hourglass Testing commit 73d374f with merge e2bf696...

Contributor

bors commented Dec 16, 2022

broken_heart Test failed - checks-actions

jacobbramley reacted with eyes emoji

bors

added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.

and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

labels

Dec 16, 2022

Contributor

Author

jacobbramley commented Dec 16, 2022

broken_heart Test failed - checks-actions

The test fails on an off-by-one error on some documentation layout. It doesn't appear at all relevant to this PR. Note, however, that I can reproduce the error reliably on my branch, but only when run as part of the full sequence. For example, I can't reproduce it by isolating the failing test as follows:

x test --stage 2 src/test/rustdoc-gui --test-args '--no-sandbox --jobs 1 --file scrape-examples-button-focus.goml'

Note that dropping --jobs 1 gets me different results, with intermittent failures on varying tests. However, the tests don't run that way in CI so that usage might not be expected to work anyway.

Attempting to work out what the failure actually was:

[Expected 248 for property scrollTop, found 249]

Manually rendering the test file in Firefox shows a scrollTop of 249 (before and after the navigation operation), so I suspect that the initialScrollTop seen in the test is the anomaly (or perhaps this is just browser variation).

At this point, I am somewhat at a loss. @willcrichton, it seems that you did some work on this test recently. Have you any ideas?

Collaborator

rust-log-analyzer commented Dec 16, 2022

The job x86_64-gnu-tools failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)

Contributor

tmiasko commented Dec 16, 2022

@bors retry unrelated rustdoc-gui failure

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

Dec 16, 2022

Contributor

willcrichton commented Dec 16, 2022

I will check why this test is flaky. cc @GuillaumeGomez have you seen any issues like this w/ browser-UI-test before?

jacobbramley reacted with thumbs up emoji

Contributor

bors commented Dec 17, 2022

hourglass Testing commit 73d374f with merge 6ea11f0...

Contributor

bors commented Dec 17, 2022

broken_heart Test failed - checks-actions

bors

removed the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label

Dec 17, 2022

bors

added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label

Dec 17, 2022

Contributor

willcrichton commented Dec 17, 2022

Oh no, a different GUI test failed... @GuillaumeGomez this looks like a broader flakiness problem.

For the GUI failure, linked to #93784.

Since it's not related to this PR, let's retry.

@bors retry

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

Dec 17, 2022

Contributor

bors commented Dec 17, 2022

hourglass Testing commit 73d374f with merge aef17b7...

Contributor

bors commented Dec 17, 2022

sunny Test successful - checks-actions
Approved by: nagisa
Pushing aef17b7 to master...

bors

added the merged-by-bors This PR was explicitly merged by bors label

Dec 17, 2022

bors

merged commit aef17b7 into

rust-lang:master

Dec 17, 2022

11 checks passed

Collaborator

rust-timer commented Dec 17, 2022

Finished benchmarking commit (aef17b7): comparison URL.

Overall result: white_check_mark improvements - no action needed

@rustbot label: -perf-regression

Instruction count

This is a highly reliable metric that was used to determine the overall result at the top of this comment.

mean range count
Regressions x
(primary)
- - 0
Regressions x
(secondary)
- - 0
Improvements white_check_mark
(primary)
-0.4% [-0.4%, -0.4%] 1
Improvements white_check_mark
(secondary)
-0.4% [-0.4%, -0.4%] 1
All xwhite_check_mark (primary) -0.4% [-0.4%, -0.4%] 1

Max RSS (memory usage)

Results

Cycles

This benchmark run did not return any relevant results for this metric.

Collaborator

rust-log-analyzer commented Dec 17, 2022

The job x86_64-gnu-tools failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

nagisa

Assignees

nagisa

Labels
A-translation Area: Translation infrastructure, and migrating existing diagnostics to SessionDiagnostic 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. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects

None yet

Milestone

1.68.0

Development

Successfully merging this pull request may close these issues.

None yet

9 participants

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK