Repository navigation
Closed
Labels
Known Build ErrorUse this to report build issues in the .NET Helix tabarch-arm32area-VM-coreclrblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'in-prThere is an active PR which will close this issue when it is merged
Milestone
Description
net8.0-linux-Release-arm-CoreCLR_checked-jitstress2_jitstressregs1-(Ubuntu.1804.Arm32.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm32v7
System.Memory.Tests Work Item
export DOTNET_TieredCompilation=0
export DOTNET_DbgEnableMiniDump=1
export DOTNET_EnableCrashReport=1
export DOTNET_DbgMiniDumpName=$HELIX_DUMP_FOLDER/coredump.%d.dmp
export DOTNET_JitStress=2
export DOTNET_JitStressRegs=1
+ ./RunTests.sh --runtime-path /root/helix/work/correlation
----- start Sat May 13 09:40:19 UTC 2023 =============== To repro directly: =====================================================
pushd .
/root/helix/work/correlation/dotnet exec --runtimeconfig System.Memory.Tests.runtimeconfig.json --depsfile System.Memory.Tests.deps.json xunit.console.dll System.Memory.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing
popd
===========================================================================================================
/root/helix/work/workitem/e /root/helix/work/workitem/e
Discovering: System.Memory.Tests (method display = ClassAndMethod, method display options = None)
Discovered: System.Memory.Tests (found 2682 of 2709 test cases)
Starting: System.Memory.Tests (parallel test collections = on, max threads = 2)
Assert failure(PID 28 [0x0000001c], Thread: 42 [0x002a]): (GetComponentSize() <= 2) || IsArray()
File: /__w/1/s/src/coreclr/vm/methodtable.cpp Line: 7265
Image: /root/helix/work/correlation/dotnet
[createdump] Gathering state for process 28 dotnet
[createdump] Crashing thread 002a signal 6 (0006)
[createdump] Writing crash report to file /home/helixbot/dotnetbuild/dumps/coredump.28.dmp.crashreport.json
[createdump] Crash report successfully written
[createdump] Writing minidump with heap to file /home/helixbot/dotnetbuild/dumps/coredump.28.dmp
[createdump] Written 201752576 bytes (49256 pages) to core file
[createdump] Target process is alive
[createdump] Dump successfully written in 389ms
waitpid() returned successfully (wstatus 00000000) WEXITSTATUS 0 WTERMSIG 0
./RunTests.sh: line 168: 28 Aborted (core dumped) "$RUNTIME_PATH/dotnet" exec --runtimeconfig System.Memory.Tests.runtimeconfig.json --depsfile System.Memory.Tests.deps.json xunit.console.dll System.Memory.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing $RSP_FILE
/root/helix/work/workitem/e
----- end Sat May 13 09:40:40 UTC 2023 ----- exit code 134 ----------------------------------------------------------
Known Issue Error Message
Fill the error message using step by step known issues guidance.
{
"ErrorMessage": "CancelItselfOutsideOfTryCatchFinally",
"ErrorPattern": "",
"BuildRetry": false,
"ExcludeConsoleLog": false
}Known issue validation
Build: 🔎
Result validation:
Validation performed at: 3/22/2024 4:10:23 PM UTC
Report
| Build | Definition | Test | Pull Request |
|---|---|---|---|
| 660346 | dotnet/runtime | WasmTestOnChrome-MT-System.Runtime.Tests.WorkItemExecution | #101162 |
| 659851 | dotnet/runtime | WasmTestOnChrome-MT-System.Runtime.Tests.WorkItemExecution |
Summary
| 24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
|---|---|---|
| 2 | 2 | 2 |
Metadata
Metadata
Assignees
Labels
Known Build ErrorUse this to report build issues in the .NET Helix tabarch-arm32area-VM-coreclrblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'in-prThere is an active PR which will close this issue when it is merged
Activity
jkotas commentedon Feb 26, 2024
Assert hit in #98744 - Libraries Test Run checked coreclr linux_musl arm Release, System.Runtime.Tests
https://helixre8s23ayyeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-98744-merge-c7e869af78dc49fb82/System.Runtime.Tests/1/console.c4c36baf.log
kunalspathak commentedon Feb 27, 2024
Any update on this one? Another hit in https://dev.azure.com/dnceng-public/public/_build/results?buildId=578408&view=ms.vss-test-web.build-test-results-tab&runId=13879038&resultId=197184&paneView=dotnet-dnceng.dnceng-build-release-tasks.helix-test-information-tab
(net9.0-linux-Release-arm-CoreCLR_checked-jitstress_random_1)
BruceForstall commentedon Mar 7, 2024
@mangod9 Milestone Future is not appropriate for this continuing failure. I marked it as 9.0.
mangod9 commentedon Mar 7, 2024
Ok, will take a look. Looks like it has recently started occurring in regular CI and not just JITStress
mangod9 commentedon Mar 11, 2024
from what I see, the dumps collected dont seem to be too useful. @tommcdon fyi.
28 remaining items
VSadov commentedon Mar 27, 2024
Also - it does not look like ARM32-specific.
Maybe there are just "not too many, not too few" nonvolatile registers which affects register allocation in a way that makes the situation more likely on ARM32.
VSadov commentedon Mar 30, 2024
The root cause for this issue should be fixed now.
Note: we may still see
Assertion failed: (GetComponentSize() <= 2) || IsArray()- since that is just a general indication of a corrupted heap object. Other GC hole bugs may end up causing this assert as well.If scenario does not involve
CancelItselfOutsideOfTryCatchFinallytest, it is a different issue.JulieLeeMSFT commentedon Apr 29, 2024
@VSadov, this assert happened in runtime-coreclr superpmi-collect pipeline in System.Security.Cryptography.Tests Work Item. Could you please take a look?
VSadov commentedon Apr 29, 2024
Assertion failed: (GetComponentSize() <= 2) || IsArray()is just an indication of a GC hole or a heap corruption. There are many ways a hole can be introduced.If this does not involve
CancelItselfOutsideOfTryCatchFinallytest, this is a different failure and needs a different fix and thus a different issue needs to be opened.VSadov commentedon Apr 29, 2024
There are many jobs in https://dev.azure.com/dnceng/internal/_build?definitionId=977&_a=summary queue. Most jobs are failing, which is not surprising since the pipeline is triggered on PRs and PRs often have failures.
I've checked a few jobs, but can't see one that failed with
Assertion failed: (GetComponentSize() <= 2) || IsArray().@JulieLeeMSFT - do you have a link to the actual job which failed this way?
VSadov commentedon Apr 30, 2024
There is also a bunch of asserts like the following:
I think these are more indicative of what went wrong. I will open a separate bug for that.
VSadov commentedon Apr 30, 2024
Actually there is already bug for that:
#101708
JulieLeeMSFT commentedon Apr 30, 2024
Thanks. We will check what went wrong.
AlitzelMendez commentedon Apr 30, 2024
Hi @JulieLeeMSFT ,
I deleted one of your comments with a link to a console log as it included a SAS token, please be careful when sharing this information as secrets should not be exposed to the public.