-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Update .NET SDKs #10752
base: main
Are you sure you want to change the base?
Update .NET SDKs #10752
Conversation
I'm not sure why the tests are failing - will take a look tomorrow. |
@martincostello it looks like we might have been working around a bug you logged upstream, that has since been fixed: dotnet/msbuild#10682. In it "contains the expected output" do
# In CI when the terminal logger is disabled by default in .NET 9 there is no
# output from the test runner: https://github.com/dotnet/msbuild/issues/10682.
# Instead we have to rely on the cmd invocation failing with a non-zero exit code
# if any tests fail. Locally when the terminal logger is enabled we can check
# there is an absence of any evidence of test failures in the output.
# expect(dotnet_test).to include("Passed!")
expect(dotnet_test).not_to include("Build failed")
end |
Well, well, well, if it isn't the consequences of my own actions 😆 I'll fix that up in the morning. |
Still debugging, but it looks like it's not the issue being fixed (it's still open, which makes sense), but that because of the bug, we can't see why the tests are failing. Running them locally, one fails:
|
Just saw, the issue is fixed, but it didn't make it into RC2 so will be in 9.0.100. |
@@ -249,7 +249,7 @@ await TestUpdateForProject("Some.Package", "9.0.1", "13.0.1", | |||
MockNuGetPackage.CreateSimplePackage("Some.Package", "9.0.1", "net8.0"), | |||
MockNuGetPackage.CreateSimplePackage("Some.Package", "13.0.1", "net8.0"), | |||
// necessary for the `net8.0-windows10.0.19041.0` TFM | |||
new("Microsoft.Windows.SDK.NET.Ref", "10.0.19041.34", Files: | |||
new("Microsoft.Windows.SDK.NET.Ref", "10.0.19041.45", Files: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This version was changed since RC1 by dotnet/sdk#41936, and it's going to change again with dotnet/sdk#43889 to .46
, so will probably need changing next month when updating to 9.0.100
.
I'm not sure why the lockfile smoke test is failing. The error is: updater | /tmp/package-dependency-resolution_kuH1Yp/Project.csproj : error NU1102: Unable to find package Microsoft.WindowsDesktop.App.Ref with version (= 8.0.10)
updater | /tmp/package-dependency-resolution_kuH1Yp/Project.csproj : error NU1102: - Found 120 version(s) in nuget.org [ Nearest version: 9.0.0-preview.1.24081.3 ] but the package is in NuGet.org: Microsoft.WindowsDesktop.App.Ref@8.0.10. Maybe the test depends on whatever version of the .NET SDK happens to be installed on the hosted runner? |
920b972
to
970f2ac
Compare
From the build logs: #10 [ 5/15] RUN dotnet --list-runtimes
#10 0.181 Microsoft.AspNetCore.App 8.0.10 [/usr/local/dotnet/current/shared/Microsoft.AspNetCore.App]
#10 0.181 Microsoft.AspNetCore.App 9.0.0-rc.2.24474.3 [/usr/local/dotnet/current/shared/Microsoft.AspNetCore.App]
#10 0.181 Microsoft.NETCore.App 8.0.10 [/usr/local/dotnet/current/shared/Microsoft.NETCore.App]
#10 0.181 Microsoft.NETCore.App 9.0.0-rc.2.24473.5 [/usr/local/dotnet/current/shared/Microsoft.NETCore.App]
#10 DONE 0.2s When I do the same locally on my Windows machine: Microsoft.AspNetCore.App 6.0.35 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.20 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 8.0.10 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 9.0.0-rc.2.24474.3 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.35 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.20 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.10 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 9.0.0-rc.2.24473.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 6.0.35 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 7.0.20 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 8.0.10 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 9.0.0-rc.2.24474.4 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App] Maybe the issue is that |
970f2ac
to
1031019
Compare
Update .NET 8 and 9 SDKs to their latest versions.
1031019
to
fbc1987
Compare
What are you trying to accomplish?
Update .NET 8 and 9 SDKs to their latest versions - the main motivation to use the latest .NET 9 release candidate.
Anything you want to highlight for special attention from reviewers?
No.
How will you know you've accomplished your goal?
The build is green.
Checklist