Skip to content

Ubuntu 24.04 builds failing installing msedge #12626

@samjarrett

Description

@samjarrett

Description

We build self-hosted runner images using the provided Packer on AWS, and started getting the following errors in build logs for the install-microsoft-edge.sh provisioning script.

I suspect that this is related to issues #11244 and #12597.

Platforms affected

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

Runner images affected

  • Ubuntu 22.04
  • Ubuntu 24.04
  • 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

ubuntu24/20250713.1

Is it regression?

yes?

Expected behavior

MS Edge installs without errors

Actual behavior

install-microsoft-edge.sh provisioning step reports the following errors:

==> ubuntu-24_04.amazon-ebs.image: Provisioning with shell script: runner-images/images/ubuntu/templates/../scripts/build/install-microsoft-edge.sh
    ubuntu-24_04.amazon-ebs.image: Hit:1 http://ap-southeast-2.ec2.archive.ubuntu.com/ubuntu noble InRelease
    ubuntu-24_04.amazon-ebs.image: Hit:2 http://ap-southeast-2.ec2.archive.ubuntu.com/ubuntu noble-updates InRelease
    ubuntu-24_04.amazon-ebs.image: Hit:3 http://ap-southeast-2.ec2.archive.ubuntu.com/ubuntu noble-backports InRelease
    ubuntu-24_04.amazon-ebs.image: Hit:4 https://packages.microsoft.com/repos/azure-cli noble InRelease
    ubuntu-24_04.amazon-ebs.image: Get:5 https://packages.microsoft.com/repos/edge stable InRelease [3590 B]
    ubuntu-24_04.amazon-ebs.image: Hit:6 https://packages.microsoft.com/ubuntu/24.04/prod noble InRelease
    ubuntu-24_04.amazon-ebs.image: Get:7 https://packages.microsoft.com/repos/edge stable/main amd64 Packages [21.3 kB]
    ubuntu-24_04.amazon-ebs.image: Hit:8 http://security.ubuntu.com/ubuntu noble-security InRelease
    ubuntu-24_04.amazon-ebs.image: Fetched 24.9 kB in 1s (42.7 kB/s)
    ubuntu-24_04.amazon-ebs.image: Reading package lists...
    ubuntu-24_04.amazon-ebs.image: Reading package lists...
    ubuntu-24_04.amazon-ebs.image: Building dependency tree...
    ubuntu-24_04.amazon-ebs.image: Reading state information...
    ubuntu-24_04.amazon-ebs.image: The following packages were automatically installed and are no longer required:
    ubuntu-24_04.amazon-ebs.image:   liblldb-16t64 liblldb-17t64
    ubuntu-24_04.amazon-ebs.image: Use 'sudo apt autoremove' to remove them.
    ubuntu-24_04.amazon-ebs.image: The following additional packages will be installed:
    ubuntu-24_04.amazon-ebs.image:   adwaita-icon-theme at-spi2-common dconf-gsettings-backend dconf-service
    ubuntu-24_04.amazon-ebs.image:   fontconfig fonts-liberation gtk-update-icon-cache hicolor-icon-theme
    ubuntu-24_04.amazon-ebs.image:   humanity-icon-theme libasound2-data libasound2t64 libatk-bridge2.0-0t64
    ubuntu-24_04.amazon-ebs.image:   libatk1.0-0t64 libatspi2.0-0t64 libavahi-client3 libavahi-common-data
    ubuntu-24_04.amazon-ebs.image:   libavahi-common3 libcairo-gobject2 libcairo2 libcolord2 libcups2t64
    ubuntu-24_04.amazon-ebs.image:   libdatrie1 libdconf1 libdeflate0 libepoxy0 libgdk-pixbuf-2.0-0
    ubuntu-24_04.amazon-ebs.image:   libgdk-pixbuf2.0-common libgraphite2-3 libgtk-3-0t64 libgtk-3-common
    ubuntu-24_04.amazon-ebs.image:   libharfbuzz0b libjbig0 libjpeg-turbo8 libjpeg8 liblcms2-2 liblerc4
    ubuntu-24_04.amazon-ebs.image:   libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libsharpyuv0
    ubuntu-24_04.amazon-ebs.image:   libthai-data libthai0 libtiff6 libwayland-client0 libwayland-cursor0
    ubuntu-24_04.amazon-ebs.image:   libwayland-egl1 libwebp7 libxcb-render0 libxcomposite1 libxcursor1
    ubuntu-24_04.amazon-ebs.image:   libxdamage1 libxi6 libxinerama1 ubuntu-mono xdg-utils
    ubuntu-24_04.amazon-ebs.image: Suggested packages:
    ubuntu-24_04.amazon-ebs.image:   alsa-utils libasound2-plugins colord cups-common gvfs liblcms2-utils
    ubuntu-24_04.amazon-ebs.image: Recommended packages:
    ubuntu-24_04.amazon-ebs.image:   librsvg2-common fonts-liberation-sans-narrow alsa-ucm-conf
    ubuntu-24_04.amazon-ebs.image:   alsa-topology-conf at-spi2-core libgdk-pixbuf2.0-bin libgtk-3-bin
    ubuntu-24_04.amazon-ebs.image:   libfile-mimeinfo-perl libnet-dbus-perl libx11-protocol-perl x11-utils
    ubuntu-24_04.amazon-ebs.image:   x11-xserver-utils
    ubuntu-24_04.amazon-ebs.image: The following NEW packages will be installed:
    ubuntu-24_04.amazon-ebs.image:   adwaita-icon-theme at-spi2-common dconf-gsettings-backend dconf-service
    ubuntu-24_04.amazon-ebs.image:   fontconfig fonts-liberation gtk-update-icon-cache hicolor-icon-theme
    ubuntu-24_04.amazon-ebs.image:   humanity-icon-theme libasound2-data libasound2t64 libatk-bridge2.0-0t64
    ubuntu-24_04.amazon-ebs.image:   libatk1.0-0t64 libatspi2.0-0t64 libavahi-client3 libavahi-common-data
    ubuntu-24_04.amazon-ebs.image:   libavahi-common3 libcairo-gobject2 libcairo2 libcolord2 libcups2t64
    ubuntu-24_04.amazon-ebs.image:   libdatrie1 libdconf1 libdeflate0 libepoxy0 libgdk-pixbuf-2.0-0
    ubuntu-24_04.amazon-ebs.image:   libgdk-pixbuf2.0-common libgraphite2-3 libgtk-3-0t64 libgtk-3-common
    ubuntu-24_04.amazon-ebs.image:   libharfbuzz0b libjbig0 libjpeg-turbo8 libjpeg8 liblcms2-2 liblerc4
    ubuntu-24_04.amazon-ebs.image:   libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libsharpyuv0
    ubuntu-24_04.amazon-ebs.image:   libthai-data libthai0 libtiff6 libwayland-client0 libwayland-cursor0
    ubuntu-24_04.amazon-ebs.image:   libwayland-egl1 libwebp7 libxcb-render0 libxcomposite1 libxcursor1
    ubuntu-24_04.amazon-ebs.image:   libxdamage1 libxi6 libxinerama1 microsoft-edge-stable ubuntu-mono xdg-utils
    ubuntu-24_04.amazon-ebs.image: 0 upgraded, 56 newly installed, 0 to remove and 30 not upgraded.
    ubuntu-24_04.amazon-ebs.image: Need to get 192 MB of archives.
    ubuntu-24_04.amazon-ebs.image: After this operation, 699 MB of additional disk space will be used.
    ubuntu-24_04.amazon-ebs.image: Get:1 https://packages.microsoft.com/repos/edge stable/main amd64 microsoft-edge-stable amd64 138.0.3351.95-1 [179 MB]
    ubuntu-24_04.amazon-ebs.image: Get:2 http://ap-southeast-2.ec2.archive.ubuntu.com/ubuntu noble/main amd64 fonts-liberation all 1:2.1.5-3 [1603 kB]
