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

Revert "Enable test for MemoryBarrierProcessWide on arm64. Update comments." #35974

Merged
merged 2 commits into from
Jun 1, 2020

Conversation

VSadov
Copy link
Member

@VSadov VSadov commented May 7, 2020

Reverts #35817

Failures in CI

@@ -302,7 +302,7 @@ public void InterlockedOr_UInt64()
Assert.Equal(0x17755771u, value);
}

[Fact]
[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotArm64Process))] // [ActiveIssue("https://github.com/dotnet/runtime/issues/11177")]
Copy link
Member

Choose a reason for hiding this comment

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

Instead of disabling it, can we check the OS version inside the test and skip the test if we are running on OS that is known to have bugs in this?

Copy link
Member

Choose a reason for hiding this comment

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

Look for throw new SkipTestException to see the pattern to use.

Copy link
Member

Choose a reason for hiding this comment

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

Environment.OSVersion returns the Linux kernel version.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes we should consider that. My first reaction though is to just revert - to fix the CI nuisance.

Copy link
Member Author

@VSadov VSadov May 7, 2020

Choose a reason for hiding this comment

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

Also it looks like the reported failure was on net5.0-Windows_NT-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open

https://dev.azure.com/dnceng/public/_build/results?buildId=633940&view=ms.vss-test-web.build-test-results-tab&runId=19752174&resultId=142362&paneView=debug

@VSadov
Copy link
Member Author

VSadov commented May 7, 2020

I am thinking - maybe we should have this test enabled for a little bit longer. It is actually a rare failure. (It was confused with something else when reported as failing every job)

We have seen this only twice so far. Both times today and on Windows, which is a concern, since that has been reliable in the past.

Maybe keeping it on and getting more failures could help with figuring whether this is OS-specific or more likely to be some testcase issue?

@VSadov VSadov marked this pull request as draft May 7, 2020 20:40
@VSadov VSadov marked this pull request as ready for review June 1, 2020 02:41
@VSadov
Copy link
Member Author

VSadov commented Jun 1, 2020

There were more Windows failures. That is unexpected. It was Linux which used to have issues in the past.
We need to investigate, but perhaps should revert the change first.
The failure is not frequent, but frequent enough to be a nuisance in stress runs.

See: #11177 (comment)

@VSadov VSadov merged commit bdf6a5a into master Jun 1, 2020
@VSadov VSadov deleted the revert-35817-MBPWtest branch June 1, 2020 03:57
@ghost ghost locked as resolved and limited conversation to collaborators Dec 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants