Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Install browsers step on github actions getting stuck #34297

Closed
Nav-2d opened this issue Jan 10, 2025 · 6 comments
Closed

[Bug]: Install browsers step on github actions getting stuck #34297

Nav-2d opened this issue Jan 10, 2025 · 6 comments

Comments

@Nav-2d
Copy link
Contributor

Nav-2d commented Jan 10, 2025

Version

1.49.0

Steps to reproduce

While trying to install browser on github actions via npx playwright install --with-deps, the job is getting stuck for hours.

Logs:

Installing dependencies...
Switching to root user to install dependencies...
Get:1 file:/etc/apt/apt-mirrors.txt Mirrorlist [142 B]
Hit:[6](https://github.com/xyz/server/actions/runs/12715993994/job/35449593143#step:14:7) https://packages.microsoft.com/repos/azure-cli jammy InRelease
Get:[7](https://github.com/xyz/server/actions/runs/12715993994/job/35449593143#step:14:8) https://packages.microsoft.com/ubuntu/22.04/prod jammy InRelease [3632 B]
Get:[8](https://github.com/xyz/server/actions/runs/12715993994/job/35449593143#step:14:9) https://packages.microsoft.com/ubuntu/22.04/prod jammy/main arm64 Packages [41.7 kB]
Get:[9](https://github.com/xyz/server/actions/runs/12715993994/job/35449593143#step:14:10) https://packages.microsoft.com/ubuntu/22.04/prod jammy/main amd64 Packages [175 kB]
Get:[10](https://github.com/xyz/server/actions/runs/12715993994/job/35449593143#step:14:11) https://packages.microsoft.com/ubuntu/22.04/prod jammy/main armhf Packages [16.4 kB]
Ign:2 http://azure.archive.ubuntu.com/ubuntu jammy InRelease
Ign:3 http://azure.archive.ubuntu.com/ubuntu jammy-updates InRelease
Ign:4 http://azure.archive.ubuntu.com/ubuntu jammy-backports InRelease
Ign:5 http://azure.archive.ubuntu.com/ubuntu jammy-security InRelease
Ign:2 http://azure.archive.ubuntu.com/ubuntu jammy InRelease
Ign:3 http://azure.archive.ubuntu.com/ubuntu jammy-updates InRelease
Ign:4 http://azure.archive.ubuntu.com/ubuntu jammy-backports InRelease
Ign:5 http://azure.archive.ubuntu.com/ubuntu jammy-security InRelease
Ign:2 http://azure.archive.ubuntu.com/ubuntu jammy InRelease
Ign:3 http://azure.archive.ubuntu.com/ubuntu jammy-updates InRelease
Ign:4 http://azure.archive.ubuntu.com/ubuntu jammy-backports InRelease
Ign:5 http://azure.archive.ubuntu.com/ubuntu jammy-security InRelease
Ign:2 http://azure.archive.ubuntu.com/ubuntu jammy InRelease
Ign:3 http://azure.archive.ubuntu.com/ubuntu jammy-updates InRelease
Ign:4 http://azure.archive.ubuntu.com/ubuntu jammy-backports InRelease
Ign:5 http://azure.archive.ubuntu.com/ubuntu jammy-security InRelease
Hit:2 http://archive.ubuntu.com/ubuntu jammy InRelease
Get:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
Ign:[11](https://github.com/xyz/server/actions/runs/12715993994/job/35449593143#step:14:12) http://azure.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
Ign:[12](https://github.com/xyz/server/actions/runs/12715993994/job/35449593143#step:14:13) http://azure.archive.ubuntu.com/ubuntu jammy-updates/main Translation-en
Ign:[13](https://github.com/xyz/server/actions/runs/12715993994/job/35449593143#step:14:14) http://azure.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages
Ign:[14](https://github.com/xyz/server/actions/runs/12715993994/job/35449593143#step:14:15) http://azure.archive.ubuntu.com/ubuntu jammy-updates/restricted Translation-en
Ign:15 http://azure.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages
Ign:16 http://azure.archive.ubuntu.com/ubuntu jammy-updates/universe Translation-en
Get:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
Get:5 http://archive.ubuntu.com/ubuntu jammy-security InRelease [129 kB]

Note: this is an intermittent issue. Not sure what else I can provide to debug.

Expected behavior

Browsers are installed successfully

Actual behavior

Browsers are not installed successfully

Additional context

No response

Environment

System:
    OS: macOS 15.2
    CPU: (12) arm64 Apple M3 Pro
    Memory: 6.10 GB / 36.00 GB
  Binaries:
    Node: 20.11.1 - ~/.nvm/versions/node/v20.11.1/bin/node
    Yarn: 1.22.22 - ~/Desktop/xyz/client/node_modules/.bin/yarn
    npm: 10.2.4 - ~/.nvm/versions/node/v20.11.1/bin/npm
  IDEs:
    VSCode: 1.94.0 - /usr/local/bin/code
  Languages:
    Bash: 3.2.57 - /bin/bash
  npmPackages:
    @playwright/test: 1.49.0 => 1.49.0
@pavelfeldman
Copy link
Member

@Nav-2d 👋 what is this job public?

@Nav-2d
Copy link
Contributor Author

Nav-2d commented Jan 13, 2025

Hi @pavelfeldman - Unfortunately no. Its a private job. Is there anything else I can provide or do my end to help debug this?

@Georgegriff
Copy link
Contributor

Georgegriff commented Jan 13, 2025

Also seeing this too on a private github action, similarly not much to go off other than this in the logs. Job got stuck for 30 minutes

I found this related issue actions/runner-images#11347

Run npx [email protected] install chromium --with-deps
npm WARN exec The following package was not found and will be installed: [email protected]
╔═══════════════════════════════════════════════════════════════════════════════╗
║ WARNING: It looks like you are running 'npx playwright install' without first ║
║ installing your project's dependencies.                                       ║
║                                                                               ║
║ To avoid unexpected behavior, please install your dependencies first, and     ║
║ then run Playwright's install command:                                        ║
║                                                                               ║
║     npm install                                                               ║
║     npx playwright install                                                    ║
║                                                                               ║
║ If your project does not yet depend on Playwright, first install the          ║
║ applicable npm package (most commonly @playwright/test), and                  ║
║ then run Playwright's install command to download the browsers:               ║
║                                                                               ║
║     npm install @playwright/test                                              ║
║     npx playwright install                                                    ║
║                                                                               ║
╚═══════════════════════════════════════════════════════════════════════════════╝
Installing dependencies...
Switching to root user to install dependencies...
Get:1 file:/etc/apt/apt-mirrors.txt Mirrorlist [142 B]
Hit:6 https://packages.microsoft.com/repos/azure-cli jammy InRelease
Get:7 https://packages.microsoft.com/ubuntu/22.04/prod jammy InRelease [3632 B]
Get:8 https://packages.microsoft.com/ubuntu/22.04/prod jammy/main armhf Packages [16.4 kB]
Get:9 https://packages.microsoft.com/ubuntu/22.04/prod jammy/main amd64 Packages [174 kB]
Get:10 https://packages.microsoft.com/ubuntu/22.04/prod jammy/main arm64 Packages [41.8 kB]
Ign:2 http://azure.archive.ubuntu.com/ubuntu jammy InRelease
Ign:3 http://azure.archive.ubuntu.com/ubuntu jammy-updates InRelease
Ign:4 http://azure.archive.ubuntu.com/ubuntu jammy-backports InRelease
Ign:5 http://azure.archive.ubuntu.com/ubuntu jammy-security InRelease
Ign:2 http://azure.archive.ubuntu.com/ubuntu jammy InRelease
Ign:3 http://azure.archive.ubuntu.com/ubuntu jammy-updates InRelease
Ign:4 http://azure.archive.ubuntu.com/ubuntu jammy-backports InRelease
Ign:5 http://azure.archive.ubuntu.com/ubuntu jammy-security InRelease
Ign:2 http://azure.archive.ubuntu.com/ubuntu jammy InRelease
Ign:3 http://azure.archive.ubuntu.com/ubuntu jammy-updates InRelease
Ign:4 http://azure.archive.ubuntu.com/ubuntu jammy-backports InRelease
Ign:5 http://azure.archive.ubuntu.com/ubuntu jammy-security InRelease
Ign:2 http://azure.archive.ubuntu.com/ubuntu jammy InRelease
Ign:3 http://azure.archive.ubuntu.com/ubuntu jammy-updates InRelease
Ign:4 http://azure.archive.ubuntu.com/ubuntu jammy-backports InRelease
Ign:5 http://azure.archive.ubuntu.com/ubuntu jammy-security InRelease
Hit:2 http://archive.ubuntu.com/ubuntu jammy InRelease
Get:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
Ign:11 http://azure.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
Ign:12 http://azure.archive.ubuntu.com/ubuntu jammy-updates/main Translation-en
Ign:13 http://azure.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages
Ign:14 http://azure.archive.ubuntu.com/ubuntu jammy-updates/restricted Translation-en
Ign:15 http://azure.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages
Ign:16 http://azure.archive.ubuntu.com/ubuntu jammy-updates/universe Translation-en
Get:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
Get:5 http://archive.ubuntu.com/ubuntu jammy-security InRelease [129 kB]

@yury-s
Copy link
Member

yury-s commented Jan 13, 2025

Yeah, looks like a problem with the ubuntu mirror, which is outside of our control. The runner issue says that it is specific to 22.04. @Nav-2d are you also using 22.04?

@Nav-2d
Copy link
Contributor Author

Nav-2d commented Jan 13, 2025

Yes I am on 22.04.5 Ubuntu. Feel free to close this one @yury-s. Will keep an eye on the other runner issue logged.

@yury-s
Copy link
Member

yury-s commented Jan 13, 2025

Thanks for confirming.

@yury-s yury-s closed this as completed Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants