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

Azure Pipelines: Resolve Chrome Linux build failures #2203

Merged
merged 1 commit into from
Apr 14, 2020
Merged

Azure Pipelines: Resolve Chrome Linux build failures #2203

merged 1 commit into from
Apr 14, 2020

Conversation

jayaddison
Copy link
Contributor

@jayaddison jayaddison commented Apr 13, 2020

Summary
Azure Pipelines builds for html2canvas under Chrome on Linux appear to have been failing since late February, and perhaps a little earlier (ref).

A recent build log seems to indicate that Chrome has trouble launching, perhaps due to issues connecting to the local X server (display) infrastructure.

13 04 2020 21:10:28.427:ERROR [launcher]: Chrome stdout: 
13 04 2020 21:10:28.427:ERROR [launcher]: Chrome stderr: [4250:4250:0413/211026.555114:ERROR:edid_parser.cc(102)] Too short EDID data: manufacturer id
[4250:4297:0413/211026.592660:ERROR:bus.cc(393)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[4250:4297:0413/211026.611071:ERROR:bus.cc(393)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[4250:4297:0413/211026.611138:ERROR:bus.cc(393)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[4294:4294:0413/211026.649850:ERROR:gl_surface_glx.cc(89)] glXGetFBConfigs failed.

There are similar recent reports of failures for Chrome Headless (no-UI) mode.

In order to gain more confidence in pending and future pull requests it would be good to resolve the test failures in master, and if necessary ask contributors to pull the fixes.

Test plan (required)
This is a little tricky since we can't directly inspect the Linux environment that the builds are taking place on. But we may be able to experiment with various configuration settings, add more verbose debugging, and if necessary add additional inspection steps to the builds.

This pull request may end up containing a series of experimental commits in order to narrow down the cause and identify a fix.

Note that this pull request does not include the build fixes made in #2204 pull request that addresses failures for macOS-derived builds.

@jayaddison jayaddison changed the title Resolve Chrome Linux build failures Azure Pipelines: Resolve Chrome Linux build failures Apr 13, 2020
@jayaddison
Copy link
Contributor Author

Chrome Linux seems good here (as noted above, macOS build failures are addressed in a separate PR)

@niklasvh niklasvh merged commit ae5f866 into niklasvh:master Apr 14, 2020
@niklasvh
Copy link
Owner

niklasvh commented Apr 14, 2020

Thanks for triaging this!

@jayaddison jayaddison deleted the resolve-chrome-linux-failures branch April 14, 2020 11:24
oliveira-gust pushed a commit to oliveira-gust/html2canvas that referenced this pull request May 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants