mirror of
https://github.com/hashicorp/vault.git
synced 2026-05-04 20:06:27 +02:00
ui: rebuild fontconfig cache on Github hosted runners (#28177)
It appears that with the latest runner image[0] that we occasionally see a flaky test with an error related to our fontconfig cache: ``` Error: Browser timeout exceeded: 10s Error while executing test: Acceptance | wrapped_token query param functionality: it authenticates when used with the with=token query param Stderr: Fontconfig error: No writable cache directories [0822/180212.113587:WARNING:sandbox_linux.cc(430)] InitializeSandbox() called with multiple threads in process gpu-process. ``` This change rebuilds the fontconfig cache on Github hosted runners. Hopefully we can remove this at some point when a new runner image is released. [0] https://github.com/actions/runner-images/releases/tag/ubuntu22%2F20240818.1 Signed-off-by: Ryan Cragun <me@ryan.ec>
This commit is contained in:
parent
254b71d4e2
commit
438fae0952
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -170,6 +170,12 @@ jobs:
|
||||
run: |
|
||||
yarn install --frozen-lockfile
|
||||
npm rebuild node-sass
|
||||
- if: needs.setup.outputs.is-enterprise != 'true'
|
||||
name: Rebuild font cache on Github hosted runner
|
||||
# Fix `Fontconfig error: No writable cache directories` error on Github hosted runners
|
||||
# This seems to have been introduced with this runner image: https://github.com/actions/runner-images/releases/tag/ubuntu22%2F20240818.1
|
||||
# Hopefully this will resolve itself at some point with a newer image and we can remove it
|
||||
run: fc-cache -f -v
|
||||
- if: needs.setup.outputs.is-enterprise == 'true'
|
||||
id: vault-auth
|
||||
name: Authenticate to Vault
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user