-
Notifications
You must be signed in to change notification settings - Fork 272
[Operational Issue]: LinuxInstallerTests.ValidatePackageList is failing on branches using "servicing" branding #5325
Copy link
Copy link
Closed
Description
Error
Failed Microsoft.DotNet.Installer.Tests.LinuxInstallerTests.ValidateRpmPackageList [12 ms]
Error Message:
Package list validation failed for Rpm:
Expected:
dotnet-sdk-*-newkey-x64.rpm
dotnet-sdk-*-x64.rpm
Actual:
dotnet-sdk-*-servicing.26159.104-azl-x64.rpm
dotnet-sdk-*-servicing.26159.104-newkey-x64.rpm
dotnet-sdk-*-servicing.26159.104-x64.rpm
Stack Trace:
at Microsoft.DotNet.Installer.Tests.LinuxInstallerTests.ValidatePackageList(PackageType packageType) in /_/test/Microsoft.DotNet.Installer.Tests/LinuxInstallerTests.cs:line 766
at Microsoft.DotNet.Installer.Tests.LinuxInstallerTests.ValidateRpmPackageList() in /_/test/Microsoft.DotNet.Installer.Tests/LinuxInstallerTests.cs:line 173
at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
Skipped Microsoft.DotNet.Installer.Tests.LinuxInstallerTests.RpmPackageMetadataTest [1 ms]
Passed Microsoft.DotNet.Installer.Tests.LinuxInstallerTests.RpmScenarioTest(repo: "mcr.microsoft.com/dotnet/runtime-deps", tag: "10.0-azurelinux3.0") [7 m 31 s]
Passed Microsoft.DotNet.Installer.Tests.LinuxInstallerTests.DebScenarioTest(repo: "mcr.microsoft.com/dotnet/runtime-deps", tag: "10.0-noble") [7 m 22 s]
[xUnit.net 00:14:53.68] Microsoft.DotNet.Installer.Tests.LinuxInstallerTests.ValidateDebPackageList [FAIL]
[xUnit.net 00:14:53.68] Package list validation failed for Deb:
[xUnit.net 00:14:53.68] Expected:
[xUnit.net 00:14:53.68] dotnet-sdk-*-newkey-x64.deb
[xUnit.net 00:14:53.68] dotnet-sdk-*-x64.deb
[xUnit.net 00:14:53.68] Actual:
[xUnit.net 00:14:53.68] dotnet-sdk-*-servicing.26159.104-newkey-x64.deb
[xUnit.net 00:14:53.68] dotnet-sdk-*-servicing.26159.104-x64.deb
[xUnit.net 00:14:53.68] Stack Trace:
[xUnit.net 00:14:53.68] /_/test/Microsoft.DotNet.Installer.Tests/LinuxInstallerTests.cs(766,0): at Microsoft.DotNet.Installer.Tests.LinuxInstallerTests.ValidatePackageList(PackageType packageType)
[xUnit.net 00:14:53.68] /_/test/Microsoft.DotNet.Installer.Tests/LinuxInstallerTests.cs(179,0): at Microsoft.DotNet.Installer.Tests.LinuxInstallerTests.ValidateDebPackageList()
[xUnit.net 00:14:53.68] at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
[xUnit.net 00:14:53.68] at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
[xUnit.net 00:14:54.83] Finished: Microsoft.DotNet.Installer.Tests
Failed Microsoft.DotNet.Installer.Tests.LinuxInstallerTests.ValidateDebPackageList [< 1 ms]
Error Message:
Package list validation failed for Deb:
Expected:
dotnet-sdk-*-newkey-x64.deb
dotnet-sdk-*-x64.deb
Actual:
dotnet-sdk-*-servicing.26159.104-newkey-x64.deb
dotnet-sdk-*-servicing.26159.104-x64.deb
Stack Trace:
at Microsoft.DotNet.Installer.Tests.LinuxInstallerTests.ValidatePackageList(PackageType packageType) in /_/test/Microsoft.DotNet.Installer.Tests/LinuxInstallerTests.cs:line 766
at Microsoft.DotNet.Installer.Tests.LinuxInstallerTests.ValidateDebPackageList() in /_/test/Microsoft.DotNet.Installer.Tests/LinuxInstallerTests.cs:line 179
at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
Passed Microsoft.DotNet.Installer.Tests.LinuxInstallerTests.DebPackageMetadataTest(repo: "mcr.microsoft.com/dotnet/runtime-deps", tag: "10.0-noble") [1 s]
Links
Presumably this regex needs to be updated to include servicing:
dotnet/test/Microsoft.DotNet.Installer.Tests/LinuxInstallerTests.cs
Lines 84 to 86 in 41ae195
| // Remove version numbers from package names: "dotnet-runtime-10.0.0-rc.1.25480.112-x64.rpm" -> "dotnet-runtime-*-x64.rpm" | |
| [GeneratedRegex(@"\d+\.\d+\.\d+(?:-(?:rc|rtm|preview)(?:\.\d+)*)?", RegexOptions.CultureInvariant)] | |
| private static partial Regex RemoveVersionFromPackageNameRegex { get; } |
Root Cause
unknown
Blocking
- This issue is blocking
Affected Releases
- .NET 10
- .NET 10 (SDK band build)
- .NET 11
Reactions are currently unavailable