-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
New navigation flow doesn't exit test with existing browser. #14769
Comments
Thanks! Confirmed the same, hangs on Note: can use |
So with just setting But this is unrelated, there is a real problem here. @adamraine believes Puppeteer is not being shut down correctly on our end. |
@connorjclark Guess it just happens to use the chrome instance I already launched since I already started it on the port that I pass in. If I past Does Lighthouse log the chrome command-line when it launches it or is one of my other params causing it to not try launching a new instance? I don't see anything about launching chrome in the log.
You can see the full raw log here (starts around 1/3 the way down - the first part is running the test for WebPageTest's logic. |
Both
That seems to be what happens, I'd have guessed that a
Nope, because in this case it is falling into this early return: We should add a log statement there saying we are re-using an existing connection, not launching a new browser. |
I added |
@pmeenan unrelated to this issue, but you'll want |
FAQ
URL
https://www.webpagetest.org/
What happened?
Running lighthouse@next integrated with WebPageTest cause the lighthouse run to timeout. Lighthouse completed but didn't exit the process after saving the JSON.
I finally terminated the node process after waiting for ~8 minutes and the results were fine.
Running the same test with
--legacy-navigation
completed the test successfully.The
Terminating all instances of node
log message is from WebPageTest as part of the cleanup after running lighthouse to make sure there are no stray node processes.What did you expect?
I expected the lighthouse process to exit when the test completed.
What have you tried?
Using
--legacy-navigation
works correctly so the issue appears to be specific to the new navigation flow.How were you running Lighthouse?
CLI
Lighthouse Version
9.5.0-dev.20230207
Chrome Version
110 (current stable)
Node Version
16.19.0
OS
Ubuntu 18.04
Relevant log output
No response
The text was updated successfully, but these errors were encountered: