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 Interop/PInvoke/Int128/Int128TestFieldLayout/Int128TestFieldLayout.sh #74318

Closed
v-wenyuxu opened this issue Aug 22, 2022 · 5 comments · Fixed by #74386
Closed

Test failure Interop/PInvoke/Int128/Int128TestFieldLayout/Int128TestFieldLayout.sh #74318

v-wenyuxu opened this issue Aug 22, 2022 · 5 comments · Fixed by #74386
Assignees
Labels
arch-x64 area-TypeSystem-coreclr blocking-outerloop Blocking the 'runtime-coreclr outerloop' and 'runtime-libraries-coreclr outerloop' runs os-linux Linux OS (any supported distro) os-mac-os-x macOS aka OSX os-windows
Milestone

Comments

@v-wenyuxu
Copy link

Run: runtime-coreclr outerloop 20220821.4

Failed test:

R2R-CG2 Linux x64 Checked no_tiered_compilation @ (Alpine.314.Amd64.Open)Ubuntu.1804.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.14-helix-amd64-20210910135833-1848e19
- Interop/PInvoke/Int128/Int128TestFieldLayout/Int128TestFieldLayout.sh

R2R-CG2 Linux x64 Checked no_tiered_compilation @ Ubuntu.1804.Amd64.Open
- Interop/PInvoke/Int128/Int128TestFieldLayout/Int128TestFieldLayout.sh

R2R-CG2 Linux x64 Checked @ Ubuntu.1804.Amd64.Open
- Interop/PInvoke/Int128/Int128TestFieldLayout/Int128TestFieldLayout.sh

coreclr windows x64 Checked @ Windows.10.Amd64.Open
- Interop\\PInvoke\\Int128\\Int128TestFieldLayout\\Int128TestFieldLayout.cmd

R2R-CG2 windows x64 Checked @ Windows.10.Amd64.Open
- Interop\\PInvoke\\Int128\\Int128TestFieldLayout\\Int128TestFieldLayout.cmd

R2R-CG2 Linux x64 Checked @ (Alpine.314.Amd64.Open)Ubuntu.1804.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.14-helix-amd64-20210910135833-1848e19
- Interop/PInvoke/Int128/Int128TestFieldLayout/Int128TestFieldLayout.sh

R2R-CG2 windows x64 Checked no_tiered_compilation @ Windows.10.Amd64.Open
- Interop\\PInvoke\\Int128\\Int128TestFieldLayout\\Int128TestFieldLayout.cmd

R2R-CG2 OSX x64 Checked @ OSX.1200.Amd64.Open
- Interop/PInvoke/Int128/Int128TestFieldLayout/Int128TestFieldLayout.sh

Error message:

Fatal error. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Repeat 2 times:
at Int128Native.GetInt128Out(UInt64, UInt64, System.Int128*)

