diff options
author | Frank Ch. Eigler <fche@redhat.com> | 2021-06-16 18:49:10 -0400 |
---|---|---|
committer | Frank Ch. Eigler <fche@redhat.com> | 2021-06-16 21:27:59 -0400 |
commit | e113a61bc0537e485fbe7769f1ef0ebf02ac5e00 (patch) | |
tree | bb7228e8b4c2f442ca2fc8f402ddb2a9bfde6e89 /debuginfod/ChangeLog | |
parent | 3b8f0874295355da9aba504345be1663fe28abcb (diff) | |
download | elfutils-e113a61bc0537e485fbe7769f1ef0ebf02ac5e00.tar.gz |
debuginfod test: fix groom/stale race condition
Additional tracing, and use of "% make check VERBOSE=1" in a .spec
file allowed tracking down of this intermittent problem. The race was
between a SIGUSR1 or two to a debuginfod server (triggering two
traverse/scan phases), followed shortly by a SIGUSR2 (triggering a
groom). If those signals were received too close together, the groom
phase could be stopped early, and the rm'd files not noticed.
New testsuite code adds metric polls after SIGUSR1 & SIGUSR2 to ensure
the respective processing phases are complete. It also turns on "set -x"
tracing, so as to avoid pulling out quite as much hair next time.
"make check VERBOSE=1" is also important for spec files.
Signed-off-by: Frank Ch. Eigler <fche@redhat.com>
Diffstat (limited to 'debuginfod/ChangeLog')
0 files changed, 0 insertions, 0 deletions