Skip to content

Modify the test case Runtime_40444.cs (release/5.0) - #45431

Merged
briansull merged 1 commit into
dotnet:release/5.0from
briansull:fix-44831-5.0
Dec 3, 2020
Merged

briansull merged 1 commit into
dotnet:release/5.0from
briansull:fix-44831-5.0

Conversation

@briansull

Copy link
Copy Markdown
Contributor
  • Modify the test case Runtime_40444.cs
  1. Increase the maximum loop count for failure to 1000 million
  2. Added additional computation inside of loop
  3. Add addition message when the loop executes to the limit and the test case fails

Updated test case and insured that it fails on JITS without the fix
Test now checks it the other thread set t2_finished

  • Re-enable the Runtime_40444 test

  • Fix typos

* Modify the test case Runtime_40444.cs
1) Increase the maximum loop count for failure to 1000 million
2) Added additional computation inside of loop
3) Add addition message when the loop executes to the limit and the test case fails

Updated test case and insured that it fails on JITS without the fix
Test now checks it the other thread set t2_finished

* Re-enable the Runtime_40444 test

* Fix typos
@Dotnet-GitSync-Bot Dotnet-GitSync-Bot added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Dec 1, 2020
@@ -1,66 +1,154 @@

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nit: Extra new line

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I would like to just leave this matching the existing test in master.

@AndyAyersMS

Copy link
Copy Markdown
Member

Port of #40951 to 5.0.

@danmosemsft since this just is a test fix, any extra scrutiny needed before a merge?

@briansull briansull linked an issue Dec 2, 2020 that may be closed by this pull request
@briansull

Copy link
Copy Markdown
Contributor Author

@briansull

Copy link
Copy Markdown
Contributor Author

@jkotas @AndyAyersMS @danmosemsft @jeffschwMSFT
The JitStress testing in release/5.0 is green with this fix.

So now I need the approval to check this into release/5.0

<ExcludeList Include="$(XunitTestBinBase)/GC/Scenarios/muldimjagary/muldimjagary/*">
<Issue>https://github.com/dotnet/runtime/issues/5933</Issue>
</ExcludeList>
<ExcludeList Include="$(XunitTestBinBase)/JIT/Regression/JitBlue/Runtime_40444/*">

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Why do we need to fix and re-enable this specific test in servicing?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Ok, I see that people are seeing the test failing in release/5.0: #44831 (comment)

The test should not be running in release/5.0 in the first place because it is disabled. Why is the test running in release/5.0?

I think we should rather fix the infrastructure problem that is causing this test to run.

@briansull briansull Dec 3, 2020 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

That line is incorrect and didn't actually disable the test.

This is what the line would need to be changed to actually disable the test:

<ExcludeList Include="$(XunitTestBinBase)/JIT/Regression/JitBlue/Runtime_40444/Runtime_40444/*">

@jeffschwMSFT jeffschwMSFT left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Approved. Please work through cr feedback and then we can take this as part of tell mode.

@briansull

briansull commented Dec 3, 2020 •

Copy link
Copy Markdown
Contributor Author

@jkotas Because Jit Stress testing was turned in release/5.0 on sometime after the fork.

Originally when I learned of this issue shortly after the fork, I verified that we were not running Jit stress testing jobs in the release/5.0 branch. But since then these jobs have since been turned on and this occasionally test fails.

So an issue was opened to fix it and I ported this change over from master.

@briansull
briansull merged commit 2ee13ec into dotnet:release/5.0 Dec 3, 2020
@briansull briansull changed the title Modify the test case Runtime_40444.cs (#40951) Modify the test case Runtime_40444.cs (release\5.0) Dec 9, 2020
@briansull briansull changed the title Modify the test case Runtime_40444.cs (release\5.0) Modify the test case Runtime_40444.cs (release/5.0) Dec 9, 2020
@briansull
briansull deleted the fix-44831-5.0 branch December 9, 2020 23:58
@ghost ghost locked as resolved and limited conversation to collaborators Jan 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI failure in JIT.Regression Runtime_40444.cmd

5 participants