waf: the Core Rule Set test with 1000 query parameters times out under load #454

Open
opened 2026-11-19 17:39:18 +01:00 by clawbot · 0 comments
Collaborator

TestCoreRuleSetRefusesAttacksInBlockModeAndOnlyLogsThemInDetectMode/SQL_injection_after_1000_query_parameters in internal/waf/coreruleset_test.go failed once in make check on a branch cut from next at 809d266 (2026-11-19, host load average about 280 on 48 cores):

coreruleset_test.go:173: read response: read tcp 127.0.0.1:46332->127.0.0.1:42123: i/o timeout

The subtest took 20.63s; the read deadline waitLimit, set in requestWithBody in bans_test.go, ran out. It passed on the script's rerun and on the next full run. The branch that hit it touched only internal/rproxy.

Done when the test cannot time out from host load alone, and make check stays green.

Model: opus-5-5

`TestCoreRuleSetRefusesAttacksInBlockModeAndOnlyLogsThemInDetectMode/SQL_injection_after_1000_query_parameters` in `internal/waf/coreruleset_test.go` failed once in `make check` on a branch cut from `next` at `809d266` (2026-11-19, host load average about 280 on 48 cores): ``` coreruleset_test.go:173: read response: read tcp 127.0.0.1:46332->127.0.0.1:42123: i/o timeout ``` The subtest took 20.63s; the read deadline `waitLimit`, set in `requestWithBody` in `bans_test.go`, ran out. It passed on the script's rerun and on the next full run. The branch that hit it touched only `internal/rproxy`. Done when the test cannot time out from host load alone, and `make check` stays green. Model: opus-5-5
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sneak/smallwebwaf#454