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

HashAlgorithmTest.ComputeHashAsync_SupportsCancellation() fails to throw OperationCanceledException #67880

Closed
danmoseley opened this issue Apr 12, 2022 · 2 comments

Comments

@danmoseley
Copy link
Member

Console log: 'System.Security.Cryptography.Tests' from job 4f51ef79-15d1-474b-abcc-36d29680439b (ubuntu.1804.amd64.open.rt) using docker image mcr.microsoft.com/dotnet-buildtools/prereqs:debian-10-helix-amd64-20210304164434-56c6673 on a00BSOC

net7.0-Linux-Debug-x64-mono_interpreter_release-(Debian.10.Amd64.Open)Ubuntu.1804.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:debian-10-helix-amd64-20210304164434-56c6673

    System.Security.Cryptography.Tests.HashAlgorithmTest.ComputeHashAsync_SupportsCancellation [FAIL]
      Assert.Throws() Failure
      Expected: typeof(System.OperationCanceledException)
      Actual:   (No exception was thrown)
      Stack Trace:
        /_/src/libraries/System.Security.Cryptography/tests/HashAlgorithmTest.cs(69,0): at System.Security.Cryptography.Tests.HashAlgorithmTest.ComputeHashAsync_SupportsCancellation()
        --- End of stack trace from previous location ---
  Finished:    System.Security.Cryptography.Tests

This is Mono interpreter, but presumably not #66694 because that was a hang, plus the fix would be in this build.

@dotnet-issue-labeler dotnet-issue-labeler bot added area-System.Security untriaged New issue has not been triaged by the area owner labels Apr 12, 2022
@ghost
Copy link

ghost commented Apr 12, 2022

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

Issue Details

Console log: 'System.Security.Cryptography.Tests' from job 4f51ef79-15d1-474b-abcc-36d29680439b (ubuntu.1804.amd64.open.rt) using docker image mcr.microsoft.com/dotnet-buildtools/prereqs:debian-10-helix-amd64-20210304164434-56c6673 on a00BSOC

net7.0-Linux-Debug-x64-mono_interpreter_release-(Debian.10.Amd64.Open)Ubuntu.1804.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:debian-10-helix-amd64-20210304164434-56c6673

    System.Security.Cryptography.Tests.HashAlgorithmTest.ComputeHashAsync_SupportsCancellation [FAIL]
      Assert.Throws() Failure
      Expected: typeof(System.OperationCanceledException)
      Actual:   (No exception was thrown)
      Stack Trace:
        /_/src/libraries/System.Security.Cryptography/tests/HashAlgorithmTest.cs(69,0): at System.Security.Cryptography.Tests.HashAlgorithmTest.ComputeHashAsync_SupportsCancellation()
        --- End of stack trace from previous location ---
  Finished:    System.Security.Cryptography.Tests

This is Mono interpreter, but presumably not #66694 because that was a hang, plus the fix would be in this build.

Author: danmoseley
Assignees: -
Labels:

area-System.Security, untriaged

Milestone: -

@bartonjs
Copy link
Member

bartonjs commented Jul 6, 2022

Kusto doesn't show any hits of failures in this test now, so it must have been something transient.

@bartonjs bartonjs closed this as completed Jul 6, 2022
@ghost ghost removed the untriaged New issue has not been triaged by the area owner label Jul 6, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Aug 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants