test: the vip-upgrade epoch read retries when its etcd read times out (keel#133) #134

Merged
marcos-mendez merged 1 commit from test/flaky-vip-upgrade-epoch-133 into main 2026-10-09 15:28:50 -03:00
marcos-mendez commented 2026-10-09 15:01:00 -03:00 (Migrated from github.com)

In test_b_etcd_restarted_on_each_member_in_turn, epoch() read the VIP claim with one agent_send. The "epoch" handler does one linearizable etcd read over the lossy link; when it outlasts its 2 s timeout the answer holds no "epoch" key and the test recorded epoch_before = None (assertIsNotNone then failed, with the VIP never moving — holders_seen "A" throughout).

The ask now repeats while the answer holds no epoch, bounded (60 s), the same treatment upgrade-check already has in this file (healthy_when_asked, keel#94). Evidence in the issue: run 37966794940 job 113943040489 on 2026-10-09.

The vip-upgrade netns job is the coverage; a green vip-upgrade / trixie run here is the test plan.

In test_b_etcd_restarted_on_each_member_in_turn, `epoch()` read the VIP claim with one agent_send. The "epoch" handler does one linearizable etcd read over the lossy link; when it outlasts its 2 s timeout the answer holds no "epoch" key and the test recorded epoch_before = None (assertIsNotNone then failed, with the VIP never moving — holders_seen [["A"]] throughout). The ask now repeats while the answer holds no epoch, bounded (60 s), the same treatment upgrade-check already has in this file (healthy_when_asked, keel#94). Evidence in the issue: run 37966794940 job 113943040489 on 2026-10-09. The vip-upgrade netns job is the coverage; a green vip-upgrade / trixie run here is the test plan.
Sign in to join this conversation.
No description provided.