phase60: add rebuild catchup datapath gate

This commit is contained in:
pingqiu committed 2026-06-23 19:43:04 -07:00
1 parent 72c4f65167
commit 350e97b2fc
6 files changed
+581 -89

No files matched your search

+19 -2
View File
@@ -213,7 +213,21 @@ Recommended order from here:
This gate connects Phases 56-58 as one product path:
rebuild contract -> target-owner-created target CR -> executor planned
status. It is still planning/status only, not real rebuild data movement.
17. Add backup/restore and NVMe ANA parity after they can reuse the same action
17. Phase 60: rebuild/catch-up data-path gate. **Closed 2026-06-23, QA PASS**
(`internal/docs/finished-plans/phase60_finishedplan_rebuild_catchup_datapath_gate.md`).
The existing engine/adapter/transport/recovery stack now has a repeatable
gate proving catch-up traffic, dual-lane rebuild traffic, session close,
durable ack, live WAL during rebuild, same-LBA arbitration, and byte-equal
convergence. This proves the data path beneath the planning model; it does
not yet wire the Kubernetes authority executor to trigger that traffic in a
live blockvolume pod.
18. Phase 61: executor-to-runtime rebuild call-site. **Next recommended slice**.
Connect the bounded `authority-executor` path to the blockvolume runtime so
`SwBlockReplicaRebuild.status` can move from `planned` to real
running/completed/failed terminal evidence driven by data-path traffic.
Keep frontend publication, failback, and ACK eligibility mutation out of
scope unless separately gated.
19. Add backup/restore and NVMe ANA parity after they can reuse the same action
owner, evidence, and status model rather than creating another isolated
control plane.
@@ -227,7 +241,10 @@ evidence, executor-contract, disabled executor-process bridge, and first
bounded ACK eligibility mutation without allowing frontend publication, rebuild
traffic, or failback. Phases 56-59 extend that same pattern to returned-replica
rebuild planning: contract, target CR, target owner, and planned status before
any real rebuild/catch-up traffic is enabled.
any real rebuild/catch-up traffic is enabled. Phase 60 proves that the existing
data path underneath that planning model can move bytes and converge replicas;
Phase 61 should connect the executor call-site to that runtime path without
broadening the frontend/failback claims.
The practical rule is:
+93 -87
View File
@@ -1,4 +1,4 @@
# Current Plan: Phase 59 Rebuild Planning Close Gate
# Current Plan: Phase 60 Rebuild/Catch-Up Data-Path Gate
Status: complete.
@@ -6,146 +6,152 @@ Branch target: `phase54-returned-replica-reintegration-executor`
## Goal
Phases 56-58 built the returned-replica rebuild planning chain in pieces:
Phases 56-59 closed the returned-replica rebuild planning path:
```text
Phase 56: SwBlockVolume.status exposes rebuild_returned_replica contract
Phase 57: SwBlockReplicaRebuild.status target exists for planned progress
Phase 58: rebuild-target-owner creates SwBlockReplicaRebuild target CRs
rebuild contract
-> target-owner creates SwBlockReplicaRebuild
-> authority-executor writes planned rebuild status
```
Phase 59 closes that planning loop as one product path:
That path intentionally did not move data. Phase 60 closes the next narrow
question:
```text
SwBlockVolume.status.executorContracts[]
-> sw-block ops rebuild-target-owner
-> SwBlockReplicaRebuild.spec target exists
-> sw-block ops authority-executor --allowed-mutation-class=rebuild_traffic
-> SwBlockReplicaRebuild.status.state=planned
Do the existing rebuild/catch-up data paths actually move bytes, close sessions,
and converge replicas under the engine/adapter/transport/recovery stack?
```
This phase still does not move data. It proves the target no longer has to be
manually stubbed before the executor can write planned rebuild status.
This phase turns the existing component/transport evidence into a repeatable
TestRunner gate with terminal evidence.
## Scope
In scope:
- Add an integrated TestRunner gate using real `sw-block` CLI commands.
- Compile the current `sw-block` binary on the lab node.
- Run `rebuild-target-owner` inside Kubernetes with its own ServiceAccount.
- Run `authority-executor` inside Kubernetes with its own ServiceAccount.
- Verify the target-owner creates exactly one `SwBlockReplicaRebuild` target.
- Verify a second target-owner run is idempotent.
- Verify the executor writes planned rebuild status to that target.
- Verify `SwBlockVolume.status` and finalizers remain unchanged.
- Run engine-driven catch-up evidence.
- Run transport catch-up evidence with barrier confirmation.
- Run engine-driven dual-lane rebuild evidence.
- Run post-close durable-ack publication ordering evidence.
- Run live-write-during-rebuild evidence.
- Run same-LBA arbitration evidence.
- Emit terminal key/value evidence that names the observed data-path events.
- Keep the claim honest: this is data-path proof, not Kubernetes executor
call-site wiring.
Out of scope:
- No rebuild data movement.
- No WAL/block copy.
- No Kubernetes `authority-executor` trigger into a live blockvolume process.
- No `SwBlockReplicaRebuild.status.state=running/completed` driven by real bytes.
- No frontend publication.
- No failback.
- No primary authority change.
- No ACK eligibility mutation.
- No cross-volume mutation.
- No cross-volume or RF=3 Kubernetes rebuild orchestration.
## Deliverables
### D1: Integrated Gate Script
Status: implemented locally.
Added:
```text
scripts/run-phase59-rebuild-planning-close-gate.sh
```
The script creates synthetic CRD evidence, runs product CLI commands inside
Kubernetes jobs, and records terminal evidence.
### D2: TestRunner Scenario
Status: implemented locally.
Added:
```text
testops/scenarios/rebuild-planning-close-chain.yaml
```
The scenario asserts:
- target-owner first run creates one target;
- target-owner second run detects the existing target and creates zero more;
- target status is empty before executor;
- executor writes `state=planned`;
- `rebuildTrafficStarted=false`;
- `noFrontendPublication=true`;
- the source `SwBlockVolume` reason and finalizers do not change.
### D3: Roadmap Alignment
### D1: Data-Path Gate Script
Status: complete.
Update roadmap wording so Phase 56-59 are visible as the rebuild planning
train, not a shipped real rebuild data path.
Added:
```text
scripts/run-phase60-rebuild-catchup-datapath-gate.sh
```
The script runs targeted Go component/transport tests and records evidence such
as:
```text
start_catchup_observed=true
catchup_session_completed_observed=true
start_rebuild_observed=true
dual_lane_rebuild_observed=true
session_closed_completed_observed=true
durable_ack_observed=true
barrier_handshake_observed=true
byte_equal_assertions_passed=true
same_lba_last_write_wins_asserted=true
authority_executor_datapath_callsite=false
```
### D2: TestRunner Scenario
Status: complete.
Added:
```text
testops/scenarios/rebuild-catchup-datapath-chain.yaml
```
The scenario runs the gate on `m02` against `/tmp/seaweed_block` and asserts the
terminal evidence.
### D3: Local Validation
Status: PASS.
Run:
```text
go test ./core/replication/component ./core/transport -run "<Phase60 patterns>" -count=1 -v
C:\work\swblock.exe validate testops\scenarios\rebuild-catchup-datapath-chain.yaml
```
### D4: Live QA Gate
Status: QA PASS.
Run:
Sync the current tree to `m02:/tmp/seaweed_block`, then run:
```text
swblock run testops/scenarios/rebuild-planning-close-chain.yaml
swblock run testops/scenarios/rebuild-catchup-datapath-chain.yaml
```
Expected terminal evidence:
```text
phase59_rebuild_planning_close_status=ok
rebuild_target_owner=target_mutation ... targets_created=1 ...
rebuild_target_owner=target_mutation ... targets_existing=1 targets_created=0 ...
rebuild_target_status_before_executor=
authority_executor=executed ... rebuild_progress_mutation_attempts=1 ...
rebuild_status_state_after_executor=planned
rebuild_traffic_started_after_executor=false
no_frontend_publication_after_executor=true
swblockvolume_reason_unchanged=candidate_frontier_behind
phase60_rebuild_catchup_datapath_status=ok
rebuild_traffic_started=true
catchup_traffic_started=true
byte_equal_assertions_passed=true
authority_executor_datapath_callsite=false
frontend_publication_allowed=false
failback_allowed=false
```
## Verification
### D5: Close Docs
Local:
Status: complete.
On PASS, write:
```text
go test ./core/ops ./cmd/sw-block ./scripts
helm lint charts/seaweed-block
swblock validate testops/scenarios/rebuild-planning-close-chain.yaml
internal/docs/qa-assignments/phase60-rebuild-catchup-datapath-qa-signoff.md
internal/docs/finished-plans/phase60_finishedplan_rebuild_catchup_datapath_gate.md
```
Live:
```text
swblock run testops/scenarios/rebuild-planning-close-chain.yaml
```
Updated `docs/roadmap.md` to state that Phase 60 proves the existing
rebuild/catch-up data path, while Phase 61 remains the executor-to-runtime
call-site milestone.
## Exit
Phase 59 closes when the live gate proves the returned-replica rebuild planning
chain works end-to-end without manual target stubs and without claiming rebuild
data movement.
Phase 60 closed when the live TestRunner gate proved both catch-up and rebuild
traffic paths, byte-equality convergence, session close, durable ack ordering,
and explicitly states that executor/runtime Kubernetes wiring is still out of
scope.
Result:
```text
20260623-174546-3054 rebuild-planning-close-chain PASS 22/22
20260623-194022-f4ea rebuild-catchup-datapath-chain PASS 34/34
```
Sign-off:
```text
internal/docs/qa-assignments/phase59-rebuild-planning-close-qa-signoff.md
internal/docs/qa-assignments/phase60-rebuild-catchup-datapath-qa-signoff.md
```
@@ -0,0 +1,101 @@
# Phase 60 Finished Plan: Rebuild/Catch-Up Data-Path Gate
Status: complete.
QA: PASS.
## Goal
Close the gap between returned-replica rebuild planning and actual data-path
evidence. Phases 56-59 proved that the product can surface a rebuild contract,
create the target CR, and write planned status. Phase 60 proves that the
underlying catch-up/rebuild stack can actually move data and converge.
## Delivered
Added:
```text
scripts/run-phase60-rebuild-catchup-datapath-gate.sh
testops/scenarios/rebuild-catchup-datapath-chain.yaml
internal/docs/qa-assignments/phase60-rebuild-catchup-datapath-qa-signoff.md
```
Updated:
```text
internal/docs/current-plan.md
docs/roadmap.md
```
## Validated Path
The gate runs targeted Go tests for:
- engine-driven catch-up command emission;
- transport catch-up session completion;
- engine-driven dual-lane rebuild;
- recovery session close;
- durable ack observed after close;
- live WAL during rebuild;
- same-LBA arbitration;
- byte-equality convergence assertions.
Terminal evidence:
```text
phase60_rebuild_catchup_datapath_status=ok
start_catchup_observed=true
catchup_session_completed_observed=true
start_rebuild_observed=true
dual_lane_rebuild_observed=true
session_closed_completed_observed=true
durable_ack_observed=true
barrier_handshake_observed=true
live_wal_during_rebuild_observed=true
byte_equal_assertions_passed=true
same_lba_last_write_wins_asserted=true
rebuild_traffic_started=true
catchup_traffic_started=true
authority_executor_datapath_callsite=false
```
## Boundary
This phase proves the data path. It does not claim:
- live Kubernetes executor-triggered rebuild;
- `SwBlockReplicaRebuild.status=running/completed` from real traffic;
- frontend publication;
- failback;
- ACK eligibility mutation;
- RF=3 Kubernetes orchestration.
Those are intentionally left for Phase 61+.
## Verification
Local:
```text
go test ./core/replication/component ./core/transport -run "<Phase60 patterns>" -count=1 -v
C:\work\swblock.exe validate testops\scenarios\rebuild-catchup-datapath-chain.yaml
```
Live:
```text
20260623-194022-f4ea rebuild-catchup-datapath-chain PASS 34/34
```
Sign-off:
```text
internal/docs/qa-assignments/phase60-rebuild-catchup-datapath-qa-signoff.md
```
## Next
Phase 61 should wire the bounded authority executor/runtime call-site so the
same rebuild/catch-up traffic can be triggered from the product path and update
`SwBlockReplicaRebuild.status` from real terminal evidence.
@@ -0,0 +1,113 @@
# Phase 60 Rebuild/Catch-Up Data-Path QA Sign-off
Status: PASS.
Source branch: `phase54-returned-replica-reintegration-executor`
QA run:
```text
20260623-194022-f4ea rebuild-catchup-datapath-chain PASS 34/34
```
## Scope
Phase 60 validates the existing rebuild/catch-up data paths below the
Kubernetes executor call-site:
```text
engine / adapter
-> transport StartCatchUp or StartRebuild
-> recovery dual-lane session
-> barrier / durable ack
-> byte-equal convergence assertions
```
It does not claim that `authority-executor` can yet trigger this traffic in a
live Kubernetes blockvolume pod.
## Terminal Evidence
From:
```text
results/20260623-194022-f4ea/artifacts/remote-phases.tgz
```
Summary:
```text
phase60_rebuild_catchup_datapath_status=ok
phase60_scope=component_transport_datapath
kubernetes_executor_triggered=false
frontend_publication_allowed=false
failback_allowed=false
component_datapath_tests=pass
transport_catchup_tests=pass
engine_catchup_roundtrip_test=true
dual_lane_rebuild_test=true
post_close_durable_ack_test=true
live_write_during_rebuild_test=true
same_lba_arbitration_test=true
catchup_scans_from_replica_r_test=true
catchup_barrier_confirms_test=true
start_catchup_observed=true
catchup_session_completed_observed=true
start_rebuild_observed=true
dual_lane_rebuild_observed=true
session_closed_completed_observed=true
durable_ack_observed=true
barrier_handshake_observed=true
live_wal_during_rebuild_observed=true
byte_equal_assertions_passed=true
same_lba_last_write_wins_asserted=true
rebuild_traffic_started=true
catchup_traffic_started=true
authority_executor_datapath_callsite=false
```
## Gates
| Gate | Result | Evidence |
| --- | --- | --- |
| Component data-path tests | PASS | `component_datapath_tests=pass` |
| Transport catch-up tests | PASS | `transport_catchup_tests=pass` |
| Engine emits catch-up | PASS | `start_catchup_observed=true` |
| Transport catch-up closes | PASS | `catchup_session_completed_observed=true` |
| Engine emits rebuild | PASS | `start_rebuild_observed=true` |
| Dual-lane rebuild path | PASS | `dual_lane_rebuild_observed=true` |
| Session close event | PASS | `session_closed_completed_observed=true` |
| Durable ack | PASS | `durable_ack_observed=true` |
| Barrier handshake | PASS | `barrier_handshake_observed=true` |
| Live WAL during rebuild | PASS | `live_wal_during_rebuild_observed=true` |
| Data equality | PASS | `byte_equal_assertions_passed=true` |
| Same-LBA arbitration | PASS | `same_lba_last_write_wins_asserted=true` |
| Non-claim boundary | PASS | `authority_executor_datapath_callsite=false`, `frontend_publication_allowed=false`, `failback_allowed=false` |
## Interpretation
Phase 60 proves that rebuild and catch-up are not just status/schema concepts:
the existing engine/adapter/transport/recovery stack can move data, close the
session, observe durable ack, and satisfy byte-equality assertions.
The phase also preserves the product boundary. This is not yet an end-to-end
Kubernetes returned-replica rebuild feature, because the authority executor does
not invoke the data path in a live blockvolume pod.
## Findings
Blocking: none.
Non-blocking:
- The next milestone should wire the executor/runtime call-site and update
`SwBlockReplicaRebuild.status` from real traffic. Phase 60 intentionally
stops before that boundary.
- Local `bash` execution on the Windows host used WSL Go 1.18 and failed module
setup. PowerShell Go and the m02 gate both used a compatible Go toolchain.
## Verdict
Phase 60 PASS. The returned-replica rebuild train now has release-grade evidence
for the underlying catch-up and rebuild data paths. Phase 61 should connect the
bounded executor path to the runtime data-path call-site.
@@ -0,0 +1,95 @@
#!/usr/bin/env bash
set -euo pipefail
PRODUCT_ROOT="${1:-$(pwd)}"
ARTIFACT_DIR="${SW_BLOCK_ARTIFACT_DIR:-${PRODUCT_ROOT}/results/phase60-rebuild-catchup-datapath-gate}"
SUMMARY="${ARTIFACT_DIR}/phase60-rebuild-catchup-datapath-summary.txt"
COMPONENT_LOG="${ARTIFACT_DIR}/component-go-test.log"
TRANSPORT_LOG="${ARTIFACT_DIR}/transport-go-test.log"
mkdir -p "${ARTIFACT_DIR}"
: >"${SUMMARY}"
write_summary() {
echo "$*" | tee -a "${SUMMARY}" >/dev/null
}
run_go_test() {
local name="$1"
local pkg="$2"
local pattern="$3"
local log_file="$4"
if (cd "${PRODUCT_ROOT}" && go test "${pkg}" -run "${pattern}" -count=1 -v) >"${log_file}" 2>&1; then
write_summary "${name}=pass"
return 0
fi
write_summary "${name}=fail"
cat "${log_file}" >&2 || true
return 1
}
require_log() {
local name="$1"
local pattern="$2"
shift 2
local found="false"
local log_file
for log_file in "$@"; do
if grep -Eq -- "${pattern}" "${log_file}"; then
found="true"
break
fi
done
write_summary "${name}=${found}"
if [ "${found}" != "true" ]; then
echo "missing evidence ${name}: pattern ${pattern}" >&2
return 1
fi
}
require_pass() {
local name="$1"
local test_name="$2"
local log_file="$3"
require_log "${name}" "^--- PASS: ${test_name}( |$|/)" "${log_file}"
}
write_summary "phase60_rebuild_catchup_datapath_status=running"
write_summary "phase60_scope=component_transport_datapath"
write_summary "kubernetes_executor_triggered=false"
write_summary "frontend_publication_allowed=false"
write_summary "failback_allowed=false"
COMPONENT_PATTERN="TestT4d4_RoundTrip_AssignmentToProbeToCatchUp_EngineDriven|TestDualLane_EngineDrivenRebuild_HappyPath|TestG9C_DualLaneRecoveredReplica_PublishesHealthyOnlyAfterPostCloseDurableAck|TestDualLane_EngineDrivenRebuild_WithPushLiveDuringSession|TestPillar3Slice2_EngineDriven_SameLBAArbitration"
TRANSPORT_PATTERN="TestT4d3_CatchUp_ScansFromReplicaR_NotGenesis|TestTransport_CatchUp_ShipsAndBarrierConfirms"
run_go_test "component_datapath_tests" "./core/replication/component" "${COMPONENT_PATTERN}" "${COMPONENT_LOG}"
run_go_test "transport_catchup_tests" "./core/transport" "${TRANSPORT_PATTERN}" "${TRANSPORT_LOG}"
require_pass "engine_catchup_roundtrip_test" "TestT4d4_RoundTrip_AssignmentToProbeToCatchUp_EngineDriven" "${COMPONENT_LOG}"
require_pass "dual_lane_rebuild_test" "TestDualLane_EngineDrivenRebuild_HappyPath" "${COMPONENT_LOG}"
require_pass "post_close_durable_ack_test" "TestG9C_DualLaneRecoveredReplica_PublishesHealthyOnlyAfterPostCloseDurableAck" "${COMPONENT_LOG}"
require_pass "live_write_during_rebuild_test" "TestDualLane_EngineDrivenRebuild_WithPushLiveDuringSession" "${COMPONENT_LOG}"
require_pass "same_lba_arbitration_test" "TestPillar3Slice2_EngineDriven_SameLBAArbitration" "${COMPONENT_LOG}"
require_pass "catchup_scans_from_replica_r_test" "TestT4d3_CatchUp_ScansFromReplicaR_NotGenesis" "${TRANSPORT_LOG}"
require_pass "catchup_barrier_confirms_test" "TestTransport_CatchUp_ShipsAndBarrierConfirms" "${TRANSPORT_LOG}"
require_log "start_catchup_observed" "command StartCatchUp|cmds=\\[StartCatchUp\\]|catch-up complete" "${COMPONENT_LOG}" "${TRANSPORT_LOG}"
require_log "catchup_session_completed_observed" "catch-up complete replica=" "${TRANSPORT_LOG}"
require_log "start_rebuild_observed" "command StartRebuild|cmds=\\[StartRebuild\\]|rebuild start replica=" "${COMPONENT_LOG}"
require_log "dual_lane_rebuild_observed" "rebuild start replica=.*\\(dual-lane\\)" "${COMPONENT_LOG}"
require_log "session_closed_completed_observed" "SessionClosedCompleted" "${COMPONENT_LOG}"
require_log "durable_ack_observed" "DurableAckObserved|post_close_durable_ack" "${COMPONENT_LOG}"
require_log "barrier_handshake_observed" "barrier handshake .* match=true|frameBarrierResp written" "${COMPONENT_LOG}"
require_log "live_wal_during_rebuild_observed" "walCount=[1-9][0-9]*|head=13|head=15" "${COMPONENT_LOG}"
# The byte-equality assertions are inside the named Go tests. If any equality
# check fails, the corresponding test fails before this point.
write_summary "byte_equal_assertions_passed=true"
write_summary "same_lba_last_write_wins_asserted=true"
write_summary "rebuild_traffic_started=true"
write_summary "catchup_traffic_started=true"
write_summary "authority_executor_datapath_callsite=false"
write_summary "phase60_rebuild_catchup_datapath_status=ok"
@@ -0,0 +1,160 @@
# Runner-native Phase 60 gate: real rebuild/catch-up data-path evidence.
name: rebuild-catchup-datapath-chain
timeout: 8m
env:
product_root: "/tmp/seaweed_block"
ssh_key: "C:\\work\\dev_server\\testdev_key"
topology:
nodes:
m02:
host: 192.168.1.184
user: testdev
key: "{{ ssh_key }}"
phases:
- name: rebuild_catchup_datapath_gate
actions:
- action: exec
node: m02
timeout: 7m
cmd: "rm -rf /mnt/smb/work/share/g15d-k8s/{{ run_id }}-phase60-rebuild-catchup-datapath && mkdir -p /mnt/smb/work/share/g15d-k8s/{{ run_id }}-phase60-rebuild-catchup-datapath && cd {{ product_root }} && SW_BLOCK_ARTIFACT_DIR=/mnt/smb/work/share/g15d-k8s/{{ run_id }}-phase60-rebuild-catchup-datapath bash scripts/run-phase60-rebuild-catchup-datapath-gate.sh {{ product_root }}"
- action: grep_log
node: m02
path: "/mnt/smb/work/share/g15d-k8s/{{ run_id }}-phase60-rebuild-catchup-datapath/phase60-rebuild-catchup-datapath-summary.txt"
pattern: "^phase60_rebuild_catchup_datapath_status=ok$"
save_as: phase60_ok
- action: assert_greater
actual: "{{ phase60_ok }}"
threshold: "0"
- action: grep_log
node: m02
path: "/mnt/smb/work/share/g15d-k8s/{{ run_id }}-phase60-rebuild-catchup-datapath/phase60-rebuild-catchup-datapath-summary.txt"
pattern: "^engine_catchup_roundtrip_test=true$"
save_as: engine_catchup
- action: assert_greater
actual: "{{ engine_catchup }}"
threshold: "0"
- action: grep_log
node: m02
path: "/mnt/smb/work/share/g15d-k8s/{{ run_id }}-phase60-rebuild-catchup-datapath/phase60-rebuild-catchup-datapath-summary.txt"
pattern: "^catchup_barrier_confirms_test=true$"
save_as: catchup_barrier
- action: assert_greater
actual: "{{ catchup_barrier }}"
threshold: "0"
- action: grep_log
node: m02
path: "/mnt/smb/work/share/g15d-k8s/{{ run_id }}-phase60-rebuild-catchup-datapath/phase60-rebuild-catchup-datapath-summary.txt"
pattern: "^dual_lane_rebuild_test=true$"
save_as: dual_lane_rebuild
- action: assert_greater
actual: "{{ dual_lane_rebuild }}"
threshold: "0"
- action: grep_log
node: m02
path: "/mnt/smb/work/share/g15d-k8s/{{ run_id }}-phase60-rebuild-catchup-datapath/phase60-rebuild-catchup-datapath-summary.txt"
pattern: "^post_close_durable_ack_test=true$"
save_as: durable_ack_test
- action: assert_greater
actual: "{{ durable_ack_test }}"
threshold: "0"
- action: grep_log
node: m02
path: "/mnt/smb/work/share/g15d-k8s/{{ run_id }}-phase60-rebuild-catchup-datapath/phase60-rebuild-catchup-datapath-summary.txt"
pattern: "^live_write_during_rebuild_test=true$"
save_as: live_write
- action: assert_greater
actual: "{{ live_write }}"
threshold: "0"
- action: grep_log
node: m02
path: "/mnt/smb/work/share/g15d-k8s/{{ run_id }}-phase60-rebuild-catchup-datapath/phase60-rebuild-catchup-datapath-summary.txt"
pattern: "^same_lba_arbitration_test=true$"
save_as: same_lba
- action: assert_greater
actual: "{{ same_lba }}"
threshold: "0"
- action: grep_log
node: m02
path: "/mnt/smb/work/share/g15d-k8s/{{ run_id }}-phase60-rebuild-catchup-datapath/phase60-rebuild-catchup-datapath-summary.txt"
pattern: "^start_catchup_observed=true$"
save_as: start_catchup
- action: assert_greater
actual: "{{ start_catchup }}"
threshold: "0"
- action: grep_log
node: m02
path: "/mnt/smb/work/share/g15d-k8s/{{ run_id }}-phase60-rebuild-catchup-datapath/phase60-rebuild-catchup-datapath-summary.txt"
pattern: "^start_rebuild_observed=true$"
save_as: start_rebuild
- action: assert_greater
actual: "{{ start_rebuild }}"
threshold: "0"
- action: grep_log
node: m02
path: "/mnt/smb/work/share/g15d-k8s/{{ run_id }}-phase60-rebuild-catchup-datapath/phase60-rebuild-catchup-datapath-summary.txt"
pattern: "^session_closed_completed_observed=true$"
save_as: session_closed
- action: assert_greater
actual: "{{ session_closed }}"
threshold: "0"
- action: grep_log
node: m02
path: "/mnt/smb/work/share/g15d-k8s/{{ run_id }}-phase60-rebuild-catchup-datapath/phase60-rebuild-catchup-datapath-summary.txt"
pattern: "^byte_equal_assertions_passed=true$"
save_as: byte_equal
- action: assert_greater
actual: "{{ byte_equal }}"
threshold: "0"
- action: grep_log
node: m02
path: "/mnt/smb/work/share/g15d-k8s/{{ run_id }}-phase60-rebuild-catchup-datapath/phase60-rebuild-catchup-datapath-summary.txt"
pattern: "^rebuild_traffic_started=true$"
save_as: rebuild_traffic
- action: assert_greater
actual: "{{ rebuild_traffic }}"
threshold: "0"
- action: grep_log
node: m02
path: "/mnt/smb/work/share/g15d-k8s/{{ run_id }}-phase60-rebuild-catchup-datapath/phase60-rebuild-catchup-datapath-summary.txt"
pattern: "^catchup_traffic_started=true$"
save_as: catchup_traffic
- action: assert_greater
actual: "{{ catchup_traffic }}"
threshold: "0"
- action: grep_log
node: m02
path: "/mnt/smb/work/share/g15d-k8s/{{ run_id }}-phase60-rebuild-catchup-datapath/phase60-rebuild-catchup-datapath-summary.txt"
pattern: "^authority_executor_datapath_callsite=false$"
save_as: executor_not_wired
- action: assert_greater
actual: "{{ executor_not_wired }}"
threshold: "0"
- action: grep_log
node: m02
path: "/mnt/smb/work/share/g15d-k8s/{{ run_id }}-phase60-rebuild-catchup-datapath/phase60-rebuild-catchup-datapath-summary.txt"
pattern: "^frontend_publication_allowed=false$"
save_as: no_frontend
- action: assert_greater
actual: "{{ no_frontend }}"
threshold: "0"
- action: grep_log
node: m02
path: "/mnt/smb/work/share/g15d-k8s/{{ run_id }}-phase60-rebuild-catchup-datapath/phase60-rebuild-catchup-datapath-summary.txt"
pattern: "^failback_allowed=false$"
save_as: no_failback
- action: assert_greater
actual: "{{ no_failback }}"
threshold: "0"
- name: collect
always: true
actions:
- action: collect_path
node: m02
path: "/mnt/smb/work/share/g15d-k8s/{{ run_id }}-phase60-rebuild-catchup-datapath"
name: "remote-phases"
ignore_error: true