dotnet / dotnet-docker

Docker images for .NET and the .NET Tools.
https://hub.docker.com/_/microsoft-dotnet
MIT License
4.5k stars 1.94k forks source link

Test filtering with paths filters out too many images #6033

Closed lbussell closed 1 week ago

lbussell commented 2 weeks ago

Repro steps

First, build a set of images. In this case it's Azure Linux 3.0 images. Build the SDK images as well to ensure that we have all the prerequisites for testing the images.

pwsh .\build-and-test.ps1 -paths '*9.0*azurelinux3.0*' -mode "Build"
Command output ```console ... IMAGES BUILT ------------ mcr.microsoft.com/dotnet/nightly/runtime-deps:9.0.0-azurelinux3.0-amd64 mcr.microsoft.com/dotnet/nightly/runtime-deps:9.0-azurelinux3.0-amd64 mcr.microsoft.com/dotnet/nightly/runtime-deps:9.0.0-azurelinux3.0 mcr.microsoft.com/dotnet/nightly/runtime-deps:9.0-azurelinux3.0 mcr.microsoft.com/dotnet/nightly/runtime-deps:9.0.0-azurelinux3.0-distroless-amd64 mcr.microsoft.com/dotnet/nightly/runtime-deps:9.0-azurelinux3.0-distroless-amd64 mcr.microsoft.com/dotnet/nightly/runtime-deps:9.0.0-azurelinux3.0-distroless mcr.microsoft.com/dotnet/nightly/runtime-deps:9.0-azurelinux3.0-distroless mcr.microsoft.com/dotnet/nightly/runtime-deps:9.0.0-azurelinux3.0-distroless-aot-amd64 mcr.microsoft.com/dotnet/nightly/runtime-deps:9.0-azurelinux3.0-distroless-aot-amd64 mcr.microsoft.com/dotnet/nightly/runtime-deps:9.0.0-azurelinux3.0-distroless-aot mcr.microsoft.com/dotnet/nightly/runtime-deps:9.0-azurelinux3.0-distroless-aot mcr.microsoft.com/dotnet/nightly/runtime-deps:9.0.0-azurelinux3.0-distroless-extra-amd64 mcr.microsoft.com/dotnet/nightly/runtime-deps:9.0-azurelinux3.0-distroless-extra-amd64 mcr.microsoft.com/dotnet/nightly/runtime-deps:9.0.0-azurelinux3.0-distroless-extra mcr.microsoft.com/dotnet/nightly/runtime-deps:9.0-azurelinux3.0-distroless-extra mcr.microsoft.com/dotnet/nightly/runtime:9.0.0-azurelinux3.0-amd64 mcr.microsoft.com/dotnet/nightly/runtime:9.0-azurelinux3.0-amd64 mcr.microsoft.com/dotnet/nightly/runtime:9.0.0-azurelinux3.0 mcr.microsoft.com/dotnet/nightly/runtime:9.0-azurelinux3.0 mcr.microsoft.com/dotnet/nightly/runtime:9.0.0-azurelinux3.0-distroless-amd64 mcr.microsoft.com/dotnet/nightly/runtime:9.0-azurelinux3.0-distroless-amd64 mcr.microsoft.com/dotnet/nightly/runtime:9.0.0-azurelinux3.0-distroless mcr.microsoft.com/dotnet/nightly/runtime:9.0-azurelinux3.0-distroless mcr.microsoft.com/dotnet/nightly/runtime:9.0.0-azurelinux3.0-distroless-extra-amd64 mcr.microsoft.com/dotnet/nightly/runtime:9.0-azurelinux3.0-distroless-extra-amd64 mcr.microsoft.com/dotnet/nightly/runtime:9.0.0-azurelinux3.0-distroless-extra mcr.microsoft.com/dotnet/nightly/runtime:9.0-azurelinux3.0-distroless-extra mcr.microsoft.com/dotnet/nightly/aspnet:9.0.0-azurelinux3.0-amd64 mcr.microsoft.com/dotnet/nightly/aspnet:9.0-azurelinux3.0-amd64 mcr.microsoft.com/dotnet/nightly/aspnet:9.0.0-azurelinux3.0 mcr.microsoft.com/dotnet/nightly/aspnet:9.0-azurelinux3.0 mcr.microsoft.com/dotnet/nightly/aspnet:9.0.0-azurelinux3.0-distroless-amd64 mcr.microsoft.com/dotnet/nightly/aspnet:9.0-azurelinux3.0-distroless-amd64 mcr.microsoft.com/dotnet/nightly/aspnet:9.0.0-azurelinux3.0-distroless mcr.microsoft.com/dotnet/nightly/aspnet:9.0-azurelinux3.0-distroless mcr.microsoft.com/dotnet/nightly/aspnet:9.0.0-azurelinux3.0-distroless-extra-amd64 mcr.microsoft.com/dotnet/nightly/aspnet:9.0-azurelinux3.0-distroless-extra-amd64 mcr.microsoft.com/dotnet/nightly/aspnet:9.0.0-azurelinux3.0-distroless-extra mcr.microsoft.com/dotnet/nightly/aspnet:9.0-azurelinux3.0-distroless-extra mcr.microsoft.com/dotnet/nightly/aspnet:9.0.0-azurelinux3.0-distroless-composite-amd64 mcr.microsoft.com/dotnet/nightly/aspnet:9.0-azurelinux3.0-distroless-composite-amd64 mcr.microsoft.com/dotnet/nightly/aspnet:9.0.0-azurelinux3.0-distroless-composite mcr.microsoft.com/dotnet/nightly/aspnet:9.0-azurelinux3.0-distroless-composite mcr.microsoft.com/dotnet/nightly/aspnet:9.0.0-azurelinux3.0-distroless-composite-extra-amd64 mcr.microsoft.com/dotnet/nightly/aspnet:9.0-azurelinux3.0-distroless-composite-extra-amd64 mcr.microsoft.com/dotnet/nightly/aspnet:9.0.0-azurelinux3.0-distroless-composite-extra mcr.microsoft.com/dotnet/nightly/aspnet:9.0-azurelinux3.0-distroless-composite-extra mcr.microsoft.com/dotnet/nightly/sdk:9.0.100-azurelinux3.0-amd64 mcr.microsoft.com/dotnet/nightly/sdk:9.0-azurelinux3.0-amd64 mcr.microsoft.com/dotnet/nightly/sdk:9.0.100-azurelinux3.0 mcr.microsoft.com/dotnet/nightly/sdk:9.0-azurelinux3.0 mcr.microsoft.com/dotnet/nightly/sdk:9.0.100-azurelinux3.0-aot-amd64 mcr.microsoft.com/dotnet/nightly/sdk:9.0-azurelinux3.0-aot-amd64 mcr.microsoft.com/dotnet/nightly/sdk:9.0.100-azurelinux3.0-aot mcr.microsoft.com/dotnet/nightly/sdk:9.0-azurelinux3.0-aot ... ```

Then, run tests using the exact pattern that we use to queue tests in PR validation. I'll target this Azure Linux 3.0 Distroless extra image:

pwsh .\tests\run-tests.ps1 -paths @('src/runtime-deps/9.0/azurelinux3.0-distroless-extra/amd64')

See that the image is not tested. (very long output):

Command output ```console dotnet-install: .NET Core SDK with version '9.0.100-rc.2.24474.11' is already installed. dotnet-install: Adding to current process PATH: "C:\s\dotnet-docker\.dotnet\". Note: This change will not be visible if PowerShell was run as a child process. Executing: 'C:\s\dotnet-docker\tests/../.dotnet/dotnet test --filter "Category=runtime|Category=runtime-deps|Category=aspnet|Category=sdk|Category=monitor|Category=aspire-dashboard" --logger:trx' Restore complete (4.2s) You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy Microsoft.DotNet.Docker.Tests succeeded (6.8s) → bin\Debug\net9.0\Microsoft.DotNet.Docker.Tests.dll [xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v2.4.5+1caef2f33e (64-bit .NET 9.0.0-rc.2.24473.5) [xUnit.net 00:00:01.07] Discovering: Microsoft.DotNet.Docker.Tests [xUnit.net 00:00:11.87] Discovered: Microsoft.DotNet.Docker.Tests [xUnit.net 00:00:11.87] Starting: Microsoft.DotNet.Docker.Tests [xUnit.net 00:00:11.93] No data found for Microsoft.DotNet.Docker.Tests.RuntimeImageTests.VerifyDefaultUser [xUnit.net 00:00:11.93] No data found for Microsoft.DotNet.Docker.Tests.RuntimeImageTests.VerifyFxDependentAppScenario [xUnit.net 00:00:11.93] No data found for Microsoft.DotNet.Docker.Tests.RuntimeImageTests.VerifyInstalledPackages [xUnit.net 00:00:11.94] No data found for Microsoft.DotNet.Docker.Tests.RuntimeImageTests.VerifyInsecureFiles [xUnit.net 00:00:11.94] No data found for Microsoft.DotNet.Docker.Tests.RuntimeImageTests.VerifyEnvironmentVariables [xUnit.net 00:00:11.94] No data found for Microsoft.DotNet.Docker.Tests.RuntimeImageTests.VerifyGlobalizationScenario [xUnit.net 00:00:11.94] No data found for Microsoft.DotNet.Docker.Tests.RuntimeImageTests.VerifyPackageInstallation [xUnit.net 00:00:11.94] No data found for Microsoft.DotNet.Docker.Tests.RuntimeImageTests.VerifyNoSasToken [xUnit.net 00:00:11.94] No data found for Microsoft.DotNet.Docker.Tests.RuntimeImageTests.VerifyShellNotInstalledForDistroless [xUnit.net 00:00:11.95] No data found for Microsoft.DotNet.Docker.Tests.RuntimeImageTests.VerifyTestProjectScenario [xUnit.net 00:00:11.95] No data found for Microsoft.DotNet.Docker.Tests.MonitorImageTests.VerifyConnectMode [xUnit.net 00:00:11.95] No data found for Microsoft.DotNet.Docker.Tests.MonitorImageTests.VerifyInsecureFiles [xUnit.net 00:00:11.95] No data found for Microsoft.DotNet.Docker.Tests.MonitorImageTests.VerifyMonitorNoHttpsNoAuth [xUnit.net 00:00:11.95] No data found for Microsoft.DotNet.Docker.Tests.MonitorImageTests.VerifyShellNotInstalledForDistroless [xUnit.net 00:00:11.95] No data found for Microsoft.DotNet.Docker.Tests.MonitorImageTests.VerifyMonitorDefault [xUnit.net 00:00:11.95] No data found for Microsoft.DotNet.Docker.Tests.MonitorImageTests.VerifyListenMode [xUnit.net 00:00:11.95] No data found for Microsoft.DotNet.Docker.Tests.MonitorImageTests.VerifyMonitorNoHttpsWithAuth [xUnit.net 00:00:11.95] No data found for Microsoft.DotNet.Docker.Tests.MonitorImageTests.VerifyEnvironmentVariables [xUnit.net 00:00:11.95] No data found for Microsoft.DotNet.Docker.Tests.MonitorImageTests.VerifyNoSasToken [xUnit.net 00:00:11.95] No data found for Microsoft.DotNet.Docker.Tests.MonitorImageTests.VerifyMonitorNoHttpsUnconfiguredAuth [xUnit.net 00:00:11.95] No data found for Microsoft.DotNet.Docker.Tests.MonitorImageTests.VerifyDefaultUser [xUnit.net 00:00:11.95] No data found for Microsoft.DotNet.Docker.Tests.AspireDashboardImageTests.VerifyInstalledPackages [xUnit.net 00:00:11.95] No data found for Microsoft.DotNet.Docker.Tests.AspireDashboardImageTests.VerifyShellNotInstalledForDistroless [xUnit.net 00:00:11.95] No data found for Microsoft.DotNet.Docker.Tests.AspireDashboardImageTests.VerifyDefaultUser [xUnit.net 00:00:11.95] No data found for Microsoft.DotNet.Docker.Tests.AspireDashboardImageTests.VerifyDashboardEndpoint [xUnit.net 00:00:11.95] No data found for Microsoft.DotNet.Docker.Tests.AspireDashboardImageTests.VerifyInsecureFiles [xUnit.net 00:00:11.95] No data found for Microsoft.DotNet.Docker.Tests.AspireDashboardImageTests.VerifyNoSasToken [xUnit.net 00:00:11.95] No data found for Microsoft.DotNet.Docker.Tests.AspireDashboardImageTests.VerifyEnvironmentVariables [xUnit.net 00:00:11.95] No data found for Microsoft.DotNet.Docker.Tests.RuntimeDepsImageTests.VerifyDistrolessOSReleaseInfo [xUnit.net 00:00:11.95] No data found for Microsoft.DotNet.Docker.Tests.RuntimeDepsImageTests.VerifyNoSasToken [xUnit.net 00:00:11.95] No data found for Microsoft.DotNet.Docker.Tests.RuntimeDepsImageTests.VerifyInsecureFiles [xUnit.net 00:00:11.95] No data found for Microsoft.DotNet.Docker.Tests.RuntimeDepsImageTests.VerifyInstalledPackages [xUnit.net 00:00:11.95] No data found for Microsoft.DotNet.Docker.Tests.RuntimeDepsImageTests.VerifyDefaultUser [xUnit.net 00:00:11.95] No data found for Microsoft.DotNet.Docker.Tests.RuntimeDepsImageTests.VerifyEnvironmentVariables [xUnit.net 00:00:11.95] No data found for Microsoft.DotNet.Docker.Tests.RuntimeDepsImageTests.VerifySelfContainedWebScenario [xUnit.net 00:00:11.95] No data found for Microsoft.DotNet.Docker.Tests.RuntimeDepsImageTests.VerifyShellNotInstalledForDistroless [xUnit.net 00:00:11.95] No data found for Microsoft.DotNet.Docker.Tests.RuntimeDepsImageTests.VerifyPackageInstallation [xUnit.net 00:00:11.95] No data found for Microsoft.DotNet.Docker.Tests.RuntimeDepsImageTests.VerifyAotAppScenario [xUnit.net 00:00:11.95] No data found for Microsoft.DotNet.Docker.Tests.RuntimeDepsImageTests.VerifySelfContainedConsoleScenario [xUnit.net 00:00:11.95] No data found for Microsoft.DotNet.Docker.Tests.SdkImageTests.VerifyDotnetFolderContents [xUnit.net 00:00:11.95] No data found for Microsoft.DotNet.Docker.Tests.SdkImageTests.VerifyTarInstallation [xUnit.net 00:00:11.95] No data found for Microsoft.DotNet.Docker.Tests.SdkImageTests.VerifyNoSasToken [xUnit.net 00:00:11.95] No data found for Microsoft.DotNet.Docker.Tests.SdkImageTests.VerifyGitInstallation [xUnit.net 00:00:11.95] No data found for Microsoft.DotNet.Docker.Tests.SdkImageTests.VerifyEnvironmentVariables [xUnit.net 00:00:11.95] No data found for Microsoft.DotNet.Docker.Tests.SdkImageTests.VerifyDefaultUser [xUnit.net 00:00:11.96] No data found for Microsoft.DotNet.Docker.Tests.SdkImageTests.VerifyPowerShellScenario_NonDefaultUser [xUnit.net 00:00:11.96] No data found for Microsoft.DotNet.Docker.Tests.SdkImageTests.VerifyInstalledPackages [xUnit.net 00:00:11.96] No data found for Microsoft.DotNet.Docker.Tests.SdkImageTests.VerifyInsecureFiles [xUnit.net 00:00:11.96] No data found for Microsoft.DotNet.Docker.Tests.SdkImageTests.VerifyBlazorWasmScenario [xUnit.net 00:00:11.96] No data found for Microsoft.DotNet.Docker.Tests.SdkImageTests.VerifyPowerShellScenario_DefaultUser [xUnit.net 00:00:11.96] No data found for Microsoft.DotNet.Docker.Tests.SdkImageTests.VerifyInstalledRpmPackages [xUnit.net 00:00:11.96] No data found for Microsoft.DotNet.Docker.Tests.AspnetImageTests.VerifyEnvironmentVariables [xUnit.net 00:00:11.96] No data found for Microsoft.DotNet.Docker.Tests.AspnetImageTests.VerifyFxDependentAppScenario [xUnit.net 00:00:11.96] No data found for Microsoft.DotNet.Docker.Tests.AspnetImageTests.VerifyShellNotInstalledForDistroless [xUnit.net 00:00:11.96] No data found for Microsoft.DotNet.Docker.Tests.AspnetImageTests.VerifyNoSasToken [xUnit.net 00:00:11.96] No data found for Microsoft.DotNet.Docker.Tests.AspnetImageTests.VerifyPackageInstallation [xUnit.net 00:00:11.96] No data found for Microsoft.DotNet.Docker.Tests.AspnetImageTests.VerifyGlobalizationScenario [xUnit.net 00:00:11.96] No data found for Microsoft.DotNet.Docker.Tests.AspnetImageTests.VerifyInsecureFiles [xUnit.net 00:00:11.96] No data found for Microsoft.DotNet.Docker.Tests.AspnetImageTests.VerifyInstalledPackages [xUnit.net 00:00:11.96] No data found for Microsoft.DotNet.Docker.Tests.AspnetImageTests.VerifyDefaultUser [xUnit.net 00:00:11.96] Finished: Microsoft.DotNet.Docker.Tests Results File: C:\s\dotnet-docker\tests\Microsoft.DotNet.Docker.Tests\TestResults\loganbussell_CPC-logan-P1CRJ_2024-11-06_07_11_14.trx Microsoft.DotNet.Docker.Tests test succeeded with 60 warning(s) (13.1s) C:\s\dotnet-docker\.dotnet\sdk\9.0.100-rc.2.24474.11\Microsoft.TestPlatform.targets(48,5): warning : [xUnit.net 00:00:11.93] Microsoft.DotNet.Docker.Tests.RuntimeImageTests.VerifyDefaultUser(imageData: ???) [SKIP] C:\s\dotnet-docker\.dotnet\sdk\9.0.100-rc.2.24474.11\Microsoft.TestPlatform.targets(48,5): warning : [xUnit.net 00:00:11.93] Microsoft.DotNet.Docker.Tests.RuntimeImageTests.VerifyFxDependentAppScenario(imageData: ???) [SKIP] C:\s\dotnet-docker\.dotnet\sdk\9.0.100-rc.2.24474.11\Microsoft.TestPlatform.targets(48,5): warning : [xUnit.net 00:00:11.93] Microsoft.DotNet.Docker.Tests.RuntimeImageTests.VerifyInstalledPackages(imageData: ???) [SKIP] C:\s\dotnet-docker\.dotnet\sdk\9.0.100-rc.2.24474.11\Microsoft.TestPlatform.targets(48,5): warning : [xUnit.net 00:00:11.93] Microsoft.DotNet.Docker.Tests.RuntimeImageTests.VerifyInsecureFiles(imageData: ???) [SKIP] C:\s\dotnet-docker\.dotnet\sdk\9.0.100-rc.2.24474.11\Microsoft.TestPlatform.targets(48,5): warning : [xUnit.net 00:00:11.94] Microsoft.DotNet.Docker.Tests.RuntimeImageTests.VerifyEnvironmentVariables(imageData: ???) [SKIP] C:\s\dotnet-docker\.dotnet\sdk\9.0.100-rc.2.24474.11\Microsoft.TestPlatform.targets(48,5): warning : [xUnit.net 00:00:11.94] Microsoft.DotNet.Docker.Tests.RuntimeImageTests.VerifyGlobalizationScenario(imageData: ???) [SKIP] C:\s\dotnet-docker\.dotnet\sdk\9.0.100-rc.2.24474.11\Microsoft.TestPlatform.targets(48,5): warning : [xUnit.net 00:00:11.94] Microsoft.DotNet.Docker.Tests.RuntimeImageTests.VerifyPackageInstallation(imageData: ???) [SKIP] C:\s\dotnet-docker\.dotnet\sdk\9.0.100-rc.2.24474.11\Microsoft.TestPlatform.targets(48,5): warning : [xUnit.net 00:00:11.94] Microsoft.DotNet.Docker.Tests.RuntimeImageTests.VerifyNoSasToken(imageData: ???) [SKIP] C:\s\dotnet-docker\.dotnet\sdk\9.0.100-rc.2.24474.11\Microsoft.TestPlatform.targets(48,5): warning : [xUnit.net 00:00:11.94] Microsoft.DotNet.Docker.Tests.RuntimeImageTests.VerifyShellNotInstalledForDistroless(imageData: ???) [SKIP] C:\s\dotnet-docker\.dotnet\sdk\9.0.100-rc.2.24474.11\Microsoft.TestPlatform.targets(48,5): warning : [xUnit.net 00:00:11.95] Microsoft.DotNet.Docker.Tests.RuntimeImageTests.VerifyTestProjectScenario(imageData: ???) [SKIP] C:\s\dotnet-docker\.dotnet\sdk\9.0.100-rc.2.24474.11\Microsoft.TestPlatform.targets(48,5): warning : [xUnit.net 00:00:11.95] Microsoft.DotNet.Docker.Tests.MonitorImageTests.VerifyConnectMode(imageData: ???, sampleData: ???) [SKIP] C:\s\dotnet-docker\.dotnet\sdk\9.0.100-rc.2.24474.11\Microsoft.TestPlatform.targets(48,5): warning : [xUnit.net 00:00:11.95] Microsoft.DotNet.Docker.Tests.MonitorImageTests.VerifyInsecureFiles(imageData: ???) [SKIP] C:\s\dotnet-docker\.dotnet\sdk\9.0.100-rc.2.24474.11\Microsoft.TestPlatform.targets(48,5): warning : [xUnit.net 00:00:11.95] Microsoft.DotNet.Docker.Tests.MonitorImageTests.VerifyMonitorNoHttpsNoAuth(imageData: ???) [SKIP] C:\s\dotnet-docker\.dotnet\sdk\9.0.100-rc.2.24474.11\Microsoft.TestPlatform.targets(48,5): warning : [xUnit.net 00:00:11.95] Microsoft.DotNet.Docker.Tests.MonitorImageTests.VerifyShellNotInstalledForDistroless(imageData: ???) [SKIP] C:\s\dotnet-docker\.dotnet\sdk\9.0.100-rc.2.24474.11\Microsoft.TestPlatform.targets(48,5): warning : [xUnit.net 00:00:11.95] Microsoft.DotNet.Docker.Tests.MonitorImageTests.VerifyMonitorDefault(imageData: ???) [SKIP] C:\s\dotnet-docker\.dotnet\sdk\9.0.100-rc.2.24474.11\Microsoft.TestPlatform.targets(48,5): warning : [xUnit.net 00:00:11.95] Microsoft.DotNet.Docker.Tests.MonitorImageTests.VerifyListenMode(imageData: ???, sampleData: ???) [SKIP] C:\s\dotnet-docker\.dotnet\sdk\9.0.100-rc.2.24474.11\Microsoft.TestPlatform.targets(48,5): warning : [xUnit.net 00:00:11.95] Microsoft.DotNet.Docker.Tests.MonitorImageTests.VerifyMonitorNoHttpsWithAuth(imageData: ???) [SKIP] C:\s\dotnet-docker\.dotnet\sdk\9.0.100-rc.2.24474.11\Microsoft.TestPlatform.targets(48,5): warning : [xUnit.net 00:00:11.95] Microsoft.DotNet.Docker.Tests.MonitorImageTests.VerifyEnvironmentVariables(imageData: ???) [SKIP] C:\s\dotnet-docker\.dotnet\sdk\9.0.100-rc.2.24474.11\Microsoft.TestPlatform.targets(48,5): warning : [xUnit.net 00:00:11.95] Microsoft.DotNet.Docker.Tests.MonitorImageTests.VerifyNoSasToken(imageData: ???) [SKIP] C:\s\dotnet-docker\.dotnet\sdk\9.0.100-rc.2.24474.11\Microsoft.TestPlatform.targets(48,5): warning : [xUnit.net 00:00:11.95] Microsoft.DotNet.Docker.Tests.MonitorImageTests.VerifyMonitorNoHttpsUnconfiguredAuth(imageData: ???) [SKIP] C:\s\dotnet-docker\.dotnet\sdk\9.0.100-rc.2.24474.11\Microsoft.TestPlatform.targets(48,5): warning : [xUnit.net 00:00:11.95] Microsoft.DotNet.Docker.Tests.MonitorImageTests.VerifyDefaultUser(imageData: ???) [SKIP] C:\s\dotnet-docker\.dotnet\sdk\9.0.100-rc.2.24474.11\Microsoft.TestPlatform.targets(48,5): warning : [xUnit.net 00:00:11.95] Microsoft.DotNet.Docker.Tests.AspireDashboardImageTests.VerifyInstalledPackages(imageData: ???) [SKIP] C:\s\dotnet-docker\.dotnet\sdk\9.0.100-rc.2.24474.11\Microsoft.TestPlatform.targets(48,5): warning : [xUnit.net 00:00:11.95] Microsoft.DotNet.Docker.Tests.AspireDashboardImageTests.VerifyShellNotInstalledForDistroless(imageData: ???) [SKIP] C:\s\dotnet-docker\.dotnet\sdk\9.0.100-rc.2.24474.11\Microsoft.TestPlatform.targets(48,5): warning : [xUnit.net 00:00:11.95] Microsoft.DotNet.Docker.Tests.AspireDashboardImageTests.VerifyDefaultUser(imageData: ???) [SKIP] C:\s\dotnet-docker\.dotnet\sdk\9.0.100-rc.2.24474.11\Microsoft.TestPlatform.targets(48,5): warning : [xUnit.net 00:00:11.95] Microsoft.DotNet.Docker.Tests.AspireDashboardImageTests.VerifyDashboardEndpoint(imageData: ???) [SKIP] C:\s\dotnet-docker\.dotnet\sdk\9.0.100-rc.2.24474.11\Microsoft.TestPlatform.targets(48,5): warning : [xUnit.net 00:00:11.95] Microsoft.DotNet.Docker.Tests.AspireDashboardImageTests.VerifyInsecureFiles(imageData: ???) [SKIP] C:\s\dotnet-docker\.dotnet\sdk\9.0.100-rc.2.24474.11\Microsoft.TestPlatform.targets(48,5): warning : [xUnit.net 00:00:11.95] Microsoft.DotNet.Docker.Tests.AspireDashboardImageTests.VerifyNoSasToken(imageData: ???) [SKIP] C:\s\dotnet-docker\.dotnet\sdk\9.0.100-rc.2.24474.11\Microsoft.TestPlatform.targets(48,5): warning : [xUnit.net 00:00:11.95] Microsoft.DotNet.Docker.Tests.AspireDashboardImageTests.VerifyEnvironmentVariables(imageData: ???) [SKIP] C:\s\dotnet-docker\.dotnet\sdk\9.0.100-rc.2.24474.11\Microsoft.TestPlatform.targets(48,5): warning : [xUnit.net 00:00:11.95] Microsoft.DotNet.Docker.Tests.RuntimeDepsImageTests.VerifyDistrolessOSReleaseInfo(imageData: ???) [SKIP] C:\s\dotnet-docker\.dotnet\sdk\9.0.100-rc.2.24474.11\Microsoft.TestPlatform.targets(48,5): warning : [xUnit.net 00:00:11.95] Microsoft.DotNet.Docker.Tests.RuntimeDepsImageTests.VerifyNoSasToken(imageData: ???) [SKIP] C:\s\dotnet-docker\.dotnet\sdk\9.0.100-rc.2.24474.11\Microsoft.TestPlatform.targets(48,5): warning : [xUnit.net 00:00:11.95] Microsoft.DotNet.Docker.Tests.RuntimeDepsImageTests.VerifyInsecureFiles(imageData: ???) [SKIP] C:\s\dotnet-docker\.dotnet\sdk\9.0.100-rc.2.24474.11\Microsoft.TestPlatform.targets(48,5): warning : [xUnit.net 00:00:11.95] Microsoft.DotNet.Docker.Tests.RuntimeDepsImageTests.VerifyInstalledPackages(imageData: ???) [SKIP] C:\s\dotnet-docker\.dotnet\sdk\9.0.100-rc.2.24474.11\Microsoft.TestPlatform.targets(48,5): warning : [xUnit.net 00:00:11.95] Microsoft.DotNet.Docker.Tests.RuntimeDepsImageTests.VerifyDefaultUser(imageData: ???) [SKIP] C:\s\dotnet-docker\.dotnet\sdk\9.0.100-rc.2.24474.11\Microsoft.TestPlatform.targets(48,5): warning : [xUnit.net 00:00:11.95] Microsoft.DotNet.Docker.Tests.RuntimeDepsImageTests.VerifyEnvironmentVariables(imageData: ???) [SKIP] C:\s\dotnet-docker\.dotnet\sdk\9.0.100-rc.2.24474.11\Microsoft.TestPlatform.targets(48,5): warning : [xUnit.net 00:00:11.95] Microsoft.DotNet.Docker.Tests.RuntimeDepsImageTests.VerifySelfContainedWebScenario(imageData: ???) [SKIP] C:\s\dotnet-docker\.dotnet\sdk\9.0.100-rc.2.24474.11\Microsoft.TestPlatform.targets(48,5): warning : [xUnit.net 00:00:11.95] Microsoft.DotNet.Docker.Tests.RuntimeDepsImageTests.VerifyShellNotInstalledForDistroless(imageData: ???) [SKIP] C:\s\dotnet-docker\.dotnet\sdk\9.0.100-rc.2.24474.11\Microsoft.TestPlatform.targets(48,5): warning : [xUnit.net 00:00:11.95] Microsoft.DotNet.Docker.Tests.RuntimeDepsImageTests.VerifyPackageInstallation(imageData: ???) [SKIP] C:\s\dotnet-docker\.dotnet\sdk\9.0.100-rc.2.24474.11\Microsoft.TestPlatform.targets(48,5): warning : [xUnit.net 00:00:11.95] Microsoft.DotNet.Docker.Tests.RuntimeDepsImageTests.VerifyAotAppScenario(imageData: ???) [SKIP] C:\s\dotnet-docker\.dotnet\sdk\9.0.100-rc.2.24474.11\Microsoft.TestPlatform.targets(48,5): warning : [xUnit.net 00:00:11.95] Microsoft.DotNet.Docker.Tests.RuntimeDepsImageTests.VerifySelfContainedConsoleScenario(imageData: ???) [SKIP] rShellScenario_DefaultUser(imageData: ???) [SKIP] C:\s\dotnet-docker\.dotnet\sdk\9.0.100-rc.2.24474.11\Microsoft.TestPlatform.targets(48,5): warning : [xUnit.net 00:00:11.96] Microsoft.DotNet.Docker.Tests.SdkImageTests.VerifyInstalledRpmPackages(imageData: ???) [SKIP] C:\s\dotnet-docker\.dotnet\sdk\9.0.100-rc.2.24474.11\Microsoft.TestPlatform.targets(48,5): warning : [xUnit.net 00:00:11.96] Microsoft.DotNet.Docker.Tests.AspnetImageTests.VerifyEnvironmentVariables(imageData: ???) [SKIP] C:\s\dotnet-docker\.dotnet\sdk\9.0.100-rc.2.24474.11\Microsoft.TestPlatform.targets(48,5): warning : [xUnit.net 00:00:11.96] Microsoft.DotNet.Docker.Tests.AspnetImageTests.VerifyFxDependentAppScenario(imageData: ???) [SKIP] C:\s\dotnet-docker\.dotnet\sdk\9.0.100-rc.2.24474.11\Microsoft.TestPlatform.targets(48,5): warning : [xUnit.net 00:00:11.96] Microsoft.DotNet.Docker.Tests.AspnetImageTests.VerifyShellNotInstalledForDistroless(imageData: ???) [SKIP] C:\s\dotnet-docker\.dotnet\sdk\9.0.100-rc.2.24474.11\Microsoft.TestPlatform.targets(48,5): warning : [xUnit.net 00:00:11.96] Microsoft.DotNet.Docker.Tests.AspnetImageTests.VerifyNoSasToken(imageData: ???) [SKIP] C:\s\dotnet-docker\.dotnet\sdk\9.0.100-rc.2.24474.11\Microsoft.TestPlatform.targets(48,5): warning : [xUnit.net 00:00:11.96] Microsoft.DotNet.Docker.Tests.AspnetImageTests.VerifyPackageInstallation(imageData: ???) [SKIP] C:\s\dotnet-docker\.dotnet\sdk\9.0.100-rc.2.24474.11\Microsoft.TestPlatform.targets(48,5): warning : [xUnit.net 00:00:11.96] Microsoft.DotNet.Docker.Tests.AspnetImageTests.VerifyGlobalizationScenario(imageData: ???) [SKIP] C:\s\dotnet-docker\.dotnet\sdk\9.0.100-rc.2.24474.11\Microsoft.TestPlatform.targets(48,5): warning : [xUnit.net 00:00:11.96] Microsoft.DotNet.Docker.Tests.AspnetImageTests.VerifyInsecureFiles(imageData: ???) [SKIP] C:\s\dotnet-docker\.dotnet\sdk\9.0.100-rc.2.24474.11\Microsoft.TestPlatform.targets(48,5): warning : [xUnit.net 00:00:11.96] Microsoft.DotNet.Docker.Tests.AspnetImageTests.VerifyInstalledPackages(imageData: ???) [SKIP] C:\s\dotnet-docker\.dotnet\sdk\9.0.100-rc.2.24474.11\Microsoft.TestPlatform.targets(48,5): warning : [xUnit.net 00:00:11.96] Microsoft.DotNet.Docker.Tests.AspnetImageTests.VerifyDefaultUser(imageData: ???) [SKIP] ```

All of the tests are skipped. Obviously, this should not happen since there is a Dockerfile at src/runtime-deps/9.0/azurelinux3.0-distroless-extra/amd64 and we built it with a previous command.

lbussell commented 1 week ago

Fixed in https://github.com/dotnet/dotnet-docker/pull/5983/commits/1c0e89dca3f55199194063b2fd47f9fc3ec2d97b which is in main now and will be merged to nightly in https://github.com/dotnet/dotnet-docker/pull/6048.