Runtime.Tests DataConnections: intermittent failure under full-filter load (GrpcDataStreamOrderingTests.Changing_the_filter_acknowledges_a_new_revision_before_its_snapshot) #962

Closed
opened 2026-12-01 20:41:37 -05:00 by dohertj2 · 1 comment
Owner

Seen 2026-12-01 during the #956/#957 work: that test failed once in a full FullyQualifiedName~DataConnections run and passed alone / on rerun. The coordinator post-merge run of the same filter on master also had 1 failure in 990 (test name not captured), and the rerun passed. 15 isolated runs of GrpcDataStreamOrderingTests: 0 failures — load-dependent. Past flakes in this repo were real production races (#859, #920), so reproduce with a 30x full-filter loop + trx and decide whether it is test timing or a stream-ordering race (revision ack vs snapshot).

Seen 2026-12-01 during the #956/#957 work: that test failed once in a full `FullyQualifiedName~DataConnections` run and passed alone / on rerun. The coordinator post-merge run of the same filter on master also had 1 failure in 990 (test name not captured), and the rerun passed. 15 isolated runs of GrpcDataStreamOrderingTests: 0 failures — load-dependent. Past flakes in this repo were real production races (#859, #920), so reproduce with a 30x full-filter loop + trx and decide whether it is test timing or a stream-ordering race (revision ack vs snapshot).
dohertj2 added the type:testpriority:p3 labels 2026-12-01 20:41:37 -05:00
Author
Owner

Real production race, fixed in 23b28e001 (merged to master, not yet pushed). A Modify that replaced an item committed on the delivery thread disposed the old SourceInterestLease while an in-flight tick still held it; TryReadChanges=false was read as lost history -> spurious 'Source change history expired.' Reset after a successful modify (any Subscribe client sending Modify). Stress harness 167/45,000 -> 0/45,000; full DataConnections filter 30x under load all green; deterministic regression test (fails 3/3 pre-fix). Post-merge Runtime DataConnections 1023/1023. Other load flakes found: #964, #965.

Real production race, fixed in 23b28e001 (merged to master, not yet pushed). A Modify that replaced an item committed on the delivery thread disposed the old SourceInterestLease while an in-flight tick still held it; TryReadChanges=false was read as lost history -> spurious 'Source change history expired.' Reset after a successful modify (any Subscribe client sending Modify). Stress harness 167/45,000 -> 0/45,000; full DataConnections filter 30x under load all green; deterministic regression test (fails 3/3 pre-fix). Post-merge Runtime DataConnections 1023/1023. Other load flakes found: #964, #965.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dohertj2/lmxopcua#962