web-platform-tests / wpt

Test suites for Web platform specs — including WHATWG, W3C, and others
https://web-platform-tests.org/
Other
5k stars 3.1k forks source link

Upgrade wpt docker image to Ubuntu 22.04 #43361

Open mukilan opened 11 months ago

mukilan commented 11 months ago

Servo recently switched to Ubuntu 22.04 for the nightly builds, which meant that binary links against glibc 2.34. This has broken the taskcluster runs for wpt.fyi because wpt uses Ubuntu 20.04 which has glibc 2.31.

As a workaround Servo will switch back to Ubuntu 20.04, but I'm creating this issue to see if WPT docker images can be upgrade dto Ubuntu. Based on the discussion in Matrix with @jgraham, it seems we first want to test the breakage by publishing a new docker image based on 22.04.

clopez commented 6 months ago

On WebKitGTK we are EOL-ing Ubuntu 20.04 so we will like to start using Ubuntu 22.04 as baseline to provide the built products at https://webkitgtk.org/built-products/x86_64/release/nightly/

clopez commented 1 month ago

Can we just skip 22.04 and upgrade to Ubuntu-24.04 ?

jgraham commented 1 month ago

I'd certainly be open to a PR trying 24.04. I think Wayland-by-default might cause some issues?

clopez commented 2 weeks ago

My experience with wayland running on headless servers (no GPU) is that it doesn't work very well with accelerated/opengl content. On the build.webkit.org webkitgtk bots we still run the tests under xvfb due to that, we tested wayland but it was regressing the accelerated/opengl layout tests when the system didn't had a GPU (headless).

But it has been a while (years) since I tried that, perhaps new versions of Weston or other Wayland compositors have improved the status quo.

In any case I would suggest doing this in two steps to be able to blame regressions on either the update of the system, or on the update of the display server.

So first step: update the base system and check for regressions. Then second step: switch to wayland and check for regressions.

Anyway, we are switching the webkitgtk_minibrowser bundles to use an universal bundle with all the required system libraries inside that in theory should work on any distro so we would not longer depend on which version of Ubuntu or any other distro is used on the test container. See: #48698