From 6a0bc675deff0e7aa35075f9409045ab1c66c19b Mon Sep 17 00:00:00 2001 From: pingqiu Date: Mon, 4 May 2026 23:49:04 -0700 Subject: [PATCH] docs: record iscsi p2 p3 qa pass --- seaweed-block/internal/docs/current-plan.md | 12 ++-- .../iscsi-p2-p3-lab-validation.md | 60 ++++++++++++++++++- 2 files changed, 67 insertions(+), 5 deletions(-) diff --git a/seaweed-block/internal/docs/current-plan.md b/seaweed-block/internal/docs/current-plan.md index 7422a2da9a..771968552c 100644 --- a/seaweed-block/internal/docs/current-plan.md +++ b/seaweed-block/internal/docs/current-plan.md @@ -42,6 +42,10 @@ References: - status: local on `iscsi/frontend-completeness`, pending milestone PR. - includes `scripts/run-k8s-attach-detach-loop.sh` and TestOps registry scenario `iscsi-p3-attach-detach-loop`. +- iSCSI-P2/P3 lab validation: + - status: QA green on `iscsi/frontend-completeness@e7c95ee`. + - OS repeat, OS fio, K8s fio, and K8s attach/detach all passed on M02. + - evidence: `internal/docs/qa-assignments/iscsi-p2-p3-lab-validation.md`. - iSCSI smoke harness cleanup: - status: done in PR #27. - Larger alpha PVC smoke: @@ -87,10 +91,9 @@ References: - artifact path printed, - no active sessions after every loop. - #QA run K8s validation after local tests: - - status: partially done. + - status: QA green on `iscsi/frontend-completeness@e7c95ee`. - larger PVC smoke: done in PR #28. - - 60s fio: script prepared locally as `scripts/run-k8s-alpha-fio.sh`, - pending QA rerun / milestone PR. + - 60s fio: QA PASS on M02. - larger PVC, - 60s fio, - daemon logs and iSCSI state captured, @@ -110,6 +113,7 @@ References: - #QA assignment: - `internal/docs/qa-assignments/iscsi-p2-p3-lab-validation.md`. + - status: QA green. ## Milestone: iSCSI-P3 Product-Backed Stability @@ -141,7 +145,7 @@ References: - TestOps registry entry exists: `internal/testops/registry/iscsi-p3-attach-detach-loop.json`. - default loop count comes from `SW_BLOCK_ATTACH_DETACH_ITERATIONS`. - - #QA should run it on M02 before P3 close and return the artifact dir. + - #QA status: PASS on M02, 3 iterations. ## Milestone: iSCSI-P4 CHAP / Access Control diff --git a/seaweed-block/internal/docs/qa-assignments/iscsi-p2-p3-lab-validation.md b/seaweed-block/internal/docs/qa-assignments/iscsi-p2-p3-lab-validation.md index 8678563256..7207d80604 100644 --- a/seaweed-block/internal/docs/qa-assignments/iscsi-p2-p3-lab-validation.md +++ b/seaweed-block/internal/docs/qa-assignments/iscsi-p2-p3-lab-validation.md @@ -1,8 +1,10 @@ # QA Assignment: iSCSI P2/P3 Lab Validation -Status: assigned. +Status: QA green. Branch under test: `iscsi/frontend-completeness`. +Verified commit: `e7c95ee44863f34b304995fa977a4ff57ab3e649`. +Host: M02 (`192.168.1.184`). Purpose: validate the local iSCSI P2/P3 test/tooling work on a real Linux/K8s lab. This is not a performance claim and not a failover claim. @@ -26,6 +28,14 @@ lab. This is not a performance claim and not a failover claim. ## Test 1: OS Initiator Repeat Loop +- Result: PASS. +- Artifact: + `/mnt/smb/work/share/g15d-k8s/20260505T062122Z-iscsi-p2-test1-os-repeat`. +- Final line: + `[iscsi-os] PASS: 5 x iscsiadm mkfs mount write/read logout`. +- Cleanup: `iscsi-sessions.final.txt` reports no active sessions. +- `expected Data-Out` errors in `blockvolume.log`: 0. + - Command: ```bash @@ -50,6 +60,18 @@ lab. This is not a performance claim and not a failover claim. ## Test 2: OS Initiator fio Mode +- Result: PASS. +- Artifact: + `/mnt/smb/work/share/g15d-k8s/20260505T062159Z-iscsi-p2-test2-os-fio60s`. +- fio summary: + - read IOPS=122, BW=490KiB/s, + - write IOPS=123, BW=494KiB/s, + - runtime=60.004s, + - err=0, + - `fio.iter1.log` present. +- Cleanup: `iscsi-sessions.final.txt` reports no active sessions. +- `expected Data-Out` errors in `blockvolume.log`: 0. + - Command: ```bash @@ -68,6 +90,20 @@ lab. This is not a performance claim and not a failover claim. ## Test 3: Kubernetes fio Smoke +- Result: PASS. +- Artifact: + `/mnt/smb/work/share/g15d-k8s/20260505T062334Z-iscsi-p3-test3-k8s-fio`. +- Pod evidence: + - `pod.log` shows Alpine `apk` install of fio, + - 60s randrw run, + - READ BW=13.0MiB/s, 782MiB total, + - WRITE BW=13.1MiB/s, 787MiB total, + - err=0, + - util=96.36%. +- Final line: + `[alpha-fio] PASS: dynamic PVC create/delete completed checksum write/read and cleanup`. +- Cleanup: no PVC, no sw-block deployments, no active iSCSI sessions. + - Command: ```bash @@ -88,6 +124,17 @@ lab. This is not a performance claim and not a failover claim. ## Test 4: Kubernetes Attach/Detach Loop +- Result: PASS. +- Artifact: + `/mnt/smb/work/share/g15d-k8s/20260505T062606Z-iscsi-p3-test4-attach-detach`. +- Iterations: + - iter-1 PASS: writer wrote and verified `/data/demo.bin`; reader read-back OK; no active iSCSI sessions after delete. + - iter-2 PASS: same. + - iter-3 PASS: same. +- Final line: + `[attach-loop] PASS: 3 attach/detach app PVC cycles completed`. +- Cleanup: no PVC, no sw-block deployments, no active iSCSI sessions. + - Command: ```bash @@ -149,3 +196,14 @@ Test 4 K8s attach/detach: Findings: - ... ``` + +## Lab Notes + +- M02 initially had no Go installation. +- QA installed Go 1.25.0 to `/usr/local/go` and symlinked + `/usr/local/bin/go`. +- K8s tests used locally rebuilt images: + - `sw-block:local` sha256 `dcb621e4447a`, + - `sw-block-csi:local` sha256 `84fab78dc05a`. +- No GHCR images were used. +- Test 3 requires pod network egress for `apk add fio`; M02 had egress.