Skip to content
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

CI builds fail in Chromium. #28

Open
the-t-in-rtf opened this issue Feb 15, 2021 · 0 comments
Open

CI builds fail in Chromium. #28

the-t-in-rtf opened this issue Feb 15, 2021 · 0 comments
Labels

Comments

@the-t-in-rtf
Copy link
Collaborator

Describe the bug

GitHub Actions now supports Chromium as well as Chrome, but the xvfb-run setup we use commonly in CI doesn't seem to work for Chromium. We get errors like:

not ok 11 Chromium - [undefined ms] - error
    ---
        message: >
            Error: Browser exited unexpectedly
            Non-zero exit code: 1
            Stderr: 
             mkdir: cannot create directory ‘/run/user/1001’: Permission denied
            No protocol specified
            [2021:2021:0215/090623.927454:ERROR:browser_main_loop.cc(1438)] Unable to open X display.
            
            
        browser log: |
            [object Object]
            [object Object]
            [object Object]
    ...

I tried adding the option to run Chromium using the chrome command-line arguments, but that didn't help. I'm creating this issue in case others encounter it and either want to look into it further or simply need a workaround.

Speaking of which, the workaround is to simply skip Chromium as illustrated here.

@the-t-in-rtf the-t-in-rtf changed the title Ci builds fail in Chromium. CI builds fail in Chromium. Feb 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant