actions / runner-images

GitHub Actions runner images
MIT License
10.19k stars 3.06k forks source link

Dotnet 6/7 not available on latest versions of Ubuntu 24.04, due to removal during 8.0 install causing error on #9901

Closed DevOpsAzurance closed 5 months ago

DevOpsAzurance commented 5 months ago

Description

Running build on main branch (5113d251), getting the following:

2024-05-20T19:37:03.5384735Z ==> azure-arm.build_image: Provisioning with shell script: C:/a/1/AgentPacker/images/ubuntu/templates/../scripts/build/install-dotnetcore-sdk.sh
2024-05-20T19:37:03.7170511Z     azure-arm.build_image: Hit:1 http://azure.archive.ubuntu.com/ubuntu noble InRelease
2024-05-20T19:37:03.7174264Z     azure-arm.build_image: Hit:2 http://azure.archive.ubuntu.com/ubuntu noble-updates InRelease
2024-05-20T19:37:03.7407112Z     azure-arm.build_image: Hit:3 http://azure.archive.ubuntu.com/ubuntu noble-backports InRelease
2024-05-20T19:37:03.7487335Z     azure-arm.build_image: Hit:4 http://azure.archive.ubuntu.com/ubuntu noble-security InRelease
2024-05-20T19:37:03.7489841Z     azure-arm.build_image: Get:5 https://packages.microsoft.com/ubuntu/24.04/prod noble InRelease [3600 B]
2024-05-20T19:37:04.2146603Z     azure-arm.build_image: Fetched 3600 B in 0s (8641 B/s)
2024-05-20T19:37:05.0317819Z     azure-arm.build_image: Reading package lists...
2024-05-20T19:37:05.0554135Z     azure-arm.build_image: Determining if .NET Core (dotnet-sdk-6.0) is installed
2024-05-20T19:37:05.2259463Z     azure-arm.build_image: Could not find .NET Core (dotnet-sdk-6.0), installing...
2024-05-20T19:37:05.2470107Z     azure-arm.build_image: Reading package lists...
2024-05-20T19:37:05.5906336Z     azure-arm.build_image: Building dependency tree...
2024-05-20T19:37:05.5909559Z     azure-arm.build_image: Reading state information...
2024-05-20T19:37:06.0828048Z     azure-arm.build_image: The following packages were automatically installed and are no longer required:
2024-05-20T19:37:06.0831180Z     azure-arm.build_image:   liblldb-16t64 liblldb-17t64
2024-05-20T19:37:06.0834071Z     azure-arm.build_image: Use 'sudo apt autoremove' to remove them.
2024-05-20T19:37:06.0836460Z     azure-arm.build_image: The following additional packages will be installed:
2024-05-20T19:37:06.0839049Z     azure-arm.build_image:   aspnetcore-runtime-6.0 aspnetcore-targeting-pack-6.0 dotnet-apphost-pack-6.0
2024-05-20T19:37:06.0841263Z     azure-arm.build_image:   dotnet-host dotnet-hostfxr-6.0 dotnet-runtime-6.0 dotnet-runtime-deps-6.0
2024-05-20T19:37:06.0843394Z     azure-arm.build_image:   dotnet-targeting-pack-6.0 netstandard-targeting-pack-2.1
2024-05-20T19:37:06.1079696Z     azure-arm.build_image: The following NEW packages will be installed:
2024-05-20T19:37:06.1084882Z     azure-arm.build_image:   aspnetcore-runtime-6.0 aspnetcore-targeting-pack-6.0 dotnet-apphost-pack-6.0
2024-05-20T19:37:06.1088001Z     azure-arm.build_image:   dotnet-host dotnet-hostfxr-6.0 dotnet-runtime-6.0 dotnet-runtime-deps-6.0
2024-05-20T19:37:06.1216654Z     azure-arm.build_image:   dotnet-sdk-6.0 dotnet-targeting-pack-6.0 netstandard-targeting-pack-2.1
2024-05-20T19:37:06.6398636Z     azure-arm.build_image: 0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
2024-05-20T19:37:06.6402145Z     azure-arm.build_image: Need to get 125 MB of archives.
2024-05-20T19:37:06.6404378Z     azure-arm.build_image: After this operation, 509 MB of additional disk space will be used.
2024-05-20T19:37:06.6406576Z     azure-arm.build_image: Get:1 https://packages.microsoft.com/ubuntu/24.04/prod noble/main amd64 dotnet-host amd64 7.0.19-1 [57.4 kB]
2024-05-20T19:37:06.6408694Z     azure-arm.build_image: Get:2 https://packages.microsoft.com/ubuntu/24.04/prod noble/main amd64 dotnet-hostfxr-6.0 amd64 6.0.30-1 [144 kB]
2024-05-20T19:37:06.8546770Z     azure-arm.build_image: Get:3 https://packages.microsoft.com/ubuntu/24.04/prod noble/main amd64 dotnet-runtime-deps-6.0 amd64 6.0.30-1 [2794 B]
2024-05-20T19:37:07.1127282Z     azure-arm.build_image: Get:4 https://packages.microsoft.com/ubuntu/24.04/prod noble/main amd64 dotnet-runtime-6.0 amd64 6.0.30-1 [22.6 MB]
2024-05-20T19:37:08.8012744Z     azure-arm.build_image: Get:5 https://packages.microsoft.com/ubuntu/24.04/prod noble/main amd64 aspnetcore-runtime-6.0 amd64 6.0.30-1 [6622 kB]
2024-05-20T19:37:09.1798852Z     azure-arm.build_image: Get:6 https://packages.microsoft.com/ubuntu/24.04/prod noble/main amd64 dotnet-targeting-pack-6.0 amd64 6.0.30-1 [2130 kB]
2024-05-20T19:37:09.5301888Z     azure-arm.build_image: Get:7 https://packages.microsoft.com/ubuntu/24.04/prod noble/main amd64 aspnetcore-targeting-pack-6.0 amd64 6.0.30-1 [1316 kB]
2024-05-20T19:37:09.7943510Z     azure-arm.build_image: Get:8 https://packages.microsoft.com/ubuntu/24.04/prod noble/main amd64 dotnet-apphost-pack-6.0 amd64 6.0.30-1 [3536 kB]
2024-05-20T19:37:10.1599417Z     azure-arm.build_image: Get:9 https://packages.microsoft.com/ubuntu/24.04/prod noble/main amd64 netstandard-targeting-pack-2.1 amd64 2.1.0-1 [1476 kB]
2024-05-20T19:37:10.5070082Z     azure-arm.build_image: Get:10 https://packages.microsoft.com/ubuntu/24.04/prod noble/main amd64 dotnet-sdk-6.0 amd64 6.0.422-1 [86.9 MB]
2024-05-20T19:37:17.3865072Z     azure-arm.build_image: Fetched 125 MB in 11s (11.5 MB/s)
2024-05-20T19:37:18.1442603Z     azure-arm.build_image: Selecting previously unselected package dotnet-host.
2024-05-20T19:37:18.2097135Z     azure-arm.build_image: (Reading database ... 124136 files and directories currently installed.)
2024-05-20T19:37:18.2194486Z     azure-arm.build_image: Preparing to unpack .../0-dotnet-host_7.0.19-1_amd64.deb ...
2024-05-20T19:37:18.2633956Z     azure-arm.build_image: Unpacking dotnet-host (7.0.19-1) ...
2024-05-20T19:37:18.4174262Z     azure-arm.build_image: Selecting previously unselected package dotnet-hostfxr-6.0.
2024-05-20T19:37:18.4248416Z     azure-arm.build_image: Preparing to unpack .../1-dotnet-hostfxr-6.0_6.0.30-1_amd64.deb ...
2024-05-20T19:37:18.4361825Z     azure-arm.build_image: Unpacking dotnet-hostfxr-6.0 (6.0.30-1) ...
2024-05-20T19:37:18.5926868Z     azure-arm.build_image: Selecting previously unselected package dotnet-runtime-deps-6.0.
2024-05-20T19:37:18.6083238Z     azure-arm.build_image: Preparing to unpack .../2-dotnet-runtime-deps-6.0_6.0.30-1_amd64.deb ...
2024-05-20T19:37:18.6216730Z     azure-arm.build_image: Unpacking dotnet-runtime-deps-6.0 (6.0.30-1) ...
2024-05-20T19:37:18.7565373Z     azure-arm.build_image: Selecting previously unselected package dotnet-runtime-6.0.
2024-05-20T19:37:18.7569225Z     azure-arm.build_image: Preparing to unpack .../3-dotnet-runtime-6.0_6.0.30-1_amd64.deb ...
2024-05-20T19:37:18.7741073Z     azure-arm.build_image: Unpacking dotnet-runtime-6.0 (6.0.30-1) ...
2024-05-20T19:37:20.9191310Z     azure-arm.build_image: Selecting previously unselected package aspnetcore-runtime-6.0.
2024-05-20T19:37:20.9386803Z     azure-arm.build_image: Preparing to unpack .../4-aspnetcore-runtime-6.0_6.0.30-1_amd64.deb ...
2024-05-20T19:37:20.9457674Z     azure-arm.build_image: Unpacking aspnetcore-runtime-6.0 (6.0.30-1) ...
2024-05-20T19:37:21.7603220Z     azure-arm.build_image: Selecting previously unselected package dotnet-targeting-pack-6.0.
2024-05-20T19:37:21.7773346Z     azure-arm.build_image: Preparing to unpack .../5-dotnet-targeting-pack-6.0_6.0.30-1_amd64.deb ...
2024-05-20T19:37:21.7912731Z     azure-arm.build_image: Unpacking dotnet-targeting-pack-6.0 (6.0.30-1) ...
2024-05-20T19:37:22.6179265Z     azure-arm.build_image: Selecting previously unselected package aspnetcore-targeting-pack-6.0.
2024-05-20T19:37:22.6387126Z     azure-arm.build_image: Preparing to unpack .../6-aspnetcore-targeting-pack-6.0_6.0.30-1_amd64.deb ...
2024-05-20T19:37:22.6532348Z     azure-arm.build_image: Unpacking aspnetcore-targeting-pack-6.0 (6.0.30-1) ...
2024-05-20T19:37:23.2741308Z     azure-arm.build_image: Selecting previously unselected package dotnet-apphost-pack-6.0.
2024-05-20T19:37:23.2744535Z     azure-arm.build_image: Preparing to unpack .../7-dotnet-apphost-pack-6.0_6.0.30-1_amd64.deb ...
2024-05-20T19:37:23.2974190Z     azure-arm.build_image: Unpacking dotnet-apphost-pack-6.0 (6.0.30-1) ...
2024-05-20T19:37:23.9582469Z     azure-arm.build_image: Selecting previously unselected package netstandard-targeting-pack-2.1.
2024-05-20T19:37:23.9586943Z     azure-arm.build_image: Preparing to unpack .../8-netstandard-targeting-pack-2.1_2.1.0-1_amd64.deb ...
2024-05-20T19:37:23.9825679Z     azure-arm.build_image: Unpacking netstandard-targeting-pack-2.1 (2.1.0-1) ...
2024-05-20T19:37:24.6048881Z     azure-arm.build_image: Selecting previously unselected package dotnet-sdk-6.0.
2024-05-20T19:37:24.6223088Z     azure-arm.build_image: Preparing to unpack .../9-dotnet-sdk-6.0_6.0.422-1_amd64.deb ...
2024-05-20T19:37:24.6390817Z     azure-arm.build_image: Unpacking dotnet-sdk-6.0 (6.0.422-1) ...
2024-05-20T19:37:31.9458501Z     azure-arm.build_image: Setting up dotnet-host (7.0.19-1) ...
2024-05-20T19:37:32.0125894Z     azure-arm.build_image: Setting up dotnet-apphost-pack-6.0 (6.0.30-1) ...
2024-05-20T19:37:32.1306372Z     azure-arm.build_image: Setting up netstandard-targeting-pack-2.1 (2.1.0-1) ...
2024-05-20T19:37:32.1935897Z     azure-arm.build_image: Setting up dotnet-targeting-pack-6.0 (6.0.30-1) ...
2024-05-20T19:37:32.2671402Z     azure-arm.build_image: Setting up dotnet-runtime-deps-6.0 (6.0.30-1) ...
2024-05-20T19:37:32.3443755Z     azure-arm.build_image: Setting up aspnetcore-targeting-pack-6.0 (6.0.30-1) ...
2024-05-20T19:37:32.4014500Z     azure-arm.build_image: Setting up dotnet-hostfxr-6.0 (6.0.30-1) ...
2024-05-20T19:37:32.4570513Z     azure-arm.build_image: Setting up dotnet-runtime-6.0 (6.0.30-1) ...
2024-05-20T19:37:32.5205837Z     azure-arm.build_image: Setting up aspnetcore-runtime-6.0 (6.0.30-1) ...
2024-05-20T19:37:32.5816338Z     azure-arm.build_image: Setting up dotnet-sdk-6.0 (6.0.422-1) ...
2024-05-20T19:37:32.6092009Z     azure-arm.build_image: This software may collect information about you and your use of the software, and send that to Microsoft.
2024-05-20T19:37:32.6098122Z     azure-arm.build_image: Please visit http://aka.ms/dotnet-cli-eula for more information.
2024-05-20T19:37:32.6102491Z     azure-arm.build_image: Welcome to .NET!
2024-05-20T19:37:32.6189109Z     azure-arm.build_image: ---------------------
2024-05-20T19:37:32.6191781Z     azure-arm.build_image: Learn more about .NET: https://aka.ms/dotnet-docs
2024-05-20T19:37:32.6194012Z     azure-arm.build_image: Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli-docs
2024-05-20T19:37:32.6196623Z     azure-arm.build_image:
2024-05-20T19:37:32.6198811Z     azure-arm.build_image: Telemetry
2024-05-20T19:37:32.6200963Z     azure-arm.build_image: ---------
2024-05-20T19:37:32.6203564Z     azure-arm.build_image: The .NET tools collect usage data in order to help us improve your experience. It is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.
2024-05-20T19:37:32.6205629Z     azure-arm.build_image:
2024-05-20T19:37:32.6208205Z     azure-arm.build_image: Read more about .NET CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry
2024-05-20T19:37:32.6210220Z     azure-arm.build_image:
2024-05-20T19:37:32.6212421Z     azure-arm.build_image: Configuring...
2024-05-20T19:37:32.6214756Z     azure-arm.build_image: --------------
2024-05-20T19:37:32.6216984Z     azure-arm.build_image: A command is running to populate your local package cache to improve restore speed and enable offline access. This command takes up to one minute to complete and only runs once.
2024-05-20T19:37:32.7384992Z     azure-arm.build_image: Processing triggers for man-db (2.12.0-4build2) ...
2024-05-20T19:37:34.2252002Z     azure-arm.build_image:
2024-05-20T19:37:34.2255966Z     azure-arm.build_image: Running kernel seems to be up-to-date.
2024-05-20T19:37:34.2260013Z     azure-arm.build_image:
2024-05-20T19:37:34.2354812Z     azure-arm.build_image: Restarting services...
2024-05-20T19:37:34.2826259Z     azure-arm.build_image:
2024-05-20T19:37:34.2830255Z     azure-arm.build_image: Service restarts being deferred:
2024-05-20T19:37:34.2832831Z     azure-arm.build_image:  /etc/needrestart/restart.d/dbus.service
2024-05-20T19:37:34.2835925Z     azure-arm.build_image:  systemctl restart getty@tty1.service
2024-05-20T19:37:34.2839239Z     azure-arm.build_image:  systemctl restart networkd-dispatcher.service
2024-05-20T19:37:34.2842527Z     azure-arm.build_image:  systemctl restart serial-getty@ttyS0.service
2024-05-20T19:37:34.2846168Z     azure-arm.build_image:  systemctl restart systemd-logind.service
2024-05-20T19:37:34.2849811Z     azure-arm.build_image:  systemctl restart unattended-upgrades.service
2024-05-20T19:37:34.2853125Z     azure-arm.build_image:
2024-05-20T19:37:34.2855967Z     azure-arm.build_image: No containers need to be restarted.
2024-05-20T19:37:34.2858031Z     azure-arm.build_image:
2024-05-20T19:37:34.2860927Z     azure-arm.build_image: User sessions running outdated binaries:
2024-05-20T19:37:34.2862925Z     azure-arm.build_image:  packer @ session #1: sshd[1395]
2024-05-20T19:37:34.2865000Z     azure-arm.build_image:  packer @ user manager service: systemd[1400]
2024-05-20T19:37:34.2940017Z     azure-arm.build_image:
2024-05-20T19:37:34.2942427Z     azure-arm.build_image: No VM guests are running outdated hypervisor (qemu) binaries on this host.
2024-05-20T19:37:35.9324104Z     azure-arm.build_image: Determining if .NET Core (dotnet-sdk-7.0) is installed
2024-05-20T19:37:36.0951895Z     azure-arm.build_image: Could not find .NET Core (dotnet-sdk-7.0), installing...
2024-05-20T19:37:36.1160001Z     azure-arm.build_image: Reading package lists...
2024-05-20T19:37:36.4506940Z     azure-arm.build_image: Building dependency tree...
2024-05-20T19:37:36.4510433Z     azure-arm.build_image: Reading state information...
2024-05-20T19:37:36.9239025Z     azure-arm.build_image: The following packages were automatically installed and are no longer required:
2024-05-20T19:37:36.9242715Z     azure-arm.build_image:   liblldb-16t64 liblldb-17t64
2024-05-20T19:37:36.9245410Z     azure-arm.build_image: Use 'sudo apt autoremove' to remove them.
2024-05-20T19:37:36.9248450Z     azure-arm.build_image: The following additional packages will be installed:
2024-05-20T19:37:36.9250729Z     azure-arm.build_image:   aspnetcore-runtime-7.0 aspnetcore-targeting-pack-7.0 dotnet-apphost-pack-7.0
2024-05-20T19:37:36.9252843Z     azure-arm.build_image:   dotnet-hostfxr-7.0 dotnet-runtime-7.0 dotnet-runtime-deps-7.0
2024-05-20T19:37:36.9255480Z     azure-arm.build_image:   dotnet-targeting-pack-7.0
2024-05-20T19:37:36.9514624Z     azure-arm.build_image: The following NEW packages will be installed:
2024-05-20T19:37:36.9519169Z     azure-arm.build_image:   aspnetcore-runtime-7.0 aspnetcore-targeting-pack-7.0 dotnet-apphost-pack-7.0
2024-05-20T19:37:36.9521857Z     azure-arm.build_image:   dotnet-hostfxr-7.0 dotnet-runtime-7.0 dotnet-runtime-deps-7.0 dotnet-sdk-7.0
2024-05-20T19:37:36.9591562Z     azure-arm.build_image:   dotnet-targeting-pack-7.0
2024-05-20T19:37:37.2025236Z     azure-arm.build_image: 0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
2024-05-20T19:37:37.2027993Z     azure-arm.build_image: Need to get 146 MB of archives.
2024-05-20T19:37:37.2030851Z     azure-arm.build_image: After this operation, 563 MB of additional disk space will be used.
2024-05-20T19:37:37.2033145Z     azure-arm.build_image: Get:1 https://packages.microsoft.com/ubuntu/24.04/prod noble/main amd64 dotnet-runtime-deps-7.0 amd64 7.0.19-1 [2886 B]
2024-05-20T19:37:37.3686331Z     azure-arm.build_image: Get:2 https://packages.microsoft.com/ubuntu/24.04/prod noble/main amd64 dotnet-hostfxr-7.0 amd64 7.0.19-1 [145 kB]
2024-05-20T19:37:37.6502020Z     azure-arm.build_image: Get:3 https://packages.microsoft.com/ubuntu/24.04/prod noble/main amd64 dotnet-runtime-7.0 amd64 7.0.19-1 [23.2 MB]
2024-05-20T19:37:38.7894331Z     azure-arm.build_image: Get:4 https://packages.microsoft.com/ubuntu/24.04/prod noble/main amd64 aspnetcore-runtime-7.0 amd64 7.0.19-1 [7066 kB]
2024-05-20T19:37:39.1886746Z     azure-arm.build_image: Get:5 https://packages.microsoft.com/ubuntu/24.04/prod noble/main amd64 dotnet-targeting-pack-7.0 amd64 7.0.19-1 [2568 kB]
2024-05-20T19:37:39.5499132Z     azure-arm.build_image: Get:6 https://packages.microsoft.com/ubuntu/24.04/prod noble/main amd64 aspnetcore-targeting-pack-7.0 amd64 7.0.19-1 [1528 kB]
2024-05-20T19:37:39.8965171Z     azure-arm.build_image: Get:7 https://packages.microsoft.com/ubuntu/24.04/prod noble/main amd64 dotnet-apphost-pack-7.0 amd64 7.0.19-1 [3525 kB]
2024-05-20T19:37:40.7941616Z     azure-arm.build_image: Get:8 https://packages.microsoft.com/ubuntu/24.04/prod noble/main amd64 dotnet-sdk-7.0 amd64 7.0.409-1 [108 MB]
2024-05-20T19:37:47.2067731Z     azure-arm.build_image: Fetched 146 MB in 10s (14.8 MB/s)
2024-05-20T19:37:48.1891366Z     azure-arm.build_image: Selecting previously unselected package dotnet-runtime-deps-7.0.
2024-05-20T19:37:48.2624889Z     azure-arm.build_image: (Reading database ... 128254 files and directories currently installed.)
2024-05-20T19:37:48.2627751Z     azure-arm.build_image: Preparing to unpack .../0-dotnet-runtime-deps-7.0_7.0.19-1_amd64.deb ...
2024-05-20T19:37:48.2875626Z     azure-arm.build_image: Unpacking dotnet-runtime-deps-7.0 (7.0.19-1) ...
2024-05-20T19:37:48.4440074Z     azure-arm.build_image: Selecting previously unselected package dotnet-hostfxr-7.0.
2024-05-20T19:37:48.4589637Z     azure-arm.build_image: Preparing to unpack .../1-dotnet-hostfxr-7.0_7.0.19-1_amd64.deb ...
2024-05-20T19:37:48.4734066Z     azure-arm.build_image: Unpacking dotnet-hostfxr-7.0 (7.0.19-1) ...
2024-05-20T19:37:48.8984618Z     azure-arm.build_image: Selecting previously unselected package dotnet-runtime-7.0.
2024-05-20T19:37:48.8987650Z     azure-arm.build_image: Preparing to unpack .../2-dotnet-runtime-7.0_7.0.19-1_amd64.deb ...
2024-05-20T19:37:48.8989915Z     azure-arm.build_image: Unpacking dotnet-runtime-7.0 (7.0.19-1) ...
2024-05-20T19:37:50.3770851Z     azure-arm.build_image: Selecting previously unselected package aspnetcore-runtime-7.0.
2024-05-20T19:37:50.3775750Z     azure-arm.build_image: Preparing to unpack .../3-aspnetcore-runtime-7.0_7.0.19-1_amd64.deb ...
2024-05-20T19:37:50.4057322Z     azure-arm.build_image: Unpacking aspnetcore-runtime-7.0 (7.0.19-1) ...
2024-05-20T19:37:51.1455279Z     azure-arm.build_image: Selecting previously unselected package dotnet-targeting-pack-7.0.
2024-05-20T19:37:51.1605029Z     azure-arm.build_image: Preparing to unpack .../4-dotnet-targeting-pack-7.0_7.0.19-1_amd64.deb ...
2024-05-20T19:37:51.1879447Z     azure-arm.build_image: Unpacking dotnet-targeting-pack-7.0 (7.0.19-1) ...
2024-05-20T19:37:52.5878253Z     azure-arm.build_image: Selecting previously unselected package aspnetcore-targeting-pack-7.0.
2024-05-20T19:37:52.5881615Z     azure-arm.build_image: Preparing to unpack .../5-aspnetcore-targeting-pack-7.0_7.0.19-1_amd64.deb ...
2024-05-20T19:37:52.6256039Z     azure-arm.build_image: Unpacking aspnetcore-targeting-pack-7.0 (7.0.19-1) ...
2024-05-20T19:37:53.3170944Z     azure-arm.build_image: Selecting previously unselected package dotnet-apphost-pack-7.0.
2024-05-20T19:37:53.3274830Z     azure-arm.build_image: Preparing to unpack .../6-dotnet-apphost-pack-7.0_7.0.19-1_amd64.deb ...
2024-05-20T19:37:53.3495765Z     azure-arm.build_image: Unpacking dotnet-apphost-pack-7.0 (7.0.19-1) ...
2024-05-20T19:37:54.0833893Z     azure-arm.build_image: Selecting previously unselected package dotnet-sdk-7.0.
2024-05-20T19:37:54.1012593Z     azure-arm.build_image: Preparing to unpack .../7-dotnet-sdk-7.0_7.0.409-1_amd64.deb ...
2024-05-20T19:37:54.1157072Z     azure-arm.build_image: Unpacking dotnet-sdk-7.0 (7.0.409-1) ...
2024-05-20T19:38:02.2117620Z     azure-arm.build_image: Setting up dotnet-runtime-deps-7.0 (7.0.19-1) ...
2024-05-20T19:38:02.3338766Z     azure-arm.build_image: Setting up dotnet-targeting-pack-7.0 (7.0.19-1) ...
2024-05-20T19:38:02.3730833Z     azure-arm.build_image: Setting up dotnet-apphost-pack-7.0 (7.0.19-1) ...
2024-05-20T19:38:02.4417671Z     azure-arm.build_image: Setting up dotnet-hostfxr-7.0 (7.0.19-1) ...
2024-05-20T19:38:02.4983700Z     azure-arm.build_image: Setting up aspnetcore-targeting-pack-7.0 (7.0.19-1) ...
2024-05-20T19:38:02.5639827Z     azure-arm.build_image: Setting up dotnet-runtime-7.0 (7.0.19-1) ...
2024-05-20T19:38:02.6216628Z     azure-arm.build_image: Setting up aspnetcore-runtime-7.0 (7.0.19-1) ...
2024-05-20T19:38:02.6644792Z     azure-arm.build_image: Setting up dotnet-sdk-7.0 (7.0.409-1) ...
2024-05-20T19:38:03.3263620Z     azure-arm.build_image:
2024-05-20T19:38:03.3334396Z     azure-arm.build_image: Running kernel seems to be up-to-date.
2024-05-20T19:38:03.3337090Z     azure-arm.build_image:
2024-05-20T19:38:03.3339573Z     azure-arm.build_image: Restarting services...
2024-05-20T19:38:03.3777286Z     azure-arm.build_image:
2024-05-20T19:38:03.3781334Z     azure-arm.build_image: Service restarts being deferred:
2024-05-20T19:38:03.3783656Z     azure-arm.build_image:  /etc/needrestart/restart.d/dbus.service
2024-05-20T19:38:03.3786119Z     azure-arm.build_image:  systemctl restart getty@tty1.service
2024-05-20T19:38:03.3788275Z     azure-arm.build_image:  systemctl restart networkd-dispatcher.service
2024-05-20T19:38:03.3791074Z     azure-arm.build_image:  systemctl restart serial-getty@ttyS0.service
2024-05-20T19:38:03.3793163Z     azure-arm.build_image:  systemctl restart systemd-logind.service
2024-05-20T19:38:03.3795369Z     azure-arm.build_image:  systemctl restart unattended-upgrades.service
2024-05-20T19:38:03.3797802Z     azure-arm.build_image:
2024-05-20T19:38:03.3799899Z     azure-arm.build_image: No containers need to be restarted.
2024-05-20T19:38:03.3805589Z     azure-arm.build_image:
2024-05-20T19:38:03.3808645Z     azure-arm.build_image: User sessions running outdated binaries:
2024-05-20T19:38:03.3811485Z     azure-arm.build_image:  packer @ session #1: sshd[1395]
2024-05-20T19:38:03.3814880Z     azure-arm.build_image:  packer @ user manager service: systemd[1400]
2024-05-20T19:38:03.3887927Z     azure-arm.build_image:
2024-05-20T19:38:03.3890942Z     azure-arm.build_image: No VM guests are running outdated hypervisor (qemu) binaries on this host.
2024-05-20T19:38:05.0841013Z     azure-arm.build_image: Determining if .NET Core (dotnet-sdk-8.0) is installed
2024-05-20T19:38:05.2603273Z     azure-arm.build_image: Could not find .NET Core (dotnet-sdk-8.0), installing...
2024-05-20T19:38:05.2840355Z     azure-arm.build_image: Reading package lists...
2024-05-20T19:38:05.6390704Z     azure-arm.build_image: Building dependency tree...
2024-05-20T19:38:05.6392943Z     azure-arm.build_image: Reading state information...
2024-05-20T19:38:06.1670912Z     azure-arm.build_image: The following packages were automatically installed and are no longer required:
2024-05-20T19:38:06.1674396Z     azure-arm.build_image:   aspnetcore-targeting-pack-7.0 dotnet-apphost-pack-7.0
2024-05-20T19:38:06.1676751Z     azure-arm.build_image:   dotnet-runtime-deps-6.0 dotnet-runtime-deps-7.0 dotnet-targeting-pack-7.0
2024-05-20T19:38:06.1679029Z     azure-arm.build_image:   liblldb-16t64 liblldb-17t64
2024-05-20T19:38:06.1681195Z     azure-arm.build_image: Use 'sudo apt autoremove' to remove them.
2024-05-20T19:38:06.1683473Z     azure-arm.build_image: The following additional packages will be installed:
2024-05-20T19:38:06.1685763Z     azure-arm.build_image:   aspnetcore-runtime-8.0 aspnetcore-targeting-pack-8.0 dotnet-apphost-pack-8.0
2024-05-20T19:38:06.1687872Z     azure-arm.build_image:   dotnet-host-8.0 dotnet-hostfxr-8.0 dotnet-runtime-8.0
2024-05-20T19:38:06.1690319Z     azure-arm.build_image:   dotnet-targeting-pack-8.0 dotnet-templates-8.0 liblttng-ust-common1t64
2024-05-20T19:38:06.1692439Z     azure-arm.build_image:   liblttng-ust-ctl5t64 liblttng-ust1t64 netstandard-targeting-pack-2.1-8.0
2024-05-20T19:38:06.2134122Z     azure-arm.build_image: The following packages will be REMOVED:
2024-05-20T19:38:06.2137011Z     azure-arm.build_image:   aspnetcore-runtime-6.0 aspnetcore-runtime-7.0 aspnetcore-targeting-pack-6.0
2024-05-20T19:38:06.2140153Z     azure-arm.build_image:   dotnet-apphost-pack-6.0 dotnet-host dotnet-hostfxr-6.0 dotnet-hostfxr-7.0
2024-05-20T19:38:06.2142375Z     azure-arm.build_image:   dotnet-runtime-6.0 dotnet-runtime-7.0 dotnet-sdk-6.0 dotnet-sdk-7.0
2024-05-20T19:38:06.2145025Z     azure-arm.build_image:   dotnet-targeting-pack-6.0 netstandard-targeting-pack-2.1
2024-05-20T19:38:06.2147244Z     azure-arm.build_image: The following NEW packages will be installed:
2024-05-20T19:38:06.2149879Z     azure-arm.build_image:   aspnetcore-runtime-8.0 aspnetcore-targeting-pack-8.0 dotnet-apphost-pack-8.0
2024-05-20T19:38:06.2151986Z     azure-arm.build_image:   dotnet-host-8.0 dotnet-hostfxr-8.0 dotnet-runtime-8.0 dotnet-sdk-8.0
2024-05-20T19:38:06.2154039Z     azure-arm.build_image:   dotnet-targeting-pack-8.0 dotnet-templates-8.0 liblttng-ust-common1t64
2024-05-20T19:38:06.2156644Z     azure-arm.build_image:   liblttng-ust-ctl5t64 liblttng-ust1t64 netstandard-targeting-pack-2.1-8.0
2024-05-20T19:38:06.4046015Z     azure-arm.build_image: 0 upgraded, 13 newly installed, 13 to remove and 0 not upgraded.
2024-05-20T19:38:06.4049359Z     azure-arm.build_image: Need to get 136 MB of archives.
2024-05-20T19:38:06.4051580Z     azure-arm.build_image: After this operation, 519 MB disk space will be freed.
2024-05-20T19:38:06.4054075Z     azure-arm.build_image: Get:1 http://azure.archive.ubuntu.com/ubuntu noble-updates/main amd64 dotnet-host-8.0 amd64 8.0.5-0ubuntu1~24.04.1 [185 kB]
2024-05-20T19:38:06.5011051Z     azure-arm.build_image: Get:2 http://azure.archive.ubuntu.com/ubuntu noble-updates/main amd64 dotnet-hostfxr-8.0 amd64 8.0.5-0ubuntu1~24.04.1 [144 kB]
2024-05-20T19:38:06.5492254Z     azure-arm.build_image: Get:3 http://azure.archive.ubuntu.com/ubuntu noble/main amd64 liblttng-ust-common1t64 amd64 2.13.7-1.1ubuntu2 [27.5 kB]
2024-05-20T19:38:06.5901148Z     azure-arm.build_image: Get:4 http://azure.archive.ubuntu.com/ubuntu noble/main amd64 liblttng-ust-ctl5t64 amd64 2.13.7-1.1ubuntu2 [74.9 kB]
2024-05-20T19:38:06.6232761Z     azure-arm.build_image: Get:5 http://azure.archive.ubuntu.com/ubuntu noble/main amd64 liblttng-ust1t64 amd64 2.13.7-1.1ubuntu2 [185 kB]
2024-05-20T19:38:06.6748995Z     azure-arm.build_image: Get:6 http://azure.archive.ubuntu.com/ubuntu noble-updates/main amd64 dotnet-runtime-8.0 amd64 8.0.5-0ubuntu1~24.04.1 [23.9 MB]
2024-05-20T19:38:07.3250214Z     azure-arm.build_image: Get:7 http://azure.archive.ubuntu.com/ubuntu noble-updates/main amd64 aspnetcore-runtime-8.0 amd64 8.0.5-0ubuntu1~24.04.1 [8313 kB]
2024-05-20T19:38:07.5035467Z     azure-arm.build_image: Get:8 http://azure.archive.ubuntu.com/ubuntu noble-updates/main amd64 aspnetcore-targeting-pack-8.0 amd64 8.0.5-0ubuntu1~24.04.1 [1911 kB]
2024-05-20T19:38:07.5857293Z     azure-arm.build_image: Get:9 http://azure.archive.ubuntu.com/ubuntu noble-updates/main amd64 dotnet-apphost-pack-8.0 amd64 8.0.5-0ubuntu1~24.04.1 [3884 kB]
2024-05-20T19:38:07.6480972Z     azure-arm.build_image: Get:10 http://azure.archive.ubuntu.com/ubuntu noble-updates/main amd64 dotnet-targeting-pack-8.0 amd64 8.0.5-0ubuntu1~24.04.1 [2950 kB]
2024-05-20T19:38:07.7065245Z     azure-arm.build_image: Get:11 http://azure.archive.ubuntu.com/ubuntu noble-updates/main amd64 dotnet-templates-8.0 amd64 8.0.105-0ubuntu1~24.04.1 [2196 kB]
2024-05-20T19:38:07.7600830Z     azure-arm.build_image: Get:12 http://azure.archive.ubuntu.com/ubuntu noble-updates/main amd64 netstandard-targeting-pack-2.1-8.0 amd64 8.0.105-0ubuntu1~24.04.1 [1391 kB]
2024-05-20T19:38:07.7990194Z     azure-arm.build_image: Get:13 http://azure.archive.ubuntu.com/ubuntu noble-updates/main amd64 dotnet-sdk-8.0 amd64 8.0.105-0ubuntu1~24.04.1 [90.7 MB]
2024-05-20T19:38:10.0071883Z     azure-arm.build_image: Fetched 136 MB in 3s (44.7 MB/s)
2024-05-20T19:38:10.1040540Z     azure-arm.build_image: (Reading database ... 132693 files and directories currently installed.)
2024-05-20T19:38:10.1118104Z     azure-arm.build_image: Removing dotnet-sdk-6.0 (6.0.422-1) ...
2024-05-20T19:38:10.4692067Z     azure-arm.build_image: Removing aspnetcore-runtime-6.0 (6.0.30-1) ...
2024-05-20T19:38:10.7334172Z     azure-arm.build_image: Removing dotnet-sdk-7.0 (7.0.409-1) ...
2024-05-20T19:38:11.2080118Z     azure-arm.build_image: Removing aspnetcore-runtime-7.0 (7.0.19-1) ...
2024-05-20T19:38:11.4657071Z     azure-arm.build_image: Removing aspnetcore-targeting-pack-6.0 (6.0.30-1) ...
2024-05-20T19:38:11.7293372Z     azure-arm.build_image: Removing dotnet-apphost-pack-6.0 (6.0.30-1) ...
2024-05-20T19:38:12.0029277Z     azure-arm.build_image: Removing dotnet-runtime-7.0 (7.0.19-1) ...
2024-05-20T19:38:12.2907921Z     azure-arm.build_image: Removing dotnet-hostfxr-7.0 (7.0.19-1) ...
2024-05-20T19:38:12.5040047Z     azure-arm.build_image: Removing dotnet-runtime-6.0 (6.0.30-1) ...
2024-05-20T19:38:12.8044680Z     azure-arm.build_image: Removing dotnet-hostfxr-6.0 (6.0.30-1) ...
2024-05-20T19:38:13.0315150Z     azure-arm.build_image: Removing dotnet-host (7.0.19-1) ...
2024-05-20T19:38:13.2967065Z     azure-arm.build_image: Removing dotnet-targeting-pack-6.0 (6.0.30-1) ...
2024-05-20T19:38:13.5477781Z     azure-arm.build_image: Removing netstandard-targeting-pack-2.1 (2.1.0-1) ...
2024-05-20T19:38:13.8774343Z     azure-arm.build_image: Selecting previously unselected package dotnet-host-8.0.
2024-05-20T19:38:13.9498613Z     azure-arm.build_image: (Reading database ... 124840 files and directories currently installed.)
2024-05-20T19:38:13.9502318Z     azure-arm.build_image: Preparing to unpack .../00-dotnet-host-8.0_8.0.5-0ubuntu1~24.04.1_amd64.deb ...
2024-05-20T19:38:13.9787041Z     azure-arm.build_image: Unpacking dotnet-host-8.0 (8.0.5-0ubuntu1~24.04.1) ...
2024-05-20T19:38:14.4580816Z     azure-arm.build_image: Selecting previously unselected package dotnet-hostfxr-8.0.
2024-05-20T19:38:14.4656165Z     azure-arm.build_image: Preparing to unpack .../01-dotnet-hostfxr-8.0_8.0.5-0ubuntu1~24.04.1_amd64.deb ...
2024-05-20T19:38:14.4985326Z     azure-arm.build_image: Unpacking dotnet-hostfxr-8.0 (8.0.5-0ubuntu1~24.04.1) ...
2024-05-20T19:38:14.6895449Z     azure-arm.build_image: Selecting previously unselected package liblttng-ust-common1t64:amd64.
2024-05-20T19:38:14.6994681Z     azure-arm.build_image: Preparing to unpack .../02-liblttng-ust-common1t64_2.13.7-1.1ubuntu2_amd64.deb ...
2024-05-20T19:38:14.7433509Z     azure-arm.build_image: Unpacking liblttng-ust-common1t64:amd64 (2.13.7-1.1ubuntu2) ...
2024-05-20T19:38:14.9246251Z     azure-arm.build_image: Selecting previously unselected package liblttng-ust-ctl5t64:amd64.
2024-05-20T19:38:14.9344430Z     azure-arm.build_image: Preparing to unpack .../03-liblttng-ust-ctl5t64_2.13.7-1.1ubuntu2_amd64.deb ...
2024-05-20T19:38:14.9601132Z     azure-arm.build_image: Unpacking liblttng-ust-ctl5t64:amd64 (2.13.7-1.1ubuntu2) ...
2024-05-20T19:38:15.1865230Z     azure-arm.build_image: Selecting previously unselected package liblttng-ust1t64:amd64.
2024-05-20T19:38:15.1943639Z     azure-arm.build_image: Preparing to unpack .../04-liblttng-ust1t64_2.13.7-1.1ubuntu2_amd64.deb ...
2024-05-20T19:38:15.2170832Z     azure-arm.build_image: Unpacking liblttng-ust1t64:amd64 (2.13.7-1.1ubuntu2) ...
2024-05-20T19:38:15.4297045Z     azure-arm.build_image: Selecting previously unselected package dotnet-runtime-8.0.
2024-05-20T19:38:15.4437855Z     azure-arm.build_image: Preparing to unpack .../05-dotnet-runtime-8.0_8.0.5-0ubuntu1~24.04.1_amd64.deb ...
2024-05-20T19:38:15.4624431Z     azure-arm.build_image: Unpacking dotnet-runtime-8.0 (8.0.5-0ubuntu1~24.04.1) ...
2024-05-20T19:38:17.0731810Z     azure-arm.build_image: Selecting previously unselected package aspnetcore-runtime-8.0.
2024-05-20T19:38:17.0813892Z     azure-arm.build_image: Preparing to unpack .../06-aspnetcore-runtime-8.0_8.0.5-0ubuntu1~24.04.1_amd64.deb ...
2024-05-20T19:38:17.0969892Z     azure-arm.build_image: Unpacking aspnetcore-runtime-8.0 (8.0.5-0ubuntu1~24.04.1) ...
2024-05-20T19:38:18.0054737Z     azure-arm.build_image: Selecting previously unselected package aspnetcore-targeting-pack-8.0.
2024-05-20T19:38:18.0223196Z     azure-arm.build_image: Preparing to unpack .../07-aspnetcore-targeting-pack-8.0_8.0.5-0ubuntu1~24.04.1_amd64.deb ...
2024-05-20T19:38:18.0428229Z     azure-arm.build_image: Unpacking aspnetcore-targeting-pack-8.0 (8.0.5-0ubuntu1~24.04.1) ...
2024-05-20T19:38:19.4995148Z     azure-arm.build_image: Selecting previously unselected package dotnet-apphost-pack-8.0.
2024-05-20T19:38:19.5162278Z     azure-arm.build_image: Preparing to unpack .../08-dotnet-apphost-pack-8.0_8.0.5-0ubuntu1~24.04.1_amd64.deb ...
2024-05-20T19:38:19.5353819Z     azure-arm.build_image: Unpacking dotnet-apphost-pack-8.0 (8.0.5-0ubuntu1~24.04.1) ...
2024-05-20T19:38:20.0496625Z     azure-arm.build_image: Selecting previously unselected package dotnet-targeting-pack-8.0.
2024-05-20T19:38:20.0600032Z     azure-arm.build_image: Preparing to unpack .../09-dotnet-targeting-pack-8.0_8.0.5-0ubuntu1~24.04.1_amd64.deb ...
2024-05-20T19:38:20.0797811Z     azure-arm.build_image: Unpacking dotnet-targeting-pack-8.0 (8.0.5-0ubuntu1~24.04.1) ...
2024-05-20T19:38:21.0950101Z     azure-arm.build_image: Selecting previously unselected package dotnet-templates-8.0.
2024-05-20T19:38:21.0953774Z     azure-arm.build_image: Preparing to unpack .../10-dotnet-templates-8.0_8.0.105-0ubuntu1~24.04.1_amd64.deb ...
2024-05-20T19:38:21.1192133Z     azure-arm.build_image: Unpacking dotnet-templates-8.0 (8.0.105-0ubuntu1~24.04.1) ...
2024-05-20T19:38:21.4291660Z     azure-arm.build_image: Selecting previously unselected package netstandard-targeting-pack-2.1-8.0.
2024-05-20T19:38:21.4453289Z     azure-arm.build_image: Preparing to unpack .../11-netstandard-targeting-pack-2.1-8.0_8.0.105-0ubuntu1~24.04.1_amd64.deb ...
2024-05-20T19:38:21.4617617Z     azure-arm.build_image: Unpacking netstandard-targeting-pack-2.1-8.0 (8.0.105-0ubuntu1~24.04.1) ...
2024-05-20T19:38:22.1191466Z     azure-arm.build_image: Selecting previously unselected package dotnet-sdk-8.0.
2024-05-20T19:38:22.1265088Z     azure-arm.build_image: Preparing to unpack .../12-dotnet-sdk-8.0_8.0.105-0ubuntu1~24.04.1_amd64.deb ...
2024-05-20T19:38:22.1495716Z     azure-arm.build_image: Unpacking dotnet-sdk-8.0 (8.0.105-0ubuntu1~24.04.1) ...
2024-05-20T19:38:29.6344783Z     azure-arm.build_image: Setting up dotnet-targeting-pack-8.0 (8.0.5-0ubuntu1~24.04.1) ...
2024-05-20T19:38:29.7022034Z     azure-arm.build_image: Setting up netstandard-targeting-pack-2.1-8.0 (8.0.105-0ubuntu1~24.04.1) ...
2024-05-20T19:38:29.8057833Z     azure-arm.build_image: Setting up liblttng-ust-common1t64:amd64 (2.13.7-1.1ubuntu2) ...
2024-05-20T19:38:29.9166121Z     azure-arm.build_image: Setting up aspnetcore-targeting-pack-8.0 (8.0.5-0ubuntu1~24.04.1) ...
2024-05-20T19:38:29.9811564Z     azure-arm.build_image: Setting up dotnet-apphost-pack-8.0 (8.0.5-0ubuntu1~24.04.1) ...
2024-05-20T19:38:30.0321234Z     azure-arm.build_image: Setting up liblttng-ust-ctl5t64:amd64 (2.13.7-1.1ubuntu2) ...
2024-05-20T19:38:30.0780500Z     azure-arm.build_image: Setting up dotnet-host-8.0 (8.0.5-0ubuntu1~24.04.1) ...
2024-05-20T19:38:30.1922036Z     azure-arm.build_image: Setting up dotnet-hostfxr-8.0 (8.0.5-0ubuntu1~24.04.1) ...
2024-05-20T19:38:30.2540293Z     azure-arm.build_image: Setting up dotnet-templates-8.0 (8.0.105-0ubuntu1~24.04.1) ...
2024-05-20T19:38:30.3351225Z     azure-arm.build_image: Setting up liblttng-ust1t64:amd64 (2.13.7-1.1ubuntu2) ...
2024-05-20T19:38:30.4227946Z     azure-arm.build_image: Setting up dotnet-runtime-8.0 (8.0.5-0ubuntu1~24.04.1) ...
2024-05-20T19:38:30.4655561Z     azure-arm.build_image: Setting up aspnetcore-runtime-8.0 (8.0.5-0ubuntu1~24.04.1) ...
2024-05-20T19:38:30.5184936Z     azure-arm.build_image: Setting up dotnet-sdk-8.0 (8.0.105-0ubuntu1~24.04.1) ...
2024-05-20T19:38:30.6076142Z     azure-arm.build_image: Processing triggers for man-db (2.12.0-4build2) ...
2024-05-20T19:38:31.6724851Z     azure-arm.build_image: Processing triggers for libc-bin (2.39-0ubuntu8.1) ...
2024-05-20T19:38:32.4222268Z     azure-arm.build_image:
2024-05-20T19:38:32.4226420Z     azure-arm.build_image: Running kernel seems to be up-to-date.
2024-05-20T19:38:32.4230050Z     azure-arm.build_image:
2024-05-20T19:38:32.4232550Z     azure-arm.build_image: Restarting services...
2024-05-20T19:38:32.4234663Z     azure-arm.build_image:
2024-05-20T19:38:32.4236901Z     azure-arm.build_image: Service restarts being deferred:
2024-05-20T19:38:32.4239184Z     azure-arm.build_image:  /etc/needrestart/restart.d/dbus.service
2024-05-20T19:38:32.4241328Z     azure-arm.build_image:  systemctl restart getty@tty1.service
2024-05-20T19:38:32.4243584Z     azure-arm.build_image:  systemctl restart networkd-dispatcher.service
2024-05-20T19:38:32.4245799Z     azure-arm.build_image:  systemctl restart serial-getty@ttyS0.service
2024-05-20T19:38:32.4248085Z     azure-arm.build_image:  systemctl restart systemd-logind.service
2024-05-20T19:38:32.4250207Z     azure-arm.build_image:  systemctl restart unattended-upgrades.service
2024-05-20T19:38:32.4252363Z     azure-arm.build_image:
2024-05-20T19:38:32.4254561Z     azure-arm.build_image: No containers need to be restarted.
2024-05-20T19:38:32.4256628Z     azure-arm.build_image:
2024-05-20T19:38:32.4258835Z     azure-arm.build_image: User sessions running outdated binaries:
2024-05-20T19:38:32.4260944Z     azure-arm.build_image:  packer @ session #1: sshd[1395]
2024-05-20T19:38:32.4263191Z     azure-arm.build_image:  packer @ user manager service: systemd[1400]
2024-05-20T19:38:32.4265314Z     azure-arm.build_image:
2024-05-20T19:38:32.4267650Z     azure-arm.build_image: No VM guests are running outdated hypervisor (qemu) binaries on this host.
2024-05-20T19:38:34.0312802Z     azure-arm.build_image: Hit:1 http://azure.archive.ubuntu.com/ubuntu noble InRelease
2024-05-20T19:38:34.0317219Z     azure-arm.build_image: Hit:2 http://azure.archive.ubuntu.com/ubuntu noble-updates InRelease
2024-05-20T19:38:34.0490171Z     azure-arm.build_image: Hit:3 http://azure.archive.ubuntu.com/ubuntu noble-backports InRelease
2024-05-20T19:38:34.0768294Z     azure-arm.build_image: Hit:4 http://azure.archive.ubuntu.com/ubuntu noble-security InRelease
2024-05-20T19:38:34.0936973Z     azure-arm.build_image: Get:5 https://packages.microsoft.com/ubuntu/24.04/prod noble InRelease [3600 B]
2024-05-20T19:38:34.5387468Z     azure-arm.build_image: Fetched 3600 B in 0s (8481 B/s)
2024-05-20T19:38:35.5575611Z     azure-arm.build_image: Reading package lists...
2024-05-20T19:38:35.5853793Z ==> azure-arm.build_image: Downloading package from https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/6.0/releases.json to /tmp/releases.json...
2024-05-20T19:38:36.8232061Z ==> azure-arm.build_image: Package downloaded in 1 seconds
2024-05-20T19:38:36.9137063Z ==> azure-arm.build_image: Downloading package from https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/7.0/releases.json to /tmp/releases.json...
2024-05-20T19:38:38.0632648Z ==> azure-arm.build_image: Package downloaded in 2 seconds
2024-05-20T19:38:38.1787830Z ==> azure-arm.build_image: Downloading package from https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/8.0/releases.json to /tmp/releases.json...
2024-05-20T19:38:38.9833807Z ==> azure-arm.build_image: Package downloaded in 0 seconds
2024-05-20T19:38:48.2447678Z ==> azure-arm.build_image: Downloading package from https://dotnetcli.blob.core.windows.net/dotnet/Sdk/7.0.203/dotnet-sdk-7.0.203-linux-x64.tar.gz to /tmp/dotnet-sdk-7.0.203-linux-x64.tar.gz...
2024-05-20T19:38:48.2452045Z     azure-arm.build_image: /tmp/dotnet-sdk-7.0.203-linux-x64.tar.gz
2024-05-20T19:38:48.2456216Z ==> azure-arm.build_image: Package downloaded in 9 seconds
2024-05-20T19:38:49.1611437Z     azure-arm.build_image: /tmp/dotnet-sdk-6.0.422-linux-x64.tar.gz
2024-05-20T19:38:49.1614449Z ==> azure-arm.build_image: Downloading package from https://dotnetcli.blob.core.windows.net/dotnet/Sdk/6.0.422/dotnet-sdk-6.0.422-linux-x64.tar.gz to /tmp/dotnet-sdk-6.0.422-linux-x64.tar.gz...
2024-05-20T19:38:49.1617186Z ==> azure-arm.build_image: Package downloaded in 10 seconds
2024-05-20T19:38:49.2747509Z     azure-arm.build_image: /tmp/dotnet-sdk-8.0.105-linux-x64.tar.gz
2024-05-20T19:38:49.2751901Z ==> azure-arm.build_image: Downloading package from https://dotnetcli.blob.core.windows.net/dotnet/Sdk/8.0.105/dotnet-sdk-8.0.105-linux-x64.tar.gz to /tmp/dotnet-sdk-8.0.105-linux-x64.tar.gz...
2024-05-20T19:38:49.2754283Z ==> azure-arm.build_image: Package downloaded in 10 seconds
2024-05-20T19:38:49.3358850Z     azure-arm.build_image: /tmp/dotnet-sdk-7.0.316-linux-x64.tar.gz
2024-05-20T19:38:49.3433830Z ==> azure-arm.build_image: Downloading package from https://dotnetcli.blob.core.windows.net/dotnet/Sdk/7.0.316/dotnet-sdk-7.0.316-linux-x64.tar.gz to /tmp/dotnet-sdk-7.0.316-linux-x64.tar.gz...
2024-05-20T19:38:49.3436773Z ==> azure-arm.build_image: Package downloaded in 10 seconds
2024-05-20T19:38:49.6992148Z     azure-arm.build_image: /tmp/dotnet-sdk-7.0.119-linux-x64.tar.gz
2024-05-20T19:38:49.6996490Z ==> azure-arm.build_image: Downloading package from https://dotnetcli.blob.core.windows.net/dotnet/Sdk/7.0.119/dotnet-sdk-7.0.119-linux-x64.tar.gz to /tmp/dotnet-sdk-7.0.119-linux-x64.tar.gz...
2024-05-20T19:38:49.6999583Z ==> azure-arm.build_image: Package downloaded in 10 seconds
2024-05-20T19:38:49.8585265Z     azure-arm.build_image: /tmp/dotnet-sdk-8.0.300-linux-x64.tar.gz
2024-05-20T19:38:49.8588999Z ==> azure-arm.build_image: Downloading package from https://dotnetcli.blob.core.windows.net/dotnet/Sdk/8.0.300/dotnet-sdk-8.0.300-linux-x64.tar.gz to /tmp/dotnet-sdk-8.0.300-linux-x64.tar.gz...
2024-05-20T19:38:49.8590958Z ==> azure-arm.build_image: Package downloaded in 10 seconds
2024-05-20T19:38:50.1744437Z ==> azure-arm.build_image: Downloading package from https://dotnetcli.blob.core.windows.net/dotnet/Sdk/7.0.409/dotnet-sdk-7.0.409-linux-x64.tar.gz to /tmp/dotnet-sdk-7.0.409-linux-x64.tar.gz...
2024-05-20T19:38:50.1747719Z     azure-arm.build_image: /tmp/dotnet-sdk-7.0.409-linux-x64.tar.gz
2024-05-20T19:38:50.1749813Z ==> azure-arm.build_image: Package downloaded in 11 seconds
2024-05-20T19:38:52.1983211Z ==> azure-arm.build_image: Downloading package from https://dotnetcli.blob.core.windows.net/dotnet/Sdk/8.0.205/dotnet-sdk-8.0.205-linux-x64.tar.gz to /tmp/dotnet-sdk-8.0.205-linux-x64.tar.gz...
2024-05-20T19:38:52.1986599Z     azure-arm.build_image: /tmp/dotnet-sdk-8.0.205-linux-x64.tar.gz
2024-05-20T19:38:52.1988836Z ==> azure-arm.build_image: Package downloaded in 13 seconds
2024-05-20T19:38:53.3184628Z     azure-arm.build_image: DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
2024-05-20T19:38:53.3429805Z     azure-arm.build_image: DOTNET_NOLOGO=1
2024-05-20T19:38:53.3571219Z     azure-arm.build_image: DOTNET_MULTILEVEL_LOOKUP=0
2024-05-20T19:38:53.4771494Z     azure-arm.build_image: Installing dotnet tool nbgv
2024-05-20T19:38:54.7271112Z     azure-arm.build_image:
2024-05-20T19:38:54.7274147Z     azure-arm.build_image: Welcome to .NET 8.0!
2024-05-20T19:38:54.7277921Z     azure-arm.build_image: ---------------------
2024-05-20T19:38:54.7280316Z     azure-arm.build_image: SDK Version: 8.0.105
2024-05-20T19:38:54.9869603Z     azure-arm.build_image:
2024-05-20T19:38:54.9873099Z     azure-arm.build_image: ----------------
2024-05-20T19:38:54.9876235Z     azure-arm.build_image: Installed an ASP.NET Core HTTPS development certificate.
2024-05-20T19:38:54.9878605Z     azure-arm.build_image: To trust the certificate, view the instructions: https://aka.ms/dotnet-https-linux
2024-05-20T19:38:54.9880827Z     azure-arm.build_image:
2024-05-20T19:38:54.9882964Z     azure-arm.build_image: ----------------
2024-05-20T19:38:54.9886322Z     azure-arm.build_image: Write your first app: https://aka.ms/dotnet-hello-world
2024-05-20T19:38:54.9888686Z     azure-arm.build_image: Find out what's new: https://aka.ms/dotnet-whats-new
2024-05-20T19:38:54.9890725Z     azure-arm.build_image: Explore documentation: https://aka.ms/dotnet-docs
2024-05-20T19:38:54.9893281Z     azure-arm.build_image: Report issues and find source on GitHub: https://github.com/dotnet/core
2024-05-20T19:38:54.9895429Z     azure-arm.build_image: Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli
2024-05-20T19:38:54.9898336Z     azure-arm.build_image: --------------------------------------------------------------------------------------
2024-05-20T19:39:00.9194259Z     azure-arm.build_image: Skipping NuGet package signature verification.
2024-05-20T19:39:07.5334551Z     azure-arm.build_image: You can invoke the tool using the following command: nbgv
2024-05-20T19:39:07.5338264Z     azure-arm.build_image: Tool 'nbgv' (version '3.6.133') was successfully installed.
2024-05-20T19:39:08.7838403Z     azure-arm.build_image: Pester v5.5.0
2024-05-20T19:39:08.8080107Z     azure-arm.build_image:
2024-05-20T19:39:08.8084720Z     azure-arm.build_image: Starting discovery in 1 files.
2024-05-20T19:39:09.2031354Z     azure-arm.build_image: Discovery found 8 tests in 379ms.
2024-05-20T19:39:09.2244790Z     azure-arm.build_image: Running tests.
2024-05-20T19:39:09.2399978Z     azure-arm.build_image:
2024-05-20T19:39:09.2537546Z     azure-arm.build_image: Running tests from '/imagegeneration/tests/DotnetSDK.Tests.ps1'
2024-05-20T19:39:09.4778254Z     azure-arm.build_image: Describing Dotnet and tools
2024-05-20T19:39:09.4781032Z     azure-arm.build_image:  Context Default
2024-05-20T19:39:09.7638971Z     azure-arm.build_image:    [+] Default Dotnet SDK is available 275ms (227ms|48ms)
2024-05-20T19:39:09.8058167Z     azure-arm.build_image:  Context Dotnet 6.0
2024-05-20T19:39:09.9471037Z     azure-arm.build_image:    [-] SDK 6.0 is available 73ms (63ms|11ms)
2024-05-20T19:39:09.9730118Z     azure-arm.build_image:     Expected regular expression '6.0.[1-9]*' to match '"8.0.105 [/usr/lib/dotnet/sdk]"', but it did not match.
2024-05-20T19:39:09.9733388Z     azure-arm.build_image:     at $dotnetSDKs | Should -Match "$dotnetVersion.[1-9]*", /imagegeneration/tests/DotnetSDK.Tests.ps1:23
2024-05-20T19:39:09.9736006Z     azure-arm.build_image:     at <ScriptBlock>, /imagegeneration/tests/DotnetSDK.Tests.ps1:23
2024-05-20T19:39:09.9965334Z     azure-arm.build_image:    [-] Runtime 6.0 is available 16ms (12ms|4ms)
2024-05-20T19:39:09.9968128Z     azure-arm.build_image:     Expected regular expression '6.0.[1-9]*' to match '[
2024-05-20T19:39:09.9970854Z     azure-arm.build_image:       "Microsoft.AspNetCore.App 8.0.5 [/usr/lib/dotnet/shared/Microsoft.AspNetCore.App]",
2024-05-20T19:39:09.9972961Z     azure-arm.build_image:       "Microsoft.NETCore.App 8.0.5 [/usr/lib/dotnet/shared/Microsoft.NETCore.App]"
2024-05-20T19:39:09.9975121Z     azure-arm.build_image:     ]', but it did not match.
2024-05-20T19:39:09.9977849Z     azure-arm.build_image:     at $dotnetRuntimes | Should -Match "$dotnetVersion.[1-9]*", /imagegeneration/tests/DotnetSDK.Tests.ps1:27
2024-05-20T19:39:09.9980431Z     azure-arm.build_image:     at <ScriptBlock>, /imagegeneration/tests/DotnetSDK.Tests.ps1:27
2024-05-20T19:39:10.0063600Z     azure-arm.build_image:  Context Dotnet 7.0
2024-05-20T19:39:10.0304910Z     azure-arm.build_image:    [-] SDK 7.0 is available 13ms (8ms|5ms)
2024-05-20T19:39:10.0309013Z     azure-arm.build_image:     Expected regular expression '7.0.[1-9]*' to match '"8.0.105 [/usr/lib/dotnet/sdk]"', but it did not match.
2024-05-20T19:39:10.0311514Z     azure-arm.build_image:     at $dotnetSDKs | Should -Match "$dotnetVersion.[1-9]*", /imagegeneration/tests/DotnetSDK.Tests.ps1:23
2024-05-20T19:39:10.0313866Z     azure-arm.build_image:     at <ScriptBlock>, /imagegeneration/tests/DotnetSDK.Tests.ps1:23
2024-05-20T19:39:10.0505421Z     azure-arm.build_image:    [-] Runtime 7.0 is available 13ms (11ms|3ms)
2024-05-20T19:39:10.0508744Z     azure-arm.build_image:     Expected regular expression '7.0.[1-9]*' to match '[
2024-05-20T19:39:10.0511252Z     azure-arm.build_image:       "Microsoft.AspNetCore.App 8.0.5 [/usr/lib/dotnet/shared/Microsoft.AspNetCore.App]",
2024-05-20T19:39:10.0514151Z     azure-arm.build_image:       "Microsoft.NETCore.App 8.0.5 [/usr/lib/dotnet/shared/Microsoft.NETCore.App]"
2024-05-20T19:39:10.0516639Z     azure-arm.build_image:     ]', but it did not match.
2024-05-20T19:39:10.0519215Z     azure-arm.build_image:     at $dotnetRuntimes | Should -Match "$dotnetVersion.[1-9]*", /imagegeneration/tests/DotnetSDK.Tests.ps1:27
2024-05-20T19:39:10.0521778Z     azure-arm.build_image:     at <ScriptBlock>, /imagegeneration/tests/DotnetSDK.Tests.ps1:27
2024-05-20T19:39:10.0599972Z     azure-arm.build_image:  Context Dotnet 8.0
2024-05-20T19:39:10.0756010Z     azure-arm.build_image:    [+] SDK 8.0 is available 7ms (4ms|4ms)
2024-05-20T19:39:10.0842910Z     azure-arm.build_image:    [+] Runtime 8.0 is available 10ms (6ms|4ms)
2024-05-20T19:39:10.1035830Z     azure-arm.build_image:  Context Dotnet tools
2024-05-20T19:39:10.4334095Z     azure-arm.build_image:    [+] nbgv is available 330ms (325ms|6ms)
2024-05-20T19:39:10.7284817Z     azure-arm.build_image: Tests completed in 1.7s
2024-05-20T19:39:10.7535984Z     azure-arm.build_image: Tests Passed: 4, Failed: 4, Skipped: 0 NotRun: 0
2024-05-20T19:39:10.8390242Z     azure-arm.build_image:
2024-05-20T19:39:10.8396232Z     azure-arm.build_image: Containers            : {[-] /imagegeneration/tests/DotnetSDK.Tests.ps1}
2024-05-20T19:39:10.8399443Z     azure-arm.build_image: Result                : Failed
2024-05-20T19:39:10.8403803Z     azure-arm.build_image: FailedCount           : 4
2024-05-20T19:39:10.8407234Z     azure-arm.build_image: FailedBlocksCount     : 0
2024-05-20T19:39:10.8410298Z     azure-arm.build_image: FailedContainersCount : 0
2024-05-20T19:39:10.8412949Z     azure-arm.build_image: PassedCount           : 4
2024-05-20T19:39:10.8415750Z     azure-arm.build_image: SkippedCount          : 0
2024-05-20T19:39:10.8419633Z     azure-arm.build_image: NotRunCount           : 0
2024-05-20T19:39:10.8422448Z     azure-arm.build_image: TotalCount            : 8
2024-05-20T19:39:10.8425882Z     azure-arm.build_image: Duration              : 00:00:01.7023433
2024-05-20T19:39:10.8429065Z     azure-arm.build_image: Executed              : True
2024-05-20T19:39:10.8432584Z     azure-arm.build_image: ExecutedAt            : 05/20/2024 19:39:08
2024-05-20T19:39:10.8435635Z     azure-arm.build_image: Version               : 5.5.0
2024-05-20T19:39:10.8440120Z     azure-arm.build_image: PSVersion             : 7.4.2
2024-05-20T19:39:10.8443209Z     azure-arm.build_image: PSBoundParameters     : {[Configuration, PesterConfiguration]}
2024-05-20T19:39:10.8446231Z     azure-arm.build_image: Plugins               : 
2024-05-20T19:39:10.8449428Z     azure-arm.build_image: PluginConfiguration   : 
2024-05-20T19:39:10.8536880Z     azure-arm.build_image: PluginData            : 
2024-05-20T19:39:10.8538891Z     azure-arm.build_image: Configuration         : PesterConfiguration
2024-05-20T19:39:10.8541740Z     azure-arm.build_image: DiscoveryDuration     : 00:00:00.3624421
2024-05-20T19:39:10.8544013Z     azure-arm.build_image: UserDuration          : 00:00:00.7231571
2024-05-20T19:39:10.8546094Z     azure-arm.build_image: FrameworkDuration     : 00:00:00.6167441
2024-05-20T19:39:10.8548803Z     azure-arm.build_image: Failed                : {[-] SDK 6.0 is available, [-] Runtime 6.0 is available
2024-05-20T19:39:10.8550841Z     azure-arm.build_image:                         , [-] SDK 7.0 is available, [-] Runtime 7.0 is availabl
2024-05-20T19:39:10.8553235Z     azure-arm.build_image:                         e}
2024-05-20T19:39:10.8555466Z     azure-arm.build_image: FailedBlocks          : {}
2024-05-20T19:39:10.8557473Z     azure-arm.build_image: FailedContainers      : {}
2024-05-20T19:39:10.8560188Z     azure-arm.build_image: Passed                : {[+] Default Dotnet SDK is available, [+] SDK 8.0 is av
2024-05-20T19:39:10.8562162Z     azure-arm.build_image:                         ailable, [+] Runtime 8.0 is available, [+] nbgv is avai
2024-05-20T19:39:10.8564591Z     azure-arm.build_image:                         lable}
2024-05-20T19:39:10.8566777Z     azure-arm.build_image: Skipped               : {}
2024-05-20T19:39:10.8568841Z     azure-arm.build_image: NotRun                : {}
2024-05-20T19:39:10.8571455Z     azure-arm.build_image: Tests                 : {[+] Default Dotnet SDK is available, [-] SDK 6.0 is av
2024-05-20T19:39:10.8573414Z     azure-arm.build_image:                         ailable, [-] Runtime 6.0 is available, [-] SDK 7.0 is a
2024-05-20T19:39:10.8576332Z     azure-arm.build_image:                         vailable…}
2024-05-20T19:39:10.8578433Z     azure-arm.build_image: CodeCoverage          : 
2024-05-20T19:39:10.8580389Z     azure-arm.build_image:
2024-05-20T19:39:10.9178433Z ==> azure-arm.build_image: Exception: Test run has failed
2024-05-20T19:39:10.9661913Z ==> azure-arm.build_image: Script exited with non-zero exit status: 1. Allowed exit codes are: [0]
2024-05-20T19:39:10.9666345Z ==> azure-arm.build_image: Step "StepProvision" failed, aborting...

