dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
15.05k stars 4.69k forks source link

Test failure baseservices/threading/regressions/2164/foreground-shutdown/foreground-shutdown.cmd #84006

Open v-wenyuxu opened 1 year ago

v-wenyuxu commented 1 year ago

Run: runtime-coreclr gcstress-extra 20230326.1

Failed test:

coreclr windows arm64 Checked gcstress0xc_jitstress1 @ Windows.11.Arm64.Open
- baseservices/threading/regressions/2164/foreground-shutdown/foreground-shutdown.cmd

coreclr windows x64 Checked gcstress0xc_zapdisable @ Windows.10.Amd64.Open
- baseservices/threading/regressions/2164/foreground-shutdown/foreground-shutdown.cmd

coreclr windows x64 Checked gcstress0xc_jitstress1 @ Windows.10.Amd64.Open
- baseservices/threading/regressions/2164/foreground-shutdown/foreground-shutdown.cmd

coreclr windows x86 Checked gcstress0xc_tailcallstress @ Windows.10.Amd64.Open
- baseservices/threading/regressions/2164/foreground-shutdown/foreground-shutdown.cmd

coreclr windows arm64 Checked gcstress0xc_jitstress2 @ Windows.11.Arm64.Open
- baseservices/threading/regressions/2164/foreground-shutdown/foreground-shutdown.cmd

coreclr windows x86 Checked gcstress0xc_jitstress1 @ Windows.10.Amd64.Open
- baseservices/threading/regressions/2164/foreground-shutdown/foreground-shutdown.cmd

coreclr windows x86 Checked gcstress0xc_zapdisable @ Windows.10.Amd64.Open
- baseservices/threading/regressions/2164/foreground-shutdown/foreground-shutdown.cmd

coreclr windows x86 Checked gcstress0xc_jitminopts_heapverify1 @ Windows.10.Amd64.Open
- baseservices/threading/regressions/2164/foreground-shutdown/foreground-shutdown.cmd

Error message:

cmdLine:C:hwA05C0952wACDA0907easeservices  hreading    hreading_group1../regressions/2164/foreground-shutdown/foreground-shutdown.cmd Timed Out (timeout in milliseconds: 5400000 from variable __TestTimeout, start: 3/26/2023 11:30:07 PM, end: 3/27/2023 1:00:07 AM)

Return code:      -100
Raw output file:      C:hwA05C0952wACDA0907uploads
egressions2164oreground-shutdownoutput.txt
Raw output:
BEGIN EXECUTION
"C:hwA05C0952pcorerun.exe" -p "System.Reflection.Metadata.MetadataUpdater.IsSupported=false"  foreground-shutdown.dll

cmdLine:C:hwA05C0952wACDA0907easeservices  hreading    hreading_group1../regressions/2164/foreground-shutdown/foreground-shutdown.cmd Timed Out (timeout in milliseconds: 5400000 from variable __TestTimeout, start: 3/26/2023 11:30:07 PM, end: 3/27/2023 1:00:07 AM)
Test Harness Exitcode is : -100
To run the test:
Set up CORE_ROOT and run.

C:hwA05C0952wACDA0907easeservices  hreading    hreading_group1../regressions/2164/foreground-shutdown/foreground-shutdown.cmd
Expected: True
Actual:   False

