Skip to content

[wasi] System.Net.Http.Functional.Tests work item times out (intermittent hang) #136685

Open

Description

@lewing

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1654665
Build error leg or test failing: wasi-wasm linux Release LibraryTestsCoreCLR_WASI-WasmTestOnWasmtime-CLR-ST-System.Net.Http.Functional.Tests
Pull request: #136234

KBE authoring guidance (ci-failure-scan)
  • Error Details is 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.
  • ErrorMessage is a case-sensitive ordinal String.Contains substring copied verbatim from the failing log.
  • Set BuildRetry to true only for a clear infrastructure retry case. ExcludeConsoleLog disables Helix console-log scanning.

Error Details

On CoreCLR WASI (single-threaded, wasmtime 49.0.1), the System.Net.Http.Functional.Tests Helix work item intermittently hangs until the 30-minute Helix timeout. It isn't specific to one test. In CI it stopped at GetAsync_AutomaticBrotliDecompression_MaxResponseContentBufferSizeEnforced. A local Linux repro, about 3 hangs in 15 traced full runs, stopped there and twice at SocketsHttpHandler_Http1KeepAlive_Test.Http1ResponseWithKeepAlive_ConnectionNotReusedForShortTimeoutOrMax0. The hung process sits at 0% CPU. In one traced hang the WASI event loop was blocked in wasi:io/poll waiting on 4 one-shot pollables and 3 socket subscriptions, none of which ever became ready, which looks like a lost wakeup around connection teardown. Still under investigation.

[EXECUTION TIMED OUT]
Exit Code:-3Executor timed out after 1800 seconds and was killed
['WasmTestOnWasmtime-CLR-ST-System.Net.Http.Functional.Tests' END OF WORK ITEM LOG: Command timed out, and was killed]

Error Message

{
  "ErrorMessage": "'WasmTestOnWasmtime-CLR-ST-System.Net.Http.Functional.Tests' END OF WORK ITEM LOG: Command timed out, and was killed",
  "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

Note

This issue was generated with GitHub Copilot.

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1654665
Error message validated: ['WasmTestOnWasmtime-CLR-ST-System.Net.Http.Functional.Tests' END OF WORK ITEM LOG: Command timed out, and was killed]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 10/30/2026 4:28:53 AM UTC

Report

Build Repository Test Pull Request
1660348 dotnet/runtime WasmTestOnWasmtime-CLR-ST-System.Net.Http.Functional.Tests.WorkItemExecution #136191
1659398 dotnet/runtime WasmTestOnWasmtime-CLR-ST-System.Net.Http.Functional.Tests.WorkItemExecution #136826
1659101 dotnet/runtime WasmTestOnWasmtime-CLR-ST-System.Net.Http.Functional.Tests.WorkItemExecution #136782
1659034 dotnet/runtime WasmTestOnWasmtime-CLR-ST-System.Net.Http.Functional.Tests.WorkItemExecution #133384
1658971 dotnet/runtime WasmTestOnWasmtime-CLR-ST-System.Net.Http.Functional.Tests.WorkItemExecution #136682
1658922 dotnet/runtime WasmTestOnWasmtime-CLR-ST-System.Net.Http.Functional.Tests.WorkItemExecution #136805
1658911 dotnet/runtime WasmTestOnWasmtime-CLR-ST-System.Net.Http.Functional.Tests.WorkItemExecution #136803
1658391 dotnet/runtime WasmTestOnWasmtime-CLR-ST-System.Net.Http.Functional.Tests.WorkItemExecution #136731
1658227 dotnet/runtime WasmTestOnWasmtime-CLR-ST-System.Net.Http.Functional.Tests.WorkItemExecution #136681
1657668 dotnet/runtime WasmTestOnWasmtime-CLR-ST-System.Net.Http.Functional.Tests.WorkItemExecution #136699
1657662 dotnet/runtime WasmTestOnWasmtime-CLR-ST-System.Net.Http.Functional.Tests.WorkItemExecution #136752
3122685 dotnet-runtime WasmTestOnWasmtime-CLR-ST-System.Net.Http.Functional.Tests.WorkItemExecution
1656640 dotnet/runtime WasmTestOnWasmtime-CLR-ST-System.Net.Http.Functional.Tests.WorkItemExecution
1656433 dotnet/runtime WasmTestOnWasmtime-CLR-ST-System.Net.Http.Functional.Tests.WorkItemExecution #136191
1656193 dotnet/runtime WasmTestOnWasmtime-CLR-ST-System.Net.Http.Functional.Tests.WorkItemExecution #136709
1656182 dotnet/runtime WasmTestOnWasmtime-CLR-ST-System.Net.Http.Functional.Tests.WorkItemExecution #136692
1656087 dotnet/runtime WasmTestOnWasmtime-CLR-ST-System.Net.Http.Functional.Tests.WorkItemExecution #136511
1655734 dotnet/runtime WasmTestOnWasmtime-CLR-ST-System.Net.Http.Functional.Tests.WorkItemExecution #136630
1655677 dotnet/runtime WasmTestOnWasmtime-CLR-ST-System.Net.Http.Functional.Tests.WorkItemExecution #133483
1654665 dotnet/runtime WasmTestOnWasmtime-CLR-ST-System.Net.Http.Functional.Tests.WorkItemExecution #136234

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 20

Activity

  1. added
    arch-wasm
    blocking-clean-ci
    Known Build Error
    on Oct 30, 2026
  2. dotnet-policy-service commented on Oct 30, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to 'arch-wasm': @lewing, @pavelsavara
    See info in area-owners.md if you want to be subscribed.

  3. added
    untriaged
    on Oct 30, 2026
  4. dotnet-policy-service commented on Oct 30, 2026

    @dotnet-policy-service
    Contributor

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

  5. lewing commented on Oct 30, 2026

    @lewing
    MemberAuthor

    I'm opening this as a broad catch while I actively debug it.

  6. added
    os-wasi
    and removed
    untriaged
    on Oct 30, 2026
  7. added this to the 12.0.0 milestone on Oct 30, 2026
  8. self-assigned this
    on Oct 30, 2026
  9. lewing commented on Oct 30, 2026

    @lewing
    MemberAuthor

    #136733 should fix this but I will leave it open once that lands to surface any additional errors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Known Build Errorarch-wasmarea-System.Net.Httpblocking-clean-cios-wasi

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions