Issue 1:
System info

Playwright Version: [1.33]

Operating System: [Ubuntu 20]

Browser: [All, Chromium, Firefox, WebKit]

Other info:

Source code

I provided exact source code that allows reproducing the issue locally.

Link to the GitHub repository with the repro

[https://github.com/your_profile/playwright_issue_title]

or

Config file

Not Applicable

Test file (self-contained)

Not Applicable

Steps

[Install Playwright]

cd ./h2oai/ui && $(NPM) install -D @playwright/test allure-playwright && $(NPX) playwright install

Expected

Playwright should install successfully.

Actual

Getting installation error:

[2023-04-17T00:08:27.494Z] ----- Preparing Playwright ENV for GUI E2E Tests -----
[2023-04-17T00:08:27.494Z] cd ./h2oai/ui && /h2oai/node-v16.0.0-linux-x64/bin/npm install -D @playwright/test allure-playwright && /h2oai/node-v16.0.0-linux-x64/bin/npx playwright install
[2023-04-17T00:08:34.052Z] npm WARN deprecated request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
[2023-04-17T00:08:34.052Z] npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
[2023-04-17T00:08:34.987Z] npm WARN deprecated har-validator@5.1.5: this library is no longer supported
[2023-04-17T00:08:35.954Z] npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
[2023-04-17T00:08:41.221Z]
[2023-04-17T00:08:41.221Z] added 651 packages, and audited 652 packages in 13s
[2023-04-17T00:08:41.221Z]
[2023-04-17T00:08:41.221Z] 45 packages are looking for funding
[2023-04-17T00:08:41.221Z] run `npm fund` for details
[2023-04-17T00:08:41.221Z]
[2023-04-17T00:08:41.221Z] 29 vulnerabilities (4 moderate, 22 high, 3 critical)
[2023-04-17T00:08:41.221Z]
[2023-04-17T00:08:41.221Z] To address issues that do not require attention, run:
[2023-04-17T00:08:41.221Z] npm audit fix
[2023-04-17T00:08:41.221Z]
[2023-04-17T00:08:41.221Z] To address all issues (including breaking changes), run:
[2023-04-17T00:08:41.221Z] npm audit fix --force
[2023-04-17T00:08:41.221Z]
[2023-04-17T00:08:41.221Z] Run `npm audit` for details.
[2023-04-17T00:08:41.221Z] Downloading Chromium 104.0.5112.48 (playwright build v1015)...
[2023-04-17T00:08:41.221Z] | | 0% of 132.8 Mb
[2023-04-17T00:08:41.221Z] Downloading Chromium 104.0.5112.48 (playwright build v1015)...
[2023-04-17T00:08:41.221Z] |■■■■■■■■ | 10% of 132.8 Mb
[2023-04-17T00:08:41.479Z] |■■■■■■■■■■■■■■■■ | 20% of 132.8 Mb
[2023-04-17T00:08:41.737Z] |■■■■■■■■■■■■■■■■■■■■■■■■ | 30% of 132.8 Mb
[2023-04-17T00:08:41.996Z] | | 0% of 132.8 Mb
[2023-04-17T00:08:41.996Z] Downloading Chromium 104.0.5112.48 (playwright build v1015)...
[2023-04-17T00:08:41.996Z] |■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ | 40% of 132.8 Mb
[2023-04-17T00:08:42.254Z] |■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ | 50% of 132.8 Mb
[2023-04-17T00:08:42.254Z] | | 0% of 132.8 Mb
[2023-04-17T00:08:42.254Z] Failed to install browsers
[2023-04-17T00:08:42.254Z] Error: Failed to download Chromium 104.0.5112.48 (playwright build v1015), caused by
[2023-04-17T00:08:42.254Z] Error: ENOENT: no such file or directory, open '"./tmp"/playwright-download-chromium-ubuntu20.04-1015.zip'
[2023-04-17T00:08:42.254Z] make: *** [test_gui_e2e_setup] Error 1
[2023-04-17T00:08:42.254Z] make: Target `test_gui_e2e' not remade because of errors.
[2023-04-17T00:08:42.820Z] Makefile:1550: recipe for target 'centos7_make_test_impl' failed
[2023-04-17T00:08:42.820Z] make[1]: *** [centos7_make_test_impl] Error 2
[2023-04-17T00:08:42.820Z] make[1]: Leaving directory '/home/****/slave_dir_from_mr-0xc1/workspace/sAI_dai-native-pipeline_PR-31152/test_gui_e2e-x86_64-11.2.2'
[2023-04-17T00:08:42.820Z] make/build_nonsmoke.mk:330: recipe for target 'centos7_cuda11.2.2_test_gui_e2e_in_docker' failed
[2023-04-17T00:08:42.820Z] make: *** [centos7_cuda11.2.2_test_gui_e2e_in_docker] Error 2
script returned exit code 2

Issue 2:
System info

Playwright Version: v1.31.1 (I think)

Operating System: Ubuntu 22.04.2

Browser: WebKit

Other info: The issue is happening while running on GitHub Actions

Source code

The issue isn't with running tests, it's with installing playwright's dependencies. In my GitHub Actions workflow I'm running npx playwright install webkit --with-deps which no longer succeeds as of today. I'm getting the following error. There have been no dependency updates on our end, thought it's possible something changed on the GitHub Actions VM.

Installing dependencies...
Switching to root user to install dependencies...
Hit:1 http://azure.archive.ubuntu.com/ubuntu jammy InRelease
Get:2 http://azure.archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]
Get:3 http://azure.archive.ubuntu.com/ubuntu jammy-backports InRelease [107 kB]
Get:4 http://azure.archive.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Ign:5 https://packages.microsoft.com/ubuntu/22.04/prod jammy InRelease
Get:6 https://packages.microsoft.com/ubuntu/22.04/prod jammy Release [2,540 B]
Ign:7 https://packages.microsoft.com/ubuntu/22.04/prod jammy Release.gpg
Get:8 http://azure.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [900 kB]
Get:9 http://azure.archive.ubuntu.com/ubuntu jammy-updates/main Translation-en [198 kB]
Get:10 http://azure.archive.ubuntu.com/ubuntu jammy-updates/main amd64 c-n-f Metadata [13.5 kB]
Get:11 http://azure.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [863 kB]
Get:12 http://azure.archive.ubuntu.com/ubuntu jammy-updates/universe Translation-en [167 kB]
Get:13 http://azure.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 c-n-f Metadata [17.3 kB]
Get:14 http://azure.archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [19.5 kB]
Get:15 http://azure.archive.ubuntu.com/ubuntu jammy-backports/universe Translation-en [14.0 kB]
Get:16 http://azure.archive.ubuntu.com/ubuntu jammy-backports/universe amd64 c-n-f Metadata [392 B]
Hit:17 https://ppa.launchpadcontent.net/ubuntu-toolchain-r/test/ubuntu jammy InRelease
Get:18 http://azure.archive.ubuntu.com/ubuntu jammy-security/main amd64 Packages [646 kB]
Get:19 http://azure.archive.ubuntu.com/ubuntu jammy-security/main Translation-en [135 kB]
Get:20 http://azure.archive.ubuntu.com/ubuntu jammy-security/main amd64 c-n-f Metadata [8,524 B]
Get:21 http://azure.archive.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [686 kB]
Get:22 http://azure.archive.ubuntu.com/ubuntu jammy-security/universe Translation-en [108 kB]
Get:23 http://azure.archive.ubuntu.com/ubuntu jammy-security/universe amd64 c-n-f Metadata [13.3 kB]
Reading package lists...
E: The repository 'https://packages.microsoft.com/ubuntu/22.04/prod jammy Release' is no longer signed.
Failed to install browsers
Error: Installation process exited with code: 100
Error: Process completed with exit code 1.

GitHub Actions VM info

Current runner version: '2.302.1'
Operating System
Ubuntu
22.04.2
LTS
Runner Image
Image: ubuntu-22.04
Version: 20230219.1
Included Software: https://github.com/actions/runner-images/blob/ubuntu22/20230219.1/images/linux/Ubuntu2204-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu22%2F20230219.1
Runner Image Provisioner
2.0.117.1