-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Get yarn test-devtools
to work on linux
#11709
Comments
I remember seeing this with puppeteer stuff. puppeteer/puppeteer#391 has the sameish stack trace https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md has a bunch of mitigations. look for "font" |
After finding no solutions for content shell's font issue, I attempted to run the webtests in Docker, hoping the same issue wouldn't occur there (or at least, might be easier to fix). Unfortunately the same issue happened there and I haven't found a solution in Docker either. It was non trivial to get this far with Docker so I've pushed the code to |
@adamraine I'm wondering if for purposes of #11539 / #11529 we could just use |
The current script runs through a bunch of overhead for every single URL. I'm thinking we create another version the script to handle multiple URLs efficiently. Essentially the script would inject a single "web test" which runs Lighthouse on every URL. Wdyt? |
Where is most of the overhead?
Given the results are held in memory until the test ends ( Alternatively, instead of a single big webtest, maybe create one for every url? |
These don't take much time once everything is downloaded.
This is what I was mostly referring to. There is overhead to set up the server, wait for the server to be ready, and run the "web test".
This sounds like a good idea. It reduces the overhead per url to whatever |
Still doesn't work on linux, but the need isn't really there so closing. |
got a better crash log which led me to https://bugs.chromium.org/p/chromium/issues/detail?id=925161 tried --no-xvfb but still no luck even on desktop linux. will try those other flags tomorrow |
actually I was on a cloud vm w/ no gpu. For some reason these web tests work on mac in GHA but not ubuntu, and if the reason is "because no gpu" then how the heck does the mac one work? none of GHA's VMs have gpus. |
I noticed that the content shell we are downloading doesn't have webgl enabled (and I could find no flag that would change that). https://webglreport.com/ is useful for a quick test. I built content_shell locally on my linux cloudtop and webgl is enabled. we should ask if this is expected behavior of the https://source.corp.google.com/piper///depot/google3/testing/web/browsers/chrome-linux.json distribution |
While we completely changed the devtools tests we run.... I believe this still isn't the case. |
the e2e tests run on linux. (the webtests never did) https://github.com/GoogleChrome/lighthouse/actions/runs/3992078236/workflow#L81-L118 |
This never worked because there was a crash, and it was decided to just focus on Mac. However, @adamraine needs to run this on GCP to do collect data at scale, so let's revisit.
Currently
yarn test-devtools
errors loudly complaining that "crashpad_handler does not exist". This is easy to silence with--disable-breakpad
to the webserver python program. However, the crash is still there, this just removes the complaining. (Note: unnecessary, but if we wanted to we could download the crashpad handler fromchrome-PLATFORM.zip
and place it next to the content shell).So with that said, here's the true error. Still investigating.
The text was updated successfully, but these errors were encountered: