Fix setup_lab.sh bugs G-J; fix run_trim_test.sh; Phase 17b validated
setup_lab.sh bugs fixed:
G. Phase 2 idempotency: use 'p4 server --exists -o' (plain -o always returns template)
H. Phase 6: copy .md5 alongside .gz; rm -f before scp (read-only file on re-run)
I. serverServices (not services) in p4 -ztag info output -- fix in setup_lab.sh + run_trim_test.sh
J. Fresh ticket after standalone promotion: raw 'p4 login -a' with P4CONFIG=.p4config.gf
Phase 17b test results (confirmed):
- p4 storage -d only removes lbrRefCount=0 entries; all 5 depots had non-zero refcounts
- Falls back to journal patch correctly for all 5 depots
- @dv@ patch format (DOtype=0 placeholder) accepted by p4d -jr -- exit 0
- Post-patch: correct 5 depots remain; p4 verify clean (348+441 files)