Skip to content

Github Actons fails to install #34342

@marcrupt

Description

@marcrupt

Note from maintainers

Make sure you are running latest Playwright version. Versions prior to 1.45.0 running on Ubuntu 24.04+ may cause the error described below.


All of a sudden a week or so ago, github CI has begun to fail installing playwright. even running old PRs that pass, now no longer build and run. Apologies if I am doing something wrong as I cannot find any other mention of these failures online. But I can't figure out what might be off. I can't be the only one!

yml

name: E2E tests

on:
  deployment_status:
jobs:
  run-e2es:
    if: github.event_name == 'deployment_status' && github.event.deployment_status.state == 'success' && github.event.deployment_status.environment != 'Production'
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-node@v4
        with:
          node-version: '20'
      - name: Install dependencies
        run: yarn install --frozen-lockfile
      - name: Install playwright
        run: npx playwright install --with-deps
      - name: Run tests
        run: npx playwright test
        env:
          NEXT_PUBLIC_BASE_URL: ${{ github.event.deployment_status.environment_url }}

and the error

Run npx playwright install --with-deps
  
Installing dependencies...
Switching to root user to install dependencies...
Get:1 file:/etc/apt/apt-mirrors.txt Mirrorlist [1[4](https://github.com/getrupt/dashboard/actions/runs/12796775812/job/35677191434?pr=212#step:5:4)2 B]
Hit:2 http://azure.archive.ubuntu.com/ubuntu noble InRelease
Hit:6 https://packages.microsoft.com/repos/azure-cli noble InRelease
Hit:7 https://packages.microsoft.com/ubuntu/2[4](https://github.com/getrupt/dashboard/actions/runs/12796775812/job/35677191434?pr=212#step:5:5).04/prod noble InRelease
Get:3 http://azure.archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
Hit:4 http://azure.archive.ubuntu.com/ubuntu noble-backports InRelease
Hit:[5](https://github.com/getrupt/dashboard/actions/runs/12796775812/job/35677191434?pr=212#step:5:6) http://azure.archive.ubuntu.com/ubuntu noble-security InRelease
Fetched 12[6](https://github.com/getrupt/dashboard/actions/runs/12796775812/job/35677191434?pr=212#step:5:7) kB in 1s (193 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Package libasound2 is a virtual package provided by:
  liboss4-salsa-asound2 4.2-build2020-1ubuntu3
  libasound2t64 1.2.11-1build2 (= 1.2.11-1build2)
Package libicu[7](https://github.com/getrupt/dashboard/actions/runs/12796775812/job/35677191434?pr=212#step:5:8)0 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libasound2' has no installation candidate
E: Package 'libicu70' has no installation candidate
E: Unable to locate package libffi7
E: Unable to locate package libx264-163
Failed to install browsers
Error: Installation process exited with code: [10](https://github.com/getrupt/dashboard/actions/runs/12796775812/job/35677191434?pr=212#step:5:11)0
Error: Process completed with exit code 1.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions