-
Notifications
You must be signed in to change notification settings - Fork 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
[Bug]: Chrome crash running on jenkins when channel == chromium #35140
Comments
Can you run the tests with the environment variable |
hi @agg23 here's the output
it looks almost the same a before to me. |
Ok, thank you. Let's gather more logs then. This will have to be attached as a file.
|
Can you try using a different base OS in Jenkins? While you are using Docker, we don't support Cent OS which you are using as your host, which possibly is causing problems. Certain CI environments aren't set up properly to run browsers. It's possible that's what is happening here. |
I've tried on a containerized Jenkins on another Os and everything was fine. I will keep this bug open for a couple of days, in case someone else have the same problem, then I will close it. Thanks for your help @agg23 |
Might be related to the GPU as per puppeteer/puppeteer#10283. Can you try putting
in your config's use section? (only for Chromium). |
Hi @mxschmitt, in attachment the log file after I've merged your PR to the repro |
Oh ok, maybe try these environment variables? Seems to have worked with Puppeteer. hardkoded/puppeteer-sharp#2633 (comment) |
That works non playwright too ! For anyone else in the same situation, just set these environment variables in your container/environment
thanks for the help guys! |
Version
1.51.0
Steps to reproduce
You'll need a jenkins installation to reproduce the bug. Just create a jenkins job that clone the following repository https://github.com/Daemos87/playwright-chromium-crash-repro
and run the jenkinsfile in it.
Expected behavior
Chromium browser should run just fine in headless mode when channel = chromium
also, removing the channel config from the playwright.config resolve the issue, but my understanding is that with channel != chromium i'm using the new shell as headless browser, while i want to stick with chromium
Actual behavior
Playwright try to start the browser and i get the following error
Additional context
This bug happen using the official docker image mcr.microsoft.com/playwright:v1.51.0-noble, when running on jenkins. i cannot reproduce the same error with a local run.
Environment
Jenkins is running on :
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
Playwright version : 1.51.0
Docker image: mcr.microsoft.com/playwright:v1.51.0-noble
The text was updated successfully, but these errors were encountered: