Files
stack/agents/magica/work/queue-285/gate-r4-final/cli/stack-release.test.mjs.log

1381 lines
50 KiB
Plaintext

TAP version 13
# Subtest: T1 adopt writes the pointer from the units once; a failing check refuses check-failed
ok 1 - T1 adopt writes the pointer from the units once; a failing check refuses check-failed
---
duration_ms: 1233.165467
type: 'test'
...
# Subtest: T2 activate installs exactly the pointer's pm, claude and Console flags
ok 2 - T2 activate installs exactly the pointer's pm, claude and Console flags
---
duration_ms: 1907.488416
type: 'test'
...
# Subtest: T3 a hand-edited unit refuses unit-flags-drift, names the difference and changes nothing
# Subtest: pm
ok 1 - pm
---
duration_ms: 824.184961
type: 'test'
...
# Subtest: claude
ok 2 - claude
---
duration_ms: 837.887522
type: 'test'
...
# Subtest: console
ok 3 - console
---
duration_ms: 825.227641
type: 'test'
...
1..3
ok 3 - T3 a hand-edited unit refuses unit-flags-drift, names the difference and changes nothing
---
duration_ms: 2488.057699
type: 'test'
...
# Subtest: T4 each item 3 refusal changes nothing and logs one line with its code
# Subtest: copy-missing
ok 1 - copy-missing
---
duration_ms: 710.483821
type: 'test'
...
# Subtest: copy-unreachable
ok 2 - copy-unreachable
---
duration_ms: 708.692605
type: 'test'
...
# Subtest: copy-schema-unknown
ok 3 - copy-schema-unknown
---
duration_ms: 714.827047
type: 'test'
...
# Subtest: already-active
ok 4 - already-active
---
duration_ms: 717.369236
type: 'test'
...
# Subtest: instance-busy (another business active)
ok 5 - instance-busy (another business active)
---
duration_ms: 748.781641
type: 'test'
...
# Subtest: instance-busy (this business activating)
ok 6 - instance-busy (this business activating)
---
duration_ms: 754.071543
type: 'test'
...
# Subtest: drop-in-override
ok 7 - drop-in-override
---
duration_ms: 767.480968
type: 'test'
...
# Subtest: no-pointer
ok 8 - no-pointer
---
duration_ms: 409.195326
type: 'test'
...
1..8
ok 4 - T4 each item 3 refusal changes nothing and logs one line with its code
---
duration_ms: 5532.452099
type: 'test'
...
# Subtest: T5 an activate with no migration stops the Console then the bus, installs, starts the bus then the Console
ok 5 - T5 an activate with no migration stops the Console then the bus, installs, starts the bus then the Console
---
duration_ms: 1864.342804
type: 'test'
...
# Subtest: T6 a migration without --migrate rolls back with migration-needs-flag
ok 6 - T6 a migration without --migrate rolls back with migration-needs-flag
---
duration_ms: 1701.374733
type: 'test'
...
# Subtest: T7 --migrate takes the backup before the migration runs
ok 7 - T7 --migrate takes the backup before the migration runs
---
duration_ms: 1880.415512
type: 'test'
...
# Subtest: T8 a failed migration restores the backup and keeps the store it replaced
ok 8 - T8 a failed migration restores the backup and keeps the store it replaced
---
duration_ms: 1876.543938
type: 'test'
...
# Subtest: T9 a store outside the target's chain rolls back with store-newer
ok 9 - T9 a store outside the target's chain rolls back with store-newer
---
duration_ms: 1737.907345
type: 'test'
...
# Subtest: T10 each gate check failing alone rolls back and puts every file back
# Subtest: units-inactive
ok 1 - units-inactive
---
duration_ms: 5197.042996
type: 'test'
...
# Subtest: bus-status
ok 2 - bus-status
---
duration_ms: 5532.147891
type: 'test'
...
# Subtest: healthz
ok 3 - healthz
---
duration_ms: 4641.521876
type: 'test'
...
# Subtest: copy-check
ok 4 - copy-check
---
duration_ms: 4902.558804
type: 'test'
...
# Subtest: pm-launch-unconfirmed
ok 5 - pm-launch-unconfirmed
---
duration_ms: 5055.210384
type: 'test'
...
1..5
ok 10 - T10 each gate check failing alone rolls back and puts every file back
---
duration_ms: 25329.380648
type: 'test'
...
# Subtest: T10b the PM check needs exactly one launched line for a live run of this start
# Subtest: no launched line
ok 1 - no launched line
---
duration_ms: 5079.604864
type: 'test'
...
# Subtest: two lines
ok 2 - two lines
---
duration_ms: 5114.950003
type: 'test'
...
# Subtest: a changed word
ok 3 - a changed word
---
duration_ms: 5062.256451
type: 'test'
...
# Subtest: run not in launches list
ok 4 - run not in launches list
---
duration_ms: 5218.920539
type: 'test'
...
# Subtest: run started before the start
ok 5 - run started before the start
---
duration_ms: 5208.864249
type: 'test'
...
# Subtest: a human launch with no journal line
ok 6 - a human launch with no journal line
---
duration_ms: 5107.375923
type: 'test'
...
# Subtest: run for another business
ok 7 - run for another business
---
duration_ms: 5288.986129
type: 'test'
...
# Subtest: run not live
ok 8 - run not live
---
duration_ms: 5206.209364
type: 'test'
...
# Subtest: one well-formed line and a live run pass
ok 9 - one well-formed line and a live run pass
---
duration_ms: 1960.049013
type: 'test'
...
1..9
ok 11 - T10b the PM check needs exactly one launched line for a live run of this start
---
duration_ms: 43248.671036
type: 'test'
...
# Subtest: T11 a rollback whose gate fails too: rollback-failed, exit 2, both units stopped, no retry
ok 12 - T11 a rollback whose gate fails too: rollback-failed, exit 2, both units stopped, no retry
---
duration_ms: 8165.041699
type: 'test'
...
# Subtest: T12 rollback takes the previous copy from the log
ok 13 - T12 rollback takes the previous copy from the log
---
duration_ms: 3153.072614
type: 'test'
...
# Subtest: T13 a rollback across a migration needs --restore, then restores and goes live
ok 14 - T13 a rollback across a migration needs --restore, then restores and goes live
---
duration_ms: 3687.776898
type: 'test'
...
# Subtest: T14 events written after the backup need --events N with the right N
ok 15 - T14 events written after the backup need --events N with the right N
---
duration_ms: 4145.87201
type: 'test'
...
# Subtest: T14b a rollback --restore whose gate fails stops both units and skips item 6
ok 16 - T14b a rollback --restore whose gate fails stops both units and skips item 6
---
duration_ms: 6803.445978
type: 'test'
...
# Subtest: T14c a rollback without --restore whose gate fails runs item 6
ok 17 - T14c a rollback without --restore whose gate fails runs item 6
---
duration_ms: 5892.641345
type: 'test'
...
# Subtest: T15 --plan names the migration and the restore and changes nothing
ok 18 - T15 --plan names the migration and the restore and changes nothing
---
duration_ms: 2453.910571
type: 'test'
...
# Subtest: T26 --plan lists the commits an activate adds, after the migration lines
ok 19 - T26 --plan lists the commits an activate adds, after the migration lines
---
duration_ms: 1327.245614
type: 'test'
...
# Subtest: T27 --plan names each migration step, or says the steps cannot be read
ok 20 - T27 --plan names each migration step, or says the steps cannot be read
---
duration_ms: 1063.564309
type: 'test'
...
# Subtest: T25 --plan refuses copies-unrelated when neither copy is an ancestor of the other
ok 21 - T25 --plan refuses copies-unrelated when neither copy is an ancestor of the other
---
duration_ms: 478.458375
type: 'test'
...
# Subtest: T23 --plan reads the store without changing a file, stopped or held
# Subtest: stopped store
ok 1 - stopped store
---
duration_ms: 607.202289
type: 'test'
...
# Subtest: held store
ok 2 - held store
---
duration_ms: 576.974202
type: 'test'
...
1..2
ok 22 - T23 --plan reads the store without changing a file, stopped or held
---
duration_ms: 1184.684844
type: 'test'
...
# Subtest: T24 business-mismatch and capture-failed refuse with exit 3; a short id is a usage error
ok 23 - T24 business-mismatch and capture-failed refuse with exit 3; a short id is a usage error
---
duration_ms: 1338.820413
type: 'test'
...
# Subtest: T16 status prints the pointer, the log, the check, bus status and drift, and writes nothing
ok 24 - T16 status prints the pointer, the log, the check, bus status and drift, and writes nothing
---
duration_ms: 844.379238
type: 'test'
...
# Subtest: T19 a started line with no final line: status shows it and every changing verb refuses
ok 25 - T19 a started line with no final line: status shows it and every changing verb refuses
---
duration_ms: 1183.843029
type: 'test'
...
# Subtest: T20 a held run lock refuses run-locked without a log line; status and --plan still run
ok 26 - T20 a held run lock refuses run-locked without a log line; status and --plan still run
---
duration_ms: 1288.349922
type: 'test'
...
# Subtest: T21 a bus unit with no MOSAIC_CLAUDE_BIN: adopt and activate refuse no-claude-pin
ok 27 - T21 a bus unit with no MOSAIC_CLAUDE_BIN: adopt and activate refuse no-claude-pin
---
duration_ms: 1388.345045
type: 'test'
...
# Subtest: T22 the stopped store read: a -wal or -shm refuses store-unclean and is left alone; a clean read adds no file
# Subtest: bus.sqlite-wal
ok 1 - bus.sqlite-wal
---
duration_ms: 1693.568089
type: 'test'
...
# Subtest: bus.sqlite-shm
ok 2 - bus.sqlite-shm
---
duration_ms: 1720.499819
type: 'test'
...
# Subtest: clean
ok 3 - clean
---
duration_ms: 1875.841952
type: 'test'
...
1..3
ok 28 - T22 the stopped store read: a -wal or -shm refuses store-unclean and is left alone; a clean read adds no file
---
duration_ms: 5290.588319
type: 'test'
...
# Subtest: T28 a unit path, drop-in directory or drop-in file that cannot be read, or a relative unit path, refuses drop-in-override before any stop
# Subtest: unit path
ok 1 - unit path
---
duration_ms: 797.124963
type: 'test'
...
# Subtest: drop-in directory
ok 2 - drop-in directory
---
duration_ms: 781.301738
type: 'test'
...
# Subtest: drop-in file
ok 3 - drop-in file
---
duration_ms: 808.993225
type: 'test'
...
# Subtest: relative unit path
ok 4 - relative unit path
---
duration_ms: 773.056661
type: 'test'
...
1..4
ok 29 - T28 a unit path, drop-in directory or drop-in file that cannot be read, or a relative unit path, refuses drop-in-override before any stop
---
duration_ms: 3161.27876
type: 'test'
...
# Subtest: T29 a bus that stops during the held-store read: --plan says so, rollback --restore refuses restore-mismatch
# Subtest: --plan
ok 1 - --plan
---
duration_ms: 867.887774
type: 'test'
...
# Subtest: rollback --restore
ok 2 - rollback --restore
---
duration_ms: 2346.674841
type: 'test'
...
1..2
ok 30 - T29 a bus that stops during the held-store read: --plan says so, rollback --restore refuses restore-mismatch
---
duration_ms: 3215.123025
type: 'test'
...
# Subtest: T30 a copy check that agrees on another copy fails the gate with copy-check and rolls back
ok 31 - T30 a copy check that agrees on another copy fails the gate with copy-check and rolls back
---
duration_ms: 4684.260465
type: 'test'
...
# Subtest: T31 a quoted or escaped Environment= or ExecStart= is unreadable: refusals by name, nothing read from /a
# Subtest: Environment double quotes
ok 1 - Environment double quotes
---
duration_ms: 1683.847139
type: 'test'
...
# Subtest: Environment single quotes
ok 2 - Environment single quotes
---
duration_ms: 1684.568658
type: 'test'
...
# Subtest: Environment backslash
ok 3 - Environment backslash
---
duration_ms: 1646.125395
type: 'test'
...
# Subtest: ExecStart quotes
ok 4 - ExecStart quotes
---
duration_ms: 1641.998978
type: 'test'
...
# Subtest: Console ExecStart quotes
ok 5 - Console ExecStart quotes
---
duration_ms: 1681.073765
type: 'test'
...
1..5
ok 32 - T31 a quoted or escaped Environment= or ExecStart= is unreadable: refusals by name, nothing read from /a
---
duration_ms: 8338.637677
type: 'test'
...
# Subtest: T32 item 1: --pm-after-harness refuses a target without harness or a file that sets it, and passes without the PM
# Subtest: usage: not with --pm, and only for activate
ok 1 - usage: not with --pm, and only for activate
---
duration_ms: 634.867351
type: 'test'
...
# Subtest: pm-after-harness-target
ok 2 - pm-after-harness-target
---
duration_ms: 905.888215
type: 'test'
...
# Subtest: pm-after-harness-set
ok 3 - pm-after-harness-set
---
duration_ms: 1269.706447
type: 'test'
...
# Subtest: a pointer without pm
ok 4 - a pointer without pm
---
duration_ms: 832.851557
type: 'test'
...
# Subtest: phase 1 installs without --pm, skips pm_launched and writes the pending pointer
ok 5 - phase 1 installs without --pm, skips pm_launched and writes the pending pointer
---
duration_ms: 1942.70525
type: 'test'
...
1..5
ok 33 - T32 item 1: --pm-after-harness refuses a target without harness or a file that sets it, and passes without the PM
---
duration_ms: 5586.939771
type: 'test'
...
# Subtest: T33 item 2: read_pointer takes pmPending only as true beside pm false; a pending pointer refuses activate and shows in status
# Subtest: read_pointer
ok 1 - read_pointer
---
duration_ms: 1545.054359
type: 'test'
...
# Subtest: pm-pending, already-adopted and the status line
ok 2 - pm-pending, already-adopted and the status line
---
duration_ms: 2729.522908
type: 'test'
...
1..2
ok 34 - T33 item 2: read_pointer takes pmPending only as true beside pm false; a pending pointer refuses activate and shows in status
---
duration_ms: 4275.094305
type: 'test'
...
# Subtest: T34 item 3: pm-on refuses before any stop, passes with the PM, or puts the phase-1 bus back
# Subtest: not-pending
ok 1 - not-pending
---
duration_ms: 720.657359
type: 'test'
...
# Subtest: harness-unset
ok 2 - harness-unset
---
duration_ms: 2356.58342
type: 'test'
...
# Subtest: a launched line passes: the bus alone restarts with --pm
ok 3 - a launched line passes: the bus alone restarts with --pm
---
duration_ms: 3258.55936
type: 'test'
...
# Subtest: a failed pm_launched puts the phase-1 unit back: exit 1, still pending
ok 4 - a failed pm_launched puts the phase-1 unit back: exit 1, still pending
---
duration_ms: 5963.508946
type: 'test'
...
# Subtest: a failed phase-1 gate too: pm-on-down, exit 2, both units stopped
ok 5 - a failed phase-1 gate too: pm-on-down, exit 2, both units stopped
---
duration_ms: 7949.251456
type: 'test'
...
1..5
ok 35 - T34 item 3: pm-on refuses before any stop, passes with the PM, or puts the phase-1 bus back
---
duration_ms: 20249.511905
type: 'test'
...
# Subtest: T35 item 4: rollback from pending installs --pm; a plug-in kind the target lacks refuses by name
# Subtest: rollback from pending gates pm_launched on the old copy
ok 1 - rollback from pending gates pm_launched on the old copy
---
duration_ms: 3196.052737
type: 'test'
...
# Subtest: after the harness set, rollback refuses until harness is gone
ok 2 - after the harness set, rollback refuses until harness is gone
---
duration_ms: 4688.17615
type: 'test'
...
# Subtest: activate names every kind the target lacks
ok 3 - activate names every kind the target lacks
---
duration_ms: 1151.546017
type: 'test'
...
1..3
ok 36 - T35 item 4: rollback from pending installs --pm; a plug-in kind the target lacks refuses by name
---
duration_ms: 9036.395606
type: 'test'
...
# Subtest: T36 --plan shows the pending state and lists the row 169 refusals it can see
ok 37 - T36 --plan shows the pending state and lists the row 169 refusals it can see
---
duration_ms: 3256.931731
type: 'test'
...
# Subtest: T37 tester-port activate writes pointer and unit, replaces the port, and supported re-pin and rollback keep it
ok 38 - T37 tester-port activate writes pointer and unit, replaces the port, and supported re-pin and rollback keep it
---
duration_ms: 6215.602984
type: 'test'
...
# Subtest: T38 tester-port rollback to unsupported target drops flag in plan, steps, unit and pointer
ok 39 - T38 tester-port rollback to unsupported target drops flag in plan, steps, unit and pointer
---
duration_ms: 3316.573019
type: 'test'
...
# Subtest: T39 tester-port explicit unsupported target reads target copy and refuses before stopping either unit
ok 40 - T39 tester-port explicit unsupported target reads target copy and refuses before stopping either unit
---
duration_ms: 733.22047
type: 'test'
...
# Subtest: T40 tester-port invalid values refuse exit 4 before stopping, including tunnel and main ports
ok 41 - T40 tester-port invalid values refuse exit 4 before stopping, including tunnel and main ports
---
duration_ms: 754.397659
type: 'test'
...
# Subtest: T41 tester-port inherited activate to unsupported target drops it and retains drift refusal and failed-run recovery
ok 42 - T41 tester-port inherited activate to unsupported target drops it and retains drift refusal and failed-run recovery
---
duration_ms: 7932.216826
type: 'test'
...
# Subtest: T42 tester-port pm-on preserves pointer Console flags
ok 43 - T42 tester-port pm-on preserves pointer Console flags
---
duration_ms: 2921.391462
type: 'test'
...
# Subtest: T43 row 180 item 1: runs in one second get distinct activation ids, rollback sets and post-attempt stores
# Subtest: activate then pm-on on the same copy
ok 1 - activate then pm-on on the same copy
---
duration_ms: 2919.087082
type: 'test'
...
# Subtest: two restores: an old-form id and a suffixed one, each with its own post-attempt store
ok 2 - two restores: an old-form id and a suffixed one, each with its own post-attempt store
---
duration_ms: 5987.123974
type: 'test'
...
# Subtest: adopt takes the next free id too
ok 3 - adopt takes the next free id too
---
duration_ms: 577.960279
type: 'test'
...
# Subtest: all ten names taken: capture-failed before anything stops, and the log line names no activation
ok 4 - all ten names taken: capture-failed before anything stops, and the log line names no activation
---
duration_ms: 902.178913
type: 'test'
...
# Subtest: --restore takes an id with or without -1 to -9 and nothing else
ok 5 - --restore takes an id with or without -1 to -9 and nothing else
---
duration_ms: 930.476167
type: 'test'
...
1..5
ok 44 - T43 row 180 item 1: runs in one second get distinct activation ids, rollback sets and post-attempt stores
---
duration_ms: 11317.772918
type: 'test'
...
# Subtest: T44 row 180 item 2: --plan lists tester-port-invalid and tester-port-target with its other refusals
# Subtest: a bad tester port
ok 1 - a bad tester port
---
duration_ms: 2017.792039
type: 'test'
...
# Subtest: without --plan a bad port is usage before any pointer read
ok 2 - without --plan a bad port is usage before any pointer read
---
duration_ms: 351.683128
type: 'test'
...
# Subtest: a target Console without --tester-port
ok 3 - a target Console without --tester-port
---
duration_ms: 943.679169
type: 'test'
...
1..3
ok 45 - T44 row 180 item 2: --plan lists tester-port-invalid and tester-port-target with its other refusals
---
duration_ms: 3313.753139
type: 'test'
...
# Subtest: T45 row 181 items 2 and 3: the restore guard counts events and every COUNTED table
# Subtest: both modes count events and each listed table, and a table the store lacks counts 0
ok 1 - both modes count events and each listed table, and a table the store lacks counts 0
---
duration_ms: 1109.341491
type: 'test'
...
# Subtest: one instance_names row and no event refuses before any stop; --events 1 restores
ok 2 - one instance_names row and no event refuses before any stop; --events 1 restores
---
duration_ms: 4199.828901
type: 'test'
...
# Subtest: one usage_records row and no event refuses before any stop; --events 1 restores
ok 3 - one usage_records row and no event refuses before any stop; --events 1 restores
---
duration_ms: 4145.707978
type: 'test'
...
# Subtest: a listed table that cannot be read refuses restore-mismatch before any stop
ok 4 - a listed table that cannot be read refuses restore-mismatch before any stop
---
duration_ms: 2313.32004
type: 'test'
...
# Subtest: the in-run recount counts the listed tables too
ok 5 - the in-run recount counts the listed tables too
---
duration_ms: 3210.928159
type: 'test'
...
1..5
ok 46 - T45 row 181 items 2 and 3: the restore guard counts events and every COUNTED table
---
duration_ms: 14980.069951
type: 'test'
...
# Subtest: T46 row 181 item 4: every table in the bus schema is in exactly one of four lists
ok 47 - T46 row 181 item 4: every table in the bus schema is in exactly one of four lists
---
duration_ms: 3.753069
type: 'test'
...
# Subtest: T47 row 185 test 1: a same-schema activate leaves a whole backup and the log line names it
ok 48 - T47 row 185 test 1: a same-schema activate leaves a whole backup and the log line names it
---
duration_ms: 1875.072092
type: 'test'
...
# Subtest: T48 row 185 test 2: a gate failure on a same-schema activate rolls back without a restore
ok 49 - T48 row 185 test 2: a gate failure on a same-schema activate rolls back without a restore
---
duration_ms: 5853.249144
type: 'test'
...
# Subtest: T49 row 185 test 3: a same-schema rollback --restore restores, or refuses rows written after STAMP
# Subtest: no rows after STAMP: restores and goes live
ok 1 - no rows after STAMP: restores and goes live
---
duration_ms: 3310.541365
type: 'test'
...
# Subtest: one instance_names row after STAMP refuses post-backup-events; --events 1 restores
ok 2 - one instance_names row after STAMP refuses post-backup-events; --events 1 restores
---
duration_ms: 3757.189395
type: 'test'
...
1..2
ok 50 - T49 row 185 test 3: a same-schema rollback --restore restores, or refuses rows written after STAMP
---
duration_ms: 7068.237556
type: 'test'
...
# Subtest: T50 row 185 test 4: activate --plan prints the backup line and writes nothing
ok 51 - T50 row 185 test 4: activate --plan prints the backup line and writes nothing
---
duration_ms: 2392.834219
type: 'test'
...
# Subtest: T51 row 185 test 5: an activate with no store file takes no backup
ok 52 - T51 row 185 test 5: an activate with no store file takes no backup
---
duration_ms: 1984.450233
type: 'test'
...
# Subtest: T52 row 186: the activate plan's backup line says what the run will do
# Subtest: same schema
ok 1 - same schema
---
duration_ms: 2100.381811
type: 'test'
...
# Subtest: same schema with --migrate
ok 2 - same schema with --migrate
---
duration_ms: 2112.478473
type: 'test'
...
# Subtest: in chain with --migrate
ok 3 - in chain with --migrate
---
duration_ms: 2129.277306
type: 'test'
...
# Subtest: in chain without --migrate
ok 4 - in chain without --migrate
---
duration_ms: 1977.96925
type: 'test'
...
# Subtest: outside the chain
ok 5 - outside the chain
---
duration_ms: 2008.078748
type: 'test'
...
# Subtest: outside the chain with --migrate
ok 6 - outside the chain with --migrate
---
duration_ms: 1980.350459
type: 'test'
...
1..6
ok 53 - T52 row 186: the activate plan's backup line says what the run will do
---
duration_ms: 12309.663626
type: 'test'
...
# Subtest: T178 proxy proof header and path survive re-pin and rollback unchanged in the pointer and unit
ok 54 - T178 proxy proof header and path survive re-pin and rollback unchanged in the pointer and unit
---
duration_ms: 3157.338866
type: 'test'
...
# Subtest: T178 proxy proof pair survives a tester-port replacement as well
ok 55 - T178 proxy proof pair survives a tester-port replacement as well
---
duration_ms: 1885.478565
type: 'test'
...
# Subtest: T53 row 187: activate sets, carries and drops the proof pair
# Subtest: tests 1 and 9: the pair goes after the preview flags, before --send and the kept --tester-port, as the unit renders it; a new pair replaces it
ok 1 - tests 1 and 9: the pair goes after the preview flags, before --send and the kept --tester-port, as the unit renders it; a new pair replaces it
---
duration_ms: 5312.54309
type: 'test'
...
# Subtest: tests 2 and 3: an activate of the live copy writes the pair; a later activate and a rollback carry it
ok 2 - tests 2 and 3: an activate of the live copy writes the pair; a later activate and a rollback carry it
---
duration_ms: 4931.654144
type: 'test'
...
# Subtest: test 2: only a pair change may name the live copy; the log keeps from and to, and rollback still goes to the earlier copy
ok 3 - test 2: only a pair change may name the live copy; the log keeps from and to, and rollback still goes to the earlier copy
---
duration_ms: 6489.410953
type: 'test'
...
# Subtest: test 2: a live-copy activate says only the Console flags change, and backs up the stopped store before it installs
ok 4 - test 2: a live-copy activate says only the Console flags change, and backs up the stopped store before it installs
---
duration_ms: 3894.265279
type: 'test'
...
# Subtest: test 3: pm-on keeps the pair
ok 5 - test 3: pm-on keeps the pair
---
duration_ms: 2938.545694
type: 'test'
...
# Subtest: test 4: --no-proof drops the pair from the pointer and the unit and says so; with no pair it says so and passes
ok 6 - test 4: --no-proof drops the pair from the pointer and the unit and says so; with no pair it says so and passes
---
duration_ms: 5513.263111
type: 'test'
...
# Subtest: test 5: each refusal exits 3 before anything stops
ok 7 - test 5: each refusal exits 3 before anything stops
---
duration_ms: 3639.567545
type: 'test'
...
# Subtest: tests 5 and 9: --plan lists every proof refusal with the others and writes nothing
ok 8 - tests 5 and 9: --plan lists every proof refusal with the others and writes nothing
---
duration_ms: 842.914587
type: 'test'
...
# Subtest: test 6: usage errors
ok 9 - test 6: usage errors
---
duration_ms: 749.393504
type: 'test'
...
# Subtest: test 7: a rollback to a copy without proof support drops the pair and says so
ok 10 - test 7: a rollback to a copy without proof support drops the pair and says so
---
duration_ms: 3363.500581
type: 'test'
...
# Subtest: test 7: an activate to a copy without proof support refuses proof-target without --no-proof and passes with it
ok 11 - test 7: an activate to a copy without proof support refuses proof-target without --no-proof and passes with it
---
duration_ms: 3772.43774
type: 'test'
...
1..11
ok 56 - T53 row 187: activate sets, carries and drops the proof pair
---
duration_ms: 41449.444966
type: 'test'
...
# Subtest: T54 row 188: a carried pair gets the proof file checks, and a proof file inside the repository refuses
# Subtest: test 1: an activate that carries the pair refuses after chmod 644, in the plan and the run, before anything stops
ok 1 - test 1: an activate that carries the pair refuses after chmod 644, in the plan and the run, before anything stops
---
duration_ms: 2311.044421
type: 'test'
...
# Subtest: test 1: an activate that carries the pair refuses after a symlink to a mode-600 file, in the plan and the run, before anything stops
ok 2 - test 1: an activate that carries the pair refuses after a symlink to a mode-600 file, in the plan and the run, before anything stops
---
duration_ms: 2290.125725
type: 'test'
...
# Subtest: test 1: an activate that carries the pair refuses after removal, in the plan and the run, before anything stops
ok 3 - test 1: an activate that carries the pair refuses after removal, in the plan and the run, before anything stops
---
duration_ms: 2396.383155
type: 'test'
...
# Subtest: test 2: a rollback that carries the pair refuses after chmod 644, in the plan and the run, before anything stops
ok 4 - test 2: a rollback that carries the pair refuses after chmod 644, in the plan and the run, before anything stops
---
duration_ms: 2389.449392
type: 'test'
...
# Subtest: test 3: a proof file inside the repository refuses, in the plan and the run, before anything stops
ok 5 - test 3: a proof file inside the repository refuses, in the plan and the run, before anything stops
---
duration_ms: 1031.073208
type: 'test'
...
# Subtest: test 4: a path outside the repository through a directory symlink into it refuses on its realpath
ok 6 - test 4: a path outside the repository through a directory symlink into it refuses on its realpath
---
duration_ms: 1010.189933
type: 'test'
...
1..6
ok 57 - T54 row 188: a carried pair gets the proof file checks, and a proof file inside the repository refuses
---
duration_ms: 11429.424802
type: 'test'
...
# Subtest: T55 row 189: activate --no-send drops --send, and rollback and pm-on carry it off
# Subtest: test 1: a live-copy --no-send drops --send from the pointer and the unit, keeps the rest in order, logs the step and backs up the stopped store
ok 1 - test 1: a live-copy --no-send drops --send from the pointer and the unit, keeps the rest in order, logs the step and backs up the stopped store
---
duration_ms: 2190.738187
type: 'test'
...
# Subtest: test 2: a plain live-copy activate still refuses already-active, and so does --no-send once --send is gone
ok 2 - test 2: a plain live-copy activate still refuses already-active, and so does --no-send once --send is gone
---
duration_ms: 3133.354449
type: 'test'
...
# Subtest: test 3: --plan prints one send: line in each case, with the live-copy note on a same-copy run
ok 3 - test 3: --plan prints one send: line in each case, with the live-copy note on a same-copy run
---
duration_ms: 4712.521872
type: 'test'
...
# Subtest: test 4: after --no-send, a rollback to the earlier copy leaves --send out of the pointer and the unit
ok 4 - test 4: after --no-send, a rollback to the earlier copy leaves --send out of the pointer and the unit
---
duration_ms: 3425.196693
type: 'test'
...
# Subtest: test 4: pm-on after --no-send keeps --send off
ok 5 - test 4: pm-on after --no-send keeps --send off
---
duration_ms: 3268.44554
type: 'test'
...
# Subtest: test 5: --no-send on rollback, pm-on, status, adopt or rehearse is a usage error
ok 6 - test 5: --no-send on rollback, pm-on, status, adopt or rehearse is a usage error
---
duration_ms: 660.30695
type: 'test'
...
# Subtest: test 6: with both a pair and --send in the pointer, --no-send and --no-proof each drop what they name and keep the rest
ok 7 - test 6: with both a pair and --send in the pointer, --no-send and --no-proof each drop what they name and keep the rest
---
duration_ms: 10372.287821
type: 'test'
...
1..7
ok 58 - T55 row 189: activate --no-send drops --send, and rollback and pm-on carry it off
---
duration_ms: 27764.223152
type: 'test'
...
# Subtest: T57 row 200: activate --sso, its refusals before any stop, and the rollback to a Console without --sso
# Subtest: item 1: --sso drops the preview set and the pair, puts --sso before --send and the tester port, and the plan names what it drops and carries
ok 1 - item 1: --sso drops the preview set and the pair, puts --sso before --send and the tester port, and the plan names what it drops and carries
---
duration_ms: 3808.983106
type: 'test'
...
# Subtest: item 1: --sso may re-pin the live copy once; later activates carry it; --no-send still drops --send
ok 2 - item 1: --sso may re-pin the live copy once; later activates carry it; --no-send still drops --send
---
duration_ms: 8870.856748
type: 'test'
...
# Subtest: item 1: --sso with a pair or --no-proof, or on any verb but activate, is a usage error
ok 3 - item 1: --sso with a pair or --no-proof, or on any verb but activate, is a usage error
---
duration_ms: 698.700049
type: 'test'
...
# Subtest: item 2: a target without --sso, a missing or bad console.sso, and each slot problem refuse before any stop
ok 4 - item 2: a target without --sso, a missing or bad console.sso, and each slot problem refuse before any stop
---
duration_ms: 5717.607142
type: 'test'
...
# Subtest: item 3: a config whose console key the target loader refuses stops an activate or a rollback before any stop, naming the first step
ok 5 - item 3: a config whose console key the target loader refuses stops an activate or a rollback before any stop, naming the first step
---
duration_ms: 4383.322501
type: 'test'
...
# Subtest: row 203: a config whose federation key the target loader refuses stops an activate or a rollback before any stop, naming the first step
ok 6 - row 203: a config whose federation key the target loader refuses stops an activate or a rollback before any stop, naming the first step
---
duration_ms: 3729.915031
type: 'test'
...
# Subtest: item 3: a rollback from --sso to a Console without it takes the flags from the set of the activation onto the copy, past a same-copy re-pin (sage-1389)
ok 7 - item 3: a rollback from --sso to a Console without it takes the flags from the set of the activation onto the copy, past a same-copy re-pin (sage-1389)
---
duration_ms: 11210.397187
type: 'test'
...
# Subtest: item 3: a rollback set that is missing, fails its sums, holds no argv or already ran --sso refuses sso-rollback-flags
ok 8 - item 3: a rollback set that is missing, fails its sums, holds no argv or already ran --sso refuses sso-rollback-flags
---
duration_ms: 4388.11665
type: 'test'
...
# Subtest: round 2 (webby-0028 N1): run through a symlinked repository path, a slot or a proof file inside the repository still refuses
ok 9 - round 2 (webby-0028 N1): run through a symlinked repository path, a slot or a proof file inside the repository still refuses
---
duration_ms: 2186.536049
type: 'test'
...
# Subtest: round 2 (webby-0028 N2): a config.json that does not parse stops the run before anything is read or stopped
ok 10 - round 2 (webby-0028 N2): a config.json that does not parse stops the run before anything is read or stopped
---
duration_ms: 2039.089875
type: 'test'
...
# Subtest: round 3 (sage-1556): a named instance turns --sso on with its own config, slot and Console unit, and rolls back from its own set
ok 11 - round 3 (sage-1556): a named instance turns --sso on with its own config, slot and Console unit, and rolls back from its own set
---
duration_ms: 4281.882392
type: 'test'
...
# Subtest: row 238 (\#1744): on a named instance the sso-config first step names --instance NAME in both commands
ok 12 - row 238 (\#1744): on a named instance the sso-config first step names --instance NAME in both commands
---
duration_ms: 1033.914891
type: 'test'
...
1..12
ok 59 - T57 row 200: activate --sso, its refusals before any stop, and the rollback to a Console without --sso
---
duration_ms: 52351.496316
type: 'test'
...
# Subtest: T58 row 273: activate --send and --no-sso
# Subtest: T1: --sso --send turns send on after --sso and before the tester port, and the plan says so
ok 1 - T1: --sso --send turns send on after --sso and before the tester port, and the plan says so
---
duration_ms: 2647.56476
type: 'test'
...
# Subtest: T1: --send beside a carried --sso re-pins the live copy once, and the plan names the carried --sso
ok 2 - T1: --send beside a carried --sso re-pins the live copy once, and the plan names the carried --sso
---
duration_ms: 4275.088727
type: 'test'
...
# Subtest: T2: --send without --sso, given or carried, refuses before any stop, and --plan lists it
ok 3 - T2: --send without --sso, given or carried, refuses before any stop, and --plan lists it
---
duration_ms: 1981.888668
type: 'test'
...
# Subtest: T2 (sage-2315 B1): a rollback from an --sso --send pointer to a Console without --sso ends with neither flag
ok 4 - T2 (sage-2315 B1): a rollback from an --sso --send pointer to a Console without --sso ends with neither flag
---
duration_ms: 3821.681602
type: 'test'
...
# Subtest: T2 and T4: --send with --no-send, --no-sso with --sso, --send, a pair or --no-proof, and either flag on another verb, is a usage error
ok 5 - T2 and T4: --send with --no-send, --no-sso with --sso, --send, a pair or --no-proof, and either flag on another verb, is a usage error
---
duration_ms: 2101.612912
type: 'test'
...
# Subtest: T3: --no-sso on the same copy returns the unit and the pointer to the flags from before --sso, without --send
ok 6 - T3: --no-sso on the same copy returns the unit and the pointer to the flags from before --sso, without --send
---
duration_ms: 5273.076923
type: 'test'
...
# Subtest: T3: the set walk passes later re-pins that ran with --sso, and the tester follows the pointer
ok 7 - T3: the set walk passes later re-pins that ran with --sso, and the tester follows the pointer
---
duration_ms: 5190.810442
type: 'test'
...
# Subtest: T3 (sage-2305 a): after --sso, two later re-pins that carry it, then --no-sso restores the flags from before --sso byte for byte
ok 8 - T3 (sage-2305 a): after --sso, two later re-pins that carry it, then --no-sso restores the flags from before --sso byte for byte
---
duration_ms: 7851.802083
type: 'test'
...
# Subtest: T4 (sage-2305 b): a log in which every set holds a Console with --sso refuses before any unit stops
ok 9 - T4 (sage-2305 b): a log in which every set holds a Console with --sso refuses before any unit stops
---
duration_ms: 3742.99193
type: 'test'
...
# Subtest: T4: --no-sso refuses before any stop on a pointer without --sso, a tampered or missing set, a set that ran with --sso, an ok line with no activation, and a log with no set
ok 10 - T4: --no-sso refuses before any stop on a pointer without --sso, a tampered or missing set, a set that ran with --sso, an ok line with no activation, and a log with no set
---
duration_ms: 5635.545519
type: 'test'
...
1..10
ok 60 - T58 row 273: activate --send and --no-sso
---
duration_ms: 42523.832049
type: 'test'
...
# Subtest: R1 rehearse passes on the same schema; the scratch root holds its files and the live files stay byte-identical
ok 61 - R1 rehearse passes on the same schema; the scratch root holds its files and the live files stay byte-identical
---
duration_ms: 3430.898879
type: 'test'
...
# Subtest: R2 rehearse runs the migration checks when the schema differs; the live store stays at 3g
ok 62 - R2 rehearse runs the migration checks when the schema differs; the live store stays at 3g
---
duration_ms: 3567.801144
type: 'test'
...
# Subtest: R3 a failing migration gives REHEARSAL_FAIL migrate and starts nothing
ok 63 - R3 a failing migration gives REHEARSAL_FAIL migrate and starts nothing
---
duration_ms: 376.364426
type: 'test'
...
# Subtest: R4 a host that does not start, does not answer status, reports another pid, launches anyway, makes a launches directory or keeps its lock each fails by name
ok 64 - R4 a host that does not start, does not answer status, reports another pid, launches anyway, makes a launches directory or keeps its lock each fails by name
---
duration_ms: 25519.605064
type: 'test'
...
# Subtest: R5 a host that ignores SIGTERM gets SIGKILL and FAIL host-stopped
ok 65 - R5 a host that ignores SIGTERM gets SIGKILL and FAIL host-stopped
---
duration_ms: 4431.027764
type: 'test'
...
# Subtest: R6 a Console that does not answer /healthz gives REHEARSAL_FAIL healthz
ok 66 - R6 a Console that does not answer /healthz gives REHEARSAL_FAIL healthz
---
duration_ms: 5645.65876
type: 'test'
...
# Subtest: R7 a host on another copy fails copy-match
ok 67 - R7 a host on another copy fails copy-match
---
duration_ms: 4610.296567
type: 'test'
...
# Subtest: R8 a scratch port in use or reserved refuses, and the rehearsal takes no other port
ok 68 - R8 a scratch port in use or reserved refuses, and the rehearsal takes no other port
---
duration_ms: 510.273273
type: 'test'
...
# Subtest: R9 mos-0963: a role reference left outside placeholders/, or left on an env variable, fails credential-ref-live before the host starts
ok 69 - R9 mos-0963: a role reference left outside placeholders/, or left on an env variable, fails credential-ref-live before the host starts
---
duration_ms: 709.121199
type: 'test'
...
# Subtest: R10 mos-0962: a scratch business that still sets a tracker fails tracker-configured
ok 70 - R10 mos-0962: a scratch business that still sets a tracker fails tracker-configured
---
duration_ms: 361.199935
type: 'test'
...
# Subtest: R11 mos-0961: a scratch config on the live data root or on any root but the scratch one, or a sessions.json naming a running pid, refuses by name
ok 71 - R11 mos-0961: a scratch config on the live data root or on any root but the scratch one, or a sessions.json naming a running pid, refuses by name
---
duration_ms: 1381.046662
type: 'test'
...
# Subtest: R12 mos-0962: a notifier config with a binding fails notify-off
ok 72 - R12 mos-0962: a notifier config with a binding fails notify-off
---
duration_ms: 354.808709
type: 'test'
...
# Subtest: R13 the pre-checks: an old copy, a backup that fails its sums, a missing backup or pointer, and usage
ok 73 - R13 the pre-checks: an old copy, a backup that fails its sums, a missing backup or pointer, and usage
---
duration_ms: 479.642012
type: 'test'
...
# Subtest: R14 a host that writes the live config, the live business file or the backup fails the end check by name
ok 74 - R14 a host that writes the live config, the live business file or the backup fails the end check by name
---
duration_ms: 8284.889264
type: 'test'
...
# Subtest: R15 a rehearsal stopped by TERM, INT or HUP fails signal and still stops the host and Console and runs the end checks
ok 75 - R15 a rehearsal stopped by TERM, INT or HUP fails signal and still stops the host and Console and runs the end checks
---
duration_ms: 8986.105855
type: 'test'
...
# Subtest: row 233: --backup last takes the newest backup the log records; a later line with backup null does not hide it, and the store line names it
ok 76 - row 233: --backup last takes the newest backup the log records; a later line with backup null does not hide it, and the store line names it
---
duration_ms: 3458.692337
type: 'test'
...
# Subtest: row 233: --backup last with no backup in the log, or no log, exits 3 with no-backup and makes no rehearsal directory
ok 77 - row 233: --backup last with no backup in the log, or no log, exits 3 with no-backup and makes no rehearsal directory
---
duration_ms: 211.93496
type: 'test'
...
# Subtest: row 233: --backup last refuses a newest backup that is not an activation id, with exit 1
ok 78 - row 233: --backup last refuses a newest backup that is not an activation id, with exit 1
---
duration_ms: 123.931803
type: 'test'
...
# Subtest: T56 row 190: named instances side by side on one unit directory, $BIN and set of stand-ins
# Subtest: T-I3 each instance renders its own config, session env and Description, and nothing of another
ok 1 - T-I3 each instance renders its own config, session env and Description, and nothing of another
---
duration_ms: 1515.104015
type: 'test'
...
# Subtest: T-I4 a Console port another installed Console takes refuses port-claimed, and a named instance keeps off the default ports
ok 2 - T-I4 a Console port another installed Console takes refuses port-claimed, and a named instance keeps off the default ports
---
duration_ms: 2026.233394
type: 'test'
...
# Subtest: T-I6 alpha's activate and rollback reach nothing of beta's
ok 3 - T-I6 alpha's activate and rollback reach nothing of beta's
---
duration_ms: 4005.031154
type: 'test'
...
# Subtest: T-I6 swapped: beta's reach nothing of alpha's
ok 4 - T-I6 swapped: beta's reach nothing of alpha's
---
duration_ms: 3930.743394
type: 'test'
...
# Subtest: T-I7 MOSAIC_CONFIG naming alpha's config with no flag refuses instance-root-mismatch and changes nothing
ok 5 - T-I7 MOSAIC_CONFIG naming alpha's config with no flag refuses instance-root-mismatch and changes nothing
---
duration_ms: 717.082628
type: 'test'
...
# Subtest: T-I9 another instance's bus active refuses nothing; one of this instance's does
ok 6 - T-I9 another instance's bus active refuses nothing; one of this instance's does
---
duration_ms: 6128.40443
type: 'test'
...
1..6
ok 79 - T56 row 190: named instances side by side on one unit directory, $BIN and set of stand-ins
---
duration_ms: 18323.924333
type: 'test'
...
# Subtest: row196 explicit socket conversion refuses inherited TCP before stop and rollback disables socket
ok 80 - row196 explicit socket conversion refuses inherited TCP before stop and rollback disables socket
---
duration_ms: 5959.901959
type: 'test'
...
# Subtest: row196 SSO socket conversion pins pointer and unit argv order without send
ok 81 - row196 SSO socket conversion pins pointer and unit argv order without send
---
duration_ms: 2356.61005
type: 'test'
...
# Subtest: row196 interpreter activation checks receipt, identity, plan and startup log
# Subtest: plan and started log preserve the same interpreter JSON
ok 1 - plan and started log preserve the same interpreter JSON
---
duration_ms: 2242.974912
type: 'test'
...
# Subtest: interpreter-receipt-refuse fails at the gate and restores the pointer
ok 2 - interpreter-receipt-refuse fails at the gate and restores the pointer
---
duration_ms: 2309.965934
type: 'test'
...
# Subtest: interpreter-drift fails at the gate and restores the pointer
ok 3 - interpreter-drift fails at the gate and restores the pointer
---
duration_ms: 3334.75216
type: 'test'
...
# Subtest: missing-verifier refuses before any start or stop
ok 4 - missing-verifier refuses before any start or stop
---
duration_ms: 1060.229009
type: 'test'
...
# Subtest: interpreter-unsafe refuses before any start or stop
ok 5 - interpreter-unsafe refuses before any start or stop
---
duration_ms: 1028.500151
type: 'test'
...
1..5
ok 82 - row196 interpreter activation checks receipt, identity, plan and startup log
---
duration_ms: 9977.780113
type: 'test'
...
# Subtest: row196 rehearsal selects socket only for marked copies and uses scratch dataRoot
# Subtest: socket copy
ok 1 - socket copy
---
duration_ms: 3431.600155
type: 'test'
...
# Subtest: legacy copy
ok 2 - legacy copy
---
duration_ms: 2414.977661
type: 'test'
...
1..2
ok 83 - row196 rehearsal selects socket only for marked copies and uses scratch dataRoot
---
duration_ms: 5847.193955
type: 'test'
...
# Subtest: config-any-key: a non-console target refusal stops activate and rollback before any stop
ok 84 - config-any-key: a non-console target refusal stops activate and rollback before any stop
---
duration_ms: 2798.441715
type: 'test'
...
# Subtest: config-any-key: a pre-270 target refuses each row 270 key on a full activate and rollback, naming the key
ok 85 - config-any-key: a pre-270 target refuses each row 270 key on a full activate and rollback, naming the key
---
duration_ms: 4485.001526
type: 'test'
...
# Subtest: config-any-key: accepting loaders run validate with the selected config on activate and rollback
ok 86 - config-any-key: accepting loaders run validate with the selected config on activate and rollback
---
duration_ms: 3088.084902
type: 'test'
...
# Subtest: config-any-key: missing-loader copies accept only the four oldest keys
ok 87 - config-any-key: missing-loader copies accept only the four oldest keys
---
duration_ms: 125.259004
type: 'test'
...
# Subtest: config-any-key: missing config passes but malformed JSON refuses without calling the loader
ok 88 - config-any-key: missing config passes but malformed JSON refuses without calling the loader
---
duration_ms: 46.335032
type: 'test'
...
1..88
# tests 224
# suites 0
# pass 224
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 589696.215189