-
Notifications
You must be signed in to change notification settings - Fork 1.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
[9.0-preview.5] dotnet test fails on Windows when error is logged to the test output #41541
Labels
Comments
dotnet-issue-labeler
bot
added
Area-DotNet Test
untriaged
Request triage from a team member
labels
Jun 12, 2024
martincostello
added a commit
to martincostello/lambda-test-server
that referenced
this issue
Jun 12, 2024
Skip tests that cause CI to fail due to dotnet/sdk#41541.
/cc @nohwnd |
costellobot bot
pushed a commit
to martincostello/lambda-test-server
that referenced
this issue
Jun 12, 2024
* Update .NET SDK Update .NET SDK to version 9.0.100-preview.5.24307.3. --- updated-dependencies: - dependency-name: Microsoft.NET.Sdk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com> * Bump packages Update NuGet packages for .NET 9 preview 5. * Remove PackageReference Remove redundant package reference. * Fix build Correctly fix the package references. * Remove package reference Remove redundant package reference. * Fix CI Skip tests that cause CI to fail due to dotnet/sdk#41541. --------- Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com> Co-authored-by: martincostello <martin@martincostello.com>
Thanks for the report, there are others feedbacks like this, looks like we will have to write the forwarded errors as info, rather than as error. Not logical, but we can see the same for xunit, where every failed assertion fails adds one more error to the build. |
martincostello
added a commit
to martincostello/lambda-test-server
that referenced
this issue
Jun 20, 2024
* Update .NET SDK Update .NET SDK to version 9.0.100-preview.5.24307.3. --- updated-dependencies: - dependency-name: Microsoft.NET.Sdk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com> * Bump packages Update NuGet packages for .NET 9 preview 5. * Remove PackageReference Remove redundant package reference. * Fix build Correctly fix the package references. * Remove package reference Remove redundant package reference. * Fix CI Skip tests that cause CI to fail due to dotnet/sdk#41541. --------- Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com> Co-authored-by: martincostello <martin@martincostello.com>
martincostello
added a commit
to martincostello/lambda-test-server
that referenced
this issue
Jul 9, 2024
* Update .NET SDK Update .NET SDK to version 9.0.100-preview.5.24307.3. --- updated-dependencies: - dependency-name: Microsoft.NET.Sdk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com> * Bump packages Update NuGet packages for .NET 9 preview 5. * Remove PackageReference Remove redundant package reference. * Fix build Correctly fix the package references. * Remove package reference Remove redundant package reference. * Fix CI Skip tests that cause CI to fail due to dotnet/sdk#41541. --------- Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com> Co-authored-by: martincostello <martin@martincostello.com>
martincostello
added a commit
to martincostello/lambda-test-server
that referenced
this issue
Jul 10, 2024
Remove workarounds for dotnet/sdk#41541.
martincostello
added a commit
to martincostello/lambda-test-server
that referenced
this issue
Jul 10, 2024
* Update .NET SDK Update .NET SDK to version 9.0.100-preview.5.24307.3. --- updated-dependencies: - dependency-name: Microsoft.NET.Sdk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com> * Bump packages Update NuGet packages for .NET 9 preview 5. * Remove PackageReference Remove redundant package reference. * Fix build Correctly fix the package references. * Remove package reference Remove redundant package reference. * Fix CI Skip tests that cause CI to fail due to dotnet/sdk#41541. --------- Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com> Co-authored-by: martincostello <martin@martincostello.com>
martincostello
added a commit
to martincostello/lambda-test-server
that referenced
this issue
Jul 10, 2024
Remove workarounds for dotnet/sdk#41541.
martincostello
added a commit
to martincostello/lambda-test-server
that referenced
this issue
Aug 13, 2024
* Update .NET SDK Update .NET SDK to version 9.0.100-preview.5.24307.3. --- updated-dependencies: - dependency-name: Microsoft.NET.Sdk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com> * Bump packages Update NuGet packages for .NET 9 preview 5. * Remove PackageReference Remove redundant package reference. * Fix build Correctly fix the package references. * Remove package reference Remove redundant package reference. * Fix CI Skip tests that cause CI to fail due to dotnet/sdk#41541. --------- Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com> Co-authored-by: martincostello <martin@martincostello.com>
martincostello
added a commit
to martincostello/lambda-test-server
that referenced
this issue
Aug 13, 2024
Remove workarounds for dotnet/sdk#41541.
martincostello
added a commit
to martincostello/lambda-test-server
that referenced
this issue
Aug 14, 2024
* Update .NET SDK Update .NET SDK to version 9.0.100-preview.5.24307.3. --- updated-dependencies: - dependency-name: Microsoft.NET.Sdk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com> * Bump packages Update NuGet packages for .NET 9 preview 5. * Remove PackageReference Remove redundant package reference. * Fix build Correctly fix the package references. * Remove package reference Remove redundant package reference. * Fix CI Skip tests that cause CI to fail due to dotnet/sdk#41541. --------- Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com> Co-authored-by: martincostello <martin@martincostello.com>
martincostello
added a commit
to martincostello/lambda-test-server
that referenced
this issue
Aug 14, 2024
Remove workarounds for dotnet/sdk#41541.
martincostello
added a commit
to martincostello/lambda-test-server
that referenced
this issue
Aug 15, 2024
* Update .NET SDK Update .NET SDK to version 9.0.100-preview.5.24307.3. --- updated-dependencies: - dependency-name: Microsoft.NET.Sdk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com> * Bump packages Update NuGet packages for .NET 9 preview 5. * Remove PackageReference Remove redundant package reference. * Fix build Correctly fix the package references. * Remove package reference Remove redundant package reference. * Fix CI Skip tests that cause CI to fail due to dotnet/sdk#41541. --------- Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com> Co-authored-by: martincostello <martin@martincostello.com>
martincostello
added a commit
to martincostello/lambda-test-server
that referenced
this issue
Aug 15, 2024
Remove workarounds for dotnet/sdk#41541.
martincostello
added a commit
to martincostello/lambda-test-server
that referenced
this issue
Aug 20, 2024
* Update .NET SDK Update .NET SDK to version 9.0.100-preview.5.24307.3. --- updated-dependencies: - dependency-name: Microsoft.NET.Sdk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com> * Bump packages Update NuGet packages for .NET 9 preview 5. * Remove PackageReference Remove redundant package reference. * Fix build Correctly fix the package references. * Remove package reference Remove redundant package reference. * Fix CI Skip tests that cause CI to fail due to dotnet/sdk#41541. --------- Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com> Co-authored-by: martincostello <martin@martincostello.com>
martincostello
added a commit
to martincostello/lambda-test-server
that referenced
this issue
Aug 20, 2024
Remove workarounds for dotnet/sdk#41541.
martincostello
added a commit
to martincostello/lambda-test-server
that referenced
this issue
Sep 6, 2024
* Update .NET SDK Update .NET SDK to version 9.0.100-preview.5.24307.3. --- updated-dependencies: - dependency-name: Microsoft.NET.Sdk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com> * Bump packages Update NuGet packages for .NET 9 preview 5. * Remove PackageReference Remove redundant package reference. * Fix build Correctly fix the package references. * Remove package reference Remove redundant package reference. * Fix CI Skip tests that cause CI to fail due to dotnet/sdk#41541. --------- Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com> Co-authored-by: martincostello <martin@martincostello.com>
martincostello
added a commit
to martincostello/lambda-test-server
that referenced
this issue
Sep 6, 2024
Remove workarounds for dotnet/sdk#41541.
martincostello
added a commit
to martincostello/lambda-test-server
that referenced
this issue
Sep 24, 2024
* Update .NET SDK Update .NET SDK to version 9.0.100-preview.5.24307.3. --- updated-dependencies: - dependency-name: Microsoft.NET.Sdk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com> * Bump packages Update NuGet packages for .NET 9 preview 5. * Remove PackageReference Remove redundant package reference. * Fix build Correctly fix the package references. * Remove package reference Remove redundant package reference. * Fix CI Skip tests that cause CI to fail due to dotnet/sdk#41541. --------- Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com> Co-authored-by: martincostello <martin@martincostello.com>
martincostello
added a commit
to martincostello/lambda-test-server
that referenced
this issue
Sep 24, 2024
Remove workarounds for dotnet/sdk#41541.
martincostello
added a commit
to martincostello/lambda-test-server
that referenced
this issue
Oct 4, 2024
* Update .NET SDK Update .NET SDK to version 9.0.100-preview.5.24307.3. --- updated-dependencies: - dependency-name: Microsoft.NET.Sdk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com> * Bump packages Update NuGet packages for .NET 9 preview 5. * Remove PackageReference Remove redundant package reference. * Fix build Correctly fix the package references. * Remove package reference Remove redundant package reference. * Fix CI Skip tests that cause CI to fail due to dotnet/sdk#41541. --------- Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com> Co-authored-by: martincostello <martin@martincostello.com>
martincostello
added a commit
to martincostello/lambda-test-server
that referenced
this issue
Oct 4, 2024
Remove workarounds for dotnet/sdk#41541.
martincostello
added a commit
to martincostello/lambda-test-server
that referenced
this issue
Oct 7, 2024
* Update .NET SDK Update .NET SDK to version 9.0.100-preview.5.24307.3. --- updated-dependencies: - dependency-name: Microsoft.NET.Sdk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com> * Bump packages Update NuGet packages for .NET 9 preview 5. * Remove PackageReference Remove redundant package reference. * Fix build Correctly fix the package references. * Remove package reference Remove redundant package reference. * Fix CI Skip tests that cause CI to fail due to dotnet/sdk#41541. --------- Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com> Co-authored-by: martincostello <martin@martincostello.com>
martincostello
added a commit
to martincostello/lambda-test-server
that referenced
this issue
Oct 7, 2024
Remove workarounds for dotnet/sdk#41541.
martincostello
added a commit
to martincostello/lambda-test-server
that referenced
this issue
Oct 8, 2024
* Update .NET SDK Update .NET SDK to version 9.0.100-preview.5.24307.3. --- updated-dependencies: - dependency-name: Microsoft.NET.Sdk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com> * Bump packages Update NuGet packages for .NET 9 preview 5. * Remove PackageReference Remove redundant package reference. * Fix build Correctly fix the package references. * Remove package reference Remove redundant package reference. * Fix CI Skip tests that cause CI to fail due to dotnet/sdk#41541. --------- Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com> Co-authored-by: martincostello <martin@martincostello.com>
martincostello
added a commit
to martincostello/lambda-test-server
that referenced
this issue
Oct 8, 2024
Remove workarounds for dotnet/sdk#41541.
martincostello
added a commit
to martincostello/lambda-test-server
that referenced
this issue
Nov 12, 2024
* Update .NET SDK Update .NET SDK to version 9.0.100-preview.5.24307.3. --- updated-dependencies: - dependency-name: Microsoft.NET.Sdk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com> * Bump packages Update NuGet packages for .NET 9 preview 5. * Remove PackageReference Remove redundant package reference. * Fix build Correctly fix the package references. * Remove package reference Remove redundant package reference. * Fix CI Skip tests that cause CI to fail due to dotnet/sdk#41541. --------- Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com> Co-authored-by: martincostello <martin@martincostello.com>
martincostello
added a commit
to martincostello/lambda-test-server
that referenced
this issue
Nov 12, 2024
Remove workarounds for dotnet/sdk#41541.
martincostello
added a commit
to martincostello/lambda-test-server
that referenced
this issue
Nov 12, 2024
* Update to .NET 9 preview 1 Update to preview 1 of .NET 9. * Simplify baselines Move TFM-specific APIs to the main baseline file. * Use new .NET APIs - Use `Convert.ToHexStringLower()`. - Use `CryptographicOperations.HashData()`. * Update .NET SDK (#609) Update .NET SDK to version 9.0.100-preview.2.24157.14. --- updated-dependencies: - dependency-name: Microsoft.NET.Sdk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com> * Bump Microsoft.AspNetCore.TestHost Bump Microsoft.AspNetCore.TestHost for preview 2. * Update .NET SDK (#634) Update .NET SDK to version 9.0.100-preview.3.24204.13. --- updated-dependencies: - dependency-name: Microsoft.NET.Sdk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com> * Bump Microsoft.AspNetCore.TestHost Bump Microsoft.AspNetCore.TestHost for .NET 9 preview 3. * Bump Microsoft.AspNetCore.TestHost Bump Microsoft.AspNetCore.TestHost for .NET 9 preview 3. * Update .NET SDK (#675) Update .NET SDK to version 9.0.100-preview.4.24267.66. --- updated-dependencies: - dependency-name: Microsoft.NET.Sdk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com> * Update NuGet package Bump Microsoft.AspNetCore.TestHost for .NET 9 preview 4. * Bump NuGet package Bump Mvc.Testing for .NET 9 preview 4. * Use C# 13 Set `LangVersion=preview` to use C# 13. * Update .NET SDK to 9.0.100-preview.5.24307.3 (#696) * Update .NET SDK Update .NET SDK to version 9.0.100-preview.5.24307.3. --- updated-dependencies: - dependency-name: Microsoft.NET.Sdk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com> * Bump packages Update NuGet packages for .NET 9 preview 5. * Remove PackageReference Remove redundant package reference. * Fix build Correctly fix the package references. * Remove package reference Remove redundant package reference. * Fix CI Skip tests that cause CI to fail due to dotnet/sdk#41541. --------- Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com> Co-authored-by: martincostello <martin@martincostello.com> * Simplify pre-processor conditions Remove pre-processor conditions that are now redundant. * Simplify API baselines Make the TFM-specific API baselines optional. * Update .NET SDK to 9.0.100-preview.6.24328.19 (#710) * Update .NET SDK Update .NET SDK to version 9.0.100-preview.6.24328.19. --- updated-dependencies: - dependency-name: Microsoft.NET.Sdk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com> * Suppress IDE0130 Suppress IDE0130 warnings. --------- Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com> Co-authored-by: Martin Costello <martin@martincostello.com> * Re-enable tests Remove workarounds for dotnet/sdk#41541. * Bump packages Update NuGet packages for .NET 9 preview 6. * Update .NET SDK (#733) Update .NET SDK to version 9.0.100-preview.7.24407.12. --- updated-dependencies: - dependency-name: Microsoft.NET.Sdk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com> * Bump NuGet packages Update NuGet packages for .NET 9 preview 7. * Revert to LangVersion latest Revert back to using the latest version of C# instead of preview. * Fix XML Copy-paste fail. * Update .NET SDK (#756) Update .NET SDK to version 9.0.100-rc.1.24452.12. --- updated-dependencies: - dependency-name: Microsoft.NET.Sdk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com> * Update NuGet packages Update NuGet packages for RC1. * Update .NET SDK (#782) Update .NET SDK to version 9.0.100-rc.2.24474.11. --- updated-dependencies: - dependency-name: Microsoft.NET.Sdk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com> * Bump NuGet packages Update NuGet packages for .NET 9 RC2. * Set executable bit Fix the executable bit being unset. * Update .NET SDK (#805) Update .NET SDK to version 9.0.100. --- updated-dependencies: - dependency-name: Microsoft.NET.Sdk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com> * Updates for .NET 9 GA Update TODOs and NuGet packages for .NET 9 stable release. --------- Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com> Co-authored-by: costellobot <102549341+costellobot@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Using the .NET 9 preview 5 SDK on Windows, if an error is logged to the test output then
dotnet test
fails despite no tests failing.Setting
$env:MSBUILDTERMINALLOGGER = "off"
does not resolve this, but it does remove theBuild failed with 17 error(s) and 1 warning(s)
output (shown below).The issue does not reproduce on Linux or macOS, or in Visual Studio on Windows.
The only workaround to get the tests to pass seems to be to skip the relevant tests.
To Reproduce
build.ps1
in the root of the repositoryExceptions (if any)
Further technical details
.NET SDK
9.0.100-preview.5.24307.3
The text was updated successfully, but these errors were encountered: