dotnet / source-build

A repository to track efforts to produce a source tarball of the .NET Core SDK and all its components
MIT License
265 stars 132 forks source link

[internal/release/9.0.1xx-rc1] All tests are failing in VMR #4583

Closed Winniexu01 closed 2 months ago

Winniexu01 commented 3 months ago

internal/release/9.0.1xx-rc1: https://dev.azure.com/dnceng/internal/_build/results?buildId=2524685 (internal Microsoft link)

mthalman commented 3 months ago

Example test failure:

System.InvalidOperationException : Failed to execute /vmr/artifacts/bin/Microsoft.DotNet.SourceBuild.SmokeTests/Release/extracted-sdk/dotnet publish --self-contained true -r linux-arm64 /bl:/vmr/artifacts/TestResults/Release/WebScenarioTests_Web_FSharp-publish-self-contained-linux-arm64.binlog -o /vmr/artifacts/bin/Microsoft.DotNet.SourceBuild.SmokeTests/Release/projects-202408270201470412/WebScenarioTests_Web_FSharp/bin/publish
Exit code: 1
Determining projects to restore...
/vmr/artifacts/bin/Microsoft.DotNet.SourceBuild.SmokeTests/Release/projects-202408270201470412/WebScenarioTests_Web_FSharp/WebScenarioTests_Web_FSharp.fsproj : error NU1102: Unable to find package Microsoft.AspNetCore.App.Runtime.linux-arm64 with version (= 9.0.0-rc.1.24421.11)
/vmr/artifacts/bin/Microsoft.DotNet.SourceBuild.SmokeTests/Release/projects-202408270201470412/WebScenarioTests_Web_FSharp/WebScenarioTests_Web_FSharp.fsproj : error NU1102:   - Found 1078 version(s) in dotnet9 [ Nearest version: 9.0.0-rc.2.24420.8 ]
/vmr/artifacts/bin/Microsoft.DotNet.SourceBuild.SmokeTests/Release/projects-202408270201470412/WebScenarioTests_Web_FSharp/WebScenarioTests_Web_FSharp.fsproj : error NU1102:   - Found 170 version(s) in dotnet-public [ Nearest version: 9.0.0-preview.7.24406.2 ]
/vmr/artifacts/bin/Microsoft.DotNet.SourceBuild.SmokeTests/Release/projects-202408270201470412/WebScenarioTests_Web_FSharp/WebScenarioTests_Web_FSharp.fsproj : error NU1102:   - Found 0 version(s) in /vmr/artifacts/bin/Microsoft.DotNet.SourceBuild.SmokeTests/Release/extracted-sdk/library-packs
/vmr/artifacts/bin/Microsoft.DotNet.SourceBuild.SmokeTests/Release/projects-202408270201470412/WebScenarioTests_Web_FSharp/WebScenarioTests_Web_FSharp.fsproj : error NU1102:   - Found 0 version(s) in /vmr/artifacts/bin/Microsoft.DotNet.SourceBuild.SmokeTests/Release/extracted-sdk/sdk/9.0.100-rc.1.24427.1/FSharp/library-packs
/vmr/artifacts/bin/Microsoft.DotNet.SourceBuild.SmokeTests/Release/projects-202408270201470412/WebScenarioTests_Web_FSharp/WebScenarioTests_Web_FSharp.fsproj : error NU1102:   - Found 0 version(s) in dotnet9-transport
Failed to restore /vmr/artifacts/bin/Microsoft.DotNet.SourceBuild.SmokeTests/Release/projects-202408270201470412/WebScenarioTests_Web_FSharp/WebScenarioTests_Web_FSharp.fsproj (in 834 ms).

This occurs because the test's NuGet.config is targeting the public feeds when it should be targeting the internal feeds.

MichaelSimons commented 2 months ago

Closing as resolved by https://github.com/dotnet/sdk/pull/43041.