Flaky: GalaxyDriverFixRound2Tests.A_fetch_completing_after_init_populates_host_statuses (10 s timeout under load) #856

Closed
opened 2026-11-11 07:55:31 -05:00 by dohertj2 · 1 comment
Owner

Failed once in the full-suite run on 03e51457 (10 s, during a serial run after heavier suites); passed 5/5 alone and 3/3 full Galaxy.Tests reruns. No Galaxy code changed in that batch. Capture with trx under load and apply the presence-vs-absence rule / self-diagnosing timeouts as in #843.

Failed once in the full-suite run on `03e51457` (10 s, during a serial run after heavier suites); passed 5/5 alone and 3/3 full Galaxy.Tests reruns. No Galaxy code changed in that batch. Capture with trx under load and apply the presence-vs-absence rule / self-diagnosing timeouts as in #843.
dohertj2 added the type:testpriority:p3 labels 2026-11-11 07:55:31 -05:00
Author
Owner

Fixed (988046cb, 90de3891). Pushed to master in e857135e. Root cause: a real visibility race — PerPlatformProbeWatcher.WatchedPlatforms read the handle map without the lock, so a test could see a platform before its probe binding was in the registry and its ScanState event was dropped as stale (11/700 runs under parallel load). Production dispatch was already ordered safely; the property now reads under the lock (PerPlatformProbeWatcherVisibilityTests, 0/1400 after). A second flake found under the same load (GalaxyDriverShutdownTests, fake's cancellation callback could be unregistered before running) fixed by signalling from the iterator's finally. Follow-ups: #858, #859.

Fixed (`988046cb`, `90de3891`). Pushed to master in `e857135e`. Root cause: a real visibility race — `PerPlatformProbeWatcher.WatchedPlatforms` read the handle map without the lock, so a test could see a platform before its probe binding was in the registry and its ScanState event was dropped as stale (11/700 runs under parallel load). Production dispatch was already ordered safely; the property now reads under the lock (`PerPlatformProbeWatcherVisibilityTests`, 0/1400 after). A second flake found under the same load (`GalaxyDriverShutdownTests`, fake's cancellation callback could be unregistered before running) fixed by signalling from the iterator's `finally`. Follow-ups: #858, #859.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dohertj2/lmxopcua#856