Azure Pipelines: Resolve Chrome Linux build failures #2203
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
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.