Skip to content

HashAlgorithmTest.ComputeHashAsync_SupportsCancellation() fails to throw OperationCanceledException #67880

Closed

Description

@danmoseley

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)[email protected]/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.

Activity

  1. ghost added
    untriaged
    on Apr 12, 2022
  2. bartonjs commented on Jul 6, 2022

    @bartonjs
    Member

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

  3. ghost removed
    untriaged
    on Jul 6, 2022
  4. ghost locked as resolved and limited conversation to collaborators on Aug 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions