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: JIT/HardwareIntrinsics/Arm/AdvSimd.Arm64/AdvSimd.Arm64_Part4_ro/AdvSimd.Arm64_Part4_ro.sh #43291

Closed
v-haren opened this issue Oct 12, 2020 · 6 comments
Assignees
Labels
area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Milestone

Comments

@v-haren
Copy link

v-haren commented Oct 12, 2020

failed in job: runtime-coreclr crossgen2 20201010.3

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

Error message

/root/helix/work/workitem/JIT/HardwareIntrinsics/Arm/AdvSimd.Arm64/AdvSimd.Arm64_Part4_ro/AdvSimd.Arm64_Part4_ro.sh: line 236: -r:/root/helix/work/workitem/JIT/HardwareIntrinsics/Arm/AdvSimd.Arm64/AdvSimd.Arm64_Part4_ro/IL/.dll: No such file or directory
rm: cannot remove '/root/helix/work/workitem/JIT/HardwareIntrinsics/Arm/AdvSimd.Arm64/AdvSimd.Arm64_Part4_ro/AdvSimd.Arm64_Part4_ro.dll.rsp': No such file or directory
/root/helix/work/workitem/JIT/HardwareIntrinsics/Arm/AdvSimd.Arm64/AdvSimd.Arm64_Part4_ro/AdvSimd.Arm64_Part4_ro.sh: line 186:   673 Segmentation fault      (core dumped) $__Command

Return code:      1
Raw output file:      /root/helix/work/workitem/JIT/HardwareIntrinsics/Reports/JIT.HardwareIntrinsics/Arm/AdvSimd.Arm64/AdvSimd.Arm64_Part4_ro/AdvSimd.Arm64_Part4_ro.output.txt
Raw output:
BEGIN EXECUTION
in takeLock
/root/helix/work/workitem/JIT/HardwareIntrinsics/Arm/AdvSimd.Arm64/AdvSimd.Arm64_Part4_ro/IL/AdvSimd.Arm64_Part4_ro.dll
Response file: /root/helix/work/workitem/JIT/HardwareIntrinsics/Arm/AdvSimd.Arm64/AdvSimd.Arm64_Part4_ro/AdvSimd.Arm64_Part4_ro.dll.rsp
/root/helix/work/workitem/JIT/HardwareIntrinsics/Arm/AdvSimd.Arm64/AdvSimd.Arm64_Part4_ro/IL/AdvSimd.Arm64_Part4_ro.dll
-o:/root/helix/work/workitem/JIT/HardwareIntrinsics/Arm/AdvSimd.Arm64/AdvSimd.Arm64_Part4_ro/AdvSimd.Arm64_Part4_ro.dll
-r:/root/helix/work/correlation/System..dll
-r:/root/helix/work/correlation/Microsoft.*.dll
-r:/root/helix/work/correlation/mscorlib.dll
--verify-type-and-field-layout
--targetarch:arm64
-O
Running CrossGen2:  dotnet /root/helix/work/correlation/crossgen2/crossgen2.dll @/root/helix/work/workitem/JIT/HardwareIntrinsics/Arm/AdvSimd.Arm64/AdvSimd.Arm64_Part4_ro/AdvSimd.Arm64_Part4_ro.dll.rsp  
Gathering state for process 673 dotnet
Writing minidump with heap to file /home/helixbot/dotnetbuild/dumps/coredump.673.dmp
Written 126976000 bytes (31000 pages) to core file
Dump successfully written
Crossgen2 failed with exitcode: 139
in ReleaseLock
Test Harness Exitcode is : 1
To run the test:
> set CORE_ROOT=/root/helix/work/correlation
> /root/helix/work/workitem/JIT/HardwareIntrinsics/Arm/AdvSimd.Arm64/AdvSimd.Arm64_Part4_ro/AdvSimd.Arm64_Part4_ro.sh
Expected: True
Actual:   False

Stack trace
   at JIT_HardwareIntrinsics._Arm_AdvSimd_Arm64_AdvSimd_Arm64_Part4_ro_AdvSimd_Arm64_Part4_ro_._Arm_AdvSimd_Arm64_AdvSimd_Arm64_Part4_ro_AdvSimd_Arm64_Part4_ro_sh() in /__w/1/s/artifacts/tests/coreclr/Linux.arm64.Checked/TestWrappers/JIT.HardwareIntrinsics/JIT.HardwareIntrinsics.XUnitWrapper.cs:line 1013
@v-haren v-haren added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Oct 12, 2020
@Dotnet-GitSync-Bot Dotnet-GitSync-Bot added the untriaged New issue has not been triaged by the area owner label Oct 12, 2020
@JulieLeeMSFT
Copy link
Member

@echesakovMSFT PTAL and traige this ticket.

@echesakov
Copy link
Contributor

This is crossgen2 issue, so marking as 6.0.

@echesakov echesakov added this to the 6.0.0 milestone Oct 12, 2020
@echesakov echesakov removed the untriaged New issue has not been triaged by the area owner label Oct 12, 2020
@echesakov
Copy link
Contributor

@trylek Does this failure look similar to what you were fixing in #43261? I see that win-arm64 leg in the next test run runtime-coreclr crossgen2 20201011.1 was green.

@trylek
Copy link
Member

trylek commented Oct 12, 2020

Hi Egor! Yes, crashes in the XUnit driver were generally the most common manifestation of the problem - a seemingly benign infra change inadvertently turned on crossgenning of the xunit support assemblies themselves and that naturally caused a runtime inconsistency as we're running the XUnit wrappers through the installed dotnet, not through corerun that would correspond to the CORE_ROOT the assemblies got compiled against. Kudos to @nattress for figuring that out actually.

@echesakov
Copy link
Contributor

Thanks Tomas for your thorough reply! I am going to close this issue at it seems to me that it has been fixed by your change.

@JulieLeeMSFT
Copy link
Member

JulieLeeMSFT commented Oct 13, 2020 via email

@ghost ghost locked as resolved and limited conversation to collaborators Dec 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Projects
None yet
Development

No branches or pull requests

5 participants