Skip to content

Fix NetRuntimeBlobVersion#44281

Merged
mthalman merged 3 commits intodotnet:release/9.0.1xxfrom
mthalman:sb4679
Oct 17, 2024
Merged

Fix NetRuntimeBlobVersion#44281
mthalman merged 3 commits intodotnet:release/9.0.1xxfrom
mthalman:sb4679

Conversation

@mthalman
Copy link
Copy Markdown
Member

Fixes dotnet/source-build#4679

A regression was caused by the merge of #44257:

/vmr/src/sdk/src/Installer/redist-installer/targets/GenerateLayout.targets(410,5): error : Download from all targets failed. List of attempted targets: file:///vmr/artifacts/assets/Release/Runtime/9.0.0/dotnet-runtime-9.0.0-centos.9-x64.tar.gz [/vmr/src/sdk/src/Installer/redist-installer/redist-installer.csproj]
/vmr/src/sdk/src/Installer/redist-installer/targets/GenerateLayout.targets(410,5): error : Failed to download file using addresses in Uri and/or Uris. [/vmr/src/sdk/src/Installer/redist-installer/redist-installer.csproj]
    0 Warning(s)
    2 Error(s)

This is the same kind of error that occurred for an aspnetcore asset in #44196, which was fixed by 93f82c2. Following a similar pattern here to fix the issue for the runtime asset.

@mthalman mthalman requested review from a team and mmitche October 17, 2024 13:15
@ghost ghost added Area-Infrastructure untriaged Request triage from a team member labels Oct 17, 2024
Comment thread src/Installer/redist-installer/targets/GenerateLayout.targets Outdated
@mthalman mthalman requested a review from a team as a code owner October 17, 2024 15:15
@mthalman
Copy link
Copy Markdown
Member Author

Scenario tests failed trying to find a package w/ stable version:

/vmr/artifacts/bin/Microsoft.DotNet.SourceBuild.SmokeTests/Release/projects-202410171451317490/WebScenarioTests_Web_CSharp/WebScenarioTests_Web_CSharp.csproj : error NU1102: Unable to find package Microsoft.NETCore.App.Runtime.linux-x64 with version (= 9.0.0)
/vmr/artifacts/bin/Microsoft.DotNet.SourceBuild.SmokeTests/Release/projects-202410171451317490/WebScenarioTests_Web_CSharp/WebScenarioTests_Web_CSharp.csproj : error NU1102:   - Found 1417 version(s) in dotnet9 [ Nearest version: 9.0.0-rtm.24516.5 ]
/vmr/artifacts/bin/Microsoft.DotNet.SourceBuild.SmokeTests/Release/projects-202410171451317490/WebScenarioTests_Web_CSharp/WebScenarioTests_Web_CSharp.csproj : error NU1102:   - Found 174 version(s) in dotnet-public [ Nearest version: 9.0.0-rc.2.24473.5 ]
/vmr/artifacts/bin/Microsoft.DotNet.SourceBuild.SmokeTests/Release/projects-202410171451317490/WebScenarioTests_Web_CSharp/WebScenarioTests_Web_CSharp.csproj : 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-202410171451317490/WebScenarioTests_Web_CSharp/WebScenarioTests_Web_CSharp.csproj : error NU1102:   - Found 0 version(s) in darc-pub-dotnet-aspnetcore-3cc83de
/vmr/artifacts/bin/Microsoft.DotNet.SourceBuild.SmokeTests/Release/projects-202410171451317490/WebScenarioTests_Web_CSharp/WebScenarioTests_Web_CSharp.csproj : error NU1102:   - Found 0 version(s) in dotnet9-transport
/vmr/artifacts/bin/Microsoft.DotNet.SourceBuild.SmokeTests/Release/projects-202410171451317490/WebScenarioTests_Web_CSharp/WebScenarioTests_Web_CSharp.csproj : error NU1102: Unable to find package Microsoft.NETCore.App.Host.linux-x64 with version (= 9.0.0)
/vmr/artifacts/bin/Microsoft.DotNet.SourceBuild.SmokeTests/Release/projects-202410171451317490/WebScenarioTests_Web_CSharp/WebScenarioTests_Web_CSharp.csproj : error NU1102:   - Found 1417 version(s) in dotnet9 [ Nearest version: 9.0.0-rtm.24516.5 ]
/vmr/artifacts/bin/Microsoft.DotNet.SourceBuild.SmokeTests/Release/projects-202410171451317490/WebScenarioTests_Web_CSharp/WebScenarioTests_Web_CSharp.csproj : error NU1102:   - Found 176 version(s) in dotnet-public [ Nearest version: 9.0.0-rc.2.24473.5 ]
/vmr/artifacts/bin/Microsoft.DotNet.SourceBuild.SmokeTests/Release/projects-202410171451317490/WebScenarioTests_Web_CSharp/WebScenarioTests_Web_CSharp.csproj : 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-202410171451317490/WebScenarioTests_Web_CSharp/WebScenarioTests_Web_CSharp.csproj : error NU1102:   - Found 0 version(s) in darc-pub-dotnet-aspnetcore-3cc83de
/vmr/artifacts/bin/Microsoft.DotNet.SourceBuild.SmokeTests/Release/projects-202410171451317490/WebScenarioTests_Web_CSharp/WebScenarioTests_Web_CSharp.csproj : error NU1102:   - Found 0 version(s) in dotnet9-transport
  Failed to restore /vmr/artifacts/bin/Microsoft.DotNet.SourceBuild.SmokeTests/Release/projects-202410171451317490/WebScenarioTests_Web_CSharp/WebScenarioTests_Web_CSharp.csproj (in 565 ms).

Updated test's nuget.config to include runtime feed: c6aae6d

@mthalman mthalman enabled auto-merge (squash) October 17, 2024 16:24
@kasperk81
Copy link
Copy Markdown
Contributor

@mthalman i think #44014 was also hitting this. please merge main in that darc branch after this is merged. thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-Infrastructure untriaged Request triage from a team member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants