From ad806606ac76f992a04d0d02eb4318c0d55523c4 Mon Sep 17 00:00:00 2001 From: faumaray Date: Sun, 25 Oct 2026 04:34:05 +0300 Subject: [PATCH] Say in the smoke script which of its checks still flake After the roundtrip and ts6_banners fixes the smoke passed two of three runs on the head of the branch; the third failed at the directory check of the TeamSpeak 6 stage, `the directory did not list the stream`. The viewer of that check ends when it has 30 frames and the script looks for the directory's `"title"` line, which the viewer prints only if its own gateway session had connected by then; in the failed run it was still `observe=Connecting`. The fix is in voelinctl engine (end the viewer on both), not in a round about tests, so the comment above directory_check records it, with the earlier `expected output did not appear` of the gateway stage that was seen with the same engine state. Co-Authored-By: Claude Sonnet 5.5 --- scripts/it-smoke.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/scripts/it-smoke.sh b/scripts/it-smoke.sh index 2f2c71b..413d3a8 100755 --- a/scripts/it-smoke.sh +++ b/scripts/it-smoke.sh @@ -379,6 +379,19 @@ features_check() { # TeamSpeak 6: an engine session streams; its stream registers in the # gateway's directory; a viewer that connects later finds it and watches it. +# +# Known to flake, not fixed: voelinctl engine ends the viewer as soon as it has +# the 30 frames (--expect-frames), and the `"title":"..."` line this checks is +# printed only when the viewer's own gateway session got connected and told +# of the directory before that. When the gateway session is still +# `observe=Connecting` at the 30th frame (seen once in three runs of the +# smoke, with the stream watched and the stream listed through TeamSpeak 6's +# own listing, `streams: ...`), the check fails with "the directory did not +# list the stream". The config_set of the gateway stage once failed ("expected +# output did not appear") with its engine still `observe=Connecting` too; +# that was not looked into. A fix for this one +# belongs in voelinctl (end the viewer on both), not here; see +# docs/testing/load.md. directory_check() { local svc=$1 addr=$2 url=$3 user=$4 streamer="dir-$$-$RANDOM" title="directory-$RANDOM" local out="$STATE_DIR/directory-stream.log" viewer_out="$STATE_DIR/directory-watch.log"