It seems that the install of dotnet 8 is causing the removal of 6/7 even though they DID get installed.

Platforms affected

Runner images affected

Image version and build link

Current image version: '1.0.2'

Is it regression?

NA

Expected behavior

Dotnet 6/7/8 should be installed alongside each other

Actual behavior

Dotnet 6/7 get installed, 8 then removes 6/7 and installs itself. Testing of SDK versions fails with the absence of 6/7, but succeeds with presence of 8.

Repro steps

Run on main branch.

erik-bershel commented 5 months ago

Hey @DevOpsAzurance!

There were no binaries in repository for .NET SDKs previously on the image release. PR with this updates: https://github.com/actions/runner-images/pull/9878 It will be deployed with the next image release. Since it's in beta I wouldn't keep the issue on board.

davide-podda commented 5 months ago

hi @erik-bershel, we have the same error.

2024-05-24T10:28:14.8929985Z azure-arm.build_image: Installing dotnet tool nbgv 2024-05-24T10:28:15.0970423Z azure-arm.build_image: 2024-05-24T10:28:15.0972538Z azure-arm.build_image: Welcome to .NET 8.0! 2024-05-24T10:28:15.0979090Z azure-arm.build_image: --------------------- 2024-05-24T10:28:15.0985162Z azure-arm.build_image: SDK Version: 8.0.105 2024-05-24T10:28:15.6305274Z azure-arm.build_image: 2024-05-24T10:28:15.6310545Z azure-arm.build_image: ---------------- 2024-05-24T10:28:15.6317851Z azure-arm.build_image: Installed an ASP.NET Core HTTPS development certificate. 2024-05-24T10:28:15.6324648Z azure-arm.build_image: To trust the certificate, view the instructions: https://aka.ms/dotnet-https-linux 2024-05-24T10:28:15.6332785Z azure-arm.build_image: 2024-05-24T10:28:15.6343676Z azure-arm.build_image: ---------------- 2024-05-24T10:28:15.6350143Z azure-arm.build_image: Write your first app: https://aka.ms/dotnet-hello-world 2024-05-24T10:28:15.6357703Z azure-arm.build_image: Find out what's new: https://aka.ms/dotnet-whats-new 2024-05-24T10:28:15.6365172Z azure-arm.build_image: Explore documentation: https://aka.ms/dotnet-docs 2024-05-24T10:28:15.6375180Z azure-arm.build_image: Report issues and find source on GitHub: https://github.com/dotnet/core 2024-05-24T10:28:15.6381646Z azure-arm.build_image: Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli 2024-05-24T10:28:15.6388420Z azure-arm.build_image: -------------------------------------------------------------------------------------- 2024-05-24T10:28:25.0036761Z azure-arm.build_image: Skipping NuGet package signature verification. 2024-05-24T10:28:26.0656405Z azure-arm.build_image: You can invoke the tool using the following command: nbgv 2024-05-24T10:28:26.0660205Z azure-arm.build_image: Tool 'nbgv' (version '3.6.133') was successfully installed. 2024-05-24T10:28:27.1446176Z azure-arm.build_image: Pester v5.5.0 2024-05-24T10:28:27.1621815Z azure-arm.build_image: 2024-05-24T10:28:27.1627097Z azure-arm.build_image: Starting discovery in 1 files. 2024-05-24T10:28:27.5221905Z azure-arm.build_image: Discovery found 8 tests in 343ms. 2024-05-24T10:28:27.5381223Z azure-arm.build_image: Running tests. 2024-05-24T10:28:27.5516306Z azure-arm.build_image: 2024-05-24T10:28:27.5521715Z azure-arm.build_image: Running tests from '/imagegeneration/tests/DotnetSDK.Tests.ps1' 2024-05-24T10:28:27.7461342Z azure-arm.build_image: Describing Dotnet and tools 2024-05-24T10:28:27.7465823Z azure-arm.build_image: Context Default 2024-05-24T10:28:27.9698712Z azure-arm.build_image: [+] Default Dotnet SDK is available 222ms (181ms|40ms) 2024-05-24T10:28:27.9956964Z azure-arm.build_image: Context Dotnet 6.0 2024-05-24T10:28:28.0840911Z azure-arm.build_image: [-] SDK 6.0 is available 46ms (41ms|5ms) 2024-05-24T10:28:28.1021949Z azure-arm.build_image: Expected regular expression '6.0.[1-9]*' to match '"8.0.105 [/usr/lib/dotnet/sdk]"', but it did not match. 2024-05-24T10:28:28.1027099Z azure-arm.build_image: at $dotnetSDKs | Should -Match "$dotnetVersion.[1-9]*", /imagegeneration/tests/DotnetSDK.Tests.ps1:23 2024-05-24T10:28:28.1033304Z azure-arm.build_image: at <ScriptBlock>, /imagegeneration/tests/DotnetSDK.Tests.ps1:23 2024-05-24T10:28:28.1151883Z azure-arm.build_image: [-] Runtime 6.0 is available 9ms (7ms|2ms) 2024-05-24T10:28:28.1161232Z azure-arm.build_image: Expected regular expression '6.0.[1-9]*' to match '[ 2024-05-24T10:28:28.1169148Z azure-arm.build_image: "Microsoft.AspNetCore.App 8.0.5 [/usr/lib/dotnet/shared/Microsoft.AspNetCore.App]", 2024-05-24T10:28:28.1176527Z azure-arm.build_image: "Microsoft.NETCore.App 8.0.5 [/usr/lib/dotnet/shared/Microsoft.NETCore.App]" 2024-05-24T10:28:28.1182529Z azure-arm.build_image: ]', but it did not match. 2024-05-24T10:28:28.1195237Z azure-arm.build_image: at $dotnetRuntimes | Should -Match "$dotnetVersion.[1-9]*", /imagegeneration/tests/DotnetSDK.Tests.ps1:27 2024-05-24T10:28:28.1200234Z azure-arm.build_image: at <ScriptBlock>, /imagegeneration/tests/DotnetSDK.Tests.ps1:27 2024-05-24T10:28:28.1224587Z azure-arm.build_image: Context Dotnet 7.0 2024-05-24T10:28:28.1330845Z azure-arm.build_image: [-] SDK 7.0 is available 8ms (5ms|2ms) 2024-05-24T10:28:28.1342657Z azure-arm.build_image: Expected regular expression '7.0.[1-9]*' to match '"8.0.105 [/usr/lib/dotnet/sdk]"', but it did not match. 2024-05-24T10:28:28.1350338Z azure-arm.build_image: at $dotnetSDKs | Should -Match "$dotnetVersion.[1-9]*", /imagegeneration/tests/DotnetSDK.Tests.ps1:23 2024-05-24T10:28:28.1356797Z azure-arm.build_image: at <ScriptBlock>, /imagegeneration/tests/DotnetSDK.Tests.ps1:23 2024-05-24T10:28:28.1496950Z azure-arm.build_image: [-] Runtime 7.0 is available 10ms (8ms|2ms) 2024-05-24T10:28:28.1504578Z azure-arm.build_image: Expected regular expression '7.0.[1-9]*' to match '[ 2024-05-24T10:28:28.1511272Z azure-arm.build_image: "Microsoft.AspNetCore.App 8.0.5 [/usr/lib/dotnet/shared/Microsoft.AspNetCore.App]", 2024-05-24T10:28:28.1518320Z azure-arm.build_image: "Microsoft.NETCore.App 8.0.5 [/usr/lib/dotnet/shared/Microsoft.NETCore.App]" 2024-05-24T10:28:28.1526551Z azure-arm.build_image: ]', but it did not match. 2024-05-24T10:28:28.1534387Z azure-arm.build_image: at $dotnetRuntimes | Should -Match "$dotnetVersion.[1-9]*", /imagegeneration/tests/DotnetSDK.Tests.ps1:27 2024-05-24T10:28:28.1541154Z azure-arm.build_image: at <ScriptBlock>, /imagegeneration/tests/DotnetSDK.Tests.ps1:27 2024-05-24T10:28:28.1565483Z azure-arm.build_image: Context Dotnet 8.0 2024-05-24T10:28:28.1629843Z azure-arm.build_image: [+] SDK 8.0 is available 5ms (2ms|2ms) 2024-05-24T10:28:28.1730393Z azure-arm.build_image: [+] Runtime 8.0 is available 6ms (4ms|3ms) 2024-05-24T10:28:28.1878908Z azure-arm.build_image: Context Dotnet tools 2024-05-24T10:28:28.4777059Z azure-arm.build_image: [+] nbgv is available 288ms (284ms|4ms) 2024-05-24T10:28:28.7240474Z azure-arm.build_image: Tests completed in 1.38s 2024-05-24T10:28:28.7380423Z azure-arm.build_image: Tests Passed: 4, Failed: 4, Skipped: 0 NotRun: 0

DevOpsAzurance commented 5 months ago

Hey @DevOpsAzurance!

There were no binaries in repository for .NET SDKs previously on the image release. PR with this updates: #9878 It will be deployed with the next image release. Since it's in beta I wouldn't keep the issue on board.

From my understanding, to build from source, we are supposed to use the main branch, not releases. At least this is what I have been told in the past. Please let me know what I should use? We rerun our image rebuilds on the 14th and 28th of each month as we run vulnerability scans on the 28th, so it gives us some time if the build from the 14th failed to fix issues to avoid any 30 day findings.

erik-bershel commented 5 months ago

Hey @DevOpsAzurance! You're totally correct. You should use exactly main branch to build from source. You got the opportunity to build with .NET 6/7 the same time PR merged. Except the fact that the image generation was blocked by other issues for some time. Now it's fine to try building an image. Last scheduled build was totally fine. My previous comment was targeted including those who use GitHub hosted agents.

UPD: A small note. Perhaps it will be useful. In general, you can rely on our test builds when planning the release of new images so as not to waste valuable build-time. That is, it is advisable to start the build after making sure that the last scheduled build was successful. Of course, this is not part of the SLA and public test builds may stop at any time, but while they are there, why not take advantage of them.