305 lines
12 KiB
Plaintext
305 lines
12 KiB
Plaintext
TAP version 13
|
|
# Subtest: versionAtLeast compares numbers and refuses a prerelease of 1.27.0
|
|
ok 1 - versionAtLeast compares numbers and refuses a prerelease of 1.27.0
|
|
---
|
|
duration_ms: 1.237036
|
|
type: 'test'
|
|
...
|
|
# Subtest: X-G1: a raise that fails a check refuses and stores nothing
|
|
ok 2 - X-G1: a raise that fails a check refuses and stores nothing
|
|
---
|
|
duration_ms: 62.068324
|
|
type: 'test'
|
|
...
|
|
# Subtest: X-G1: a creative role, a role without identity and a missing or due slot refuse at raise
|
|
ok 3 - X-G1: a creative role, a role without identity and a missing or due slot refuse at raise
|
|
---
|
|
duration_ms: 180.218463
|
|
type: 'test'
|
|
...
|
|
# Subtest: X-G2: admin set refuses each failed check and writes nothing, then writes the slot once
|
|
ok 4 - X-G2: admin set refuses each failed check and writes nothing, then writes the slot once
|
|
---
|
|
duration_ms: 143.52952
|
|
type: 'test'
|
|
...
|
|
# Subtest: X-G3 to X-G8: an approve makes the user, mints the token, forks, checks reach and writes the file, record and grant.applied
|
|
ok 5 - X-G3 to X-G8: an approve makes the user, mints the token, forks, checks reach and writes the file, record and grant.applied
|
|
---
|
|
duration_ms: 102.221906
|
|
type: 'test'
|
|
...
|
|
# Subtest: X-G4: a user this stack did not make, an admin, a disabled user and a remade user each refuse
|
|
ok 6 - X-G4: a user this stack did not make, an admin, a disabled user and a remade user each refuse
|
|
---
|
|
duration_ms: 306.504597
|
|
type: 'test'
|
|
...
|
|
# Subtest: X-G6 and X-G8: the user and mint steps are written before their calls, and each result after its call
|
|
ok 7 - X-G6 and X-G8: the user and mint steps are written before their calls, and each result after its call
|
|
---
|
|
duration_ms: 100.565961
|
|
type: 'test'
|
|
...
|
|
# Subtest: X-G4: a fork by the seat user of another repository than the project refuses fork-foreign
|
|
ok 8 - X-G4: a fork by the seat user of another repository than the project refuses fork-foreign
|
|
---
|
|
duration_ms: 79.418473
|
|
type: 'test'
|
|
...
|
|
# Subtest: X-G5: a failure after the mint deletes the token, unloads nothing it did not load and leaves no file
|
|
ok 9 - X-G5: a failure after the mint deletes the token, unloads nothing it did not load and leaves no file
|
|
---
|
|
duration_ms: 124.149748
|
|
type: 'test'
|
|
...
|
|
# Subtest: X-G5: a token delete that fails is left at Gitea, shown by status and taken by sweep
|
|
ok 10 - X-G5: a token delete that fails is left at Gitea, shown by status and taken by sweep
|
|
---
|
|
duration_ms: 128.702874
|
|
type: 'test'
|
|
...
|
|
# Subtest: X-G5: a mint that fails deletes by name, and a refusal at step 0 leaves the decision unspent
|
|
ok 11 - X-G5: a mint that fails deletes by name, and a refusal at step 0 leaves the decision unspent
|
|
---
|
|
duration_ms: 145.353601
|
|
type: 'test'
|
|
...
|
|
# Subtest: X-G5: an agent held for an unknown token is refused at step 0 with no Gitea call
|
|
ok 12 - X-G5: an agent held for an unknown token is refused at step 0 with no Gitea call
|
|
---
|
|
duration_ms: 65.829336
|
|
type: 'test'
|
|
...
|
|
# Subtest: X-G5 and X-G9 (step 7): a rotation whose old-token delete fails stays applied with the old id left
|
|
ok 13 - X-G5 and X-G9 (step 7): a rotation whose old-token delete fails stays applied with the old id left
|
|
---
|
|
duration_ms: 170.790626
|
|
type: 'test'
|
|
...
|
|
# Subtest: X-G10: in a rotation the store file holds the new token before the old one is deleted
|
|
ok 14 - X-G10: in a rotation the store file holds the new token before the old one is deleted
|
|
---
|
|
duration_ms: 145.852525
|
|
type: 'test'
|
|
...
|
|
# Subtest: X-G6: a rotation cut before the rename settles back at once, and the old token stays live
|
|
ok 15 - X-G6: a rotation cut before the rename settles back at once, and the old token stays live
|
|
---
|
|
duration_ms: 167.483708
|
|
type: 'test'
|
|
...
|
|
# Subtest: X-G6: a rotation whose step 8 write fails is settle-pending, and a restart settles it forward
|
|
ok 16 - X-G6: a rotation whose step 8 write fails is settle-pending, and a restart settles it forward
|
|
---
|
|
duration_ms: 178.569723
|
|
type: 'test'
|
|
...
|
|
# Subtest: X-G6: a restart settles an open rotation back when the file still holds the old token
|
|
ok 17 - X-G6: a restart settles an open rotation back when the file still holds the old token
|
|
---
|
|
duration_ms: 134.9967
|
|
type: 'test'
|
|
...
|
|
# Subtest: X-G6: a restart settles an open rotation forward when the file holds the new token
|
|
ok 18 - X-G6: a restart settles an open rotation forward when the file holds the new token
|
|
---
|
|
duration_ms: 113.009774
|
|
type: 'test'
|
|
...
|
|
# Subtest: X-G6: a 401 on the file token loses the grant: both tokens go, the record goes and memory unloads
|
|
ok 19 - X-G6: a 401 on the file token loses the grant: both tokens go, the record goes and memory unloads
|
|
---
|
|
duration_ms: 136.104972
|
|
type: 'test'
|
|
...
|
|
# Subtest: X-G6: a 403, 404, 500, a hang and a dropped socket each leave the rotation settle-pending with nothing deleted
|
|
ok 20 - X-G6: a 403, 404, 500, a hang and a dropped socket each leave the rotation settle-pending with nothing deleted
|
|
---
|
|
duration_ms: 996.868783
|
|
type: 'test'
|
|
...
|
|
# Subtest: X-G6: a file token no grant minted is held; the next restart says so again; a revoke clears it and takes both ids
|
|
ok 21 - X-G6: a file token no grant minted is held; the next restart says so again; a revoke clears it and takes both ids
|
|
---
|
|
duration_ms: 155.766188
|
|
type: 'test'
|
|
...
|
|
# Subtest: N9: a revoke of an open rotation, then a restart: no settle, no Gitea call and no message
|
|
ok 22 - N9: a revoke of an open rotation, then a restart: no settle, no Gitea call and no message
|
|
---
|
|
duration_ms: 113.207925
|
|
type: 'test'
|
|
...
|
|
# Subtest: N9: a 404 on a delete by id counts as done
|
|
ok 23 - N9: a 404 on a delete by id counts as done
|
|
---
|
|
duration_ms: 128.801734
|
|
type: 'test'
|
|
...
|
|
# Subtest: X-G6: a restart undoes each step a killed child left, and spends an approved unspent decision
|
|
ok 24 - X-G6: a restart undoes each step a killed child left, and spends an approved unspent decision
|
|
---
|
|
duration_ms: 416.149926
|
|
type: 'test'
|
|
...
|
|
# Subtest: X-G6: a restart with no admin slot leaves the user an orphan and the token left
|
|
ok 25 - X-G6: a restart with no admin slot leaves the user an orphan and the token left
|
|
---
|
|
duration_ms: 53.694027
|
|
type: 'test'
|
|
...
|
|
# Subtest: X-G7: a change to the definition, identity, publish remotes or admin slot after the raise ends decision-mismatch
|
|
ok 26 - X-G7: a change to the definition, identity, publish remotes or admin slot after the raise ends decision-mismatch
|
|
---
|
|
duration_ms: 140.801435
|
|
type: 'test'
|
|
...
|
|
# Subtest: X-G7 and X-G9: an admin rotate voids open decisions, and rotate --finish deletes what was left
|
|
ok 27 - X-G7 and X-G9: an admin rotate voids open decisions, and rotate --finish deletes what was left
|
|
---
|
|
duration_ms: 123.822535
|
|
type: 'test'
|
|
...
|
|
# Subtest: X-G9: a rotate whose name is taken refuses and writes nothing; remove takes the slot away
|
|
ok 28 - X-G9: a rotate whose name is taken refuses and writes nothing; remove takes the slot away
|
|
---
|
|
duration_ms: 73.422448
|
|
type: 'test'
|
|
...
|
|
# Subtest: X-G9: a slot past its rotate-by date refuses a run at step 0, leaving the decision unspent
|
|
ok 29 - X-G9: a slot past its rotate-by date refuses a run at step 0, leaving the decision unspent
|
|
---
|
|
duration_ms: 50.180389
|
|
type: 'test'
|
|
...
|
|
# Subtest: X-G11: run refuses every caller but the human, an unapproved, a spent and a busy decision
|
|
ok 30 - X-G11: run refuses every caller but the human, an unapproved, a spent and a busy decision
|
|
---
|
|
duration_ms: 105.874572
|
|
type: 'test'
|
|
...
|
|
# Subtest: kill switch (plan :16): while halted the chief still reads grants.status, and an agent grants.revoke refuses
|
|
ok 31 - kill switch (plan :16): while halted the chief still reads grants.status, and an agent grants.revoke refuses
|
|
---
|
|
duration_ms: 106.333602
|
|
type: 'test'
|
|
...
|
|
# Subtest: X-G11: a revoke while the executor runs aborts it and the grant ends revoked
|
|
ok 32 - X-G11: a revoke while the executor runs aborts it and the grant ends revoked
|
|
---
|
|
duration_ms: 110.333063
|
|
type: 'test'
|
|
...
|
|
# Subtest: X-G11: a revoke unloads memory and removes the file before its Gitea delete
|
|
ok 33 - X-G11: a revoke unloads memory and removes the file before its Gitea delete
|
|
---
|
|
duration_ms: 132.61075
|
|
type: 'test'
|
|
...
|
|
# Subtest: X-G11: a revoke during a rotation step 7 ends it revoked, and step 8 writes no record back
|
|
ok 34 - X-G11: a revoke during a rotation step 7 ends it revoked, and step 8 writes no record back
|
|
---
|
|
duration_ms: 217.837803
|
|
type: 'test'
|
|
...
|
|
# Subtest: X-G11: a revoke while a sweep settles a rotation, forward or back, ends it revoked with no record
|
|
ok 35 - X-G11: a revoke while a sweep settles a rotation, forward or back, ends it revoked with no record
|
|
---
|
|
duration_ms: 373.129907
|
|
type: 'test'
|
|
...
|
|
# Subtest: X-G11: a revoke during a settle whoami that finds a foreign token ends it revoked, not held
|
|
ok 36 - X-G11: a revoke during a settle whoami that finds a foreign token ends it revoked, not held
|
|
---
|
|
duration_ms: 159.428511
|
|
type: 'test'
|
|
...
|
|
# Subtest: X-G11: a revoke during a settle whoami that gets a 401 ends it revoked, not lost
|
|
ok 37 - X-G11: a revoke during a settle whoami that gets a 401 ends it revoked, not lost
|
|
---
|
|
duration_ms: 190.121277
|
|
type: 'test'
|
|
...
|
|
# Subtest: X-G12: a token that reaches wider than its forks fails with the repository named
|
|
ok 38 - X-G12: a token that reaches wider than its forks fails with the repository named
|
|
---
|
|
duration_ms: 422.103379
|
|
type: 'test'
|
|
...
|
|
# Subtest: X-G12: reach is paged by X-Total-Count and a count that does not add up refuses
|
|
ok 39 - X-G12: reach is paged by X-Total-Count and a count that does not add up refuses
|
|
---
|
|
duration_ms: 268.091756
|
|
type: 'test'
|
|
...
|
|
# Subtest: X-G13: an agent cannot record a grant event, and the trigger refuses one from any writer but the grant writer
|
|
ok 40 - X-G13: an agent cannot record a grant event, and the trigger refuses one from any writer but the grant writer
|
|
---
|
|
duration_ms: 41.808143
|
|
type: 'test'
|
|
...
|
|
# Subtest: X-G14: credentials delete fires the user: tokens go, login is prohibited, and grant.revoke.closed records it
|
|
ok 41 - X-G14: credentials delete fires the user: tokens go, login is prohibited, and grant.revoke.closed records it
|
|
---
|
|
duration_ms: 293.964549
|
|
type: 'test'
|
|
...
|
|
# Subtest: X-G14: a fire whose token delete or login PATCH fails lands it in serviceLeft
|
|
ok 42 - X-G14: a fire whose token delete or login PATCH fails lands it in serviceLeft
|
|
---
|
|
duration_ms: 155.089131
|
|
type: 'test'
|
|
...
|
|
# Subtest: X-G14: a fire whose user is gone or remade skips the fire steps and says why
|
|
ok 43 - X-G14: a fire whose user is gone or remade skips the fire steps and says why
|
|
---
|
|
duration_ms: 259.152973
|
|
type: 'test'
|
|
...
|
|
# Subtest: X-G14: a sweep retries a fire only for the user it fired: a remade or gone user is skipped and named
|
|
ok 44 - X-G14: a sweep retries a fire only for the user it fired: a remade or gone user is skipped and named
|
|
---
|
|
duration_ms: 347.428274
|
|
type: 'test'
|
|
...
|
|
# Subtest: X-G14: a revoke Gitea cannot reach stays open, and a restart closes it
|
|
ok 45 - X-G14: a revoke Gitea cannot reach stays open, and a restart closes it
|
|
---
|
|
duration_ms: 116.580427
|
|
type: 'test'
|
|
...
|
|
# Subtest: row 281 T8: a tester grants.revoke refuses tester-dev-only once bus.tester is off; the human revoke keeps its records and starts no job
|
|
ok 46 - row 281 T8: a tester grants.revoke refuses tester-dev-only once bus.tester is off; the human revoke keeps its records and starts no job
|
|
---
|
|
duration_ms: 132.268866
|
|
type: 'test'
|
|
...
|
|
# Subtest: X-G15: look-alike commit steps outside the grant writer are ignored at start, by revoke and by status
|
|
ok 47 - X-G15: look-alike commit steps outside the grant writer are ignored at start, by revoke and by status
|
|
---
|
|
duration_ms: 127.609667
|
|
type: 'test'
|
|
...
|
|
# Subtest: X-G15: a look-alike spend under another kind with the grant writer pair is not an open grant
|
|
ok 48 - X-G15: a look-alike spend under another kind with the grant writer pair is not an open grant
|
|
---
|
|
duration_ms: 43.046865
|
|
type: 'test'
|
|
...
|
|
# Subtest: status lists the slot, users, grants and nothing secret, and every grants verb needs service gitea
|
|
ok 49 - status lists the slot, users, grants and nothing secret, and every grants verb needs service gitea
|
|
---
|
|
duration_ms: 109.158689
|
|
type: 'test'
|
|
...
|
|
1..49
|
|
# tests 49
|
|
# suites 0
|
|
# pass 49
|
|
# fail 0
|
|
# cancelled 0
|
|
# skipped 0
|
|
# todo 0
|
|
# duration_ms 8542.307737
|