Skip to content

Skip Flakey GivenDotnetTest Tests #47024

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

Conversation

nagilson
Copy link
Member

In this PR a few days ago I disabled some similar tests: #46924

It turns out that even more of them are failing about 80%+ of the time after some recent changes to these tests.

See here: #47003 (review) here: #47004 (review) here: https://github.com/dotnet/sdk/pull/47004/checks?check_run_id=37586911841 here: #47014
etc.

I've already made an issue to track this: #46923 So I'll keep using that one. The maintainer has been notified.

In this PR a few days ago I disabled some similar tests:
dotnet#46924

It turns out that even more of them are failing about 80%+ of the time
after some recent changes to these tests.

See here: dotnet#47003 (review)
here: dotnet#47004 (review)
here: https://github.com/dotnet/sdk/pull/47004/checks?check_run_id=37586911841
here: dotnet#47014
etc.

I've already made an issue to track this: dotnet#46923
So I'll keep using that one. The maintainer has been notified.
@Copilot Copilot AI review requested due to automatic review settings February 21, 2025 17:51
@nagilson nagilson requested a review from a team as a code owner February 21, 2025 17:51
@ghost ghost added Area-dotnet test untriaged Request triage from a team member labels Feb 21, 2025
@nagilson nagilson requested a review from a team February 21, 2025 17:52
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (4)

test/dotnet-test.Tests/GivenDotnetTestBuildsAndRunsTestsForMultipleTFMs.cs:17

[Theory(Skip= "https://github.com/dotnet/sdk/issues/46923")]

test/dotnet-test.Tests/GivenDotnetTestBuildsAndRunsTestsForMultipleTFMs.cs:56

[Theory(Skip= "https://github.com/dotnet/sdk/issues/46923")]

test/dotnet-test.Tests/GivenDotnetTestBuildsAndRunsTestsForMultipleTFMs.cs:103

[Theory(Skip= "https://github.com/dotnet/sdk/issues/46923")]

test/dotnet-test.Tests/GivenDotnetTestBuildsAndRunsTestsForMultipleTFMs.cs:131

[Theory(Skip= "https://github.com/dotnet/sdk/issues/46923")]

@nagilson nagilson enabled auto-merge February 21, 2025 17:55
Copy link
Member

@MiYanni MiYanni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Always make sure to add the Test Debt label when making issues to skip tests. It allows us to keep track of these kinds of test-skipping issues.

@Evangelink Evangelink added Test Debt and removed untriaged Request triage from a team member labels Feb 21, 2025
@lewing lewing closed this Feb 21, 2025
auto-merge was automatically disabled February 21, 2025 19:51

Pull request was closed

@lewing lewing reopened this Feb 21, 2025
@akoeplinger
Copy link
Member

looks like we need to disable a couple more tests...

@mariam-abdulla
Copy link
Member

I checked the tests, for the following tests we are already working on a fix:

DiscoverProjectWithMSTestMetaPackageAndMultipleTFMsWithTests_ShouldReturnExitCodeSuccess
RunProjectWithMSTestMetaPackageAndMultipleTFMs_ShouldReturnExitCodeGenericFailure

However, for the below tests I checked the old CI and they never actually failed:
RunMultipleProjectWithDifferentTFMs_ShouldReturnExitCodeGenericFailure
RunProjectWithMultipleTFMs_ShouldReturnExitCodeGenericFailure
RunProjectWithMultipleTFMsWithArchOption_ShouldReturnExitCodeGenericFailure

Please if you have the logs where they failed, let me know in which PRs to look.
Thank you!

@joeloff
Copy link
Member

joeloff commented Feb 25, 2025

Tests like RunProjectWithMultipleTFMsWithArchOption_ShouldReturnExitCodeGenericFailure are failing because of the missing MSTest code coverage dependency. I just reran that locally and it passes once the missing feed is added. See #47095 and #47049

@mariam-abdulla
Copy link
Member

mariam-abdulla commented Feb 25, 2025

Tests like RunProjectWithMultipleTFMsWithArchOption_ShouldReturnExitCodeGenericFailure are failing because of the missing MSTest code coverage dependency. I just reran that locally and it passes once the missing feed is added. See #47095 and #47049

Okay, what about #46924?
I fixed RunMultipleTestProjectsWithDifferentFailures_ShouldReturnExitCodeGenericFailure (still no PR yet) but for the rest, I couldn't see the old builds if they were failing.

@joeloff
Copy link
Member

joeloff commented Feb 25, 2025

Some of these are related to the missing codecoverage package. I'm going to push changes to remove some of the skip attributes to verify that the missing dependency is resolved and then we should merge this I think

@joeloff
Copy link
Member

joeloff commented Feb 25, 2025

Closing this in favor of #47095

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

Successfully merging this pull request may close these issues.

9 participants