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

Support frozen struct returns for Swift calls #99704

Merged
merged 20 commits into from
Mar 14, 2024

Add a static assert

ec9620c
Select commit
Loading
Failed to load commit list.
Merged

Support frozen struct returns for Swift calls #99704

Add a static assert
ec9620c
Select commit
Loading
Failed to load commit list.
Azure Pipelines / runtime-coreclr jitstressregs failed Mar 14, 2024 in 4h 13m 4s

Build #20240314.1 had test failures

Details

Tests

  • Failed: 4 (0.00%)
  • Passed: 1,483,349 (99.57%)
  • Other: 6,471 (0.43%)
  • Total: 1,489,824

Annotations

Check failure on line 44 in .packages/microsoft.dotnet.helix.sdk/9.0.0-beta.24161.5/tools/azure-pipelines/AzurePipelines.MultiQueue.targets

See this annotation in the file changed.

@azure-pipelines azure-pipelines / runtime-coreclr jitstressregs

.packages/microsoft.dotnet.helix.sdk/9.0.0-beta.24161.5/tools/azure-pipelines/AzurePipelines.MultiQueue.targets#L44

.packages/microsoft.dotnet.helix.sdk/9.0.0-beta.24161.5/tools/azure-pipelines/AzurePipelines.MultiQueue.targets(44,5): error : (NETCORE_ENGINEERING_TELEMETRY=Test) Test Interop/Swift/SwiftRetAbiStress/SwiftRetAbiStress/SwiftRetAbiStress.cmd has failed. Check the Test tab or this console log: https://helix.dot.net/api/2019-06-17/jobs/104cefda-713b-45df-87f1-0535211f1cfd/workitems/Interop/console

Check failure on line 44 in .packages/microsoft.dotnet.helix.sdk/9.0.0-beta.24161.5/tools/azure-pipelines/AzurePipelines.MultiQueue.targets

See this annotation in the file changed.

@azure-pipelines azure-pipelines / runtime-coreclr jitstressregs

.packages/microsoft.dotnet.helix.sdk/9.0.0-beta.24161.5/tools/azure-pipelines/AzurePipelines.MultiQueue.targets#L44

.packages/microsoft.dotnet.helix.sdk/9.0.0-beta.24161.5/tools/azure-pipelines/AzurePipelines.MultiQueue.targets(44,5): error : (NETCORE_ENGINEERING_TELEMETRY=Test) Test Interop/Swift/SwiftRetAbiStress/SwiftRetAbiStress/SwiftRetAbiStress.cmd has failed. Check the Test tab or this console log: https://helix.dot.net/api/2019-06-17/jobs/a56e2dd3-0f31-41e5-974c-cec1c6245dd2/workitems/Interop/console

Check failure on line 44 in .packages/microsoft.dotnet.helix.sdk/9.0.0-beta.24161.5/tools/azure-pipelines/AzurePipelines.MultiQueue.targets

See this annotation in the file changed.

@azure-pipelines azure-pipelines / runtime-coreclr jitstressregs

.packages/microsoft.dotnet.helix.sdk/9.0.0-beta.24161.5/tools/azure-pipelines/AzurePipelines.MultiQueue.targets#L44

.packages/microsoft.dotnet.helix.sdk/9.0.0-beta.24161.5/tools/azure-pipelines/AzurePipelines.MultiQueue.targets(44,5): error : (NETCORE_ENGINEERING_TELEMETRY=Test) Test Interop/Swift/SwiftRetAbiStress/SwiftRetAbiStress/SwiftRetAbiStress.cmd has failed. Check the Test tab or this console log: https://helix.dot.net/api/2019-06-17/jobs/993dc237-b01e-431e-9367-8006fbd50d86/workitems/Interop/console

Check failure on line 44 in .packages/microsoft.dotnet.helix.sdk/9.0.0-beta.24161.5/tools/azure-pipelines/AzurePipelines.MultiQueue.targets

See this annotation in the file changed.

@azure-pipelines azure-pipelines / runtime-coreclr jitstressregs

.packages/microsoft.dotnet.helix.sdk/9.0.0-beta.24161.5/tools/azure-pipelines/AzurePipelines.MultiQueue.targets#L44

.packages/microsoft.dotnet.helix.sdk/9.0.0-beta.24161.5/tools/azure-pipelines/AzurePipelines.MultiQueue.targets(44,5): error : (NETCORE_ENGINEERING_TELEMETRY=Test) Test Interop/Swift/SwiftRetAbiStress/SwiftRetAbiStress/SwiftRetAbiStress.cmd has failed. Check the Test tab or this console log: https://helix.dot.net/api/2019-06-17/jobs/2632ad67-3f20-4597-a056-7008e94e9fe7/workitems/Interop/console

Check failure on line 1 in Interop/Swift/SwiftRetAbiStress/SwiftRetAbiStress/SwiftRetAbiStress.cmd

See this annotation in the file changed.

@azure-pipelines azure-pipelines / runtime-coreclr jitstressregs

Interop/Swift/SwiftRetAbiStress/SwiftRetAbiStress/SwiftRetAbiStress.cmd

Assert failure(PID 14775 [0x000039b7], Thread: 165968 [0x28850]): Assertion failed 'parent->OperGet() == oper' in 'SwiftRetAbiStress:TestSwiftRetFunc2()' during 'LSRA allocate' (IL size 116; hash 0xbccedebe; FullOpts)

    File: /Users/runner/work/1/s/src/coreclr/jit/lsra.cpp:7418
    Image: /private/tmp/helix/working/9C6F08C5/p/corerun

waitpid() returned successfully (wstatus 00000000) WEXITSTATUS 0 WTERMSIG 0
/private/tmp/helix/working/9C6F08C5/w/A819092F/e/Interop/Interop/../Swift/SwiftRetAbiStress/SwiftRetAbiStress/SwiftRetAbiStress.sh: line 441: 14775 Abort trap: 6           (core dumped) $LAUNCHER $ExePath "${CLRTestExecutionArguments[@]}"

Return code:      1
Raw output file:      /tmp/helix/working/9C6F08C5/w/A819092F/uploads/Swift/SwiftRetAbiStress/SwiftRetAbiStress/output.txt
Raw output:
BEGIN EXECUTION
/tmp/helix/working/9C6F08C5/p/corerun -p System.Reflection.Metadata.MetadataUpdater.IsSupported=false -p System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization=true SwiftRetAbiStress.dll ''
Running SwiftRetFunc0: OK
Running SwiftRetFunc1: OK
[createdump] Gathering state for process 14775 
[createdump] Crashing thread 28850 signal 6 (0006)
[createdump] Writing crash report to file /cores/coredump.14775.dmp.crashreport.json
[createdump] Crash report successfully written
[createdump] Writing minidump with heap to file /cores/coredump.14775.dmp
[createdump] Written 360063128 bytes (87906 pages) to core file
[createdump] Target process is alive
[createdump] Dump successfully written in 6370ms
Expected: 100
Actual: 134
END EXECUTION - FAILED
Test failed. Trying to see if dump file was created in /cores since 3/14/2024 3:26:12 PM
Processing /cores/coredump.14775.dmp.crashreport.json
Printing stacktrace from '/cores/coredump.14775.dmp.crashreport.json'
Invoking llvm-symbolizer --pretty-print
Errors while running llvm-symbolizer --pretty-print
System.ComponentModel.Win32Exception (2): An error occurred trying to start process 'llvm-symbolizer' with working directory '/private/tmp/helix/working/9C6F08C5/w/A819092F/e/Interop/Interop'. No such file or directory
   at System.Diagnostics.Process.ForkAndExecProcess(ProcessStartInfo startInfo, String resolvedFilename, String[] argv, String[] envp, String cwd, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec) in /_/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/Process.Unix.cs:line 496
   at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo) in /_/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/Process.Unix.cs:line 456
   at CoreclrTestLib.CoreclrTestWrapperLib.TryPrintStackTraceFromCrashReport(String crashReportJsonFile, TextWriter outputWriter)
Finish looking for *.crashreport.json. No new files created.
Test Harness Exitcode is : 1
To run the test:
Set up CORE_ROOT and run.
> /private/tmp/helix/working/9C6F08C5/w/A819092F/e/Interop/Interop/../Swift/SwiftRetAbiStress/SwiftRetAbiStress/SwiftRetAbiStress.sh
Raw output
   at Xunit.Assert.True(Nullable`1 condition, String userMessage) in /_/src/Microsoft.DotNet.XUnitAssert/src/BooleanAsserts.cs:line 146
   at TestLibrary.OutOfProcessTest.RunOutOfProcessTest(String assemblyPath)
   at Program.<<Main>$>g__TestExecutor277|25_278(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass25_0&)

Check failure on line 1 in Interop/Swift/SwiftRetAbiStress/SwiftRetAbiStress/SwiftRetAbiStress.cmd

See this annotation in the file changed.

@azure-pipelines azure-pipelines / runtime-coreclr jitstressregs

Interop/Swift/SwiftRetAbiStress/SwiftRetAbiStress/SwiftRetAbiStress.cmd

Return code:      1
Raw output file:      /tmp/helix/working/B1DB0998/w/AF0E097E/uploads/Swift/SwiftRetAbiStress/SwiftRetAbiStress/output.txt
Raw output:
BEGIN EXECUTION
/tmp/helix/working/B1DB0998/p/corerun -p System.Reflection.Metadata.MetadataUpdater.IsSupported=false -p System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization=true SwiftRetAbiStress.dll ''
Running SwiftRetFunc0: OK
Running SwiftRetFunc1: OK
Running SwiftRetFunc2: OK
Running SwiftRetFunc3: OK
Running SwiftRetFunc4: OK
Running SwiftRetFunc5: OK
Running SwiftRetFunc6: OK
Running SwiftRetFunc7: OK
Running SwiftRetFunc8: OK
Running SwiftRetFunc9: OK
Running SwiftRetFunc10: OK
Running SwiftRetFunc11: OK
Running SwiftRetFunc12: OK
Running SwiftRetFunc13: OK
Running SwiftRetFunc14: Xunit.Sdk.EqualException: Assert.Equal() Failure: Values differ
Expected: 951929105049584033
Actual:   73538651680378
   at Xunit.Assert.Equal[T](T expected, T actual, IEqualityComparer`1 comparer) in /_/src/Microsoft.DotNet.XUnitAssert/src/EqualityAsserts.cs:line 168
   at SwiftRetAbiStress.TestSwiftRetFunc14()
   at __GeneratedMainWrapper.Main()
Expected: 100
Actual: 101
END EXECUTION - FAILED
Test failed. Trying to see if dump file was created in /cores since 3/14/2024 12:50:19 PM
Finish looking for *.crashreport.json. No new files created.
Test Harness Exitcode is : 1
To run the test:
Set up CORE_ROOT and run.
> /private/tmp/helix/working/B1DB0998/w/AF0E097E/e/Interop/Interop/../Swift/SwiftRetAbiStress/SwiftRetAbiStress/SwiftRetAbiStress.sh
Raw output
   at Xunit.Assert.True(Nullable`1 condition, String userMessage) in /_/src/Microsoft.DotNet.XUnitAssert/src/BooleanAsserts.cs:line 146
   at TestLibrary.OutOfProcessTest.RunOutOfProcessTest(String assemblyPath)
   at Program.<<Main>$>g__TestExecutor277|25_278(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass25_0&)

Check failure on line 1 in Interop/Swift/SwiftRetAbiStress/SwiftRetAbiStress/SwiftRetAbiStress.cmd

See this annotation in the file changed.

@azure-pipelines azure-pipelines / runtime-coreclr jitstressregs

Interop/Swift/SwiftRetAbiStress/SwiftRetAbiStress/SwiftRetAbiStress.cmd

Return code:      1
Raw output file:      /tmp/helix/working/A38708EC/w/B1920966/uploads/Swift/SwiftRetAbiStress/SwiftRetAbiStress/output.txt
Raw output:
BEGIN EXECUTION
/tmp/helix/working/A38708EC/p/corerun -p System.Reflection.Metadata.MetadataUpdater.IsSupported=false -p System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization=true SwiftRetAbiStress.dll ''
Running SwiftRetFunc0: OK
Running SwiftRetFunc1: OK
Running SwiftRetFunc2: OK
Running SwiftRetFunc3: OK
Running SwiftRetFunc4: OK
Running SwiftRetFunc5: OK
Running SwiftRetFunc6: OK
Running SwiftRetFunc7: OK
Running SwiftRetFunc8: OK
Running SwiftRetFunc9: Xunit.Sdk.EqualException: Assert.Equal() Failure: Values differ
Expected: 4720638462358523954
Actual:   131560242353067
   at Xunit.Assert.Equal[T](T expected, T actual, IEqualityComparer`1 comparer) in /_/src/Microsoft.DotNet.XUnitAssert/src/EqualityAsserts.cs:line 168
   at SwiftRetAbiStress.TestSwiftRetFunc9()
   at __GeneratedMainWrapper.Main()
Expected: 100
Actual: 101
END EXECUTION - FAILED
Test failed. Trying to see if dump file was created in /cores since 3/14/2024 12:59:19 PM
Finish looking for *.crashreport.json. No new files created.
Test Harness Exitcode is : 1
To run the test:
Set up CORE_ROOT and run.
> /private/tmp/helix/working/A38708EC/w/B1920966/e/Interop/Interop/../Swift/SwiftRetAbiStress/SwiftRetAbiStress/SwiftRetAbiStress.sh
Raw output
   at Xunit.Assert.True(Nullable`1 condition, String userMessage) in /_/src/Microsoft.DotNet.XUnitAssert/src/BooleanAsserts.cs:line 146
   at TestLibrary.OutOfProcessTest.RunOutOfProcessTest(String assemblyPath)
   at Program.<<Main>$>g__TestExecutor277|25_278(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass25_0&)

Check failure on line 1 in Interop/Swift/SwiftRetAbiStress/SwiftRetAbiStress/SwiftRetAbiStress.cmd

See this annotation in the file changed.

@azure-pipelines azure-pipelines / runtime-coreclr jitstressregs

Interop/Swift/SwiftRetAbiStress/SwiftRetAbiStress/SwiftRetAbiStress.cmd

Return code:      1
Raw output file:      /tmp/helix/working/B0C9099D/w/A3FE0989/uploads/Swift/SwiftRetAbiStress/SwiftRetAbiStress/output.txt
Raw output:
BEGIN EXECUTION
/tmp/helix/working/B0C9099D/p/corerun -p System.Reflection.Metadata.MetadataUpdater.IsSupported=false -p System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization=true SwiftRetAbiStress.dll ''
Running SwiftRetFunc0: OK
Running SwiftRetFunc1: OK
Running SwiftRetFunc2: OK
Running SwiftRetFunc3: OK
Running SwiftRetFunc4: OK
Running SwiftRetFunc5: OK
Running SwiftRetFunc6: OK
Running SwiftRetFunc7: OK
Running SwiftRetFunc8: OK
Running SwiftRetFunc9: Xunit.Sdk.EqualException: Assert.Equal() Failure: Values differ
Expected: 4720638462358523954
Actual:   131560242353067
   at Xunit.Assert.Equal[T](T expected, T actual, IEqualityComparer`1 comparer) in /_/src/Microsoft.DotNet.XUnitAssert/src/EqualityAsserts.cs:line 168
   at SwiftRetAbiStress.TestSwiftRetFunc9()
   at __GeneratedMainWrapper.Main()
Expected: 100
Actual: 101
END EXECUTION - FAILED
Test failed. Trying to see if dump file was created in /cores since 3/14/2024 12:56:22 PM
Finish looking for *.crashreport.json. No new files created.
Test Harness Exitcode is : 1
To run the test:
Set up CORE_ROOT and run.
> /private/tmp/helix/working/B0C9099D/w/A3FE0989/e/Interop/Interop/../Swift/SwiftRetAbiStress/SwiftRetAbiStress/SwiftRetAbiStress.sh
Raw output
   at Xunit.Assert.True(Nullable`1 condition, String userMessage) in /_/src/Microsoft.DotNet.XUnitAssert/src/BooleanAsserts.cs:line 146
   at TestLibrary.OutOfProcessTest.RunOutOfProcessTest(String assemblyPath)
   at Program.<<Main>$>g__TestExecutor277|25_278(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass25_0&)