Stack trace
   at Xunit.Assert.True(Nullable`1 condition, String userMessage) in /_/src/xunit.assert/Asserts/BooleanAsserts.cs:line 132
   at TestLibrary.OutOfProcessTest.RunOutOfProcessTest(String basePath, String assemblyPath)
   at Program.<<Main>$>g__TestExecutor2|0_1(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&)
ghost commented 1 year ago

Tagging subscribers to this area: @mangod9 See info in area-owners.md if you want to be subscribed.

Issue Details
Run: [runtime-coreclr gcstress-extra 20230326.1](https://dev.azure.com/dnceng-public/public/_build/results?buildId=217853&view=ms.vss-test-web.build-test-results-tab&runId=4073620&resultId=347720&paneView=debug) Failed test: ``` coreclr windows arm64 Checked gcstress0xc_jitstress1 @ Windows.11.Arm64.Open - baseservices/threading/regressions/2164/foreground-shutdown/foreground-shutdown.cmd coreclr windows x64 Checked gcstress0xc_zapdisable @ Windows.10.Amd64.Open - baseservices/threading/regressions/2164/foreground-shutdown/foreground-shutdown.cmd coreclr windows x64 Checked gcstress0xc_jitstress1 @ Windows.10.Amd64.Open - baseservices/threading/regressions/2164/foreground-shutdown/foreground-shutdown.cmd coreclr windows x86 Checked gcstress0xc_tailcallstress @ Windows.10.Amd64.Open - baseservices/threading/regressions/2164/foreground-shutdown/foreground-shutdown.cmd coreclr windows arm64 Checked gcstress0xc_jitstress2 @ Windows.11.Arm64.Open - baseservices/threading/regressions/2164/foreground-shutdown/foreground-shutdown.cmd coreclr windows x86 Checked gcstress0xc_jitstress1 @ Windows.10.Amd64.Open - baseservices/threading/regressions/2164/foreground-shutdown/foreground-shutdown.cmd coreclr windows x86 Checked gcstress0xc_zapdisable @ Windows.10.Amd64.Open - baseservices/threading/regressions/2164/foreground-shutdown/foreground-shutdown.cmd coreclr windows x86 Checked gcstress0xc_jitminopts_heapverify1 @ Windows.10.Amd64.Open - baseservices/threading/regressions/2164/foreground-shutdown/foreground-shutdown.cmd ``` **Error message:** ``` cmdLine:C:hwA05C0952wACDA0907easeservices hreading hreading_group1../regressions/2164/foreground-shutdown/foreground-shutdown.cmd Timed Out (timeout in milliseconds: 5400000 from variable __TestTimeout, start: 3/26/2023 11:30:07 PM, end: 3/27/2023 1:00:07 AM) Return code: -100 Raw output file: C:hwA05C0952wACDA0907uploads egressions2164 oreground-shutdownoutput.txt Raw output: BEGIN EXECUTION "C:hwA05C0952pcorerun.exe" -p "System.Reflection.Metadata.MetadataUpdater.IsSupported=false" foreground-shutdown.dll cmdLine:C:hwA05C0952wACDA0907easeservices hreading hreading_group1../regressions/2164/foreground-shutdown/foreground-shutdown.cmd Timed Out (timeout in milliseconds: 5400000 from variable __TestTimeout, start: 3/26/2023 11:30:07 PM, end: 3/27/2023 1:00:07 AM) Test Harness Exitcode is : -100 To run the test: Set up CORE_ROOT and run. C:hwA05C0952wACDA0907easeservices hreading hreading_group1../regressions/2164/foreground-shutdown/foreground-shutdown.cmd Expected: True Actual: False Stack trace at Xunit.Assert.True(Nullable`1 condition, String userMessage) in /_/src/xunit.assert/Asserts/BooleanAsserts.cs:line 132 at TestLibrary.OutOfProcessTest.RunOutOfProcessTest(String basePath, String assemblyPath) at Program.<
$>g__TestExecutor2|0_1(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&) ```
Author: v-wenyuxu
Assignees: -
Labels: `arch-arm64`, `arch-x86`, `area-System.Threading`, `os-windows`, `GCStress`, `JitStress`, `untriaged`, `needs-area-label`
Milestone: -
v-wenyuxu commented 1 year ago

Failed again in: runtime-coreclr gcstress-extra 20230402.1

Failed test:

coreclr windows arm64 Checked gcstress0xc_jitminopts_heapverify1 @ Windows.11.Arm64.Open

- baseservices/threading/regressions/2164/foreground-shutdown/foreground-shutdown.cmd

coreclr windows arm64 Checked gcstress0xc_tailcallstress @ Windows.11.Arm64.Open

- baseservices/threading/regressions/2164/foreground-shutdown/foreground-shutdown.cmd

coreclr windows x64 Checked gcstress0xc_jitminopts_heapverify1 @ Windows.10.Amd64.Open

- baseservices/threading/regressions/2164/foreground-shutdown/foreground-shutdown.cmd

coreclr windows x64 Checked gcstress0xc_zapdisable_jitstress2 @ Windows.10.Amd64.Open

- baseservices/threading/regressions/2164/foreground-shutdown/foreground-shutdown.cmd

coreclr windows x86 Checked gcstress0xc_jitminopts_heapverify1 @ Windows.10.Amd64.Open

- baseservices/threading/regressions/2164/foreground-shutdown/foreground-shutdown.cmd

coreclr windows arm64 Checked gcstress0xc_zapdisable @ Windows.11.Arm64.Open

- baseservices/threading/regressions/2164/foreground-shutdown/foreground-shutdown.cmd

coreclr windows x86 Checked gcstress0xc_zapdisable_jitstress2 @ Windows.10.Amd64.Open

- baseservices/threading/regressions/2164/foreground-shutdown/foreground-shutdown.cmd

coreclr windows arm64 Checked gcstress0xc_zapdisable_heapverify1 @ Windows.11.Arm64.Open

- baseservices/threading/regressions/2164/foreground-shutdown/foreground-shutdown.cmd

Error message:

cmdLine:C:hwB5E70A07wBF490A41easeservices  hreading    hreading_group1../regressions/2164/foreground-shutdown/foreground-shutdown.cmd Timed Out (timeout in milliseconds: 5400000 from variable __TestTimeout, start: 4/2/2023 11:19:16 PM, end: 4/3/2023 12:49:18 AM)

Return code:      -100
Raw output file:      C:hwB5E70A07wBF490A41uploads
egressions2164oreground-shutdownoutput.txt
Raw output:
BEGIN EXECUTION
"C:hwB5E70A07pcorerun.exe" -p "System.Reflection.Metadata.MetadataUpdater.IsSupported=false"  foreground-shutdown.dll

cmdLine:C:hwB5E70A07wBF490A41easeservices  hreading    hreading_group1../regressions/2164/foreground-shutdown/foreground-shutdown.cmd Timed Out (timeout in milliseconds: 5400000 from variable __TestTimeout, start: 4/2/2023 11:19:16 PM, end: 4/3/2023 12:49:18 AM)
Test Harness Exitcode is : -100
To run the test:
Set up CORE_ROOT and run.

C:hwB5E70A07wBF490A41easeservices  hreading    hreading_group1../regressions/2164/foreground-shutdown/foreground-shutdown.cmd
Expected: True
Actual:   False

Stack trace
   at Xunit.Assert.True(Nullable`1 condition, String userMessage) in /_/src/xunit.assert/Asserts/BooleanAsserts.cs:line 132
   at Xunit.Assert.True(Boolean condition, String userMessage) in /_/src/xunit.assert/Asserts/BooleanAsserts.cs:line 116
   at TestLibrary.OutOfProcessTest.RunOutOfProcessTest(String basePath, String assemblyPath)
   at Program.<<Main>$>g__TestExecutor2|0_1(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&)
JulieLeeMSFT commented 1 year ago

Hi @mangod9, could you take a look? Failed in runtime-jit-experimental https://dev.azure.com/dnceng-public/public/_build/results?buildId=225731&view=ms.vss-test-web.build-test-results-tab&runId=4242342&resultId=114995&paneView=debug

mangod9 commented 1 year ago

@kouvel could you please take a look?

v-wenyuxu commented 1 year ago

Failed again in: runtime-coreclr gcstress-extra 20230409.1

Failed test:

coreclr windows arm64 Checked gcstress0xc_zapdisable_jitstress2 @ Windows.11.Arm64.Open

- baseservices/threading/regressions/2164/foreground-shutdown/foreground-shutdown.cmd

coreclr windows arm64 Checked gcstress0xc_zapdisable_jitstress2 @ Windows.11.Arm64.Open

- baseservices/threading/regressions/2164/foreground-shutdown/foreground-shutdown.cmd

Error message:

cmdLine:C:hwAA20096AwB6D209CEeaseservices  hreading    hreading_group1../regressions/2164/foreground-shutdown/foreground-shutdown.cmd Timed Out (timeout in milliseconds: 5400000 from variable __TestTimeout, start: 4/9/2023 10:42:38 PM, end: 4/10/2023 12:12:41 AM)

Return code:      -100
Raw output file:      C:hwAA20096AwB6D209CEuploads
egressions2164oreground-shutdownoutput.txt
Raw output:
BEGIN EXECUTION
"C:hwAA20096Apcorerun.exe" -p "System.Reflection.Metadata.MetadataUpdater.IsSupported=false" -p "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization=true"  foreground-shutdown.dll

cmdLine:C:hwAA20096AwB6D209CEeaseservices  hreading    hreading_group1../regressions/2164/foreground-shutdown/foreground-shutdown.cmd Timed Out (timeout in milliseconds: 5400000 from variable __TestTimeout, start: 4/9/2023 10:42:38 PM, end: 4/10/2023 12:12:41 AM)
Test Harness Exitcode is : -100
To run the test:
Set up CORE_ROOT and run.
> C:hwAA20096AwB6D209CEeaseservices    hreading    hreading_group1../regressions/2164/foreground-shutdown/foreground-shutdown.cmd
Expected: True
Actual:   False

Stack trace
   at TestLibrary.OutOfProcessTest.RunOutOfProcessTest(String basePath, String assemblyPath)
   at Program.&lt;&lt;Main&gt;$&gt;g__TestExecutor2|0_1(StreamWriter tempLogSw, StreamWriter statsCsvSw, &lt;&gt;c__DisplayClass0_0&amp;)
kunalspathak commented 1 year ago

Ping @kouvel

v-wenyuxu commented 1 year ago

Failed again in: runtime-coreclr gcstress-extra 20230416.1

Failed test:

coreclr windows x64 Checked gcstress0xc_zapdisable @ Windows.10.Amd64.Open

- baseservices/threading/regressions/2164/foreground-shutdown/foreground-shutdown.cmd

coreclr windows x86 Checked gcstress0xc_jitminopts_heapverify1 @ Windows.10.Amd64.Open

- baseservices/threading/regressions/2164/foreground-shutdown/foreground-shutdown.cmd

coreclr windows arm64 Checked gcstress0xc_jitstress1 @ Windows.11.Arm64.Open

- baseservices/threading/regressions/2164/foreground-shutdown/foreground-shutdown.cmd

coreclr windows arm64 Checked gcstress0xc_zapdisable @ Windows.11.Arm64.Open

- baseservices/threading/regressions/2164/foreground-shutdown/foreground-shutdown.cmd

Error message:

cmdLine:C:hwA9D209A7wAA480925easeservices  hreading    hreading_group1../regressions/2164/foreground-shutdown/foreground-shutdown.cmd Timed Out (timeout in milliseconds: 5400000 from variable __TestTimeout, start: 4/16/2023 11:09:55 PM, end: 4/17/2023 12:39:57 AM)

Return code:      -100
Raw output file:      C:hwA9D209A7wAA480925uploads
egressions2164oreground-shutdownoutput.txt
Raw output:
BEGIN EXECUTION
"C:hwA9D209A7pcorerun.exe" -p "System.Reflection.Metadata.MetadataUpdater.IsSupported=false" -p "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization=true"  foreground-shutdown.dll

cmdLine:C:hwA9D209A7wAA480925easeservices  hreading    hreading_group1../regressions/2164/foreground-shutdown/foreground-shutdown.cmd Timed Out (timeout in milliseconds: 5400000 from variable __TestTimeout, start: 4/16/2023 11:09:55 PM, end: 4/17/2023 12:39:57 AM)
Test Harness Exitcode is : -100
To run the test:
Set up CORE_ROOT and run.
> C:hwA9D209A7wAA480925easeservices    hreading    hreading_group1../regressions/2164/foreground-shutdown/foreground-shutdown.cmd
Expected: True
Actual:   False

Stack trace
   at Xunit.Assert.True(Nullable`1 condition, String userMessage) in /_/src/xunit.assert/Asserts/BooleanAsserts.cs:line 132
   at TestLibrary.OutOfProcessTest.RunOutOfProcessTest(String basePath, String assemblyPath)
   at Program.&lt;&lt;Main&gt;$&gt;g__TestExecutor2|0_1(StreamWriter tempLogSw, StreamWriter statsCsvSw, &lt;&gt;c__DisplayClass0_0&amp;)
v-wenyuxu commented 1 year ago

Failed again in: runtime-coreclr gcstress0x3-gcstress0xc 20230507.1

Failed tests:

coreclr windows x64 Checked gcstress0xc @ Windows.10.Amd64.Open
    - baseservices/threading/regressions/2164/foreground-shutdown/foreground-shutdown.cmd

Error message:


cmdLine:C:hwA8900954wAADF097Aeaseservices  hreading    hreading_group1../regressions/2164/foreground-shutdown/foreground-shutdown.cmd Timed Out (timeout in milliseconds: 3600000 from variable __TestTimeout, start: 5/7/2023 3:30:19 PM, end: 5/7/2023 4:30:20 PM)

Return code:      -100
Raw output file:      C:hwA8900954wAADF097Auploads
egressions2164oreground-shutdownoutput.txt
Raw output:
BEGIN EXECUTION
 &quot;C:hwA8900954pcorerun.exe&quot; -p &quot;System.Reflection.Metadata.MetadataUpdater.IsSupported=false&quot; -p &quot;System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization=true&quot;  foreground-shutdown.dll 

cmdLine:C:hwA8900954wAADF097Aeaseservices  hreading    hreading_group1../regressions/2164/foreground-shutdown/foreground-shutdown.cmd Timed Out (timeout in milliseconds: 3600000 from variable __TestTimeout, start: 5/7/2023 3:30:19 PM, end: 5/7/2023 4:30:20 PM)
Test Harness Exitcode is : -100
To run the test:
Set up CORE_ROOT and run.
&gt; C:hwA8900954wAADF097Aeaseservices hreading    hreading_group1../regressions/2164/foreground-shutdown/foreground-shutdown.cmd
Expected: True
Actual:   False

Stack trace:

    at Xunit.Assert.True(Nullable`1 condition, String userMessage) in /_/src/xunit.assert/Asserts/BooleanAsserts.cs:line 132
   at TestLibrary.OutOfProcessTest.RunOutOfProcessTest(String basePath, String assemblyPath)
   at Program.&lt;&lt;Main&gt;$&gt;g__TestExecutor2|0_1(StreamWriter tempLogSw, StreamWriter statsCsvSw, &lt;&gt;c__DisplayClass0_0&amp;)
mangod9 commented 1 year ago

Moving to 9 since this is disabled.

mangod9 commented 2 months ago

From what I can see this is no longer disabled.

kouvel commented 1 month ago

It looks like it's still disabled here: https://github.com/dotnet/runtime/blob/3eba70227be23baee21c13a7ab9316d58d469b82/src/tests/issues.targets#L30-L32