Skip to content

e2e: SETTINGS-ACK deadline test fails to send its preface under CPU contention #1624

Closed

Description

@FlorentinDUBOIS

Symptom

tests::h2_clock_tests::test_h2_settings_ack_timeout_goaways_the_frontend fails under CPU contention before sozu's behaviour is exercised at all: the client cannot send its preface.

H2 SETTINGS-ACK deadline - could not send the client preface
stability check FAILED: iteration 1 of 2 did not succeed (2 consecutive successes are required)

Measured failure rate (2026-09-27)

The H2 e2e suite ran 10 times, pinned to one CPU with the default thread count:

taskset -c 0 cargo test -p sozu-e2e -- h2 --skip tests::fuzz_tests:: --test-threads=20

Likely cause (hypothesis, not verified)

The failing step is the client's own TLS handshake plus preface write, which happens before any SETTINGS exchange. A connect or handshake timeout in the test harness is the likely suspect when the worker and 20 test threads share one CPU. The test's two-iteration stability check then fails on the first infrastructure miss.

Suggested fix

Retry or lengthen the handshake and preface step, and report it as an infrastructure failure rather than a test failure. The SETTINGS-ACK deadline itself is not what fails.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions