-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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]: Fails to run in GitLab CI / mcr.microsoft.com/playwright:focal Docker image #7867
Comments
The link to |
Ah sorry, made it public, but essentially it's just this CI config that shows that I'm using the
The script it's running ( |
I tried to reproduce it on my Mac and with the Docker image but was not able to. Maybe GitLab is doing some magic internally. We recommend also to pin the Docker images, so the browser does not need to get downloaded all the time: |
Unfortunately with the pinned Docker image it still fails. Pinning it to 1.12.3, as expected, does work. Unfortunately I'm not too familiar with Docker, so I'm not sure how to run that locally properly. If you could share the code you used to reproduce and the command to run I'd be happy to try to reproduce it myself though. Otherwise it indeed does seem likely that something in GitLab's environment is throwing a spanner into the works :/ |
This seems related, so using the pwuser user instead should fix it, not sure if its something which we can fix on our side. Since GitLab does not support custom users via the config, you need to leverage "su" manually. // Edit: upstream bug on NPM side. Workaround is to use the |
Closing since it works with the pwuser and its an upstream NPM bug, please upvote npm/cli#3123. |
Unfortunately I'm getting the same error if I run |
To check whether this bug is solved: microsoft/playwright#7867
This reverts commit 09223e5. Unfortunately microsoft/playwright#7867 is not resolved yet.
Playwright version
1.13.0
Operating system
Linux
What browsers are you seeing the problem on?
Firefox
Other information
It's running in GitLab CI/CD using the
mcr.microsoft.com/playwright:focal
Docker image.What happened? / Describe the bug
Running a script that calls
playwright-firefox
terminates with the following error message:This has been happening in a job that runs a couple of times a day since Jul 22, 2021 7:05am GMT+0200 - the last job before that that ran successfully ran on Jul 21, 2021 3:25pm GMT+0200. Since version 1.13.0 of playwright-firefox was released on Jul 21, 2021 5:38pm GMT+0200, it seems likely that a change there caused this.
Code snippet to reproduce your bug
If this doesn't ring a bell w.r.t. what the issue could be, let me know, and I can see if I can set up a minimal reproduction repository on GitLab.
Relevant log output
No response
The text was updated successfully, but these errors were encountered: