Skip to content

Quarantine Microsoft.AspNetCore.ResponseCaching.Tests.CachedResponseBodyTests.Copy_MultipleSegments #61293

Open
@mitchdenny

Description

@mitchdenny

Failing Test(s)

Microsoft.AspNetCore.ResponseCaching.Tests.CachedResponseBodyTests.Copy_MultipleSegments

Error Message

System.OperationCanceledException : The operation was canceled.

Stacktrace

at System.Threading.CancellationToken.ThrowOperationCanceledException()
   at System.Threading.CancellationToken.ThrowIfCancellationRequested()
   at System.IO.Pipelines.Pipe.GetReadAsyncResult()
   at Microsoft.AspNetCore.ResponseCaching.Tests.CachedResponseBodyTests.ReceiveDataAsync(PipeReader reader, List`1 receivedSegments, CancellationToken cancellationToken) in /_/src/Middleware/ResponseCaching/test/CachedResponseBodyTests.cs:line 105
   at Microsoft.AspNetCore.ResponseCaching.Tests.CachedResponseBodyTests.Copy_MultipleSegments() in /_/src/Middleware/ResponseCaching/test/CachedResponseBodyTests.cs:line 90

Logs


2025-04-02T22:25:15.2557106Z   Failed Microsoft.AspNetCore.ResponseCaching.Tests.CachedResponseBodyTests.Copy_MultipleSegments [8 s]
2025-04-02T22:25:15.2558210Z   Error Message:
2025-04-02T22:25:15.2559600Z    System.OperationCanceledException : The operation was canceled.
2025-04-02T22:25:15.2560937Z   Stack Trace:
2025-04-02T22:25:15.2562313Z      at System.Threading.CancellationToken.ThrowOperationCanceledException()
2025-04-02T22:25:15.2562434Z    at System.Threading.CancellationToken.ThrowIfCancellationRequested()
2025-04-02T22:25:15.2562488Z    at System.IO.Pipelines.Pipe.GetReadAsyncResult()
2025-04-02T22:25:15.2562640Z    at Microsoft.AspNetCore.ResponseCaching.Tests.CachedResponseBodyTests.ReceiveDataAsync(PipeReader reader, List`1 receivedSegments, CancellationToken cancellationToken) in /_/src/Middleware/ResponseCaching/test/CachedResponseBodyTests.cs:line 105
2025-04-02T22:25:15.2562755Z    at Microsoft.AspNetCore.ResponseCaching.Tests.CachedResponseBodyTests.Copy_MultipleSegments() in /_/src/Middleware/ResponseCaching/test/CachedResponseBodyTests.cs:line 90

Build

https://dev.azure.com/dnceng-public/public/_build/results?buildId=1003216

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-middlewareIncludes: URL rewrite, redirect, response cache/compression, session, and other general middlewarestest-failure

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions