Skip to content

[Bug]: Playwright install hanging after downloading in GitHub Action #41133

Description

@jules43

Version

1.59.1

Steps to reproduce

I am running a simple headless test of my project with Playwright in a GitHub build action. Up until recently it has worked fine, but in the last couple of days the installation never completes. Please see the logs below.

My deploy.yml for the build step includes the following:

      - name: Checkout
        uses: actions/checkout@v6
      - name: Set up Node
        uses: actions/setup-node@v6
        with:
          node-version: lts/*
          cache: 'npm'
      - name: Install dependencies
        run: npm install
      - name: Install Playwright Browsers
        run: npx playwright install --with-deps
      - name: Run Playwright tests
        run: npx playwright test

The backend executes the Install Playwright Browsers step and, reaches 100% of the download and then just hangs. This is a recent change during which time I don't think I've changed anything relevant on the project.

https://github.com/jules43/maps/actions/runs/26899568384/job/79347945493

Setting up libpostproc57:amd64 (7:6.1.1-3ubuntu5) ...
Setting up libsratom-0-0:amd64 (0.6.16-1build1) ...
Setting up libsndfile1:amd64 (1.2.2-1ubuntu5.24.04.1) ...
Setting up liblilv-0-0:amd64 (0.24.22-1build1) ...
Setting up libinstpatch-1.0-2:amd64 (1.1.6-1build2) ...
Setting up xfonts-scalable (1:1.0.3-1.3) ...
Setting up libswscale7:amd64 (7:6.1.1-3ubuntu5) ...
Setting up libavif16:amd64 (1.0.4-1ubuntu3) ...
Setting up libpulse0:amd64 (1:16.1+dfsg1-2ubuntu10.1) ...
Setting up libavformat60:amd64 (7:6.1.1-3ubuntu5) ...
Setting up libsphinxbase3t64:amd64 (0.8+5prealpha+1-17build2) ...
Setting up libsdl2-2.0-0:amd64 (2.30.0+dfsg-1ubuntu3.1) ...
Setting up libfluidsynth3:amd64 (2.3.4-1build3) ...
Setting up libpocketsphinx3:amd64 (0.8.0+real5prealpha+1-15ubuntu5) ...
Setting up libavfilter9:amd64 (7:6.1.1-3ubuntu5) ...
Setting up gstreamer1.0-libav:amd64 (1.24.1-1build1) ...
Processing triggers for fontconfig (2.15.0-1.1ubuntu2) ...
Processing triggers for libc-bin (2.39-0ubuntu8.7) ...
Processing triggers for man-db (2.12.0-4build2) ...
Not building database; man-db/auto-update is not 'true'.
Processing triggers for libglib2.0-0t64:amd64 (2.80.0-6ubuntu3.8) ...
Setting up libgtk-4-1:amd64 (4.14.5+ds-0ubuntu0.10) ...
Setting up glib-networking:amd64 (2.80.0-1build1) ...
Setting up libsoup-3.0-0:amd64 (3.4.4-5ubuntu0.7) ...
Setting up libgssdp-1.6-0:amd64 (1.6.3-1build3) ...
Setting up gstreamer1.0-plugins-good:amd64 (1.24.2-1ubuntu1.4) ...
Setting up libgupnp-1.6-0:amd64 (1.6.6-1build3) ...
Setting up libgupnp-igd-1.6-0:amd64 (1.6.0-3build3) ...
Setting up libnice10:amd64 (0.1.21-2build3) ...
Setting up libgstreamer-plugins-bad1.0-0:amd64 (1.24.2-1ubuntu4) ...
Setting up gstreamer1.0-plugins-bad:amd64 (1.24.2-1ubuntu4) ...
Processing triggers for libc-bin (2.39-0ubuntu8.7) ...

Running kernel seems to be up-to-date.

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.

No VM guests are running outdated hypervisor (qemu) binaries on this host.
Downloading Chrome for Testing 147.0.7727.15 (playwright chromium v1217) from https://cdn.playwright.dev/builds/cft/147.0.7727.15/linux64/chrome-linux64.zip
|                                                                                |   0% of 170.4 MiB
|■■■■■■■■                                                                        |  10% of 170.4 MiB
|■■■■■■■■■■■■■■■■                                                                |  20% of 170.4 MiB
|■■■■■■■■■■■■■■■■■■■■■■■■                                                        |  30% of 170.4 MiB
|■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■                                                |  40% of 170.4 MiB
|■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■                                        |  50% of 170.4 MiB
|■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■                                |  60% of 170.4 MiB
|■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■                        |  70% of 170.4 MiB
|■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■                |  80% of 170.4 MiB
|■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■        |  90% of 170.4 MiB
|■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■| 100% of 170.4 MiB

Expected behavior

I expect the installation to complete and then the tests to be run. This is the log for the same section on a previous occasion. Note that it continues downloading different browsers.

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.

No VM guests are running outdated hypervisor (qemu) binaries on this host.
Downloading Chrome for Testing 147.0.7727.15 (playwright chromium v1217) from https://cdn.playwright.dev/builds/cft/147.0.7727.15/linux64/chrome-linux64.zip
|                                                                                |   0% of 170.4 MiB
|■■■■■■■■                                                                        |  10% of 170.4 MiB
|■■■■■■■■■■■■■■■■                                                                |  20% of 170.4 MiB
|■■■■■■■■■■■■■■■■■■■■■■■■                                                        |  30% of 170.4 MiB
|■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■                                                |  40% of 170.4 MiB
|■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■                                        |  50% of 170.4 MiB
|■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■                                |  60% of 170.4 MiB
|■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■                        |  70% of 170.4 MiB
|■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■                |  80% of 170.4 MiB
|■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■        |  90% of 170.4 MiB
|■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■| 100% of 170.4 MiB
Chrome for Testing 147.0.7727.15 (playwright chromium v1217) downloaded to /home/runner/.cache/ms-playwright/chromium-1217
Downloading Chrome Headless Shell 147.0.7727.15 (playwright chromium-headless-shell v1217) from https://cdn.playwright.dev/builds/cft/147.0.7727.15/linux64/chrome-headless-shell-linux64.zip
|                                                                                |   0% of 112 MiB
|■■■■■■■■                                                                        |  10% of 112 MiB
|■■■■■■■■■■■■■■■■                                                                |  20% of 112 MiB
|■■■■■■■■■■■■■■■■■■■■■■■■                                                        |  30% of 112 MiB
|■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■                                                |  40% of 112 MiB
|■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■                                        |  50% of 112 MiB
|■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■                                |  60% of 112 MiB
|■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■                        |  70% of 112 MiB
|■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■                |  80% of 112 MiB
|■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■        |  90% of 112 MiB
|■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■| 100% of 112 MiB
Chrome Headless Shell 147.0.7727.15 (playwright chromium-headless-shell v1217) downloaded to /home/runner/.cache/ms-playwright/chromium_headless_shell-1217
Downloading Firefox 148.0.2 (playwright firefox v1511) from https://cdn.playwright.dev/dbazure/download/playwright/builds/firefox/1511/firefox-ubuntu-24.04.zip
|                                                                                |   0% of 103.1 MiB
|■■■■■■■■                                                                        |  10% of 103.1 MiB
|■■■■■■■■■■■■■■■■                                                                |  20% of 103.1 MiB
|■■■■■■■■■■■■■■■■■■■■■■■■                                                        |  30% of 103.1 MiB
|■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■                                                |  40% of 103.1 MiB
|■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■                                        |  50% of 103.1 MiB
|■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■                                |  60% of 103.1 MiB
|■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■                        |  70% of 103.1 MiB
|■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■                |  80% of 103.1 MiB
|■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■        |  90% of 103.1 MiB

Actual behavior

The installation just never continues to the next step.

Additional context

No response

Environment

GitHub Runner: 2.334.0
Ubuntu 24.04.4 LTS
node: v24.16.0
npm: 11.13.0
yarn: 1.22.22

  npx playwright install --with-deps
  shell: /usr/bin/bash -e {0}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions