You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
regex_remap AuTest is flaky: LeakSanitizer leak in ConfigReloadTask::start_progress_checker #13662
The regex_remap AuTest fails nondeterministically on master. The test assertions all
pass; what fails is the traffic_server exit code, because LeakSanitizer reports a
leak during shutdown. The leak is in the config reload machinery and has nothing to do
with the test that surfaces it.
Rate
Five runs of regex_remap on an unmodified dev-asan build of 7ed34a3d3c, same
machine, same settings:
Process: ts: Failed
Test : Checking that ReturnCode == 0 - Failed
Reason: Returned Value 1 != 0
with every diags.log content assertion passing in the same run.
Why this test surfaces it
regex_remap.test.py rewrites the shared rule file and reloads remap.config to
verify that a new shared rule generation is compiled. That reload is what allocates
the progress checker. Whether the allocation is still reachable at shutdown appears to
be timing dependent, which is why the failure is intermittent rather than constant.
Any AuTest that reloads config is a candidate to hit the same thing.
Notes
There is no entry for this in ci/asan_leak_suppression/, and suppressing it would be
the wrong fix if the object is genuinely leaked rather than merely unreachable at exit.
Found while testing #13661, which is
unrelated to config reload. That branch shows the same flake, so it is not introduced
there.
Activity
Fix memory leaks after config reloads (apache#13747)
Fix memory leaks after config reloads (apache#13747)
Fix memory leaks after config reloads (apache#13747)