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

Exclude GC tests from GCStress runs #21207

Closed
shimingsg opened this issue Apr 19, 2017 · 6 comments
Closed

Exclude GC tests from GCStress runs #21207

shimingsg opened this issue Apr 19, 2017 · 6 comments
Labels
area-System.Runtime os-windows test-bug Problem in test source code (most likely)

Comments

@shimingsg
Copy link
Contributor

this test failed when set TestGCStressLevel=2, error message in testresult.xml as following

  1. test name="System.Tests.GCTests.LatencyRoundtrips_LowLatency(value: SustainedLowLatency)" type="System.Tests.GCTests" method="LatencyRoundtrips_LowLatency" time="0.2391149" result="Fail"
  2. failure exception-type="Xunit.Sdk.EqualException"
  3. Stacktrace:
    at System.Tests.GCTests.LatencyRoundtrips(GCLatencyMode value) in F:\repos\corefx\src\System.Runtime\tests\System\GCTests.cs:line 406
    at System.Tests.GCTests.LatencyRoundtrips_LowLatency(GCLatencyMode value) in F:\repos\corefx\src\System.Runtime\tests\System\GCTests.cs:line 419
  4. testResults file attached:
    testResults.txt
@danmoseley
Copy link
Member

      <test name="System.Tests.GCTests.LatencyRoundtrips_LowLatency(value: SustainedLowLatency)" type="System.Tests.GCTests" method="LatencyRoundtrips_LowLatency" time="0.2391149" result="Fail">
        <traits>
          <trait name="category" value="nonlinuxtests" />
          <trait name="category" value="nonosxtests" />
          <trait name="category" value="nonfreebsdtests" />
          <trait name="category" value="nonnetbsdtests" />
        </traits>
        <failure exception-type="Xunit.Sdk.EqualException">
          <message><![CDATA[Assert.Equal() Failure\r\nExpected: SustainedLowLatency\r\nActual:   Batch]]></message>
          <stack-trace><![CDATA[   at System.Tests.GCTests.LatencyRoundtrips(GCLatencyMode value) in F:\repos\corefx\src\System.Runtime\tests\System\GCTests.cs:line 406
   at System.Tests.GCTests.LatencyRoundtrips_LowLatency(GCLatencyMode value) in F:\repos\corefx\src\System.Runtime\tests\System\GCTests.cs:line 419]]></stack-trace>
        </failure>
      </test>

@danmoseley
Copy link
Member

@swgillespie I'm guessing this test is expected to fail when gcstress is 2? If so is there some check we can do in the test so it doesn't? Worst case, check whether COMPLUS_GCStress is set, I guess.

@swgillespie
Copy link
Contributor

@danmosemsft Yeah, i'd imagine that this test would fail if GCStress is inducing GCs. We don't have anything like this for CoreFX, do we?

@danmoseley
Copy link
Member

We don't. Also that would assume they're in their own assembly. OK, I'll just ignore the error for now.

@danmoseley danmoseley changed the title System.Tests.GCTests.LatencyRoundtrips_LowLatency(value: SustainedLowLatency) failed Exclude GC tests from GCStress runs Apr 19, 2017
@msftgits msftgits transferred this issue from dotnet/corefx Jan 31, 2020
@msftgits msftgits added this to the Future milestone Jan 31, 2020
@maryamariyan maryamariyan added the untriaged New issue has not been triaged by the area owner label Feb 23, 2020
@joperezr joperezr removed the untriaged New issue has not been triaged by the area owner label Jul 1, 2020
Copy link
Contributor

Due to lack of recent activity, this issue has been marked as a candidate for backlog cleanup. It will be closed if no further activity occurs within 14 more days. Any new comment (by anyone, not necessarily the author) will undo this process.

This process is part of our issue cleanup automation.

@dotnet-policy-service dotnet-policy-service bot added backlog-cleanup-candidate An inactive issue that has been marked for automated closure. no-recent-activity labels Jan 1, 2025
Copy link
Contributor

This issue will now be closed since it had been marked no-recent-activity but received no further activity in the past 14 days. It is still possible to reopen or comment on the issue, but please note that the issue will be locked if it remains inactive for another 30 days.

@dotnet-policy-service dotnet-policy-service bot removed this from the Future milestone Jan 15, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Feb 14, 2025
@dotnet-policy-service dotnet-policy-service bot removed no-recent-activity backlog-cleanup-candidate An inactive issue that has been marked for automated closure. labels Feb 14, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Runtime os-windows test-bug Problem in test source code (most likely)
Projects
None yet
Development

No branches or pull requests

6 participants