[
https://issues.apache.org/jira/browse/ZOOKEEPER-5134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dávid Paksy reassigned ZOOKEEPER-5134:
--------------------------------------
Assignee: Oh Jihyeon
> Website CI fails on Ubuntu 26.04 because Playwright browsers cached on Ubuntu
> 24.04 are restored
> ------------------------------------------------------------------------------------------------
>
> Key: ZOOKEEPER-5134
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-5134
> Project: ZooKeeper
> Issue Type: Bug
> Components: build, documentation
> Affects Versions: 3.11.0, 3.10.1
> Reporter: Oh Jihyeon
> Assignee: Oh Jihyeon
> Priority: Major
>
> ZOOKEEPER-5116 pinned the website workflow to ubuntu-24.04, because the
> WebKit e2e tests failed on Ubuntu 26.04 with missing ICU 74 libraries.
> However, Playwright has supported Ubuntu 26.04 since 1.61.0, and the website
> already uses 1.63.0.
> h3. Cause
> The "Cache Playwright browsers" step uses this cache key:
> {noformat}
> playwright-${{ runner.os }}-${{
> hashFiles('zookeeper-website/package-lock.json') }}
> {noformat}
> {{runner.os}} is only {{Linux}}, so the browsers cached on Ubuntu 24.04 were
> restored on Ubuntu 26.04. Playwright does not download a browser again if its
> directory (e.g. {{webkit-2359}}) already exists, so the WebKit build for
> Ubuntu 24.04 ran on 26.04. That build needs ICU 74 and {{libxml2.so.2}},
> which are the missing libraries in the error.
> In the [failed
> run|https://github.com/apache/zookeeper/actions/runs/41483093090], the cache
> was restored, no browser was downloaded, and only the WebKit tests failed.
> h3. Fix
> * Remove the Playwright browser cache step. Playwright [does not recommend
> caching browsers in CI|https://playwright.dev/docs/ci#caching-browsers].
> * Pin the website workflow to ubuntu-26.04.
> branch-3.10 has the same pin and cache.
> PR: https://github.com/apache/zookeeper/pull/2509
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)