/root/helix/work/workitem/e/Interop/PInvoke/Int128/Int128TestFieldLayout/Int128TestFieldLayout.sh: line 251: -r:/root/helix/work/workitem/e/Interop/PInvoke/Int128/Int128TestFieldLayout/IL-CG2/*.dll: No such file or directory

Return code:      1
Raw output file:      /root/helix/work/workitem/uploads/Reports/Interop.PInvoke/Int128/Int128TestFieldLayout/Int128TestFieldLayout.output.txt
Raw output:
BEGIN EXECUTION
in takeLock
/root/helix/work/workitem/e/Interop/PInvoke/Int128/Int128TestFieldLayout/IL-CG2/Int128TestFieldLayout.dll
20:47:00
Response file: /root/helix/work/workitem/e/Interop/PInvoke/Int128/Int128TestFieldLayout/Int128TestFieldLayout.dll.rsp
/root/helix/work/workitem/e/Interop/PInvoke/Int128/Int128TestFieldLayout/IL-CG2/Int128TestFieldLayout.dll
-o:/root/helix/work/workitem/e/Interop/PInvoke/Int128/Int128TestFieldLayout/Int128TestFieldLayout.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:x64
-O
Running CrossGen2:  dotnet /root/helix/work/correlation/crossgen2/crossgen2.dll @/root/helix/work/workitem/e/Interop/PInvoke/Int128/Int128TestFieldLayout/Int128TestFieldLayout.dll.rsp

Emitting R2R PE file: /root/helix/work/workitem/e/Interop/PInvoke/Int128/Int128TestFieldLayout/Int128TestFieldLayout.dll
20:47:02
/root/helix/work/workitem/e/Interop/PInvoke/Int128/Int128TestFieldLayout/IL-CG2/TestLibrary.dll
20:47:02
Response file: /root/helix/work/workitem/e/Interop/PInvoke/Int128/Int128TestFieldLayout/TestLibrary.dll.rsp
/root/helix/work/workitem/e/Interop/PInvoke/Int128/Int128TestFieldLayout/IL-CG2/TestLibrary.dll
-o:/root/helix/work/workitem/e/Interop/PInvoke/Int128/Int128TestFieldLayout/TestLibrary.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:x64
-O
Running CrossGen2:  dotnet /root/helix/work/correlation/crossgen2/crossgen2.dll @/root/helix/work/workitem/e/Interop/PInvoke/Int128/Int128TestFieldLayout/TestLibrary.dll.rsp

Emitting R2R PE file: /root/helix/work/workitem/e/Interop/PInvoke/Int128/Int128TestFieldLayout/TestLibrary.dll
20:47:04
in ReleaseLock
/root/helix/work/correlation/corerun -p System.Reflection.Metadata.MetadataUpdater.IsSupported=false Int128TestFieldLayout.dll ''
Testing Int128
Xunit.Sdk.ThrowsException: Assert.Throws() Failure
Expected: typeof(System.Runtime.InteropServices.MarshalDirectiveException)
Actual:   (No exception was thrown)
at Xunit.Assert.Throws(Type exceptionType, Exception exception) in /_/src/xunit.assert/Asserts/ExceptionAsserts.cs:line 226
at Int128Native.TestInt128FieldLayout() in /__w/1/s/src/tests/Interop/PInvoke/Int128/Int128Test.cs:line 133
at Int128NativeFieldLayout.Main(String[] args) in /__w/1/s/src/tests/Interop/PInvoke/Int128/ProgramFieldLayout.cs:line 14
Expected: 100
Actual: 0
END EXECUTION - FAILED
Test Harness Exitcode is : 1
To run the test:

set CORE_ROOT=/root/helix/work/correlation
/root/helix/work/workitem/e/Interop/PInvoke/Int128/Int128TestFieldLayout/Int128TestFieldLayout.sh
Expected: True
Actual:   False


Stack trace
   at Interop_PInvoke._Int128_Int128TestFieldLayout_Int128TestFieldLayout_._Int128_Int128TestFieldLayout_Int128TestFieldLayout_sh()
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Aug 22, 2022
@v-wenyuxu v-wenyuxu added os-linux Linux OS (any supported distro) os-mac-os-x macOS aka OSX os-windows arch-x64 blocking-outerloop Blocking the 'runtime-coreclr outerloop' and 'runtime-libraries-coreclr outerloop' runs and removed area-crossgen2-coreclr untriaged New issue has not been triaged by the area owner labels Aug 22, 2022
@v-wenyuxu
Copy link
Author

Queued OS Arch Column1
2022-08-21T20:52:18.47Z osx.1200.amd64.open x64 runtime-coreclr outerloop Checked
2022-08-21T20:52:17.25Z osx.1200.amd64.open x64 runtime-coreclr outerloop Checked-no_tiered_compilation
2022-08-21T20:19:32.969Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr outerloop Checked
2022-08-21T20:19:31.874Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr outerloop Checked-no_tiered_compilation
2022-08-21T20:15:11.859Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr outerloop Checked-no_tiered_compilation
More failures
Queued OS Arch Column1
2022-08-21T20:15:10.193Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr outerloop Checked
2022-08-21T11:38:46.376Z osx.1200.amd64.open x64 runtime-coreclr outerloop Checked-no_tiered_compilation
2022-08-21T11:38:45.24Z osx.1200.amd64.open x64 runtime-coreclr outerloop Checked
2022-08-21T11:00:57.546Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr outerloop Checked-no_tiered_compilation
2022-08-21T11:00:56.39Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr outerloop Checked
2022-08-21T10:55:57.108Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr outerloop Checked-no_tiered_compilation
2022-08-21T10:55:56.029Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr outerloop Checked
2022-08-21T08:57:32.913Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_jitminopts_heapverify1
2022-08-21T08:47:42.444Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_tailcallstress
2022-08-21T08:43:23.01Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_jitstress2
2022-08-21T08:34:12.939Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_jitstress1
2022-08-21T07:45:32.462Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr crossgen2-composite gcstress Checked-heapverify1
2022-08-21T07:31:42.79Z osx.1200.amd64.open x64 runtime-coreclr crossgen2 outerloop Checked
2022-08-21T07:31:41.149Z osx.1200.amd64.open x64 runtime-coreclr crossgen2 outerloop Checked-no_tiered_compilation
2022-08-21T07:26:16.783Z osx.1200.amd64.open x64 runtime-coreclr crossgen2 outerloop Checked
2022-08-21T07:26:15.58Z osx.1200.amd64.open x64 runtime-coreclr crossgen2 outerloop Checked-no_tiered_compilation
2022-08-21T07:22:04.576Z osx.1200.amd64.open x64 runtime-coreclr crossgen2 Checked-no_tiered_compilation
2022-08-21T07:22:03.467Z osx.1200.amd64.open x64 runtime-coreclr crossgen2 Checked
2022-08-21T07:11:54.78Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr crossgen2 Checked
2022-08-21T07:11:53.437Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr crossgen2 Checked-no_tiered_compilation
2022-08-21T06:49:02.634Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr crossgen2 outerloop Checked
2022-08-21T06:49:01.326Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr crossgen2 outerloop Checked-no_tiered_compilation
2022-08-21T06:48:25.14Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr crossgen2 outerloop Checked
2022-08-21T06:48:24.034Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr crossgen2 outerloop Checked-no_tiered_compilation
2022-08-21T06:46:05.07Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr r2r Checked
2022-08-21T06:46:03.831Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr r2r Checked-no_tiered_compilation
2022-08-21T06:00:07.737Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr r2r-extra Checked-gcstress0xc
2022-08-21T05:52:21.863Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr r2r-extra Checked-forcerelocs
2022-08-21T05:44:42.041Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr r2r-extra Checked-jitminopts
2022-08-21T05:31:22.721Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr r2r-extra Checked-jitstressregs0x1000
2022-08-21T05:23:06.461Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr r2r-extra Checked-jitstressregs0x80
2022-08-21T05:16:39.57Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr r2r-extra Checked-jitstressregs0x10
2022-08-21T05:09:21.914Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr r2r-extra Checked-jitstressregs8
2022-08-21T05:09:21.914Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr r2r-extra Checked-jitstressregs8
2022-08-21T04:47:19.441Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr r2r-extra Checked-jitstressregs4
2022-08-21T04:42:04.136Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr r2r-extra Checked-jitstressregs3
2022-08-21T04:36:36.622Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr r2r-extra Checked-jitstressregs2
2022-08-21T04:32:03.112Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr r2r-extra Checked-jitstressregs1
2022-08-21T03:57:22.852Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr r2r-extra Checked-jitstress2_tiered
2022-08-21T03:57:21.893Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr r2r-extra Checked-jitstress2
2022-08-21T03:57:20.75Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr r2r-extra Checked-jitstress1_tiered
2022-08-21T03:57:19.758Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr r2r-extra Checked-jitstress1
2022-08-21T03:51:20.597Z osx.1200.amd64.open x64 runtime-coreclr outerloop Checked
2022-08-21T03:51:19.502Z osx.1200.amd64.open x64 runtime-coreclr outerloop Checked-no_tiered_compilation
2022-08-21T03:08:34.922Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr outerloop Checked-no_tiered_compilation
2022-08-21T03:08:33.406Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr outerloop Checked
2022-08-21T03:04:13.793Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr outerloop Checked-no_tiered_compilation
2022-08-21T03:04:12.574Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr outerloop Checked
2022-08-20T20:39:41.338Z osx.1200.amd64.open x64 runtime-coreclr outerloop Checked-no_tiered_compilation
2022-08-20T20:39:39.923Z osx.1200.amd64.open x64 runtime-coreclr outerloop Checked
2022-08-20T20:03:50.262Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr outerloop Checked
2022-08-20T20:03:49.121Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr outerloop Checked-no_tiered_compilation
2022-08-20T19:56:10.58Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr outerloop Checked-no_tiered_compilation
2022-08-20T19:56:09.531Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr outerloop Checked
2022-08-20T11:24:41.24Z osx.1200.amd64.open x64 runtime-coreclr outerloop Checked-no_tiered_compilation
2022-08-20T11:24:40.073Z osx.1200.amd64.open x64 runtime-coreclr outerloop Checked
2022-08-20T10:49:46.301Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr outerloop Checked-no_tiered_compilation
2022-08-20T10:49:45.029Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr outerloop Checked
2022-08-20T10:46:36.83Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr outerloop Checked-no_tiered_compilation
2022-08-20T10:46:35.524Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr outerloop Checked
2022-08-20T07:34:05.666Z osx.1200.amd64.open x64 runtime-coreclr crossgen2 Checked-no_tiered_compilation
2022-08-20T07:34:04.306Z osx.1200.amd64.open x64 runtime-coreclr crossgen2 Checked
2022-08-20T07:25:08.068Z osx.1200.amd64.open x64 runtime-coreclr crossgen2 outerloop Checked-no_tiered_compilation
2022-08-20T07:25:06.585Z osx.1200.amd64.open x64 runtime-coreclr crossgen2 outerloop Checked
2022-08-20T07:23:39.438Z osx.1200.amd64.open x64 runtime-coreclr crossgen2 outerloop Checked
2022-08-20T07:23:38.304Z osx.1200.amd64.open x64 runtime-coreclr crossgen2 outerloop Checked-no_tiered_compilation
2022-08-20T07:21:31.472Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr crossgen2 Checked
2022-08-20T07:21:29.6Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr crossgen2 Checked-no_tiered_compilation
2022-08-20T06:49:49.331Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr r2r Checked
2022-08-20T06:49:47.737Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr r2r Checked-no_tiered_compilation
2022-08-20T06:46:44.395Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr crossgen2 outerloop Checked-no_tiered_compilation
2022-08-20T06:46:43.194Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr crossgen2 outerloop Checked
2022-08-20T06:44:51.246Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr crossgen2 outerloop Checked-no_tiered_compilation
2022-08-20T06:44:50.051Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr crossgen2 outerloop Checked
2022-08-20T03:20:10.519Z osx.1200.amd64.open x64 runtime-coreclr outerloop Checked-no_tiered_compilation
2022-08-20T03:20:09.209Z osx.1200.amd64.open x64 runtime-coreclr outerloop Checked
2022-08-20T02:41:25.803Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr outerloop Checked-no_tiered_compilation
2022-08-20T02:41:24.706Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr outerloop Checked
2022-08-20T02:40:59.532Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr outerloop Checked
2022-08-20T02:40:58.498Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr outerloop Checked-no_tiered_compilation

@AaronRobinsonMSFT
Copy link
Member

@davidwrighton Could this be related to #73738?

@AaronRobinsonMSFT
Copy link
Member

/cc @tannergooding

@tannergooding
Copy link
Member

I expect this is related to the changes David had made. I'm not aware of the tests failing prior to this.

@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label Aug 22, 2022
@ghost ghost removed the in-pr There is an active PR which will close this issue when it is merged label Aug 23, 2022
@ghost ghost added in-pr There is an active PR which will close this issue when it is merged and removed in-pr There is an active PR which will close this issue when it is merged labels Aug 24, 2022
@karelz
Copy link
Member

karelz commented Aug 25, 2022

Fixed in main (8.0) in PR #74386 and in 7.0 (for RC2) in PR #74460

@ghost ghost locked as resolved and limited conversation to collaborators Sep 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-x64 area-TypeSystem-coreclr blocking-outerloop Blocking the 'runtime-coreclr outerloop' and 'runtime-libraries-coreclr outerloop' runs os-linux Linux OS (any supported distro) os-mac-os-x macOS aka OSX os-windows
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants