Closed DevOpsAzurance closed 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.
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
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.
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.
Description
Running build on main branch (5113d251), getting the following:
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.