Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix NetRuntimeBlobVersion #44281

Merged
merged 3 commits into from
Oct 17, 2024
Merged

Fix NetRuntimeBlobVersion #44281

merged 3 commits into from
Oct 17, 2024

Conversation

mthalman
Copy link
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 mmitche and a team October 17, 2024 13:15
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Infrastructure untriaged Request triage from a team member labels Oct 17, 2024
@mthalman mthalman requested a review from a team as a code owner October 17, 2024 15:15
@mthalman
Copy link
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
Contributor

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

@mthalman mthalman merged commit 4fb94f2 into dotnet:release/9.0.1xx Oct 17, 2024
28 of 31 checks passed
@mthalman mthalman deleted the sb4679 branch October 17, 2024 16:38
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