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

tests(smoke): reenable oopif smokes with ToT #14153

Merged
merged 15 commits into from
Jul 7, 2022

Conversation

adamraine
Copy link
Member

@adamraine adamraine commented Jun 23, 2022

@caseq says he landed a change that resolves our attach+waitForDebugger issues. My only verification so far is trying this PR ~3 times in CI without seeing a failure. I will run CI a few more times to verify.

In theory this should:
fix #13861
fix #14099
fix #14093

Knocking on wood because I've been tricked by this before. Either way, any PR that resolves our oopif issues will probably look like this one, so it doesn't hurt to have it ready to go.

@adamraine adamraine requested a review from a team as a code owner June 23, 2022 20:14
@adamraine adamraine requested review from brendankenny and removed request for a team June 23, 2022 20:14
Copy link
Member

@brendankenny brendankenny left a comment

Choose a reason for hiding this comment

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

GETTING MY HOPES UP

- name: Define ToT chrome path
run: echo "CHROME_PATH=/home/runner/chrome-linux-tot/chrome" >> $GITHUB_ENV

- name: Install Chrome ToT
Copy link
Member

Choose a reason for hiding this comment

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

should this (and the other cases) include a TODO to eventually move back to stable?

Also, what's left testing stable?

Copy link
Member Author

@adamraine adamraine Jun 23, 2022

Choose a reason for hiding this comment

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

  • Bundled Lighthouse (Legacy navigation)
  • Package test (Legacy navigation)
  • Chrome stable smokes from the standard matrix
  • Windows

Copy link
Member Author

Choose a reason for hiding this comment

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

should this (and the other cases) include a TODO to eventually move back to stable?

TBH I'm fine shifting everything (except our explicitly Chrome stable smokes) to use ToT

@adamraine
Copy link
Member Author

Just a DevTools / e2e failure, nobody panic

@adamraine
Copy link
Member Author

Welp
https://github.com/GoogleChrome/lighthouse/runs/7032720874?check_suite_focus=true

This was the lone failure on oopif-requests in ~5 runs, so I'm pretty sure the patch has still significantly reduced the likelihood of an oopif request failure but not eliminated it entirely.

metrics-delayed-fcp looks like "normal flake" BS unrelated to our current oopif stuff

@@ -41,7 +41,7 @@ class Driver {
* @private
* Used to save network and lifecycle protocol traffic. Just Page and Network are needed.
*/
_devtoolsLog = new DevtoolsMessageLog(/^(Page|Network)\./);
Copy link
Member Author

Choose a reason for hiding this comment

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

@paulirish was this intentionally left out of #14080?

Copy link
Collaborator

@connorjclark connorjclark Jun 24, 2022

Choose a reason for hiding this comment

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

This was just for debugging. Can you open a new PR?

I'm thinking it was a merge mistake that dropped this.

Copy link
Member

Choose a reason for hiding this comment

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

yeah im pretty sure i messed up a conflict resolution merge. thx for the driveby

@brendankenny
Copy link
Member

Welp
https://github.com/GoogleChrome/lighthouse/runs/7032720874?check_suite_focus=true

Trying to piece together oopif-requests output in this log makes my brain hurt :)

@connorjclark
Copy link
Collaborator

connorjclark commented Jun 24, 2022

Welp GoogleChrome/lighthouse/runs/7032720874?check_suite_focus=true

This was the lone failure on oopif-requests in ~5 runs, so I'm pretty sure the patch has still significantly reduced the likelihood of an oopif request failure but not eliminated it entirely.

metrics-delayed-fcp looks like "normal flake" BS unrelated to our current oopif stuff

FYI you can link to an exact line. https://github.com/GoogleChrome/lighthouse/runs/7032720874?check_suite_focus=true#step:12:203

It says a YT .js is missing, but... I do see other YT resources. so, is the expectation just wrong?

5 runs
significantly reduced

FWIW 5 samples is not significant. Careful not to represent changes as improvements when they could just be statistical anomalies–for example, if this conclusion is incorrect it could be misleading to tell caseq "it helped .... a bit" when it did no such thing.

Or was it failing 100% of the time before? I can't keep track any more. in that case maybe it is significant :P

@connorjclark
Copy link
Collaborator

So no failures for oopif-scripts?

@adamraine
Copy link
Member Author

It says a YT .js is missing, but... I do see other YT resources. so, is the expectation just wrong?

Yeah I'm not sure. The missing YT .js isn't referenced anywhere in the failing DT log or trace, so maybe the YT embed simply didn't fetch it for some reason?

Or was it failing 100% of the time before? I can't keep track any more. in that case maybe it is significant :P

The perf-diagnostics-third-party was failing 99% of the time or thereabouts. The new oopif-request was failing pretty often too. If you take a look at the CI failures on d74b655 (#14153) you can see just how common those failures were before switching to ToT Chrome.

FWIW each "run" contains multiple points of failure (i.e. Smoke FR, Smoke Bundled FR, package FR, DT smoke * 3 flaky smokes * 5 runs). So there were ~50-60 problematic smoke tests that could have resulted in a failure but only 1 actually had a failure.

@adamraine
Copy link
Member Author

adamraine commented Jun 27, 2022

TODO:

@@ -32,5 +32,5 @@ fi
if [ -e "$CHROME_PATH" ]; then
echo "cached chrome found"
else
wget "$url" --no-check-certificate -q -O chrome.zip && unzip -q chrome.zip
curl "$url" -Lo chrome.zip && unzip -q chrome.zip
Copy link
Member Author

Choose a reason for hiding this comment

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

wget is not in windows but curl is

Copy link
Member

@brendankenny brendankenny left a comment

Choose a reason for hiding this comment

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

we really need #14197, #14135, and eliminating legacy mode to make the union of our test matrices simpler to follow, but LGTM! Happy to have these back so soon

@devtools-bot devtools-bot merged commit 601f972 into master Jul 7, 2022
@devtools-bot devtools-bot deleted the try-reenable-some-smokes branch July 7, 2022 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FR oopif-requests is flaky perf-diagnostics-third-party is broken with FR runner Re-enable oopif-scripts
5 participants