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 <noreply@anthropic.com>
This commit is contained in:
faumarayandClaude Sonnet 5.5 committed 2026-10-25 04:34:05 +03:00
1 parent f508e5bec4
commit ad806606ac
1 file changed
+13
+13
View File
@@ -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"