dotnet / runtime

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

Test failure baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests/UnsafeAccessorsTests.sh #87760

Closed v-wenyuxu closed 1 year ago

v-wenyuxu commented 1 year ago

Run: runtime-coreclr r2r-extra 20230617.1

Failed test:

R2R-CG2 linux arm64 Checked forcerelocs @ (Ubuntu.1804.Arm64.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm64v8

- baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests/UnsafeAccessorsTests.sh

R2R-CG2 windows arm64 Checked forcerelocs @ Windows.11.Arm64.Open

- baseservices\\compilerservices\\UnsafeAccessors\\UnsafeAccessorsTests\\UnsafeAccessorsTests.cmd

R2R-CG2 windows x64 Checked forcerelocs @ Windows.10.Amd64.Open

- baseservices\\compilerservices\\UnsafeAccessors\\UnsafeAccessorsTests\\UnsafeAccessorsTests.cmd

R2R-CG2 osx arm64 Checked forcerelocs @ OSX.1200.ARM64.Open

- baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests/UnsafeAccessorsTests.sh

Error message:

/root/helix/work/workitem/e/baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests/UnsafeAccessorsTests.sh: line 305: -r:/root/helix/work/workitem/e/baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests/IL-CG2/*.dll: No such file or directory
waitpid() returned successfully (wstatus 00000000) WEXITSTATUS 0 WTERMSIG 0
/root/helix/work/workitem/e/baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests/UnsafeAccessorsTests.sh: line 439: 32486 Segmentation fault      (core dumped) $LAUNCHER $ExePath "${CLRTestExecutionArguments[@]}"

Return code:      1
Raw output file:      /root/helix/work/workitem/uploads/Reports/baseservices.compilerservices/UnsafeAccessors/UnsafeAccessorsTests/UnsafeAccessorsTests.output.txt
Raw output:
BEGIN EXECUTION
in takeLock
/root/helix/work/workitem/e/baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests/IL-CG2/TestLibrary.dll
05:28:47
Response file: /root/helix/work/workitem/e/baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests/TestLibrary.dll.rsp
/root/helix/work/workitem/e/baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests/IL-CG2/TestLibrary.dll
-o:/root/helix/work/workitem/e/baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests/TestLibrary.dll
-r:/root/helix/work/correlation/System..dll
-r:/root/helix/work/correlation/Microsoft..dll
-r:/root/helix/work/correlation/xunit..dll
-r:/root/helix/work/correlation/mscorlib.dll
--verify-type-and-field-layout
--method-layout:random
--targetarch:arm64
--targetos:linux
-O
Running CrossGen2:  dotnet /root/helix/work/correlation/crossgen2/crossgen2.dll @/root/helix/work/workitem/e/baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests/TestLibrary.dll.rsp

Emitting R2R PE file: /root/helix/work/workitem/e/baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests/TestLibrary.dll
Running R2RDump:  dotnet /root/helix/work/correlation/R2RDump/R2RDump.dll --header --sc --in /root/helix/work/workitem/e/baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests/TestLibrary.dll --out /root/helix/work/workitem/e/baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests/TestLibrary.dll.r2rdump --val
05:28:50
/root/helix/work/workitem/e/baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests/IL-CG2/UnsafeAccessorsTests.dll
05:28:50
Response file: /root/helix/work/workitem/e/baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests/UnsafeAccessorsTests.dll.rsp
/root/helix/work/workitem/e/baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests/IL-CG2/UnsafeAccessorsTests.dll
-o:/root/helix/work/workitem/e/baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests/UnsafeAccessorsTests.dll
-r:/root/helix/work/correlation/System..dll
-r:/root/helix/work/correlation/Microsoft..dll
-r:/root/helix/work/correlation/xunit..dll
-r:/root/helix/work/correlation/mscorlib.dll
--verify-type-and-field-layout
--method-layout:random
--targetarch:arm64
--targetos:linux
-O
Running CrossGen2:  dotnet /root/helix/work/correlation/crossgen2/crossgen2.dll @/root/helix/work/workitem/e/baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests/UnsafeAccessorsTests.dll.rsp

Emitting R2R PE file: /root/helix/work/workitem/e/baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests/UnsafeAccessorsTests.dll
Running R2RDump:  dotnet /root/helix/work/correlation/R2RDump/R2RDump.dll --header --sc --in /root/helix/work/workitem/e/baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests/UnsafeAccessorsTests.dll --out /root/helix/work/workitem/e/baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests/UnsafeAccessorsTests.dll.r2rdump --val
05:28:51
in ReleaseLock
in takeLock
/root/helix/work/correlation/corerun -p System.Reflection.Metadata.MetadataUpdater.IsSupported=false -p System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization=true UnsafeAccessorsTests.dll ''
Running Verify_CallDe

Stack trace
   at baseservices_compilerservices._UnsafeAccessors_UnsafeAccessorsTests_UnsafeAccessorsTests_._UnsafeAccessors_UnsafeAccessorsTests_UnsafeAccessorsTests_sh()
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
Queued Pipeline Pipeline_Configuration OS Arch Test Outcome Properties BuildReason
2023-06-18T04:01:49.998Z runtime-coreclr r2r-extra Checked-forcerelocs osx.1200.arm64.open arm64 baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests/UnsafeAccessorsTests.sh Failed {"BuildId":"311307","System.PhaseAttempt":"1","configuration":"Checked-forcerelocs","architecture":"arm64","BuildNumber":"20230617.1","System.JobName":"__default","CollectionUri":"https://dev.azure.com/dnceng-public/","System.JobAttempt":"1","DefinitionId":"114","System.PhaseName":"run_test_p1_R2R_osx_arm64_checked","Project":"public","DefinitionName":"runtime-coreclr r2r-extra","System.StageAttempt":"1","AzurePipelinesTestRunId":"6352474","System.StageName":"Build","operatingSystem":"OSX.1200.ARM64.Open","System.JobId":"99f15f99-448d-5593-a271-dbdf553789a6","Reason":"Schedule"} Schedule
2023-06-18T04:01:49.998Z runtime-coreclr r2r-extra Checked-forcerelocs osx.1200.arm64.open arm64 baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests/UnsafeAccessorsTests.sh Failed {"BuildId":"311307","System.PhaseAttempt":"1","configuration":"Checked-forcerelocs","architecture":"arm64","BuildNumber":"20230617.1","System.JobName":"__default","CollectionUri":"https://dev.azure.com/dnceng-public/","System.JobAttempt":"1","DefinitionId":"114","System.PhaseName":"run_test_p1_R2R_osx_arm64_checked","Project":"public","DefinitionName":"runtime-coreclr r2r-extra","System.StageAttempt":"1","AzurePipelinesTestRunId":"6352474","System.StageName":"Build","operatingSystem":"OSX.1200.ARM64.Open","System.JobId":"99f15f99-448d-5593-a271-dbdf553789a6","Reason":"Schedule"} Schedule
2023-06-18T04:01:49.998Z runtime-coreclr r2r-extra Checked-forcerelocs osx.1200.arm64.open arm64 baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests/UnsafeAccessorsTests.sh Failed {"BuildId":"311307","System.PhaseAttempt":"1","configuration":"Checked-forcerelocs","architecture":"arm64","BuildNumber":"20230617.1","System.JobName":"__default","CollectionUri":"https://dev.azure.com/dnceng-public/","System.JobAttempt":"1","DefinitionId":"114","System.PhaseName":"run_test_p1_R2R_osx_arm64_checked","Project":"public","DefinitionName":"runtime-coreclr r2r-extra","System.StageAttempt":"1","AzurePipelinesTestRunId":"6352474","System.StageName":"Build","operatingSystem":"OSX.1200.ARM64.Open","System.JobId":"99f15f99-448d-5593-a271-dbdf553789a6","Reason":"Schedule"} Schedule
2023-06-18T04:01:49.998Z runtime-coreclr r2r-extra Checked-forcerelocs osx.1200.arm64.open arm64 baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests/UnsafeAccessorsTests.sh Failed {"BuildId":"311307","System.PhaseAttempt":"1","configuration":"Checked-forcerelocs","architecture":"arm64","BuildNumber":"20230617.1","System.JobName":"__default","CollectionUri":"https://dev.azure.com/dnceng-public/","System.JobAttempt":"1","DefinitionId":"114","System.PhaseName":"run_test_p1_R2R_osx_arm64_checked","Project":"public","DefinitionName":"runtime-coreclr r2r-extra","System.StageAttempt":"1","AzurePipelinesTestRunId":"6352474","System.StageName":"Build","operatingSystem":"OSX.1200.ARM64.Open","System.JobId":"99f15f99-448d-5593-a271-dbdf553789a6","Reason":"Schedule"} Schedule
2023-06-18T03:27:10.355Z runtime-coreclr r2r-extra Checked-forcerelocs ubuntu.1804.armarch.open arm64 baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests/UnsafeAccessorsTests.sh Failed {"DefinitionId":"114","BuildNumber":"20230617.1","operatingSystem":"(Ubuntu.1804.Arm64.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm64v8","System.PhaseName":"run_test_p1_R2R_linux_arm64_checked","System.StageName":"Build","CollectionUri":"https://dev.azure.com/dnceng-public/","System.StageAttempt":"1","AzurePipelinesTestRunId":"6352322","Project":"public","System.JobName":"__default","System.JobAttempt":"1","System.PhaseAttempt":"1","Reason":"Schedule","configuration":"Checked-forcerelocs","BuildId":"311307","DefinitionName":"runtime-coreclr r2r-extra","architecture":"arm64","System.JobId":"3b99b278-3ceb-5ba9-c644-bcc57034233a"} Schedule
2023-06-18T03:27:10.355Z runtime-coreclr r2r-extra Checked-forcerelocs ubuntu.1804.armarch.open arm64 baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests/UnsafeAccessorsTests.sh Failed {"DefinitionId":"114","BuildNumber":"20230617.1","operatingSystem":"(Ubuntu.1804.Arm64.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm64v8","System.PhaseName":"run_test_p1_R2R_linux_arm64_checked","System.StageName":"Build","CollectionUri":"https://dev.azure.com/dnceng-public/","System.StageAttempt":"1","AzurePipelinesTestRunId":"6352322","Project":"public","System.JobName":"__default","System.JobAttempt":"1","System.PhaseAttempt":"1","Reason":"Schedule","configuration":"Checked-forcerelocs","BuildId":"311307","DefinitionName":"runtime-coreclr r2r-extra","architecture":"arm64","System.JobId":"3b99b278-3ceb-5ba9-c644-bcc57034233a"} Schedule
2023-06-18T03:27:10.355Z runtime-coreclr r2r-extra Checked-forcerelocs ubuntu.1804.armarch.open arm64 baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests/UnsafeAccessorsTests.sh Failed {"DefinitionId":"114","BuildNumber":"20230617.1","operatingSystem":"(Ubuntu.1804.Arm64.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm64v8","System.PhaseName":"run_test_p1_R2R_linux_arm64_checked","System.StageName":"Build","CollectionUri":"https://dev.azure.com/dnceng-public/","System.StageAttempt":"1","AzurePipelinesTestRunId":"6352322","Project":"public","System.JobName":"__default","System.JobAttempt":"1","System.PhaseAttempt":"1","Reason":"Schedule","configuration":"Checked-forcerelocs","BuildId":"311307","DefinitionName":"runtime-coreclr r2r-extra","architecture":"arm64","System.JobId":"3b99b278-3ceb-5ba9-c644-bcc57034233a"} Schedule
2023-06-18T03:27:10.355Z runtime-coreclr r2r-extra Checked-forcerelocs ubuntu.1804.armarch.open arm64 baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests/UnsafeAccessorsTests.sh Failed {"DefinitionId":"114","BuildNumber":"20230617.1","operatingSystem":"(Ubuntu.1804.Arm64.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm64v8","System.PhaseName":"run_test_p1_R2R_linux_arm64_checked","System.StageName":"Build","CollectionUri":"https://dev.azure.com/dnceng-public/","System.StageAttempt":"1","AzurePipelinesTestRunId":"6352322","Project":"public","System.JobName":"__default","System.JobAttempt":"1","System.PhaseAttempt":"1","Reason":"Schedule","configuration":"Checked-forcerelocs","BuildId":"311307","DefinitionName":"runtime-coreclr r2r-extra","architecture":"arm64","System.JobId":"3b99b278-3ceb-5ba9-c644-bcc57034233a"} Schedule
BruceForstall commented 1 year ago

@dotnet/crossgen-contrib PTAL

davidwrighton commented 1 year ago

@AaronRobinsonMSFT Could you take a look, we'll help you if there is some R2R ism that you need explained.

AaronRobinsonMSFT commented 1 year ago

@davidwrighton I don't think this is very effective for me to look at this. It runs okay on Windows x64 with crossgen and runs fine on non-crossgen Windows arm64 so crossgen in some manner is busted on arm64. I'm happy to look at this but clearly there is something odd on the arm64 path in crossgen in general because x64 works without issue.

What can I get for you?

AaronRobinsonMSFT commented 1 year ago

I am unable to reproduce this on x64 in any way. I've tried multiple runs with no success. Based on this I think this is likely an arm64 specific issue with CrossGen.

ivdiazsa commented 1 year ago

I am very confused by this. I couldn't reproduce it on my Arm64 Raspberry Pi either. I'll try later or tomorrow on my M1 Mac and see if by any chance I can see it there.

jkotas commented 1 year ago

It is failing with AF here:

Exception type:   System.Diagnostics.DebugProvider+DebugAssertException
Message:             at Internal.TypeSystem.CastingHelper.CanCastToInternal(TypeDesc thisType, TypeDesc otherType, StackOverflowProtect protect) in /_/src/coreclr/tools/Common/TypeSystem/Common/CastingHelper.cs:line 179
   at Internal.TypeSystem.CastingHelper.IsCompatibleWith(TypeDesc thisType, TypeDesc otherType) in /_/src/coreclr/tools/Common/TypeSystem/Common/CastingHelper.cs:line 142
   at Internal.TypeSystem.MethodSignature.Equals(MethodSignature otherSignature, Boolean allowCovariantReturn) in /_/src/coreclr/tools/Common/TypeSystem/Common/MethodDesc.cs:line 238
   at ILCompiler.DependencyAnalysis.ReadyToRun.TypeValidationChecker.ValidateTypeWorker(EcmaType type) in /_/src/coreclr/tools/aot/ILCompiler.ReadyToRun/Compiler/DependencyAnalysis/ReadyToRun/TypeValidationChecker.cs:line 314
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at ILCompiler.DependencyAnalysis.ReadyToRun.TypeValidationChecker.ValidateTypeWorker(EcmaType type)
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
   at System.Threading.ThreadPoolWorkQueue.Dispatch()

If it is hard to repro, it can be a GC hole or intermittent codegen issue.

jkotas commented 1 year ago

It is asserting because of thisType is SignatureTypeVariable.

jkotas commented 1 year ago

If it is hard to repro, it can be a GC hole or intermittent codegen issue.

Looking at the dump, this should be very reliable repro. There are no signs of any low level corruption.

BruceForstall commented 1 year ago

Note that the test was run with the configuration:

export RunCrossGen2=1
export DOTNET_TieredCompilation=0
export DOTNET_ForceRelocs=1
AaronRobinsonMSFT commented 1 year ago

export DOTNET_ForceRelocs=1

Shoot. I missed that. I will rerun my test locally. Thanks @BruceForstall!

AaronRobinsonMSFT commented 1 year ago

export DOTNET_ForceRelocs=1

Shoot. I missed that. I will rerun my test locally. Thanks @BruceForstall!

That was it. I have a local repro.

AaronRobinsonMSFT commented 1 year ago

This is my bug - use after free. I don't know what the DOTNET_ForceRelocs=1 scenario does but it uncovered a real issue. I had naively assumed the ownership of memory could be handed off. In the above case the memory is freed in the inner scope and not recreated.

ivdiazsa commented 1 year ago

Note that the test was run with the configuration:

export RunCrossGen2=1
export DOTNET_TieredCompilation=0
export DOTNET_ForceRelocs=1

Oh! I hadn't set the DOTNET_ForceRelocs environment variable. Thanks for pointing it out Bruce. I will leave things to Aaron now since the bug is in his area of expertise, but if my help is needed sometime, I'll be glad to assist.

ghost commented 1 year ago

Tagging subscribers to this area: @dotnet/area-system-runtime-compilerservices See info in area-owners.md if you want to be subscribed.

Issue Details
Run: [runtime-coreclr r2r-extra 20230617.1](https://dev.azure.com/dnceng-public/public/_build/results?buildId=311307&view=ms.vss-test-web.build-test-results-tab&runId=6352322&resultId=120509&paneView=debug) Failed test: ``` R2R-CG2 linux arm64 Checked forcerelocs @ (Ubuntu.1804.Arm64.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm64v8 - baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests/UnsafeAccessorsTests.sh R2R-CG2 windows arm64 Checked forcerelocs @ Windows.11.Arm64.Open - baseservices\\compilerservices\\UnsafeAccessors\\UnsafeAccessorsTests\\UnsafeAccessorsTests.cmd R2R-CG2 windows x64 Checked forcerelocs @ Windows.10.Amd64.Open - baseservices\\compilerservices\\UnsafeAccessors\\UnsafeAccessorsTests\\UnsafeAccessorsTests.cmd R2R-CG2 osx arm64 Checked forcerelocs @ OSX.1200.ARM64.Open - baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests/UnsafeAccessorsTests.sh ``` **Error message:** ``` /root/helix/work/workitem/e/baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests/UnsafeAccessorsTests.sh: line 305: -r:/root/helix/work/workitem/e/baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests/IL-CG2/*.dll: No such file or directory waitpid() returned successfully (wstatus 00000000) WEXITSTATUS 0 WTERMSIG 0 /root/helix/work/workitem/e/baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests/UnsafeAccessorsTests.sh: line 439: 32486 Segmentation fault (core dumped) $LAUNCHER $ExePath "${CLRTestExecutionArguments[@]}" Return code: 1 Raw output file: /root/helix/work/workitem/uploads/Reports/baseservices.compilerservices/UnsafeAccessors/UnsafeAccessorsTests/UnsafeAccessorsTests.output.txt Raw output: BEGIN EXECUTION in takeLock /root/helix/work/workitem/e/baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests/IL-CG2/TestLibrary.dll 05:28:47 Response file: /root/helix/work/workitem/e/baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests/TestLibrary.dll.rsp /root/helix/work/workitem/e/baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests/IL-CG2/TestLibrary.dll -o:/root/helix/work/workitem/e/baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests/TestLibrary.dll -r:/root/helix/work/correlation/System..dll -r:/root/helix/work/correlation/Microsoft..dll -r:/root/helix/work/correlation/xunit..dll -r:/root/helix/work/correlation/mscorlib.dll --verify-type-and-field-layout --method-layout:random --targetarch:arm64 --targetos:linux -O Running CrossGen2: dotnet /root/helix/work/correlation/crossgen2/crossgen2.dll @/root/helix/work/workitem/e/baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests/TestLibrary.dll.rsp Emitting R2R PE file: /root/helix/work/workitem/e/baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests/TestLibrary.dll Running R2RDump: dotnet /root/helix/work/correlation/R2RDump/R2RDump.dll --header --sc --in /root/helix/work/workitem/e/baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests/TestLibrary.dll --out /root/helix/work/workitem/e/baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests/TestLibrary.dll.r2rdump --val 05:28:50 /root/helix/work/workitem/e/baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests/IL-CG2/UnsafeAccessorsTests.dll 05:28:50 Response file: /root/helix/work/workitem/e/baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests/UnsafeAccessorsTests.dll.rsp /root/helix/work/workitem/e/baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests/IL-CG2/UnsafeAccessorsTests.dll -o:/root/helix/work/workitem/e/baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests/UnsafeAccessorsTests.dll -r:/root/helix/work/correlation/System..dll -r:/root/helix/work/correlation/Microsoft..dll -r:/root/helix/work/correlation/xunit..dll -r:/root/helix/work/correlation/mscorlib.dll --verify-type-and-field-layout --method-layout:random --targetarch:arm64 --targetos:linux -O Running CrossGen2: dotnet /root/helix/work/correlation/crossgen2/crossgen2.dll @/root/helix/work/workitem/e/baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests/UnsafeAccessorsTests.dll.rsp Emitting R2R PE file: /root/helix/work/workitem/e/baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests/UnsafeAccessorsTests.dll Running R2RDump: dotnet /root/helix/work/correlation/R2RDump/R2RDump.dll --header --sc --in /root/helix/work/workitem/e/baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests/UnsafeAccessorsTests.dll --out /root/helix/work/workitem/e/baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests/UnsafeAccessorsTests.dll.r2rdump --val 05:28:51 in ReleaseLock in takeLock /root/helix/work/correlation/corerun -p System.Reflection.Metadata.MetadataUpdater.IsSupported=false -p System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization=true UnsafeAccessorsTests.dll '' Running Verify_CallDe Stack trace at baseservices_compilerservices._UnsafeAccessors_UnsafeAccessorsTests_UnsafeAccessorsTests_._UnsafeAccessors_UnsafeAccessorsTests_UnsafeAccessorsTests_sh() at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor) at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr) ``` Queued | Pipeline | Pipeline_Configuration | OS | Arch | Test | Outcome | Properties | BuildReason -- | -- | -- | -- | -- | -- | -- | -- | -- 2023-06-18T04:01:49.998Z | runtime-coreclr r2r-extra | Checked-forcerelocs | osx.1200.arm64.open | arm64 | baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests/UnsafeAccessorsTests.sh | Failed | {"BuildId":"311307","System.PhaseAttempt":"1","configuration":"Checked-forcerelocs","architecture":"arm64","BuildNumber":"20230617.1","System.JobName":"__default","CollectionUri":"https://dev.azure.com/dnceng-public/","System.JobAttempt":"1","DefinitionId":"114","System.PhaseName":"run_test_p1_R2R_osx_arm64_checked","Project":"public","DefinitionName":"runtime-coreclr r2r-extra","System.StageAttempt":"1","AzurePipelinesTestRunId":"6352474","System.StageName":"Build","operatingSystem":"OSX.1200.ARM64.Open","System.JobId":"99f15f99-448d-5593-a271-dbdf553789a6","Reason":"Schedule"} | Schedule 2023-06-18T04:01:49.998Z | runtime-coreclr r2r-extra | Checked-forcerelocs | osx.1200.arm64.open | arm64 | baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests/UnsafeAccessorsTests.sh | Failed | {"BuildId":"311307","System.PhaseAttempt":"1","configuration":"Checked-forcerelocs","architecture":"arm64","BuildNumber":"20230617.1","System.JobName":"__default","CollectionUri":"https://dev.azure.com/dnceng-public/","System.JobAttempt":"1","DefinitionId":"114","System.PhaseName":"run_test_p1_R2R_osx_arm64_checked","Project":"public","DefinitionName":"runtime-coreclr r2r-extra","System.StageAttempt":"1","AzurePipelinesTestRunId":"6352474","System.StageName":"Build","operatingSystem":"OSX.1200.ARM64.Open","System.JobId":"99f15f99-448d-5593-a271-dbdf553789a6","Reason":"Schedule"} | Schedule 2023-06-18T04:01:49.998Z | runtime-coreclr r2r-extra | Checked-forcerelocs | osx.1200.arm64.open | arm64 | baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests/UnsafeAccessorsTests.sh | Failed | {"BuildId":"311307","System.PhaseAttempt":"1","configuration":"Checked-forcerelocs","architecture":"arm64","BuildNumber":"20230617.1","System.JobName":"__default","CollectionUri":"https://dev.azure.com/dnceng-public/","System.JobAttempt":"1","DefinitionId":"114","System.PhaseName":"run_test_p1_R2R_osx_arm64_checked","Project":"public","DefinitionName":"runtime-coreclr r2r-extra","System.StageAttempt":"1","AzurePipelinesTestRunId":"6352474","System.StageName":"Build","operatingSystem":"OSX.1200.ARM64.Open","System.JobId":"99f15f99-448d-5593-a271-dbdf553789a6","Reason":"Schedule"} | Schedule 2023-06-18T04:01:49.998Z | runtime-coreclr r2r-extra | Checked-forcerelocs | osx.1200.arm64.open | arm64 | baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests/UnsafeAccessorsTests.sh | Failed | {"BuildId":"311307","System.PhaseAttempt":"1","configuration":"Checked-forcerelocs","architecture":"arm64","BuildNumber":"20230617.1","System.JobName":"__default","CollectionUri":"https://dev.azure.com/dnceng-public/","System.JobAttempt":"1","DefinitionId":"114","System.PhaseName":"run_test_p1_R2R_osx_arm64_checked","Project":"public","DefinitionName":"runtime-coreclr r2r-extra","System.StageAttempt":"1","AzurePipelinesTestRunId":"6352474","System.StageName":"Build","operatingSystem":"OSX.1200.ARM64.Open","System.JobId":"99f15f99-448d-5593-a271-dbdf553789a6","Reason":"Schedule"} | Schedule 2023-06-18T03:27:10.355Z | runtime-coreclr r2r-extra | Checked-forcerelocs | ubuntu.1804.armarch.open | arm64 | baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests/UnsafeAccessorsTests.sh | Failed | {"DefinitionId":"114","BuildNumber":"20230617.1","operatingSystem":"(Ubuntu.1804.Arm64.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm64v8","System.PhaseName":"run_test_p1_R2R_linux_arm64_checked","System.StageName":"Build","CollectionUri":"https://dev.azure.com/dnceng-public/","System.StageAttempt":"1","AzurePipelinesTestRunId":"6352322","Project":"public","System.JobName":"__default","System.JobAttempt":"1","System.PhaseAttempt":"1","Reason":"Schedule","configuration":"Checked-forcerelocs","BuildId":"311307","DefinitionName":"runtime-coreclr r2r-extra","architecture":"arm64","System.JobId":"3b99b278-3ceb-5ba9-c644-bcc57034233a"} | Schedule 2023-06-18T03:27:10.355Z | runtime-coreclr r2r-extra | Checked-forcerelocs | ubuntu.1804.armarch.open | arm64 | baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests/UnsafeAccessorsTests.sh | Failed | {"DefinitionId":"114","BuildNumber":"20230617.1","operatingSystem":"(Ubuntu.1804.Arm64.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm64v8","System.PhaseName":"run_test_p1_R2R_linux_arm64_checked","System.StageName":"Build","CollectionUri":"https://dev.azure.com/dnceng-public/","System.StageAttempt":"1","AzurePipelinesTestRunId":"6352322","Project":"public","System.JobName":"__default","System.JobAttempt":"1","System.PhaseAttempt":"1","Reason":"Schedule","configuration":"Checked-forcerelocs","BuildId":"311307","DefinitionName":"runtime-coreclr r2r-extra","architecture":"arm64","System.JobId":"3b99b278-3ceb-5ba9-c644-bcc57034233a"} | Schedule 2023-06-18T03:27:10.355Z | runtime-coreclr r2r-extra | Checked-forcerelocs | ubuntu.1804.armarch.open | arm64 | baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests/UnsafeAccessorsTests.sh | Failed | {"DefinitionId":"114","BuildNumber":"20230617.1","operatingSystem":"(Ubuntu.1804.Arm64.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm64v8","System.PhaseName":"run_test_p1_R2R_linux_arm64_checked","System.StageName":"Build","CollectionUri":"https://dev.azure.com/dnceng-public/","System.StageAttempt":"1","AzurePipelinesTestRunId":"6352322","Project":"public","System.JobName":"__default","System.JobAttempt":"1","System.PhaseAttempt":"1","Reason":"Schedule","configuration":"Checked-forcerelocs","BuildId":"311307","DefinitionName":"runtime-coreclr r2r-extra","architecture":"arm64","System.JobId":"3b99b278-3ceb-5ba9-c644-bcc57034233a"} | Schedule 2023-06-18T03:27:10.355Z | runtime-coreclr r2r-extra | Checked-forcerelocs | ubuntu.1804.armarch.open | arm64 | baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests/UnsafeAccessorsTests.sh | Failed | {"DefinitionId":"114","BuildNumber":"20230617.1","operatingSystem":"(Ubuntu.1804.Arm64.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm64v8","System.PhaseName":"run_test_p1_R2R_linux_arm64_checked","System.StageName":"Build","CollectionUri":"https://dev.azure.com/dnceng-public/","System.StageAttempt":"1","AzurePipelinesTestRunId":"6352322","Project":"public","System.JobName":"__default","System.JobAttempt":"1","System.PhaseAttempt":"1","Reason":"Schedule","configuration":"Checked-forcerelocs","BuildId":"311307","DefinitionName":"runtime-coreclr r2r-extra","architecture":"arm64","System.JobId":"3b99b278-3ceb-5ba9-c644-bcc57034233a"} | Schedule
Author: v-wenyuxu
Assignees: AaronRobinsonMSFT
Labels: `area-System.Runtime.CompilerServices`, `blocking-clean-ci-optional`
Milestone: 8.0.0