aien-protocols-mv
Canonical specifications, wire protocols, and schemas for the AIEN sovereign ecosystem
Brought by drakestapleton
aien-protocols-mv / specs / osh-platform / vectors / t005_cancel_blocked_task.vec
| 1 | case cancel_blocked_task |
| 2 | kind negative |
| 3 | exec native-qemu |
| 4 | domain 2 |
| 5 | needs streams tasks launch test-authority |
| 6 | # a task parked in a stream read is interrupted out of it; pipeline cancel reaches every stage (ST4.7, ST6.5) |
| 7 | cap C => OK |
| 8 | bind B cap=C => OK |
| 9 | create R W A => OK |
| 10 | spawn T cat in=R bind=B => OK |
| 11 | run => OK |
| 12 | state T => OK state=RUNNING |
| 13 | tcancel T interrupt => OK |
| 14 | run => OK |
| 15 | wait T => OK status=130 outcome=CANCELLED |
| 16 | close R => OK |
| 17 | close W => OK |
| 18 | launch P bind=B : hang ! cat => OK |
| 19 | run => OK |
| 20 | waitp P => WOULD_BLOCK |
| 21 | cancelp P interrupt => OK |
| 22 | run => OK |
| 23 | waitp P => OK status=130 outcomes=CANCELLED,CANCELLED statuses=130,130 out="" |
| 24 | check empty |