<h3 dir="auto">System info</h3>
<ul dir="auto">
<li>Playwright Version: [1.33]</li>
<li>Operating System: [Ubuntu 20]</li>
<li>Browser: [All, Chromium, Firefox, WebKit]</li>
<li>Other info:</li>
</ul>
<h3 dir="auto">Source code</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I provided exact source code that allows reproducing the issue locally.</li>
</ul>




<p dir="auto"><strong>Link to the GitHub repository with the repro</strong></p>
<p dir="auto">[https://github.com/your_profile/playwright_issue_title]</p>
<p dir="auto">or</p>
<p dir="auto"><strong>Config file</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Not Applicable"><pre class="notranslate"><code class="notranslate">Not Applicable
</code></pre></div>
<p dir="auto"><strong>Test file (self-contained)</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Not Applicable"><pre class="notranslate"><code class="notranslate">Not Applicable
</code></pre></div>
<p dir="auto"><strong>Steps</strong></p>
<ol dir="auto">
<li>[Install Playwright]</li>
</ol>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="cd ./h2oai/ui &amp;&amp; $(NPM) install -D @playwright/test allure-playwright &amp;&amp; $(NPX) playwright install"><pre class="notranslate"><span class="pl-c1">cd</span> ./h2oai/ui <span class="pl-k">&amp;&amp;</span> <span class="pl-s"><span class="pl-pds">$(</span>NPM<span class="pl-pds">)</span></span> install -D @playwright/test allure-playwright <span class="pl-k">&amp;&amp;</span> <span class="pl-s"><span class="pl-pds">$(</span>NPX<span class="pl-pds">)</span></span> playwright install</pre></div>
<p dir="auto"><strong>Expected</strong></p>
<p dir="auto">Playwright should install successfully.</p>
<p dir="auto"><strong>Actual</strong></p>
<p dir="auto">Getting installation error:</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="[2023-04-17T00:08:27.494Z] ----- Preparing Playwright ENV for GUI E2E Tests -----
[2023-04-17T00:08:27.494Z] cd ./h2oai/ui &amp;&amp; /h2oai/node-v16.0.0-linux-x64/bin/npm install -D @playwright/test allure-playwright &amp;&amp; /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 '&quot;./tmp&quot;/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"><pre class="notranslate">[2023-04-17T00:08:27.494Z] ----- Preparing Playwright ENV <span class="pl-k">for</span> GUI E2E Tests -----
[2023-04-17T00:08:27.494Z] <span class="pl-c1">cd</span> ./h2oai/ui <span class="pl-k">&amp;&amp;</span> /h2oai/node-v16.0.0-linux-x64/bin/npm install -D @playwright/test allure-playwright <span class="pl-k">&amp;&amp;</span> /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 <span class="pl-k">in</span> 13s
[2023-04-17T00:08:41.221Z] 
[2023-04-17T00:08:41.221Z] 45 packages are looking <span class="pl-k">for</span> funding
[2023-04-17T00:08:41.221Z]   run <span class="pl-s"><span class="pl-pds">`</span>npm fund<span class="pl-pds">`</span></span> <span class="pl-k">for</span> 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 <span class="pl-k">do</span> 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 <span class="pl-s"><span class="pl-pds">`</span>npm audit<span class="pl-pds">`</span></span> <span class="pl-k">for</span> details.
[2023-04-17T00:08:41.221Z] Downloading Chromium 104.0.5112.48 (playwright build v1015)...
[2023-04-17T00:08:41.221Z] <span class="pl-k">|</span>                                                                                <span class="pl-k">|</span>   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] <span class="pl-k">|</span>■■■■■■■■                                                                        <span class="pl-k">|</span>  10% of 132.8 Mb
[2023-04-17T00:08:41.479Z] <span class="pl-k">|</span>■■■■■■■■■■■■■■■■                                                                <span class="pl-k">|</span>  20% of 132.8 Mb
[2023-04-17T00:08:41.737Z] <span class="pl-k">|</span>■■■■■■■■■■■■■■■■■■■■■■■■                                                        <span class="pl-k">|</span>  30% of 132.8 Mb
[2023-04-17T00:08:41.996Z] <span class="pl-k">|</span>                                                                                <span class="pl-k">|</span>   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] <span class="pl-k">|</span>■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■                                                <span class="pl-k">|</span>  40% of 132.8 Mb
[2023-04-17T00:08:42.254Z] <span class="pl-k">|</span>■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■                                        <span class="pl-k">|</span>  50% of 132.8 Mb
[2023-04-17T00:08:42.254Z] <span class="pl-k">|</span>                                                                                <span class="pl-k">|</span>   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 <span class="pl-s"><span class="pl-pds">'</span>"./tmp"/playwright-download-chromium-ubuntu20.04-1015.zip<span class="pl-pds">'</span></span>
[2023-04-17T00:08:42.254Z] make: <span class="pl-k">***</span> [test_gui_e2e_setup] Error 1
[2023-04-17T00:08:42.254Z] make: Target <span class="pl-s"><span class="pl-pds">`</span>test_gui_e2e<span class="pl-s"><span class="pl-pds">'</span> not remade because of errors.</span></span>
<span class="pl-s"><span class="pl-s">[2023-04-17T00:08:42.820Z] Makefile:1550: recipe for target <span class="pl-pds">'</span></span>centos7_make_test_impl<span class="pl-s"><span class="pl-pds">'</span> failed</span></span>
<span class="pl-s"><span class="pl-s">[2023-04-17T00:08:42.820Z] make[1]: *** [centos7_make_test_impl] Error 2</span></span>
<span class="pl-s"><span class="pl-s">[2023-04-17T00:08:42.820Z] make[1]: Leaving directory <span class="pl-pds">'</span></span>/home/<span class="pl-k">****</span>/slave_dir_from_mr-0xc1/workspace/sAI_dai-native-pipeline_PR-31152/test_gui_e2e-x86_64-11.2.2<span class="pl-s"><span class="pl-pds">'</span></span></span>
<span class="pl-s"><span class="pl-s">[2023-04-17T00:08:42.820Z] make/build_nonsmoke.mk:330: recipe for target <span class="pl-pds">'</span></span>centos7_cuda11.2.2_test_gui_e2e_in_docker<span class="pl-s"><span class="pl-pds">'</span> failed</span></span>
<span class="pl-s"><span class="pl-s">[2023-04-17T00:08:42.820Z] make: *** [centos7_cuda11.2.2_test_gui_e2e_in_docker] Error 2</span></span>
<span class="pl-s"><span class="pl-s">script returned exit code 2</span></span></pre></div>
<h3 dir="auto">System info</h3>
<ul dir="auto">
<li>Playwright Version: v1.31.1 (I think)</li>
<li>Operating System: Ubuntu 22.04.2</li>
<li>Browser: WebKit</li>
<li>Other info: The issue is happening while running on GitHub Actions</li>
</ul>
<h3 dir="auto">Source code</h3>
<p dir="auto">The issue isn't with running tests, it's with installing playwright's dependencies. In my GitHub Actions workflow I'm running <code class="notranslate">npx playwright install webkit --with-deps</code> 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.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="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."><pre lang="text" class="notranslate"><code class="notranslate">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.
</code></pre></div>
<p dir="auto">GitHub Actions VM info</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="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"><pre lang="text" class="notranslate"><code class="notranslate">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
</code></pre></div>