==> ubuntu-24_04.amazon-ebs.image:  systemctl restart systemd-logind.service
==> ubuntu-24_04.amazon-ebs.image:  systemctl restart unattended-upgrades.service
==> ubuntu-24_04.amazon-ebs.image:
==> ubuntu-24_04.amazon-ebs.image: No containers need to be restarted.
==> ubuntu-24_04.amazon-ebs.image:
==> ubuntu-24_04.amazon-ebs.image: User sessions running outdated binaries:
==> ubuntu-24_04.amazon-ebs.image:  ubuntu @ session #1: sshd[1108]
==> ubuntu-24_04.amazon-ebs.image:  ubuntu @ user manager service: systemd[1120]
==> ubuntu-24_04.amazon-ebs.image:
==> ubuntu-24_04.amazon-ebs.image: No VM guests are running outdated hypervisor (qemu) binaries on this host.
==> ubuntu-24_04.amazon-ebs.image: curl: (6) Could not resolve host: msedgedriver.azureedge.net
==> ubuntu-24_04.amazon-ebs.image: Downloading package from https://msedgedriver.azureedge.net//edgedriver_linux64.zip to /tmp/edgedriver_linux64.zip...
==> ubuntu-24_04.amazon-ebs.image: curl: (6) Could not resolve host: msedgedriver.azureedge.net
==> ubuntu-24_04.amazon-ebs.image: Package download failed in 0 seconds
==> ubuntu-24_04.amazon-ebs.image: Waiting 30 seconds before retrying (retries left: 20)...
==> ubuntu-24_04.amazon-ebs.image: curl: (6) Could not resolve host: msedgedriver.azureedge.net
==> ubuntu-24_04.amazon-ebs.image: Package download failed in 0 seconds
==> ubuntu-24_04.amazon-ebs.image: Waiting 30 seconds before retrying (retries left: 19)...
==> ubuntu-24_04.amazon-ebs.image: curl: (6) Could not resolve host: msedgedriver.azureedge.net
==> ubuntu-24_04.amazon-ebs.image: Package download failed in 0 seconds
==> ubuntu-24_04.amazon-ebs.image: Waiting 30 seconds before retrying (retries left: 18)...
==> ubuntu-24_04.amazon-ebs.image: curl: (6) Could not resolve host: msedgedriver.azureedge.net
==> ubuntu-24_04.amazon-ebs.image: Package download failed in 0 seconds
==> ubuntu-24_04.amazon-ebs.image: Waiting 30 seconds before retrying (retries left: 17)...
==> ubuntu-24_04.amazon-ebs.image: curl: (6) Could not resolve host: msedgedriver.azureedge.net
==> ubuntu-24_04.amazon-ebs.image: Package download failed in 0 seconds
==> ubuntu-24_04.amazon-ebs.image: Waiting 30 seconds before retrying (retries left: 16)...
==> ubuntu-24_04.amazon-ebs.image: curl: (6) Could not resolve host: msedgedriver.azureedge.net
==> ubuntu-24_04.amazon-ebs.image: Package download failed in 0 seconds
==> ubuntu-24_04.amazon-ebs.image: Waiting 30 seconds before retrying (retries left: 15)...
==> ubuntu-24_04.amazon-ebs.image: curl: (6) Could not resolve host: msedgedriver.azureedge.net
==> ubuntu-24_04.amazon-ebs.image: Package download failed in 0 seconds
==> ubuntu-24_04.amazon-ebs.image: Waiting 30 seconds before retrying (retries left: 14)...
==> ubuntu-24_04.amazon-ebs.image: curl: (6) Could not resolve host: msedgedriver.azureedge.net
==> ubuntu-24_04.amazon-ebs.image: Package download failed in 0 seconds
==> ubuntu-24_04.amazon-ebs.image: Waiting 30 seconds before retrying (retries left: 13)...
==> ubuntu-24_04.amazon-ebs.image: curl: (6) Could not resolve host: msedgedriver.azureedge.net
==> ubuntu-24_04.amazon-ebs.image: Package download failed in 0 seconds
==> ubuntu-24_04.amazon-ebs.image: Waiting 30 seconds before retrying (retries left: 12)...
==> ubuntu-24_04.amazon-ebs.image: curl: (6) Could not resolve host: msedgedriver.azureedge.net
==> ubuntu-24_04.amazon-ebs.image: Package download failed in 0 seconds
==> ubuntu-24_04.amazon-ebs.image: Waiting 30 seconds before retrying (retries left: 11)...
==> ubuntu-24_04.amazon-ebs.image: curl: (6) Could not resolve host: msedgedriver.azureedge.net
==> ubuntu-24_04.amazon-ebs.image: Package download failed in 0 seconds
==> ubuntu-24_04.amazon-ebs.image: Waiting 30 seconds before retrying (retries left: 10)...
==> ubuntu-24_04.amazon-ebs.image: curl: (6) Could not resolve host: msedgedriver.azureedge.net
==> ubuntu-24_04.amazon-ebs.image: Package download failed in 0 seconds
==> ubuntu-24_04.amazon-ebs.image: Waiting 30 seconds before retrying (retries left: 9)...
==> ubuntu-24_04.amazon-ebs.image: curl: (6) Could not resolve host: msedgedriver.azureedge.net
==> ubuntu-24_04.amazon-ebs.image: Package download failed in 0 seconds
==> ubuntu-24_04.amazon-ebs.image: Waiting 30 seconds before retrying (retries left: 8)...
==> ubuntu-24_04.amazon-ebs.image: curl: (6) Could not resolve host: msedgedriver.azureedge.net
==> ubuntu-24_04.amazon-ebs.image: Package download failed in 0 seconds
==> ubuntu-24_04.amazon-ebs.image: Waiting 30 seconds before retrying (retries left: 7)...
==> ubuntu-24_04.amazon-ebs.image: curl: (6) Could not resolve host: msedgedriver.azureedge.net
==> ubuntu-24_04.amazon-ebs.image: Package download failed in 0 seconds
==> ubuntu-24_04.amazon-ebs.image: Waiting 30 seconds before retrying (retries left: 6)...
==> ubuntu-24_04.amazon-ebs.image: curl: (6) Could not resolve host: msedgedriver.azureedge.net
==> ubuntu-24_04.amazon-ebs.image: Package download failed in 0 seconds
==> ubuntu-24_04.amazon-ebs.image: Waiting 30 seconds before retrying (retries left: 5)...
==> ubuntu-24_04.amazon-ebs.image: curl: (6) Could not resolve host: msedgedriver.azureedge.net
==> ubuntu-24_04.amazon-ebs.image: Package download failed in 0 seconds
==> ubuntu-24_04.amazon-ebs.image: Waiting 30 seconds before retrying (retries left: 4)...
==> ubuntu-24_04.amazon-ebs.image: curl: (6) Could not resolve host: msedgedriver.azureedge.net
==> ubuntu-24_04.amazon-ebs.image: Package download failed in 0 seconds
==> ubuntu-24_04.amazon-ebs.image: Waiting 30 seconds before retrying (retries left: 3)...
==> ubuntu-24_04.amazon-ebs.image: curl: (6) Could not resolve host: msedgedriver.azureedge.net
==> ubuntu-24_04.amazon-ebs.image: Package download failed in 0 seconds
==> ubuntu-24_04.amazon-ebs.image: Waiting 30 seconds before retrying (retries left: 2)...
==> ubuntu-24_04.amazon-ebs.image: curl: (6) Could not resolve host: msedgedriver.azureedge.net
==> ubuntu-24_04.amazon-ebs.image: Package download failed in 0 seconds
==> ubuntu-24_04.amazon-ebs.image: Package download failed after 570 seconds

Repro steps

Build the image using ubuntu24/20250713.1 version.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions