omega-mv
Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.
Brought by drakestapleton
omega-mv / seed / node / schedrcpt-cases / cases-399n.json
| 1 | { |
| 2 | "issue": "DRA-399", |
| 3 | "statuses": { |
| 4 | "DRA-399": "IMPLEMENTED; bench EXERCISED only by this receipt; not QUALIFIED; not MERGED; not DEPLOYED", |
| 5 | "expected_exits": "derived from the check site each mutant targets (field why), before the run", |
| 6 | "gpu": "NOT_RUN (not involved)", |
| 7 | "timing": "wall times depend on the cores the run was given; they are recorded with the bench output, not claimed as speed" |
| 8 | }, |
| 9 | "cases": [ |
| 10 | { |
| 11 | "case": "bench-gate", |
| 12 | "issue": "DRA-399", |
| 13 | "gate": "seed/node/bench-gate.om", |
| 14 | "compose": [ |
| 15 | "seed/node/transport.om", |
| 16 | "seed/node/pool.om", |
| 17 | "seed/node/super.om", |
| 18 | "seed/node/sched.om", |
| 19 | "seed/node/bench-test.om" |
| 20 | ], |
| 21 | "expect": 0, |
| 22 | "timeout": 3000, |
| 23 | "repeat": 1, |
| 24 | "stdout_has": [ |
| 25 | "PASS node bench" |
| 26 | ] |
| 27 | }, |
| 28 | { |
| 29 | "case": "mut399-fits-ignores-capacity", |
| 30 | "issue": "DRA-399", |
| 31 | "fragments": [ |
| 32 | "seed/node/transport.om", |
| 33 | "seed/node/pool.om", |
| 34 | "seed/node/super.om", |
| 35 | "seed/node/sched.om", |
| 36 | "seed/node/bench-test.om" |
| 37 | ], |
| 38 | "mutate": [ |
| 39 | "seed/node/sched.om", |
| 40 | "if gt sp_need req k a\nret false\n", |
| 41 | "if false\nret false\n" |
| 42 | ], |
| 43 | "expect": 70, |
| 44 | "timeout": 1800, |
| 45 | "why": "sp_fits never refuses for capacity. Scenario 1, arm 0, repetition 0: h (2 CPU) and H (4 CPU) are ready with two idle workers, so both are assigned and hold 6 of the 4 CPU; bn_inv (called at every sample) trips the capacity invariant: 70." |
| 46 | }, |
| 47 | { |
| 48 | "case": "mut399-reserve-youngest", |
| 49 | "issue": "DRA-399", |
| 50 | "fragments": [ |
| 51 | "seed/node/transport.om", |
| 52 | "seed/node/pool.om", |
| 53 | "seed/node/super.om", |
| 54 | "seed/node/sched.om", |
| 55 | "seed/node/bench-test.om" |
| 56 | ], |
| 57 | "mutate": [ |
| 58 | "seed/node/sched.om", |
| 59 | "if lt get sjarr j get sjarr o\no = j\n", |
| 60 | "if gt get sjarr j get sjarr o\no = j\n" |
| 61 | ], |
| 62 | "expect": 71, |
| 63 | "timeout": 1800, |
| 64 | "why": "The reservation goes to the youngest ready job at the bypass budget instead of the oldest. The first contested reservation (another ready job also at the budget, which bn_fair counts) picks a younger job, and bn_fair's oldest-first check trips: 71. Exits 70 and 72 are unaffected: capacity is still checked, and the reserved job still runs." |
| 65 | }, |
| 66 | { |
| 67 | "case": "mut399-lost-no-requeue", |
| 68 | "issue": "DRA-399", |
| 69 | "fragments": [ |
| 70 | "seed/node/transport.om", |
| 71 | "seed/node/pool.om", |
| 72 | "seed/node/super.om", |
| 73 | "seed/node/sched.om", |
| 74 | "seed/node/bench-test.om" |
| 75 | ], |
| 76 | "mutate": [ |
| 77 | "seed/node/sched.om", |
| 78 | "if ne and get sjfl j 1 0\nsp_ready j\nelse\n", |
| 79 | "if false\nsp_ready j\nelse\n" |
| 80 | ], |
| 81 | "expect": 72, |
| 82 | "timeout": 1800, |
| 83 | "why": "A rerunnable job on a lost worker is not put back to ready. Scenarios 1-5 lose no worker and pass; in scenario 6, arm 0, worker 0 is SIGKILLed while busy, its job is never requeued or reviewed, and the 20 s deadline check in bn_loop trips: 72." |
| 84 | } |
| 85 | ] |
| 86 | } |