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

Test failure: baseservices/RuntimeConfiguration/TestConfigTester/TestConfigTester.dll #100217

Closed
v-wenyuxu opened this issue Mar 25, 2024 · 5 comments

Comments

@v-wenyuxu
Copy link

Failed in: runtime-coreclr gcstress-extra 20240323.1

Failed tests:

coreclr windows x64 Checked gcstress0xc_jitstress1 @ Windows.10.Amd64.Open
    - baseservices/RuntimeConfiguration/TestConfigTester/TestConfigTester.dll
coreclr windows x64 Checked gcstress0xc_disabler2r_heapverify1 @ Windows.10.Amd64.Open
    - baseservices/RuntimeConfiguration/TestConfigTester/TestConfigTester.dll
coreclr windows x64 Checked gcstress0xc_jitstress2 @ Windows.10.Amd64.Open
    - baseservices/RuntimeConfiguration/TestConfigTester/TestConfigTester.dll
coreclr windows x64 Checked gcstress0xc_tailcallstress @ Windows.10.Amd64.Open
    - baseservices/RuntimeConfiguration/TestConfigTester/TestConfigTester.dll
coreclr windows x64 Checked gcstress0xc_disabler2r_jitstress2 @ Windows.10.Amd64.Open
    - baseservices/RuntimeConfiguration/TestConfigTester/TestConfigTester.dll
coreclr windows x64 Checked gcstress0xc_jitminopts_heapverify1 @ Windows.10.Amd64.Open
    - baseservices/RuntimeConfiguration/TestConfigTester/TestConfigTester.dll
coreclr windows x64 Checked gcstress0xc_disabler2r @ Windows.10.Amd64.Open
    - baseservices/RuntimeConfiguration/TestConfigTester/TestConfigTester.dll

Error message:

 Failed: Verify_ServerGC_Env_Enable: exit code = -1073740286

Stack trace:

   at TestConfigTester.RunTests()
   at Program.<<Main>$>g__TestExecutor4|0_5(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&)

More failures:
runtime-coreclr r2r-extra 20240323.1

R2R-CG2 windows x64 Checked gcstress0xc @ Windows.10.Amd64.Open
    - baseservices/RuntimeConfiguration/TestConfigTester/TestConfigTester.dll

runtime-coreclr gcstress0x3-gcstress0xc 20240324.1

coreclr windows x64 Checked gcstress0x3 @ Windows.10.Amd64.Open
    - baseservices/RuntimeConfiguration/TestConfigTester/TestConfigTester.dll
coreclr windows x64 Checked gcstress0xc @ Windows.10.Amd64.Open
    - baseservices/RuntimeConfiguration/TestConfigTester/TestConfigTester.dll
@dotnet-issue-labeler dotnet-issue-labeler bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Mar 25, 2024
@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Mar 25, 2024
@jeffschwMSFT jeffschwMSFT added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Mar 25, 2024
@vcsjones vcsjones removed the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Mar 25, 2024
@AndyAyersMS
Copy link
Member

This looks like duplicate or consequence of #100035

Running: "C:\h\w\A699090B\w\A47B0947\e\baseservices\baseservices\TestConfig.dll" Verify_ServerGC_Env_Enable
    set DOTNET_gcServer=1

Assert failure(PID 2860 [0x00000b2c], Thread: 10180 [0x27c4]): promoted_bytes (heap_number) == promoted

CORECLR! SVR::gc_heap::mark_phase + 0x167C (0x00007ffb`ac5f4a0c)
CORECLR! SVR::gc_heap::gc1 + 0x240 (0x00007ffb`ac5e6790)
CORECLR! SVR::gc_heap::garbage_collect + 0x99B (0x00007ffb`ac5e64fb)
CORECLR! SVR::gc_heap::gc_thread_function + 0x504 (0x00007ffb`ac5e7ea4)
CORECLR! SVR::gc_heap::gc_thread_stub + 0x7E (0x00007ffb`ac5e834e)
CORECLR! <lambda_99b27fb778a8c8677119b7591398adfb>::<lambda_invoker_cdecl> + 0x74 (0x00007ffb`ac2af964)
KERNEL32! BaseThreadInitThunk + 0x14 (0x00007ffb`daa484d4)
NTDLL! RtlUserThreadStart + 0x21 (0x00007ffb`dd4d1791)
    File: D:\a\_work\1\s\src\coreclr\gc\gc.cpp:24234
    Image: C:\h\w\A699090B\p\corerun.exe

System.Exception: Failed: Verify_ServerGC_Env_Enable: exit code = -1073740286
   at TestConfigTester.RunTests()
   at Program.<<Main>$>g__TestExecutor4|0_5(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&)
22:47:35.650 Failed test: baseservices/RuntimeConfiguration/TestConfigTester/TestConfigTester.dll

@AndyAyersMS
Copy link
Member

Interestingly TestConfigTester.csproj has

    <!-- This test provides no interesting scenarios for GCStress -->
    <GCStressIncompatible>true</GCStressIncompatible>

so I am puzzled why we are running it under gc stress at all. That being said, it shouldn't fail.

@AndyAyersMS
Copy link
Member

@markples no luck with a local repro yet (runtime built with 14.40.33617/19.40.33617.1). I am going to download the native assets from the CI build and see what compiler version they're actually using.

@AndyAyersMS
Copy link
Member

AndyAyersMS commented Mar 26, 2024

The CI is using a slightly earlier version:

Frontend Version: Major = 19, Minor = 40, Build = 33521, QFE = 0

so issue may well be fixed in the version I'm using locally.

Per @erozenfeld the CI compiler is VS2022-17.10 Preview 1

@erozenfeld if you're at all curious there is some analysis over in #100035

@mangod9
Copy link
Member

mangod9 commented May 2, 2024

Closing since we have picked up a new compiler version with a fix.

@mangod9 mangod9 closed this as completed May 2, 2024
@dotnet-policy-service dotnet-policy-service bot removed the untriaged New issue has not been triaged by the area owner label May 2, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Jun 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants