-
Notifications
You must be signed in to change notification settings - Fork 56
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
firefox times out in Github Actions #439
Comments
Relevant info: This is likely the error undernath. I patched the firefox launcher to print the error:
The problem seems to be that Firefox tries to write to the default library directory in e.g. Darwin, but in Bazel with the test being sandboxed this conflicts! The flag above allows this to happen, so the tests run as expected. It seems like Firefox does always make this request, regardless of us specifying a temporary directory in the Karma launcher. The best solution seems to be to run the tests outside of the sandbox for Firefox, unless this maybe is resolved/gone in the future. |
I've put together a standalone reproduction: https://github.com/devversion/firefox-sandbox-exec-repro/tree/master |
@devversion sorry for my late reply, I got sidetracked from this issue. Thanks a lot for your further investrigations
What do you exactly mean with that? |
I was mostly thinking about giving e.g. the web test target a tag like |
Adding |
@mgred no problem! can you actually keep this issue open if you don't mind? (it's a good tracking issue) |
I've an Angular app closly modeled after the example in
rules_nodejs
that usesrules_webtesting
for unit tests. Everything works fine locally, with Firefox and Chrome enabled. When I run the same tests in a Github Action Workflow (bazel test //...
), the firefox-based test suites time out complaining:FirefoxHeadless has not captured in 60000 ms, killing.
(full error log attached).Does anybody know about this problem or has a clue what might go wrong here? I'm thankfull for any advice 🙏
Error Log
The text was updated successfully, but these errors were encountered: