dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
15.07k stars 4.69k forks source link

System.Security.Cryptography.X509Certificates.Tests.ChainTests.BuildInvalidSignatureTwice failure #82837

Open steveisok opened 1 year ago

steveisok commented 1 year ago

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=189217

Build error leg or test failing: System.Net.Security.Tests.CertificateValidationClientServer.CertificateValidationClientServer_EndToEnd_Ok

Pull request: https://github.com/dotnet/runtime/pull/82826

System.Security.Cryptography.X509Certificates.Tests.ChainTests.BuildInvalidSignatureTwice [FAIL]
    Chain is valid on execution 1
    Expected: False
    Actual:   True
    Stack Trace:
    /_/src/libraries/System.Security.Cryptography.X509Certificates/tests/ChainTests.cs(1019,0): at System.Security.Cryptography.X509Certificates.Tests.ChainTests.<BuildInvalidSignatureTwice>g__CheckChain|28_0(<>c__DisplayClass28_0&, <>c__DisplayClass28_1&, <>c__DisplayClass28_2&)
    /_/src/libraries/System.Security.Cryptography.X509Certificates/tests/ChainTests.cs(1025,0): at System.Security.Cryptography.X509Certificates.Tests.ChainTests.BuildInvalidSignatureTwice()

Error Message

{
  "ErrorMessage": "Chain is valid on execution 1",
  "BuildRetry": false,
  "ErrorPattern": "",
  "ExcludeConsoleLog": false
}

Report

Build Definition Test Pull Request
819558 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 1
ghost commented 1 year ago

Tagging subscribers to this area: @dotnet/area-system-security, @vcsjones See info in area-owners.md if you want to be subscribed.

Issue Details
## Build Information Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=189217 Build error leg or test failing: System.Net.Security.Tests.CertificateValidationClientServer.CertificateValidationClientServer_EndToEnd_OkPull request: https://github.com/dotnet/runtime/pull/82826 ``` System.Security.Cryptography.X509Certificates.Tests.ChainTests.BuildInvalidSignatureTwice [FAIL] Chain is valid on execution 1 Expected: False Actual: True Stack Trace: /_/src/libraries/System.Security.Cryptography.X509Certificates/tests/ChainTests.cs(1019,0): at System.Security.Cryptography.X509Certificates.Tests.ChainTests.g__CheckChain|28_0(<>c__DisplayClass28_0&, <>c__DisplayClass28_1&, <>c__DisplayClass28_2&) /_/src/libraries/System.Security.Cryptography.X509Certificates/tests/ChainTests.cs(1025,0): at System.Security.Cryptography.X509Certificates.Tests.ChainTests.BuildInvalidSignatureTwice() ``` ## Error Message ```json { "ErrorMessage": "Chain is valid on execution 1", "BuildRetry": false, "ErrorPattern": "", "ExcludeConsoleLog": false } ```
Author: steveisok
Assignees: -
Labels: `area-System.Security`, `blocking-clean-ci`, `Known Build Error`
Milestone: -
steveisok commented 1 year ago

/cc @jeffhandley

vcsjones commented 1 year ago

Am I correct in observing that this test only fails in linux-Debug-x64-mono_interpreter_release?

steveisok commented 1 year ago

Yes, as of right now it appears that way.

hoyosjs commented 1 year ago

Enabling again - seen in CI

adamsitnik commented 1 year ago

Am I correct in observing that this test only fails in linux-Debug-x64-mono_interpreter_release?

@steveisok If this is the case then we need some help from Mono Team.