Open ViktorHofer opened 3 years ago
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.
Tagging subscribers to this area: @bartonjs, @vcsjones, @krwq, @GrabYourPitchForks See info in area-owners.md if you want to be subscribed.
Author: | ViktorHofer |
---|---|
Assignees: | - |
Labels: | `area-System.Security`, `os-mariner` |
Milestone: | - |
Duplicate of https://github.com/dotnet/runtime/issues/57506?
Based on the stack trace this looks different. Don't see any Internal.Cryptography.Pal.ChainPal.BuildChain
frames here.
Apparently https://github.com/dotnet/runtime/pull/57811 didn't help as the test assembly is still crashing on Mariner: https://helixre8s23ayyeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-heads-main-930b6759615d4fa38f/System.Security.Cryptography.X509Certificates.Tests/1/console.779c5cb4.log?sv=2019-07-07&se=2021-09-13T21%3A00%3A03Z&sr=c&sp=rl&sig=7FcvQL4ouNFNYbp2I3bei3dBiuaIBxQ3RD9TuPiumHA%3D.
Presumably the crash happens before the the assembly is skipped, during test discovery.
No longer repros:
root [ /projects/runtime/src/libraries/System.Security.Cryptography.X509Certificates/tests ]# ../../../../.dotnet/dotnet msbuild /t:Test /p:OuterLoop=true
MSBuild version 17.3.0-preview-22306-01+1c045cf58 for .NET
Microsoft.Interop.SourceGeneration -> /projects/runtime/artifacts/bin/Microsoft.Interop.SourceGeneration/Debug/netstandard2.0/Microsoft.Interop.SourceGeneration.dll
LibraryImportGenerator -> /projects/runtime/artifacts/bin/LibraryImportGenerator/Debug/netstandard2.0/Microsoft.Interop.LibraryImportGenerator.dll
TestUtilities -> /projects/runtime/artifacts/bin/TestUtilities/Debug/net6.0/TestUtilities.dll
System.Runtime -> /projects/runtime/artifacts/bin/System.Runtime/ref/Debug/net7.0/System.Runtime.dll
System.Runtime.Numerics -> /projects/runtime/artifacts/bin/System.Runtime.Numerics/ref/Debug/net7.0/System.Runtime.Numerics.dll
System.Collections -> /projects/runtime/artifacts/bin/System.Collections/ref/Debug/net7.0/System.Collections.dll
System.Formats.Asn1 -> /projects/runtime/artifacts/bin/System.Formats.Asn1/ref/Debug/net7.0/System.Formats.Asn1.dll
System.Formats.Asn1 -> /projects/runtime/artifacts/bin/System.Formats.Asn1/Debug/net7.0/System.Formats.Asn1.dll
System.Security.Cryptography.Pkcs -> /projects/runtime/artifacts/bin/System.Security.Cryptography.Pkcs/ref/Debug/net7.0/System.Security.Cryptography.Pkcs.dll
System.Security.Cryptography.Pkcs -> /projects/runtime/artifacts/bin/System.Security.Cryptography.Pkcs/Debug/net7.0/System.Security.Cryptography.Pkcs.dll
System.Security.Cryptography.X509Certificates.Tests -> /projects/runtime/artifacts/bin/System.Security.Cryptography.X509Certificates.Tests/Debug/net7.0-unix/System.Security.Cryptography.X509Certificates.Tests.dll
----- start Fri Aug 5 05:27:13 PM UTC 2022 =============== To repro directly: =====================================================
pushd /projects/runtime/artifacts/bin/System.Security.Cryptography.X509Certificates.Tests/Debug/net7.0-unix
/projects/runtime/artifacts/bin/testhost/net7.0-Linux-Debug-x64/dotnet exec --runtimeconfig System.Security.Cryptography.X509Certificates.Tests.runtimeconfig.json --depsfile System.Security.Cryptography.X509Certificates.Tests.deps.json xunit.console.dll System.Security.Cryptography.X509Certificates.Tests.dll -xml testResults.xml -nologo -notrait category=failing
popd
===========================================================================================================
/projects/runtime/artifacts/bin/System.Security.Cryptography.X509Certificates.Tests/Debug/net7.0-unix /projects/runtime/src/libraries/System.Security.Cryptography.X509Certificates/tests
Discovering: System.Security.Cryptography.X509Certificates.Tests (method display = ClassAndMethod, method display options = None)
Discovered: System.Security.Cryptography.X509Certificates.Tests (found 837 of 879 test cases)
Starting: System.Security.Cryptography.X509Certificates.Tests (parallel test collections = on, max threads = 8)
System.Security.Cryptography.X509Certificates.Tests.X509StoreTests.X509Store_MachineStoreLoadSkipsInvalidFiles [SKIP]
Condition(s) not met: "NotRunningAsRootAndRemoteExecutorSupported"
System.Security.Cryptography.X509Certificates.Tests.X509FilesystemTests.VerifyCrlCache [SKIP]
Condition(s) not met: "RunManualTests"
Finished: System.Security.Cryptography.X509Certificates.Tests
=== TEST EXECUTION SUMMARY ===
System.Security.Cryptography.X509Certificates.Tests Total: 1860, Errors: 0, Failed: 0, Skipped: 2, Time: 110.480s
/projects/runtime/src/libraries/System.Security.Cryptography.X509Certificates/tests
----- end Fri Aug 5 05:29:05 PM UTC 2022 ----- exit code 0 ----------------------------------------------------------
exit code 0 means Exited Successfully
root [ /projects/runtime/src/libraries/System.Security.Cryptography.X509Certificates/tests ]# cat /etc/os-release
NAME="Common Base Linux Mariner"
VERSION="2.0.20220731"
ID=mariner
VERSION_ID="2.0"
PRETTY_NAME="CBL-Mariner/Linux"
ANSI_COLOR="1;34"
HOME_URL="https://aka.ms/cbl-mariner"
BUG_REPORT_URL="https://aka.ms/cbl-mariner"
SUPPORT_URL="https://aka.ms/cbl-mariner"
Actually, while the title never mentioned mono, I see the intro text did... reopening while I figure out how to run under mono.
If this no longer repros - great. This is holding consolidating the X.509 tests in to the more general S.S.Cryptography/tests.
Verified that it's not crashing on mariner.2, but unclear on how to proceed with removing the ActiveIssue labels see long update at https://github.com/dotnet/runtime/issues/57506#issuecomment-1206738959.
Configuration:
net6.0-Linux-Release-x64-Mono_release-(Mariner.1.0.Amd64.Open)ubuntu.1604.amd64.open@mcr.microsoft.com/dotnet-buildtools/prereqs:cbl-mariner-1.0-helix-20210528192219-92bf620
Console log: https://helixre8s23ayyeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-heads-main-9ceea0655ec846a0a6/System.Security.Cryptography.X509Certificates.Tests/1/console.10f1c92f.log?sv=2019-07-07&se=2021-09-07T08%3A33%3A20Z&sr=c&sp=rl&sig=HoZ9NO4K4w0Q%2BVf69HSt5eWYYCzqxtmOWEYPN68vdQ4%3D
Build: https://dev.azure.com/dnceng/public/_build/results?buildId=1300925&view=ms.vss-test-web.build-test-results-tab&runId=38340862&resultId=100247&paneView=dotnet-dnceng.dnceng-build-release-tasks.helix-test-information-tab
cc @danmoseley @safern @marek-safar