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

ubuntu: (22.04.5) - Dependency installations triggered by npx x install --with-deps sometimes hanging on apt-get #11347

Open
2 of 16 tasks
jedmonds-tiplu opened this issue Jan 10, 2025 · 4 comments

Comments

@jedmonds-tiplu
Copy link

jedmonds-tiplu commented Jan 10, 2025

Description

Currently we are attempting to install playwright in a CI step via run: npm ci && npx playwright install --with-deps chromium. This works sometimes, however not always. We are seeing the dependency installation step, sometimes hanging, with the runner eventually being cancelled after ~4 hours.

See log snippet below:

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 arm64 Packages [41.7 kB]
Get:10 https://packages.microsoft.com/ubuntu/22.04/prod jammy/main amd64 Packages [174 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]
Error: The operation was canceled.

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 20.04
  • Ubuntu 22.04
  • Ubuntu 24.04
  • macOS 12
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • macOS 15
  • macOS 15 Arm64
  • Windows Server 2019
  • Windows Server 2022
  • Windows Server 2025

Image version and build link

GItHub Actions: 20241215.1.0

Is it regression?

Likely yes, however I cannot be sure

Expected behavior

apt-get dependency install / fetch never hangs and installs / fetches dependencies

Actual behavior

apt-get dependency install / fetch hangs sometimes (not always)

Repro steps

  1. start workflow with Ubuntu latest
  2. run npx playwright install --with-deps chromium
  3. wait and see if it hangs, otherwise trigger it again
@vidyasagarnimmagaddi
Copy link
Contributor

Hi @jedmonds-tiplu , Thank you for bringing this issue to our attention. We are looking into this issue and will update you on this issue after investigating.

@jedmonds-tiplu jedmonds-tiplu changed the title ubuntu:latest (22.04.5) - Dependency installations triggered by npx x install --with-deps sometimes hanging on apt-get ubuntu: (22.04.5) - Dependency installations triggered by npx x install --with-deps sometimes hanging on apt-get Jan 10, 2025
@jedmonds-tiplu
Copy link
Author

No problem, I have updated the title to correctly reflect the Ubuntu version.

@kishorekumar-anchala
Copy link
Contributor

Hi @jedmonds-tiplu ,

Could you please retry now , confirm once you tested. thank you !

@jedmonds-tiplu
Copy link
Author

Hey @kishorekumar-anchala,

Sure, i'll keep an eye on it over the next few days, as it is intermittent it is hard to know for sure. I'll get back to you in a few days with how it is looking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants