Repository navigation
Description
Description
NetworkStreamTest.ZeroByteRead_BlocksUntilDataAvailableOrNops(mode: AsyncArray) failed on linux-x64 Debug with Mono MiniJIT. The assertion expecting the zero-byte read task to remain incomplete failed before the test started its next write.
The failing path creates connected NetworkStream instances and does not invoke JSON serialization. The source PR changes only NullableConverter<T> and System.Text.Json-specific tests and helpers; it does not change this test, socket code, or Mono. The underlying cause of the premature task completion has not been established.
Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1629377
Build error leg or test failing: linux-x64 Debug Mono_MiniJIT_LibrariesTests-System.Net.Sockets.Tests
Pull request: #135477
KBE authoring guidance (ci-failure-scan)
Error Detailsis for readers. Paste the full exception, stack trace, or build error excerpt so the failure is understandable without opening the raw log.- Build Analysis parses only the single JSON block under
Error Message. ErrorMessageis a case-sensitive ordinalString.Containssubstring copied verbatim from the failing log.- Set
BuildRetrytotrueonly for a clear infrastructure retry case.ExcludeConsoleLogdisables Helix console-log scanning.
Error Details
System.Net.Sockets.Tests.NetworkStreamTest.ZeroByteRead_BlocksUntilDataAvailableOrNops(mode: AsyncArray) [FAIL]
Assert.False() Failure
Expected: False
Actual: True
Stack Trace:
/_/src/libraries/Common/tests/StreamConformanceTests/System/IO/StreamConformanceTests.cs(2330,0): at System.IO.Tests.ConnectedStreamConformanceTests.ZeroByteRead_BlocksUntilDataAvailableOrNops(ReadWriteMode mode)
--- End of stack trace from previous location ---
System.Net.Sockets.Tests Total: 2451, Errors: 0, Failed: 1, Skipped: 9
Error Message
{
"ErrorMessage": [
"System.Net.Sockets.Tests.NetworkStreamTest.ZeroByteRead_BlocksUntilDataAvailableOrNops(mode: AsyncArray) [FAIL]",
"Assert.False() Failure",
"Expected: False",
"Actual: True"
],
"ErrorPattern": "",
"BuildRetry": false,
"ExcludeConsoleLog": false
}Agentic workflow metadata (ci-failure-scan)
Workflow artifact: ci-failure-scan
Artifact kind: kbe-verification
Verified match count: 1 hits in failure.log
Reproduction Steps
Observed in the linked CI build, Helix job 22b56e14-4083-485b-a2b3-54e3a64e4aa6, work item System.Net.Sockets.Tests. A deterministic standalone reproduction has not been established.
Expected behavior
The zero-byte read task remains incomplete at the assertion before the test starts its next write.
Actual behavior
The task was already completed, causing Assert.False(zeroByteRead.IsCompleted) to fail. The test assembly reported one failure; the enclosing Helix work item nevertheless exited with code 0.
Regression?
Unknown.
Known Workarounds
None established.
Configuration
linux-x64 Debug with Mono MiniJIT, running in the Ubuntu 26.04 Helix container on queue azurelinux.3.amd64.open.rt. Build Analysis reports Ubuntu.2604.Amd64.Open. Other configurations have not been established as affected.
Other information
Note
This issue was created with GitHub Copilot.
Known issue validation
Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1629377
Error message validated: [System.Net.Sockets.Tests.NetworkStreamTest.ZeroByteRead_BlocksUntilDataAvailableOrNops(mode: AsyncArray) [FAIL] Assert.False() Failure Expected: False Actual: True]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 10/9/2026 10:22:30 AM UTC
Report
| Build | Repository | Test | Pull Request |
|---|---|---|---|
| 1686542 | dotnet/runtime | System.Net.Sockets.Tests.NetworkStreamTest.ZeroByteRead_BlocksUntilDataAvailableOrNops | #137381 |
| 1684307 | dotnet/runtime | System.Net.Sockets.Tests.NetworkStreamTest.ZeroByteRead_BlocksUntilDataAvailableOrNops | #137691 |
| 1653907 | dotnet/runtime | System.Net.Sockets.Tests.NetworkStreamTest.ZeroByteRead_BlocksUntilDataAvailableOrNops |
Summary
| 24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
|---|---|---|
| 0 | 0 | 3 |
Activity
dotnet-policy-service commentedon Oct 9, 2026
Tagging subscribers to this area: @karelz, @dotnet/ncl
See info in area-owners.md if you want to be subscribed.