Skip to content

pool_lock autest intermittently fails: hybrid pool reuse returns 502 #13871

Closed

Description

@bryancall

The pool_lock autest added in #13806 failed in CI on an unrelated pull request, #13869, which only changes tests/gold_tests/cache/proxy_serve_stale_dns_fail.test.py. The failure was in the hybrid pool run: the client's second request, the one that should reuse a pooled origin connection from another thread, got a 502 instead of a 200.

Run: Reuse pooled origin connections across threads with the hybrid pool: Failed
  Process: Default: Failed
    Test : Checking that ReturnCode == 0 - Failed
    file .../_output/5-tr-Default/stream.stdout.txt : There should be no Proxy Verifier violation errors. - Failed
      [ERROR]: HTTP/1 Status Violation: expected 200 got 502, key: c-second

The global pool run in the same test passed, and the later runs in the test were skipped after this one failed.

CI build: autest 45572 (shard 1of4, PR head e50f965 merged onto master after #13806 landed). Since #13806 merged, pool_lock has run three times in PR CI and failed once.

I could not reproduce it locally. Current master (5a4be51) built with the ci-fedora-autest preset in the fedora:44 CI image passed pool_lock 160 times out of 160: 80 runs on an idle machine and 80 under heavy CPU and disk load. One difference from CI is that I ran the test on its own, while CI runs it two at a time alongside the rest of the shard.

Activity

  1. self-assigned this
    on Oct 20, 2026
  2. added a commit that references this issue on Oct 20, 2026
    bc6b522
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions