runtime: [NativeAOT] SIGABRT Crash in System.Security.Cryptography.OpenSsl.Tests

Saw the failure in: https://github.com/dotnet/runtime/pull/79519 and https://github.com/dotnet/runtime/pull/79578 https://github.com/dotnet/runtime/pull/79591

The #79591 is a noop PR with no code changes.

https://helixre107v0xdeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-79591-merge-93e036f2375b4c6a89/System.Security.Cryptography.OpenSsl.Tests/1/console.644fc1d2.log?helixlogtype=result

Console log: 'System.Security.Cryptography.OpenSsl.Tests' from job 93e036f2-375b-4c6a-89fc-e74d1c387fdb workitem bbb0e44d-9920-4fe8-8aff-4747c271be55 (osx.1200.arm64.open) executed on machine dci-macm1-build-071.local running macOS-12.4
+ ./RunTests.sh --runtime-path /tmp/helix/working/AA1309B6/p
----- start Tue Dec 13 09:49:41 PST 2022 =============== To repro directly: =====================================================
pushd .
chmod +rwx System.Security.Cryptography.OpenSsl.Tests ^&^& ./System.Security.Cryptography.OpenSsl.Tests -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing -xml testResults.xml 
popd
===========================================================================================================
/private/tmp/helix/working/AA1309B6/w/B77E09B0/e /private/tmp/helix/working/AA1309B6/w/B77E09B0/e
Running assembly:System.Security.Cryptography.OpenSsl.Tests, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
No usable version of libssl was found
./RunTests.sh: line 168:  8794 Abort trap: 6           ./System.Security.Cryptography.OpenSsl.Tests -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing -xml testResults.xml $RSP_FILE
/private/tmp/helix/working/AA1309B6/w/B77E09B0/e
----- end Tue Dec 13 09:49:41 PST 2022 ----- exit code 134 ----------------------------------------------------------
exit code 134 means SIGABRT Abort. Managed or native assert, or runtime check such as heap corruption, caused call to abort(). Core dumped.
ulimit -c value: 0
+ export _commandExitCode=134
+ _commandExitCode=134
+ /usr/local/bin/python3 /tmp/helix/working/AA1309B6/p/reporter/run.py https://dev.azure.com/dnceng-public/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oxCN3lw2VAFYmRVLqEQvGsD7Oj3S9ShNh0RxkPrc9aR-u7DS2KtrCg
2022-12-13T17:49:41.797Z	INFO   	run.py	run(48)	main	Beginning reading of test results.
2022-12-13T17:49:41.798Z	INFO   	run.py	__init__(42)	read_results	Searching '/private/tmp/helix/working/AA1309B6/w/B77E09B0/e' for test results files
2022-12-13T17:49:41.798Z	INFO   	run.py	__init__(42)	read_results	Searching '/tmp/helix/working/AA1309B6/w/B77E09B0/uploads' for test results files
2022-12-13T17:49:41.798Z	WARNING	run.py	__init__(55)	read_results	No results file found in any of the following formats: xunit, junit, trx
2022-12-13T17:49:41.798Z	INFO   	run.py	packing_test_reporter(30)	report_results	Packing 0 test reports to '/tmp/helix/working/AA1309B6/w/B77E09B0/e/__test_report.json'
2022-12-13T17:49:41.799Z	INFO   	run.py	packing_test_reporter(33)	report_results	Packed 1424 bytes
+ /usr/local/bin/python3 /tmp/helix/working/AA1309B6/p/gen-debug-dump-docs.py -buildid 110881 -workitem System.Security.Cryptography.OpenSsl.Tests -jobid 93e036f2-375b-4c6a-89fc-e74d1c387fdb -outdir /tmp/helix/working/AA1309B6/w/B77E09B0/uploads -templatedir /tmp/helix/working/AA1309B6/p -dumpdir /cores -productver 8.0.0
Did not find dumps, skipping dump docs generation.
+ exit 134
['System.Security.Cryptography.OpenSsl.Tests' END OF WORK ITEM LOG: Command exited with 134]

Error Message

Fill the error message using known issues guidance.

{
  "ErrorMessage": "No usable version of libssl was found",
  "BuildRetry": false
}

Report

Build Definition Test Pull Request
110530 dotnet/runtime System.Security.Cryptography.OpenSsl.Tests.WorkItemExecution dotnet/runtime#79519
110881 dotnet/runtime System.Security.Cryptography.OpenSsl.Tests.WorkItemExecution dotnet/runtime#79591
110537 dotnet/runtime System.Security.Cryptography.OpenSsl.Tests.WorkItemExecution
110316 dotnet/runtime System.Security.Cryptography.OpenSsl.Tests.WorkItemExecution dotnet/runtime#79578
109880 dotnet/runtime System.Security.Cryptography.OpenSsl.Tests.WorkItemExecution

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 5

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 18 (18 by maintainers)

Most upvoted comments

@VSadov I think I found it. Specifically, it was fallout from https://github.com/dotnet/arcade/issues/11631 , “llvm-symbolizer not present in base queue”.

Addressing that made DDFUN run brew update, which moved them from having OpenSSL 1.1.1k to 1.1.1s without fixing those links. While the links exist, they didn’t actually go to the files they should.

I’ve fixed this up on osx.1200.arm64.open and will keep an eye on it until the tests pass again.

@VSadov I have my ways… I’ll keep https://github.com/dotnet/arcade/issues/11943 open until I see it working either way.