Repository navigation
Closed
Labels
area-VM-coreclrblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'bugdisabled-testThe test is disabled in source code against the issue
Milestone
Description
Started this morning. See https://runfo.azurewebsites.net/search/tests/?q=started%3A%7E7+definition%3Aruntime+name%3ASystem.CodeDom.Tests.CodeAttributeArgumentCollectionTests
Runfo Tracking Issue: system.codedom.tests.codeattributeargumentcollectiontests
| Build | Definition | Kind | Run Name | Console | Core Dump | Test Results | Run Client |
|---|---|---|---|---|---|---|---|
| 1159218 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1159218 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1159218 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1159218 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1159065 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1159065 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1159065 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1159065 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1158923 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1158923 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1158923 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1158923 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1158808 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1158808 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1158808 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1158808 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1158600 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1158600 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1158600 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1158600 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1158368 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1158368 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1158368 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1158368 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1158131 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1158131 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1158131 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1158131 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1157757 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1157757 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1157757 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1157757 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1157471 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1157471 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1157471 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1157471 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1157140 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1157140 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1157140 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1157140 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1157013 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1157013 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1157013 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1157013 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1156910 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1156910 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1156910 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1156910 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1156852 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1156852 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1156852 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1156852 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1156761 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1156761 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1156761 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1156761 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1156559 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1156559 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1156559 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1156559 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1156287 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1156287 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1156287 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1156287 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1155922 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1155922 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1155922 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1155922 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1155610 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1155610 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1155610 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1155610 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1155291 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1155291 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1155291 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1155291 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1155076 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1155076 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1155076 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1155076 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1154833 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1154833 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1154833 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1154833 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1154745 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1154745 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1154745 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1154745 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1154637 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1154637 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1154637 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1154637 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1154469 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1154469 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1154469 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1154469 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1154298 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1154298 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1154298 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py | ||
| 1154298 | runtime | Rolling | net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open | console.log | runclient.py |
Displaying 100 of 248 results
Build Result Summary
| Day Hit Count | Week Hit Count | Month Hit Count |
|---|---|---|
| 7 | 59 | 62 |
Metadata
Metadata
Assignees
Labels
area-VM-coreclrblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'bugdisabled-testThe test is disabled in source code against the issue
Activity
danmoseley commentedon May 24, 2021
Always net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open. No change in CodeDom code itself since May 18th.
The method is simply
where TItem is types like CodeCatchClause.
@dotnet/jit-contrib are you aware of any ARM64 specific codegen issue htat might be causing random NRE? I know this was happening on Apple Silicon, this is Windows.
danmoseley commentedon May 24, 2021
@hoyosjs do we run on net6.0-windows-Debug-arm64-CoreCLR_release-Windows.10.Arm64.Open? If so then it smells like an optimization issue.
hoyosjs commentedon May 24, 2021
Interesting part is if you look at other tests within CodeDom you see that there's linux-arm64 issues too with the same nullref on https://runfo.azurewebsites.net/search/tests/?q=started%3A~7%20definition%3Aruntime%20name%3Asystem.codedom.tests&pagenumber=1, but it's never on Debug. As for the running on debug, no. We do run checked, but I see Linux checked failures:
runtime/eng/pipelines/runtime.yml
Lines 825 to 842 in f318f32
hoyosjs commentedon May 24, 2021
There's no ARM64 debug.
danmoseley commentedon May 24, 2021
OK, so we know we get failures like this in Arm64 only, on release lib+release CoreCLR on Windows and release lib+checked CoreCLR on Ubuntu (but not Alpine/musl).
But apparently not on release lib + checked CoreCLR on Alpine (musl) or Windows nor release+release on Linux, nor release|debug on checked CoreCLR on Apple silicon, since I see those also in the runtime.yml. Nor do we see these failures on any Mono configuration.
That's not much of a pattern, but it does make it even less likely it's a libraries code issue, but either codegen or R2R (what do we R2R?)
I see all variations have "0x6000423+0x0" which I guess means that it's at the very first IL instruction in the method? (Why are there no PDB's deployed here to give line numbers?)
hoyosjs commentedon May 24, 2021
We R2R the product, but I think that doesn't apply to the tests. There's 10 failures today, so let me download a workitem from today and inspect it.
danmoseley commentedon May 24, 2021
The first failure was 5/20/2021 5:24:28 PM - not sure whether this is UTC.
Nothing jumps out:
@AndyAyersMS can you imagine how
#52975might be relevant?edit, I mean #52998
hoyosjs commentedon May 24, 2021
Looking at this, the commits before failures are: https://github.com/dotnet/runtime/commits/d81ad044fa6830f5f31f6b6e8224ebf66a3c298c
AndyAyersMS commentedon May 24, 2021
@danmoseley Your query above ran vs 2020 and not 2021 ?
My change could be quite relevant, it involved devirtualization and enumerators.
AndyAyersMS commentedon May 24, 2021
(ah you must have fixed it...)
28 remaining items
hoyosjs commentedon May 27, 2021
Actually, after a bit more digging, this is also hitting Linux ARM64 runs equally hard, and those do affect PR runs. @agocke I didn't know you could move tests to staging. I thought you had to move the leg itself?
agocke commentedon May 27, 2021
Ugh, we need to fix that -- staging isn't very useful if we can't move over individual tests.
OK then we should skip the tests.
janvorli commentedon May 27, 2021
@hoyosjs do you have a link for the Linux failures? I've been running the failing tests in a loop tens of thousands of times in a loop and in 10 shells in parallel on arm64 windows machine since yesterday to repro it. It reproed just once so far, but since the null reference is handled by the xunit, there is no dump and so no way to see what's wrong. So I have modified runtime to fail fast on any null reference exception. It has been running with this modification for about 8 hours without any crash yet.
BruceForstall commentedon May 27, 2021
You can see some of the Linux arm64 failures here:
https://dev.azure.com/dnceng/public/_build/results?buildId=1159094&view=ms.vss-test-web.build-test-results-tab
hoyosjs commentedon May 27, 2021
export (3).xlsx
This file is all the failures with their queues and build links.
hoyosjs commentedon May 28, 2021
I got this to repro in a lab machine. The four tests that need disabling are:
AddRange_CodeStatementArray_Works
AddRange_CodeStatementCollection_Works
Ctor_CodeStatementCollection_Works
Ctor_Array_Works
janvorli commentedon May 31, 2021
It turns out my change has not caused the issue, it has just exposed a bug that was in the runtime ever at least since the first github commit. There is a bug in the void
StubLinkerCPU::EmitMovConstantmethod. This method generates a sequence of mov reg, #immediate to build a 64 bit constant out of upto four 16 bit chunks. The checks that determine when the constant is fully generated were wrong. In our case, the constant was a value with zero lowest 16 bits and the function generated justmov x0, #0.See the
if (!(constant & 0xFFFF)) return;and two other similar checks.runtime/src/coreclr/vm/arm64/stubs.cpp
Lines 1325 to 1352 in d3ed5a9
janvorli commentedon May 31, 2021
I'll send out a PR with a fix soon.