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 / evidence / node-schedpol / receipt.e8179d903a210bad04ea5adffe596143d24e5d671230230258b92a8732a0da18.json
| 1 | { |
| 2 | "checks": [ |
| 3 | { |
| 4 | "binary_sha256": "432d63447766112ea2e79ae1878e2215a23181df9f8016196d813d61515ffd48", |
| 5 | "case": "schedpol-gate", |
| 6 | "compile_exit": 0, |
| 7 | "expected_exit": 0, |
| 8 | "issue": "DRA-395", |
| 9 | "repeat": { |
| 10 | "outcomes": { |
| 11 | "0": 10 |
| 12 | }, |
| 13 | "runs": 10 |
| 14 | }, |
| 15 | "run_exit": 0, |
| 16 | "source_sha256": "c6e7a9c5b80e7e5b6734bbeadb22695d9e7b5755fd5b645e0394955b883c7d6b", |
| 17 | "stderr": "", |
| 18 | "stdout": "schedpol events=110 examined=4631 assigned=10 hol_stops=0 bypasses=4 reservations=1\nPASS node schedpol\n", |
| 19 | "stdout_has": [ |
| 20 | "PASS node schedpol" |
| 21 | ], |
| 22 | "verdict": "PASS", |
| 23 | "wall_ms": 104760 |
| 24 | }, |
| 25 | { |
| 26 | "binary_sha256": "432d63447766112ea2e79ae1878e2215a23181df9f8016196d813d61515ffd48", |
| 27 | "case": "schedpol-gate-fifo", |
| 28 | "compile_exit": 0, |
| 29 | "expected_exit": 11, |
| 30 | "issue": "DRA-396", |
| 31 | "repeat": { |
| 32 | "outcomes": { |
| 33 | "11": 5 |
| 34 | }, |
| 35 | "runs": 5 |
| 36 | }, |
| 37 | "run_exit": 11, |
| 38 | "source_sha256": "c6e7a9c5b80e7e5b6734bbeadb22695d9e7b5755fd5b645e0394955b883c7d6b", |
| 39 | "stderr": "", |
| 40 | "stdout": "schedpol hol witness head=20050 fits_behind=30050 free_cpu=1 idle_worker=1 hol_stops=40\nschedpol hol witness head=20050 fits_behind=50050 free_cpu=1 idle_worker=1 hol_stops=40\n", |
| 41 | "stdout_has": [ |
| 42 | "schedpol hol witness head=20050 fits_behind=30050 free_cpu=1 idle_worker=1", |
| 43 | "schedpol hol witness head=20050 fits_behind=50050 free_cpu=1 idle_worker=1" |
| 44 | ], |
| 45 | "verdict": "PASS", |
| 46 | "wall_ms": 14588 |
| 47 | }, |
| 48 | { |
| 49 | "binary_sha256": "432d63447766112ea2e79ae1878e2215a23181df9f8016196d813d61515ffd48", |
| 50 | "case": "schedpol-gate-noreserve", |
| 51 | "compile_exit": 0, |
| 52 | "expected_exit": 61, |
| 53 | "issue": "DRA-396", |
| 54 | "repeat": { |
| 55 | "outcomes": { |
| 56 | "61": 5 |
| 57 | }, |
| 58 | "runs": 5 |
| 59 | }, |
| 60 | "run_exit": 61, |
| 61 | "source_sha256": "c6e7a9c5b80e7e5b6734bbeadb22695d9e7b5755fd5b645e0394955b883c7d6b", |
| 62 | "stderr": "", |
| 63 | "stdout": "", |
| 64 | "verdict": "PASS", |
| 65 | "wall_ms": 34110 |
| 66 | }, |
| 67 | { |
| 68 | "binary_sha256": "99298a77c8ba5ae9020c2829b063894284e1fe986dd250fdee186662a1a03204", |
| 69 | "case": "sched-gate", |
| 70 | "compile_exit": 0, |
| 71 | "expected_exit": 0, |
| 72 | "issue": "DRA-287", |
| 73 | "run_exit": 0, |
| 74 | "source_sha256": "ed54cc032aa4f6980dfb24cbf25306fbfb1e5aae7b003fb7950da759abdd0738", |
| 75 | "stderr": "", |
| 76 | "stdout": "idle ticks workers=0 creator=0 wake rounds=200 mean_us=78 max_us=998\nPASS node sched\n", |
| 77 | "verdict": "PASS", |
| 78 | "wall_ms": 8034 |
| 79 | }, |
| 80 | { |
| 81 | "binary_sha256": "36f9e677ce246145f9c29bee8efe675e42f59234737e3b1358a4fdd6e7843951", |
| 82 | "case": "auth-gate", |
| 83 | "compile_exit": 0, |
| 84 | "expected_exit": 0, |
| 85 | "issue": "DRA-288", |
| 86 | "run_exit": 0, |
| 87 | "source_sha256": "acc9e461a7d3f738065160a7414a0152818d265cea0274813b89f8b6c0f27782", |
| 88 | "stderr": "", |
| 89 | "stdout": "PASS node authority\n", |
| 90 | "verdict": "PASS", |
| 91 | "wall_ms": 771 |
| 92 | }, |
| 93 | { |
| 94 | "binary_sha256": "ecdb04fe424e64245cc6c48c9741ef448197a2046999254772223686b34374f6", |
| 95 | "case": "journal-gate", |
| 96 | "compile_exit": 0, |
| 97 | "expected_exit": 0, |
| 98 | "issue": "DRA-289", |
| 99 | "run_exit": 0, |
| 100 | "source_sha256": "c2d68845afb7dc19ce4d889abed3eb22b5703709d788608ab2e787c6dab7c40e", |
| 101 | "stderr": "", |
| 102 | "stdout": "PASS node journal\n", |
| 103 | "verdict": "PASS", |
| 104 | "wall_ms": 3589 |
| 105 | }, |
| 106 | { |
| 107 | "binary_sha256": "740d90bf7a3c4dc0719a254d7962168d9dc9083d930308813abf97fab32c31fa", |
| 108 | "case": "code-test-unit", |
| 109 | "compile_exit": 0, |
| 110 | "expected_exit": 0, |
| 111 | "issue": "DRA-290", |
| 112 | "run_exit": 0, |
| 113 | "source_sha256": "0974332d1c56be5cb766d7f428449a4640f868942c053a968f3f02d6ab1d6523", |
| 114 | "stderr": "", |
| 115 | "stdout": "CWR 0 0 2\n\n\n\nCWE 0 0 2 1\nCWE 0 1002 1 2\nCWR 0 0 2\n\n\n\nCWE 0 0 2 1\nCWO 0 FAIL 11 0\nCWR 0 0 2\n\n\n\nCWE 0 0 2 2\nCWO 0 FAIL 10 0\nCWR 0 0 2\n\n\n\nCWE 0 0 2 9\nCWO 0 FAIL 10 0\nCWR 0 0 2\n\n\n\nCWE 0 0 2 3\nCWO 0 FAIL 10 0\nCWR 0 0 2\n\n\n\nCWE 0 0 2 2\nCWE 0 1013 1 3\nCWR 0 0 2\n\n\n\nCWE 0 0 2 2\nCWE 0 1023 1 3\nCWR 0 0 2\n\n\n\nCWE 0 0 2 2\nCWO 0 FAIL 10 0\nCWR 0 0 2\n\n\n\nCWE 0 0 2 3\nCWO 0 FAIL 13 0\nCWR 0 0 2\n\n\n\nCWE 0 0 2 3\nCWO 0 FAIL 13 0\nCWR 0 0 2\n\n\n\nCWE 0 0 2 3\nCWO 0 FAIL 13 0\nCWR 0 0 2\n\n\n\nCWE 0 0 2 3\nCWO 0 FAIL 13 0\nCWR 0 0 2\n\n\n\nCWE 0 0 2 3\nCWO 0 FAIL 11 0\nCWR 0 0 2\n\n\n\nCWE 0 0 2 3\nCWE 0 1034 1 4\nCWR 0 0 13\nTests passed.\nCWE 0 0 2 4\nCWO 0 FAIL 14 0\nCWR 0 0 13\nTests passed.\nCWE 0 0 2 4\nCWO 0 FAIL 14 0\nCWR 0 0 13\nTests passed.\nCWE 0 0 2 4\nCWE 0 1045 1 5\nCWR 0 0 15\nFile not found.\nCWE 0 0 2 5\nCWO 0 FAIL 10 0\nCWR 0 0 15\nFile not found.\nCWE 0 0 2 5\nCWO 0 PASS 1 0\nCWO 0 FAIL 18 0\nCWO 0 FAIL 18 0\nCWO 0 FAIL 18 0\nCWE 0 0 3 0\nCWE 0 0 3 1\nCWE 0 0 3 2\nCWO 0 FAIL 17 0\nCWE 0 0 3 6\nCWE 0 0 3 6\nCWO 0 FAIL 15 0\nCWE 0 0 3 0\nCWE 0 0 3 4\nCWO 0 FAIL 17 0\nCWR 0 0 2\n\n\n\nCWE 0 0 2 3\nCWE 0 1054 1 4\nCWE 0 0 3 0\nCWE 0 0 3 0\nCWO 0 FAIL 15 0\nCWE 0 0 3 5\nCWO 0 FAIL 13 0\nCWE 0 0 3 0\nCWO 0 PASS 1 0\nCWE 0 0 3 6\nCWO 0 FAIL 15 0\nCWE 0 0 3 0\nCWO 0 FAIL 15 0\nCWO 0 FAIL 12 7\nCWO 0 FAIL 20 0\nCWE 0 1061 1 1\nCWP 0 1 193\nTask: Fix the error in this file and confirm its goal.\nFile: jobs/item76666.om\nGoal: calc starts with x and adds 4 exactly 3 times in a for loop. main calls calc with 70.\nState: unread\nAnswer:\n\ncode checks=54 fail=0\n", |
| 116 | "verdict": "PASS", |
| 117 | "wall_ms": 33 |
| 118 | }, |
| 119 | { |
| 120 | "binary_sha256": "4ea01d9c36e57289b37ec7a71c4e21fd3bc58bc324c9138e312acecd0c8f580e", |
| 121 | "case": "mut-impossible-admitted", |
| 122 | "compile_exit": 0, |
| 123 | "expected_exit": 31, |
| 124 | "issue": "DRA-395", |
| 125 | "mutation": { |
| 126 | "file": "seed/node/sched.om", |
| 127 | "from": "if not sp_feas req\n", |
| 128 | "to": "if false\n" |
| 129 | }, |
| 130 | "run_exit": 31, |
| 131 | "source_sha256": "5bf76a1e9493d59c9d77598fab2956c995693a9b8fcda593de559e0866561fd6", |
| 132 | "stderr": "", |
| 133 | "stdout": "", |
| 134 | "verdict": "PASS", |
| 135 | "wall_ms": 1 |
| 136 | }, |
| 137 | { |
| 138 | "binary_sha256": "6509fd931449cdfca3288875387f1eb352cbfcb046ba6d25568648d17c92d92f", |
| 139 | "case": "mut-collect-no-release", |
| 140 | "compile_exit": 0, |
| 141 | "expected_exit": 133, |
| 142 | "issue": "DRA-395", |
| 143 | "mutation": { |
| 144 | "file": "seed/node/sched.om", |
| 145 | "from": "j = sub b 1\nsp_give j\n", |
| 146 | "to": "j = sub b 1\n" |
| 147 | }, |
| 148 | "run_exit": 133, |
| 149 | "source_sha256": "39b875265ed41af55d6565f5f887157b8162dfa42677667156eecb6aef8793fa", |
| 150 | "stderr": "", |
| 151 | "stdout": "", |
| 152 | "verdict": "PASS", |
| 153 | "wall_ms": 415 |
| 154 | }, |
| 155 | { |
| 156 | "binary_sha256": "58bf46e72658427bac7f3bd0305ad31fad0a2973e012303d2e9ae7e1630bef54", |
| 157 | "case": "mut-capacity-ignored", |
| 158 | "compile_exit": 0, |
| 159 | "expected_exit": 44, |
| 160 | "issue": "DRA-395", |
| 161 | "mutation": { |
| 162 | "file": "seed/node/sched.om", |
| 163 | "from": "if gt sp_need req k a\n", |
| 164 | "to": "if false\n" |
| 165 | }, |
| 166 | "run_exit": 44, |
| 167 | "source_sha256": "94f192955d6b05a7ff31a234c537137e7e4819649492818f7c226b7bde9a9a88", |
| 168 | "stderr": "", |
| 169 | "stdout": "", |
| 170 | "verdict": "PASS", |
| 171 | "wall_ms": 436 |
| 172 | }, |
| 173 | { |
| 174 | "binary_sha256": "6d90c86040fc3a2554fd23a05adf90f056ad5253ddb55d1819a6174ecfcd0d36", |
| 175 | "case": "mut-ready-unstamped", |
| 176 | "compile_exit": 0, |
| 177 | "expected_exit": 54, |
| 178 | "issue": "DRA-395", |
| 179 | "mutation": { |
| 180 | "file": "seed/node/sched.om", |
| 181 | "from": "if ne and get sjdep j topics 0\nsp_ready j\n", |
| 182 | "to": "if ne and get sjdep j topics 0\nput sjst j 2\n" |
| 183 | }, |
| 184 | "run_exit": 54, |
| 185 | "source_sha256": "030e78b43d4daf0ce4b265c879705b7445afb631cb3e67ba38df312f855c33cf", |
| 186 | "stderr": "", |
| 187 | "stdout": "", |
| 188 | "verdict": "PASS", |
| 189 | "wall_ms": 1008 |
| 190 | }, |
| 191 | { |
| 192 | "binary_sha256": "48ae87663615548b2b0f96a81a468129232220cd4e5bd2cf6c1cc5c173b166d3", |
| 193 | "case": "mut-give-after-review", |
| 194 | "compile_exit": 0, |
| 195 | "expected_exit": 122, |
| 196 | "issue": "DRA-395", |
| 197 | "mutation": { |
| 198 | "file": "seed/node/sched.om", |
| 199 | "from": "j = sub b 1\nsp_give j\nif ge sched_count 4 4 get sclim 1\ncontinue\nend\n", |
| 200 | "to": "j = sub b 1\nif ge sched_count 4 4 get sclim 1\ncontinue\nend\nsp_give j\n" |
| 201 | }, |
| 202 | "run_exit": 122, |
| 203 | "source_sha256": "eebfc3265ae1facfc48bab32a7c81eaf7c85381e5be92e63587f87c1f65f915a", |
| 204 | "stderr": "", |
| 205 | "stdout": "", |
| 206 | "verdict": "PASS", |
| 207 | "wall_ms": 889 |
| 208 | }, |
| 209 | { |
| 210 | "binary_sha256": "2278dc33f2b89ff6d82837d56b8ba458aae6e2278a058c704cfa9eeddbf5db9d", |
| 211 | "case": "mut-no-take", |
| 212 | "compile_exit": 0, |
| 213 | "expected_exit": 130, |
| 214 | "issue": "DRA-395", |
| 215 | "mutation": { |
| 216 | "file": "seed/node/sched.om", |
| 217 | "from": "end\nsp_take j\nif eq get scpol 5 add j 1\n", |
| 218 | "to": "end\nif eq get scpol 5 add j 1\n" |
| 219 | }, |
| 220 | "run_exit": 130, |
| 221 | "source_sha256": "fec6a2ca2b08c12b9f4316964a847bfaeced4aed18aec704982304b9d10df68b", |
| 222 | "stderr": "", |
| 223 | "stdout": "", |
| 224 | "verdict": "PASS", |
| 225 | "wall_ms": 11 |
| 226 | }, |
| 227 | { |
| 228 | "binary_sha256": "4e5005bbef04d2e180f10aca69b21853a4895ac91449a853cb0e197e3d08c10f", |
| 229 | "case": "mut-cap-below-use", |
| 230 | "compile_exit": 0, |
| 231 | "expected_exit": 131, |
| 232 | "issue": "DRA-395", |
| 233 | "mutation": { |
| 234 | "file": "seed/node/sched.om", |
| 235 | "from": "if lt sp_need caps k get suse k\n", |
| 236 | "to": "if false\n" |
| 237 | }, |
| 238 | "run_exit": 131, |
| 239 | "source_sha256": "0298a96625fff4bfe8a2dc0ebc459fc8586347a2b08b4904f67adf0d9e273aba", |
| 240 | "stderr": "", |
| 241 | "stdout": "", |
| 242 | "verdict": "PASS", |
| 243 | "wall_ms": 11 |
| 244 | }, |
| 245 | { |
| 246 | "binary_sha256": "f0f5ad92fa06b4296821f0dfd21add9215228c646c1ba8ba081d38f9246c8692", |
| 247 | "case": "mut287-wake-all", |
| 248 | "compile_exit": 0, |
| 249 | "expected_exit": 16, |
| 250 | "issue": "DRA-287", |
| 251 | "mutation": { |
| 252 | "file": "seed/node/sched.om", |
| 253 | "from": "if ne and sc_cell w 32 topics 0\n", |
| 254 | "to": "if true\n" |
| 255 | }, |
| 256 | "run_exit": 16, |
| 257 | "source_sha256": "44d88a12e0b8bd951cdead5a5284ad20f728be5fefe8913f518dc5ebdfb141d6", |
| 258 | "stderr": "", |
| 259 | "stdout": "", |
| 260 | "verdict": "PASS", |
| 261 | "wall_ms": 606 |
| 262 | }, |
| 263 | { |
| 264 | "binary_sha256": "239e15e6ba8145cba908b039ea94bbd603a0fae32aec85ba061aae0bf20c3d0a", |
| 265 | "case": "mut287-no-wake", |
| 266 | "compile_exit": 0, |
| 267 | "expected_exit": 34, |
| 268 | "issue": "DRA-287", |
| 269 | "mutation": { |
| 270 | "file": "seed/node/sched.om", |
| 271 | "from": "sc_set w 0 q\nsc_wake w\n", |
| 272 | "to": "sc_set w 0 q\n" |
| 273 | }, |
| 274 | "run_exit": 34, |
| 275 | "source_sha256": "1d151395482b43e9127bc3bb66cf8f2c038b0005004ab07e6e16fa7d3a323d9c", |
| 276 | "stderr": "", |
| 277 | "stdout": "", |
| 278 | "verdict": "PASS", |
| 279 | "wall_ms": 6325 |
| 280 | }, |
| 281 | { |
| 282 | "binary_sha256": "4d3091dc97bbff6ff840fa75383331eb5883c0f063692044c766a47483d3a507", |
| 283 | "case": "mut287-review-unbounded", |
| 284 | "compile_exit": 0, |
| 285 | "expected_exit": 50, |
| 286 | "issue": "DRA-287", |
| 287 | "mutation": { |
| 288 | "file": "seed/node/sched.om", |
| 289 | "from": "if ge sched_count 4 4 get sclim 1\n", |
| 290 | "to": "if false\n" |
| 291 | }, |
| 292 | "run_exit": 50, |
| 293 | "source_sha256": "9a9a91d7c0cdd17c317b4a1d76f49b9c10f3961621c85ebb01b948068478c5d9", |
| 294 | "stderr": "", |
| 295 | "stdout": "", |
| 296 | "verdict": "PASS", |
| 297 | "wall_ms": 3347 |
| 298 | }, |
| 299 | { |
| 300 | "binary_sha256": "43bf328939c3c8a2d195e4224df3dd82119d27ae77cb24017ff09aa7a3c5b3f9", |
| 301 | "case": "mut287-admit-unbounded", |
| 302 | "compile_exit": 0, |
| 303 | "expected_exit": 48, |
| 304 | "issue": "DRA-287", |
| 305 | "mutation": { |
| 306 | "file": "seed/node/sched.om", |
| 307 | "from": "room = ulong 0\nif lt a get sclim 0\nroom = sub get sclim 0 a\nend\n", |
| 308 | "to": "room = ulong 64\n" |
| 309 | }, |
| 310 | "run_exit": 48, |
| 311 | "source_sha256": "99faaae57ef71a764333f12b267f73b5cbc1148196ab3e0d14239c41ab2e8470", |
| 312 | "stderr": "", |
| 313 | "stdout": "", |
| 314 | "verdict": "PASS", |
| 315 | "wall_ms": 2845 |
| 316 | }, |
| 317 | { |
| 318 | "binary_sha256": "d4809a7a62254b95083b21bdba8d49582f9de1eeaaf2ff0aa66153899e80ae1c", |
| 319 | "case": "mut287-unknown-rerun", |
| 320 | "compile_exit": 0, |
| 321 | "expected_exit": 83, |
| 322 | "issue": "DRA-287", |
| 323 | "mutation": { |
| 324 | "file": "seed/node/sched.om", |
| 325 | "from": "put sjst j 6\n", |
| 326 | "to": "put sjst j 2\n" |
| 327 | }, |
| 328 | "run_exit": 83, |
| 329 | "source_sha256": "eabb6a79db87ca256a8d7b2739dd26181313521e45632131376b8f264c456f9f", |
| 330 | "stderr": "", |
| 331 | "stdout": "", |
| 332 | "verdict": "PASS", |
| 333 | "wall_ms": 6773 |
| 334 | }, |
| 335 | { |
| 336 | "binary_sha256": "7839dcff54668e18bc08375a361f89b49581151ff810c6ff6e2400841bc2f497", |
| 337 | "case": "mut287-lost-no-ack", |
| 338 | "compile_exit": 0, |
| 339 | "expected_exit": 92, |
| 340 | "issue": "DRA-287", |
| 341 | "mutation": { |
| 342 | "file": "seed/node/sched.om", |
| 343 | "from": "sc_set w 64 get scseq w\n", |
| 344 | "to": "" |
| 345 | }, |
| 346 | "run_exit": 92, |
| 347 | "source_sha256": "4253b5ce8505315bbeafab5dcaf796a8bc0fb42f4085574d6dd341be9068391d", |
| 348 | "stderr": "", |
| 349 | "stdout": "", |
| 350 | "verdict": "PASS", |
| 351 | "wall_ms": 5287 |
| 352 | }, |
| 353 | { |
| 354 | "binary_sha256": "de465f9d5749b05613095457a6b0b74a212cadbd4f632fa20b6687d4ff73c33e", |
| 355 | "case": "mut287-deps-ignored", |
| 356 | "compile_exit": 0, |
| 357 | "expected_exit": 68, |
| 358 | "issue": "DRA-287", |
| 359 | "mutation": { |
| 360 | "file": "seed/node/sched.om", |
| 361 | "from": "put sjst j 1\n", |
| 362 | "to": "put sjst j 2\n" |
| 363 | }, |
| 364 | "run_exit": 68, |
| 365 | "source_sha256": "8faf677d23f561b937ff7f0a9a3d5c9ca9b7f5af9fd9c752a437ccea7f26c369", |
| 366 | "stderr": "", |
| 367 | "stdout": "", |
| 368 | "verdict": "PASS", |
| 369 | "wall_ms": 3422 |
| 370 | }, |
| 371 | { |
| 372 | "binary_sha256": "9de1a2c8517954ae40c84b7a5bd65bce6490bb2cabeabcb1946c3fd1577a3ed4", |
| 373 | "case": "mut287-super-spin", |
| 374 | "compile_exit": 0, |
| 375 | "expected_exit": 138, |
| 376 | "issue": "DRA-287", |
| 377 | "mutation": { |
| 378 | "file": "seed/node/super.om", |
| 379 | "from": "iv = interval\n", |
| 380 | "to": "iv = long 0\n" |
| 381 | }, |
| 382 | "run_exit": 138, |
| 383 | "source_sha256": "57c1734ddf333bdd5ad0803e8e467bb91c15e03a71eebc50e38a7e1900691e57", |
| 384 | "stderr": "", |
| 385 | "stdout": "", |
| 386 | "verdict": "PASS", |
| 387 | "wall_ms": 2212 |
| 388 | }, |
| 389 | { |
| 390 | "binary_sha256": "9a3ad08c30f7e420a50636f4e574966e2c8b19d308761d1caf46645f101b9357", |
| 391 | "case": "mut288-pause-ignored", |
| 392 | "compile_exit": 0, |
| 393 | "expected_exit": 121, |
| 394 | "issue": "DRA-288", |
| 395 | "mutation": { |
| 396 | "file": "seed/node/sched.om", |
| 397 | "from": "if ne get scpause 0 0\n", |
| 398 | "to": "if false\n" |
| 399 | }, |
| 400 | "run_exit": 121, |
| 401 | "source_sha256": "d7326de8ee27618c941cdc1e0f138bb2bf2bb599a3fbeb3021bebb9c761a0917", |
| 402 | "stderr": "", |
| 403 | "stdout": "", |
| 404 | "verdict": "PASS", |
| 405 | "wall_ms": 756 |
| 406 | }, |
| 407 | { |
| 408 | "binary_sha256": "36bbaf66b42e22d94b13ef5c2437472034dd7533e991d1feb78cf94675157c51", |
| 409 | "case": "mut396-cursor-stuck", |
| 410 | "compile_exit": 0, |
| 411 | "expected_exit": 15, |
| 412 | "issue": "DRA-396", |
| 413 | "mutation": { |
| 414 | "file": "seed/node/sched.om", |
| 415 | "from": "put scpol 4 rem add cur win 64\n", |
| 416 | "to": "" |
| 417 | }, |
| 418 | "run_exit": 15, |
| 419 | "source_sha256": "49fc26307128d1f690299cfe8dc524b9edbd553dbd40376aeeab98b7ffb9ff5f", |
| 420 | "stderr": "", |
| 421 | "stdout": "schedpol events=109 examined=4566 assigned=10 hol_stops=0 bypasses=4 reservations=1\n", |
| 422 | "verdict": "PASS", |
| 423 | "wall_ms": 7168 |
| 424 | }, |
| 425 | { |
| 426 | "binary_sha256": "0b4704ccc26aeabe9f825c291d1fa4d7db42a57b7727b5672e127715596e8a9d", |
| 427 | "case": "mut396-tickets-ignored", |
| 428 | "compile_exit": 0, |
| 429 | "expected_exit": 75, |
| 430 | "issue": "DRA-396", |
| 431 | "mutation": { |
| 432 | "file": "seed/node/sched.om", |
| 433 | "from": "if eq get scpol 6 0\nret true\n", |
| 434 | "to": "if true\nret true\n" |
| 435 | }, |
| 436 | "run_exit": 75, |
| 437 | "source_sha256": "32ee1a468e26023966fcae444c22f1709192fb7690892f68cdad06444024d7ef", |
| 438 | "stderr": "", |
| 439 | "stdout": "schedpol events=109 examined=4567 assigned=10 hol_stops=0 bypasses=4 reservations=1\n", |
| 440 | "verdict": "PASS", |
| 441 | "wall_ms": 4330 |
| 442 | }, |
| 443 | { |
| 444 | "binary_sha256": "92256de47f57357637bb0a9c96a6d914a34aa20d9463cbd2f0e06c0f35182b55", |
| 445 | "case": "mut396-no-holdback", |
| 446 | "compile_exit": 0, |
| 447 | "expected_exit": 61, |
| 448 | "issue": "DRA-396", |
| 449 | "mutation": { |
| 450 | "file": "seed/node/sched.om", |
| 451 | "from": "rq = get sjneed rj\n", |
| 452 | "to": "rq = ulong 0\n" |
| 453 | }, |
| 454 | "run_exit": 61, |
| 455 | "source_sha256": "d0fdae93fb69de2cfcc06feadf3ce4d732a71219eb58bb6a2ae28122e888ac09", |
| 456 | "stderr": "", |
| 457 | "stdout": "", |
| 458 | "verdict": "PASS", |
| 459 | "wall_ms": 6837 |
| 460 | }, |
| 461 | { |
| 462 | "binary_sha256": "12b430081475bc3a4e60b769042ddf5dfc46b63808d4ccbcaf1bfbc86e1fb354", |
| 463 | "case": "mut396-never-reserve", |
| 464 | "compile_exit": 0, |
| 465 | "expected_exit": 61, |
| 466 | "issue": "DRA-396", |
| 467 | "mutation": { |
| 468 | "file": "seed/node/sched.om", |
| 469 | "from": "put scpol 5 add o 1\n", |
| 470 | "to": "" |
| 471 | }, |
| 472 | "run_exit": 61, |
| 473 | "source_sha256": "b1d34abbd021aa99e1e5854a2411349ded1117b6121eaa75641c6c6918e7ff9d", |
| 474 | "stderr": "", |
| 475 | "stdout": "", |
| 476 | "verdict": "PASS", |
| 477 | "wall_ms": 6836 |
| 478 | }, |
| 479 | { |
| 480 | "binary_sha256": "a850b2cf6ff49d47016de97b01282eb6b09f3da9f1ba7976cdd51892090db4a2", |
| 481 | "case": "mut396-lease-never", |
| 482 | "compile_exit": 0, |
| 483 | "expected_exit": 82, |
| 484 | "issue": "DRA-396", |
| 485 | "mutation": { |
| 486 | "file": "seed/node/sched.om", |
| 487 | "from": "if ge now d\n", |
| 488 | "to": "if false\n" |
| 489 | }, |
| 490 | "run_exit": 82, |
| 491 | "source_sha256": "f5f284f08de76127f0d89d94f4e389693d03fca0d5b89074628769a2f5749fbd", |
| 492 | "stderr": "", |
| 493 | "stdout": "schedpol events=110 examined=4567 assigned=10 hol_stops=0 bypasses=4 reservations=1\n", |
| 494 | "verdict": "PASS", |
| 495 | "wall_ms": 7768 |
| 496 | }, |
| 497 | { |
| 498 | "binary_sha256": "458043be6ce282a2dfff9de7c9c98194942a9015f51cbcf06e8a1bf9b805f02c", |
| 499 | "case": "mut396-cancel-keeps-reserve", |
| 500 | "compile_exit": 0, |
| 501 | "expected_exit": 94, |
| 502 | "issue": "DRA-396", |
| 503 | "mutation": { |
| 504 | "file": "seed/node/sched.om", |
| 505 | "from": "put sjst j 0\nsp_bump\nif eq get scpol 5 add j 1\nput scpol 5 0\nend\n", |
| 506 | "to": "put sjst j 0\nsp_bump\n" |
| 507 | }, |
| 508 | "run_exit": 94, |
| 509 | "source_sha256": "6ef793082dd711c2e7ea11541f18be5202eb7935effddea5a1a4af665f02f1c4", |
| 510 | "stderr": "", |
| 511 | "stdout": "schedpol events=110 examined=4631 assigned=10 hol_stops=0 bypasses=4 reservations=1\n", |
| 512 | "verdict": "PASS", |
| 513 | "wall_ms": 6580 |
| 514 | }, |
| 515 | { |
| 516 | "binary_sha256": "21b14bff88b026cceab23a35fef693f6b2d845e8a36b99b5bd8df1dab56ce335", |
| 517 | "case": "mut396-window-ignored", |
| 518 | "compile_exit": 0, |
| 519 | "expected_exit": 9, |
| 520 | "issue": "DRA-396", |
| 521 | "mutation": { |
| 522 | "file": "seed/node/sched.om", |
| 523 | "from": "for i ulong win bound 64\n", |
| 524 | "to": "for i ulong 64 bound 64\n" |
| 525 | }, |
| 526 | "run_exit": 9, |
| 527 | "source_sha256": "a6677f78253249ed00c564fd18358fbd79a4751d154dc704de19f53b11d7960b", |
| 528 | "stderr": "", |
| 529 | "stdout": "schedpol events=109 examined=4567 assigned=10 hol_stops=0 bypasses=4 reservations=1\n", |
| 530 | "verdict": "PASS", |
| 531 | "wall_ms": 7169 |
| 532 | }, |
| 533 | { |
| 534 | "binary_sha256": "b3c50b0e1b0c4d0351446da316dd729fadbe3220a2ae2e8aefa29956eb8589fa", |
| 535 | "case": "mut396-tickets-never-lapse", |
| 536 | "compile_exit": 0, |
| 537 | "expected_exit": 80, |
| 538 | "issue": "DRA-396", |
| 539 | "mutation": { |
| 540 | "file": "seed/node/sched.om", |
| 541 | "from": "if lt add get stts t get scpol 7 get scst 2\n", |
| 542 | "to": "if false\n" |
| 543 | }, |
| 544 | "run_exit": 80, |
| 545 | "source_sha256": "245a1ca03feb3adcde348142057ca2b386dd2baa04a143adf2a7328053d19f37", |
| 546 | "stderr": "", |
| 547 | "stdout": "schedpol events=108 examined=4502 assigned=10 hol_stops=0 bypasses=4 reservations=1\n", |
| 548 | "verdict": "PASS", |
| 549 | "wall_ms": 5047 |
| 550 | }, |
| 551 | { |
| 552 | "binary_sha256": "3434286f9c2309a99d012afb9660aa6ea8d097df45eb59bf6786d4c7447bbe1e", |
| 553 | "case": "mut396-cursor-by-one", |
| 554 | "compile_exit": 0, |
| 555 | "expected_exit": 15, |
| 556 | "issue": "DRA-396", |
| 557 | "mutation": { |
| 558 | "file": "seed/node/sched.om", |
| 559 | "from": "put scpol 4 rem add cur win 64\n", |
| 560 | "to": "put scpol 4 rem add cur 1 64\n" |
| 561 | }, |
| 562 | "run_exit": 15, |
| 563 | "source_sha256": "efd43779e9a346d21d9ba2f06497d64867d17d3c593d4ee11b3105c0aa7afa7f", |
| 564 | "stderr": "", |
| 565 | "stdout": "", |
| 566 | "verdict": "PASS", |
| 567 | "wall_ms": 11 |
| 568 | }, |
| 569 | { |
| 570 | "binary_sha256": "d45da42c925a3a111425bf93682ab180d4a7d8c4ab6497db445bfd47fad03c74", |
| 571 | "case": "mut396-holders-by-room", |
| 572 | "compile_exit": 0, |
| 573 | "expected_exit": 105, |
| 574 | "issue": "DRA-396", |
| 575 | "mutation": { |
| 576 | "file": "seed/node/sched.om", |
| 577 | "from": "if eq t 0\nret true", |
| 578 | "to": "if lt t room\nret true" |
| 579 | }, |
| 580 | "run_exit": 105, |
| 581 | "source_sha256": "37fb1ba922b30b8d29e21f85e4c41509b1d7de55f6e08c08a7aefa8a676deb81", |
| 582 | "stderr": "", |
| 583 | "stdout": "schedpol events=108 examined=4502 assigned=10 hol_stops=0 bypasses=4 reservations=1\n", |
| 584 | "verdict": "PASS", |
| 585 | "wall_ms": 8150 |
| 586 | }, |
| 587 | { |
| 588 | "binary_sha256": "068e0061a899cb1c4eba12dc33afd887e51fbd5b1380d105cddb6bdf268f3ac7", |
| 589 | "case": "mut396-room-ignores-slots", |
| 590 | "compile_exit": 0, |
| 591 | "expected_exit": 191, |
| 592 | "issue": "DRA-396", |
| 593 | "mutation": { |
| 594 | "file": "seed/node/sched.om", |
| 595 | "from": "if lt fs room\nroom = fs\n", |
| 596 | "to": "if false\nroom = fs\n" |
| 597 | }, |
| 598 | "run_exit": 191, |
| 599 | "source_sha256": "6fbd6804c633bc978e10c10305e71416d3726b71684a435af1d48af345584492", |
| 600 | "stderr": "", |
| 601 | "stdout": "schedpol events=110 examined=4567 assigned=10 hol_stops=0 bypasses=4 reservations=1\n", |
| 602 | "verdict": "PASS", |
| 603 | "wall_ms": 8330 |
| 604 | }, |
| 605 | { |
| 606 | "binary_sha256": "3fd6ac95c4ce6df351c6ac0d106197271c4fb21f66a59558a9ead69cab2923f2", |
| 607 | "case": "mut396-lease-early", |
| 608 | "compile_exit": 0, |
| 609 | "expected_exit": 83, |
| 610 | "issue": "DRA-396", |
| 611 | "mutation": { |
| 612 | "file": "seed/node/sched.om", |
| 613 | "from": "if ge now d\n", |
| 614 | "to": "if ge add now 100000000 d\n" |
| 615 | }, |
| 616 | "run_exit": 83, |
| 617 | "source_sha256": "aabc6b49dedb2e7e68b0f67e690a88532efb2511a4a5229e7461852416748459", |
| 618 | "stderr": "", |
| 619 | "stdout": "schedpol events=110 examined=4631 assigned=10 hol_stops=0 bypasses=4 reservations=1\n", |
| 620 | "verdict": "PASS", |
| 621 | "wall_ms": 5861 |
| 622 | }, |
| 623 | { |
| 624 | "binary_sha256": "ee1622e966dc0eb0e5ca890a868370ed420bc3d3c3b97c9f2939561e30173c41", |
| 625 | "case": "mut396-jn-room-before-dup", |
| 626 | "compile_exit": 0, |
| 627 | "expected_exit": 170, |
| 628 | "issue": "DRA-396", |
| 629 | "mutation": { |
| 630 | "file": "seed/node/journal.om", |
| 631 | "from": "if ge jn_jfind id 0\nret neg long 4\nend\nif not sched_room id\nret neg long 2\nend\n", |
| 632 | "to": "if not sched_room id\nret neg long 2\nend\nif ge jn_jfind id 0\nret neg long 4\nend\n" |
| 633 | }, |
| 634 | "run_exit": 170, |
| 635 | "source_sha256": "992fdd1dff83ed3d7a24c1bc4df963749cc8e4310336b3794f2305b1d93e8a52", |
| 636 | "stderr": "", |
| 637 | "stdout": "", |
| 638 | "verdict": "PASS", |
| 639 | "wall_ms": 3326 |
| 640 | }, |
| 641 | { |
| 642 | "binary_sha256": "f8af5d9a9456e4351a8af2e94e6e6d2afb595c1a231557ecd73184b9c8babc00", |
| 643 | "case": "mut396-jn-no-room-check", |
| 644 | "compile_exit": 0, |
| 645 | "expected_exit": 173, |
| 646 | "issue": "DRA-396", |
| 647 | "mutation": { |
| 648 | "file": "seed/node/journal.om", |
| 649 | "from": "if not sched_room id\nret neg long 2\nend\nif ne jn_rec 2 id deps flags 0\n", |
| 650 | "to": "if ne jn_rec 2 id deps flags 0\n" |
| 651 | }, |
| 652 | "run_exit": 173, |
| 653 | "source_sha256": "8240772a9bbdfff2c43ec12c0dd38d45593ceab6d53edfabc6e5ddb12fb853f6", |
| 654 | "stderr": "", |
| 655 | "stdout": "", |
| 656 | "verdict": "PASS", |
| 657 | "wall_ms": 3264 |
| 658 | }, |
| 659 | { |
| 660 | "binary_sha256": "5cc7fe6f6327042ebd95bc878ff0d871002eafea4c6e71a8c75d55f4a561d249", |
| 661 | "case": "mut396-jn-no-room-check-c17", |
| 662 | "compile_exit": 0, |
| 663 | "expected_exit": 175, |
| 664 | "issue": "DRA-396", |
| 665 | "mutation": [ |
| 666 | { |
| 667 | "file": "seed/node/journal.om", |
| 668 | "from": "if not sched_room id\nret neg long 2\nend\nif ne jn_rec 2 id deps flags 0\n", |
| 669 | "to": "if ne jn_rec 2 id deps flags 0\n" |
| 670 | }, |
| 671 | { |
| 672 | "file": "seed/node/journal-test.om", |
| 673 | "from": "jt_c16\njt_c17\n", |
| 674 | "to": "jt_c17\n" |
| 675 | } |
| 676 | ], |
| 677 | "run_exit": 175, |
| 678 | "source_sha256": "b52f523b493deb872428eb73252af8eafaaba565832f53f146e0f7c8d7605bfa", |
| 679 | "stderr": "", |
| 680 | "stdout": "", |
| 681 | "verdict": "PASS", |
| 682 | "wall_ms": 3523 |
| 683 | }, |
| 684 | { |
| 685 | "binary_sha256": "35696d67421ead7412c529942d0b3a5f2de8d6684ae1d2a74e6711ebffd5fa59", |
| 686 | "case": "mut396-fifo-overcount", |
| 687 | "compile_exit": 0, |
| 688 | "expected_exit": 9, |
| 689 | "issue": "DRA-396", |
| 690 | "mutation": { |
| 691 | "file": "seed/node/sched.om", |
| 692 | "from": "for j ulong 64\nput scst 3 add get scst 3 1\n", |
| 693 | "to": "for j ulong 64\nput scst 3 add get scst 3 3\n" |
| 694 | }, |
| 695 | "run_exit": 9, |
| 696 | "source_sha256": "79242d18e3b1665d454b4d783eda71f92f03dc5ad0ab1b425208c34786d2bc0c", |
| 697 | "stderr": "", |
| 698 | "stdout": "", |
| 699 | "verdict": "PASS", |
| 700 | "wall_ms": 12 |
| 701 | }, |
| 702 | { |
| 703 | "binary_sha256": "432d63447766112ea2e79ae1878e2215a23181df9f8016196d813d61515ffd48", |
| 704 | "case": "schedpol-gate-goal", |
| 705 | "compile_exit": 0, |
| 706 | "expected_exit": 0, |
| 707 | "issue": "DRA-397", |
| 708 | "repeat": { |
| 709 | "outcomes": { |
| 710 | "0": 10 |
| 711 | }, |
| 712 | "runs": 10 |
| 713 | }, |
| 714 | "run_exit": 0, |
| 715 | "source_sha256": "c6e7a9c5b80e7e5b6734bbeadb22695d9e7b5755fd5b645e0394955b883c7d6b", |
| 716 | "stderr": "", |
| 717 | "stdout": "schedpol events=110 examined=4631 assigned=10 hol_stops=0 bypasses=4 reservations=1\nPASS node schedpol\n", |
| 718 | "stdout_has": [ |
| 719 | "PASS node schedpol" |
| 720 | ], |
| 721 | "verdict": "PASS", |
| 722 | "wall_ms": 104753 |
| 723 | }, |
| 724 | { |
| 725 | "binary_sha256": "dcaeaabbbd706f2c4a1cc1aaa71b831312a1caf848b94edf0911d654946b451b", |
| 726 | "case": "mut397-goal-off", |
| 727 | "compile_exit": 0, |
| 728 | "expected_exit": 151, |
| 729 | "issue": "DRA-397", |
| 730 | "mutation": { |
| 731 | "file": "seed/node/sched.om", |
| 732 | "from": "fn sp_better goal bool a ulong b ulong to bool\nif goal\n", |
| 733 | "to": "fn sp_better goal bool a ulong b ulong to bool\nif false\n" |
| 734 | }, |
| 735 | "run_exit": 151, |
| 736 | "source_sha256": "e7f0e14238b4759f8f8174412aa153abf1fb4326761c89b91c7ba89ecb72ae21", |
| 737 | "stderr": "", |
| 738 | "stdout": "schedpol events=109 examined=4502 assigned=10 hol_stops=0 bypasses=4 reservations=1\nschedpol goal trace 220050 230050 250050 240050 260050 280050 270050 290050 300050 310050 \n", |
| 739 | "verdict": "PASS", |
| 740 | "wall_ms": 9666 |
| 741 | }, |
| 742 | { |
| 743 | "binary_sha256": "699db53eb377ef6f691ca5e663cd76adc8c7e8ced9f3ef437ffa338b1565a5e1", |
| 744 | "case": "mut397-depth2-removed", |
| 745 | "compile_exit": 0, |
| 746 | "expected_exit": 151, |
| 747 | "issue": "DRA-397", |
| 748 | "mutation": { |
| 749 | "file": "seed/node/sched.om", |
| 750 | "from": "if ne and get sjdep k p2 0\nn = add n 1", |
| 751 | "to": "if false\nn = add n 1" |
| 752 | }, |
| 753 | "run_exit": 151, |
| 754 | "source_sha256": "745f0ee4dce98fddeb150948ce7ab7676518e82e207c4a94aa30a442dd4c326e", |
| 755 | "stderr": "", |
| 756 | "stdout": "schedpol events=110 examined=4566 assigned=10 hol_stops=0 bypasses=4 reservations=1\nschedpol goal trace 280050 230050 250050 220050 260050 240050 270050 290050 300050 310050 \n", |
| 757 | "verdict": "PASS", |
| 758 | "wall_ms": 9682 |
| 759 | }, |
| 760 | { |
| 761 | "binary_sha256": "5603f66e4e39deeb5b72e7e04e94e142908561343b9af5f581d2ac7178b0697f", |
| 762 | "case": "mut397-always-rescore", |
| 763 | "compile_exit": 0, |
| 764 | "expected_exit": 162, |
| 765 | "issue": "DRA-397", |
| 766 | "mutation": { |
| 767 | "file": "seed/node/sched.om", |
| 768 | "from": "if eq get scgv 1 v\nret\nend\n", |
| 769 | "to": "" |
| 770 | }, |
| 771 | "run_exit": 162, |
| 772 | "source_sha256": "fa09653f5c33232096e73253ce27f6c7eb14243fd8ed55d9a4b7ebbfa12199d4", |
| 773 | "stderr": "", |
| 774 | "stdout": "schedpol events=110 examined=4567 assigned=10 hol_stops=0 bypasses=4 reservations=1\n", |
| 775 | "verdict": "PASS", |
| 776 | "wall_ms": 10214 |
| 777 | }, |
| 778 | { |
| 779 | "binary_sha256": "6c2feed68d5f2b931f1f464fa68c6d109260a919f0a154e8cfc806943fb954cd", |
| 780 | "case": "mut397-ready-no-bump", |
| 781 | "compile_exit": 0, |
| 782 | "expected_exit": 151, |
| 783 | "issue": "DRA-397", |
| 784 | "mutation": { |
| 785 | "file": "seed/node/sched.om", |
| 786 | "from": "put scst 1 add get scst 1 1\nsp_bump\n", |
| 787 | "to": "put scst 1 add get scst 1 1\n" |
| 788 | }, |
| 789 | "run_exit": 151, |
| 790 | "source_sha256": "347b97039531a25ad0720bae20e70ba3ca4b3808a014d538a5b5d5a686c904e3", |
| 791 | "stderr": "", |
| 792 | "stdout": "schedpol events=110 examined=4567 assigned=10 hol_stops=0 bypasses=4 reservations=1\nschedpol goal trace 280050 250050 230050 220050 240050 290050 300050 310050 260050 270050 \n", |
| 793 | "verdict": "PASS", |
| 794 | "wall_ms": 9625 |
| 795 | }, |
| 796 | { |
| 797 | "binary_sha256": "3c10ec893c25485698ec93ac77b55fd82d851ef727a01062bfa198bbe9b99667", |
| 798 | "case": "mut397-waiting-no-bump", |
| 799 | "compile_exit": 0, |
| 800 | "expected_exit": 160, |
| 801 | "issue": "DRA-397", |
| 802 | "mutation": { |
| 803 | "file": "seed/node/sched.om", |
| 804 | "from": "put sjst j 1\nsp_bump\n", |
| 805 | "to": "put sjst j 1\n" |
| 806 | }, |
| 807 | "run_exit": 160, |
| 808 | "source_sha256": "55afa05e93b0f45266cd80e006135cb08f8529b9d407c1f33c76827419b6fae0", |
| 809 | "stderr": "", |
| 810 | "stdout": "schedpol events=109 examined=4502 assigned=10 hol_stops=0 bypasses=4 reservations=1\n", |
| 811 | "verdict": "PASS", |
| 812 | "wall_ms": 10161 |
| 813 | }, |
| 814 | { |
| 815 | "binary_sha256": "ad85a4f42b4376b4a6f9e8f6626e5344fc8cf5a1fb31a260f3e7bf69614c8c55", |
| 816 | "case": "mut397-cancel-no-bump", |
| 817 | "compile_exit": 0, |
| 818 | "expected_exit": 165, |
| 819 | "issue": "DRA-397", |
| 820 | "mutation": { |
| 821 | "file": "seed/node/sched.om", |
| 822 | "from": "put sjst j 0\nsp_bump\nif eq get scpol 5 add j 1", |
| 823 | "to": "put sjst j 0\nif eq get scpol 5 add j 1" |
| 824 | }, |
| 825 | "run_exit": 165, |
| 826 | "source_sha256": "4863e4ea573c9183921c0213c483b5e019c3df188e109e6aceec90b8fc77649f", |
| 827 | "stderr": "", |
| 828 | "stdout": "schedpol events=109 examined=4566 assigned=10 hol_stops=0 bypasses=4 reservations=1\n", |
| 829 | "verdict": "PASS", |
| 830 | "wall_ms": 10216 |
| 831 | }, |
| 832 | { |
| 833 | "binary_sha256": "e03493dad4c70beb9eff3b06ca65578d149e9aeeaa6bebd16c1ebbd7049b6ed8", |
| 834 | "case": "mut397-propose-unchecked", |
| 835 | "compile_exit": 0, |
| 836 | "expected_exit": 170, |
| 837 | "issue": "DRA-397", |
| 838 | "mutation": { |
| 839 | "file": "seed/node/sched.om", |
| 840 | "from": "if ne v get scgv 0\nput scgst 4", |
| 841 | "to": "if false\nput scgst 4" |
| 842 | }, |
| 843 | "run_exit": 170, |
| 844 | "source_sha256": "4803a8007095c99040b2f6f007e662b679aa16fc47e0e3a595233a727c34f20d", |
| 845 | "stderr": "", |
| 846 | "stdout": "schedpol events=109 examined=4566 assigned=10 hol_stops=0 bypasses=4 reservations=1\n", |
| 847 | "verdict": "PASS", |
| 848 | "wall_ms": 10332 |
| 849 | }, |
| 850 | { |
| 851 | "binary_sha256": "56cfa39f95e7762a1b70f157728a9536c2fe13324de9478954c6b0a98904e2d6", |
| 852 | "case": "mut397-use-unchecked", |
| 853 | "compile_exit": 0, |
| 854 | "expected_exit": 176, |
| 855 | "issue": "DRA-397", |
| 856 | "mutation": { |
| 857 | "file": "seed/node/sched.om", |
| 858 | "from": "if eq get scgv 3 get scgv 0\n", |
| 859 | "to": "if true\n" |
| 860 | }, |
| 861 | "run_exit": 176, |
| 862 | "source_sha256": "03a0afd5031be5f0bb64989b59f1733f41076bda084c3eb97b0b5b037c838a7f", |
| 863 | "stderr": "", |
| 864 | "stdout": "schedpol events=110 examined=4566 assigned=10 hol_stops=0 bypasses=4 reservations=1\n", |
| 865 | "verdict": "PASS", |
| 866 | "wall_ms": 10404 |
| 867 | }, |
| 868 | { |
| 869 | "binary_sha256": "ec5edc4b10b594b8602b4a2e846ab9633abdaf3d7721f942d1eec945634c7735", |
| 870 | "case": "mut397-est-ignored", |
| 871 | "compile_exit": 0, |
| 872 | "expected_exit": 181, |
| 873 | "issue": "DRA-397", |
| 874 | "mutation": { |
| 875 | "file": "seed/node/sched.om", |
| 876 | "from": "if ne ea eb\nret lt ea eb", |
| 877 | "to": "if false\nret lt ea eb" |
| 878 | }, |
| 879 | "run_exit": 181, |
| 880 | "source_sha256": "a604f09d86ea3b7336018224b657136f9a66b1c58316df8a82d08a107f2072f0", |
| 881 | "stderr": "", |
| 882 | "stdout": "schedpol events=108 examined=4502 assigned=10 hol_stops=0 bypasses=4 reservations=1\n", |
| 883 | "verdict": "PASS", |
| 884 | "wall_ms": 10449 |
| 885 | } |
| 886 | ], |
| 887 | "compiler": { |
| 888 | "path": "seed/out/omc", |
| 889 | "sha256": "5f90edea61bac241398df5036990d899361a5acd9decb37954ce088ec0f6f6df" |
| 890 | }, |
| 891 | "cpu_affinity": [ |
| 892 | 12, |
| 893 | 13, |
| 894 | 14 |
| 895 | ], |
| 896 | "execution": "NATIVE Linux AArch64 host CPU (DGX Spark host, no GPU opened)", |
| 897 | "hashes": { |
| 898 | "seed/authority/action.om": "59cb9c3dfdcd9193bc4a272deda4fcd256a0d7693f3bcb58bc4e30ed78faab2b", |
| 899 | "seed/node/auth-gate.om": "acc9e461a7d3f738065160a7414a0152818d265cea0274813b89f8b6c0f27782", |
| 900 | "seed/node/auth-test.om": "af66c87f83d73a5bdbaf181378eb69bb0645a86fe9b39de2f1b714041fbc20b8", |
| 901 | "seed/node/auth.om": "edf2f075d3751a8025363bc658252537f865dfc29f975fcf5d93c353b3282b30", |
| 902 | "seed/node/code-test.om": "df87a21e31f38d85ab9145af3fb18bafc52144a20aed0d9fbad60f6059ddacd0", |
| 903 | "seed/node/code.om": "aa9f8463fbe9534626c205e991e3a2170a25cbf91a106932ec399353583c0bf7", |
| 904 | "seed/node/gram.om": "ebba1f4c693f218969dc2f17eb680760977d38d694ac76db477853aefa64b291", |
| 905 | "seed/node/journal-gate.om": "c2d68845afb7dc19ce4d889abed3eb22b5703709d788608ab2e787c6dab7c40e", |
| 906 | "seed/node/journal-test.om": "58547e87068911e009fa2f99c8b995249acc6113e21c692bf2e74ec8238ea011", |
| 907 | "seed/node/journal.om": "b8f970d02b3f752d217f61b601817d5abc5a8c22fd2288544af15a18f628feac", |
| 908 | "seed/node/pool.om": "e7fba928bdc5c4194e7aee42109265de4f172d2b197946133d788b2dbcb30ccc", |
| 909 | "seed/node/sched-gate.om": "ed54cc032aa4f6980dfb24cbf25306fbfb1e5aae7b003fb7950da759abdd0738", |
| 910 | "seed/node/sched-test.om": "29a3587d35a217403c63395eb2b11b4992727812af66512be3e452ea6381a545", |
| 911 | "seed/node/sched.om": "6fd6205a183e209a105fd9b518f0a7b91e55219938fa737316eb5535fe8efee8", |
| 912 | "seed/node/schedpol-gate.om": "c6e7a9c5b80e7e5b6734bbeadb22695d9e7b5755fd5b645e0394955b883c7d6b", |
| 913 | "seed/node/schedpol-test.om": "4b966114217f4cfe651656bc61930b420d806576594d2db64f476f6f76877aac", |
| 914 | "seed/node/super.om": "d104ac8116c6df57fdc93f03791d7315e5b60875d8d6177480ef9967b6f53d5a", |
| 915 | "seed/node/transport.om": "d0dd69ef5e0b71294a2390b3526865d62ca07accd269b9ce57a028339e34f6da" |
| 916 | }, |
| 917 | "issue": "DRA-397", |
| 918 | "platform": "Linux 7.0.0-1019-nvidia aarch64 spark-b87b", |
| 919 | "project": "P-DRA-14", |
| 920 | "script": { |
| 921 | "cases": { |
| 922 | "cases": [ |
| 923 | { |
| 924 | "case": "schedpol-gate", |
| 925 | "compose": [ |
| 926 | "seed/node/transport.om", |
| 927 | "seed/node/pool.om", |
| 928 | "seed/node/super.om", |
| 929 | "seed/node/sched.om", |
| 930 | "seed/node/schedpol-test.om" |
| 931 | ], |
| 932 | "expect": 0, |
| 933 | "gate": "seed/node/schedpol-gate.om", |
| 934 | "issue": "DRA-395", |
| 935 | "repeat": 10, |
| 936 | "stdout_has": [ |
| 937 | "PASS node schedpol" |
| 938 | ], |
| 939 | "timeout": 120 |
| 940 | }, |
| 941 | { |
| 942 | "args": [ |
| 943 | "fifo" |
| 944 | ], |
| 945 | "case": "schedpol-gate-fifo", |
| 946 | "compose": [ |
| 947 | "seed/node/transport.om", |
| 948 | "seed/node/pool.om", |
| 949 | "seed/node/super.om", |
| 950 | "seed/node/sched.om", |
| 951 | "seed/node/schedpol-test.om" |
| 952 | ], |
| 953 | "expect": 11, |
| 954 | "gate": "seed/node/schedpol-gate.om", |
| 955 | "issue": "DRA-396", |
| 956 | "repeat": 5, |
| 957 | "stdout_has": [ |
| 958 | "schedpol hol witness head=20050 fits_behind=30050 free_cpu=1 idle_worker=1", |
| 959 | "schedpol hol witness head=20050 fits_behind=50050 free_cpu=1 idle_worker=1" |
| 960 | ], |
| 961 | "timeout": 120 |
| 962 | }, |
| 963 | { |
| 964 | "args": [ |
| 965 | "noreserve" |
| 966 | ], |
| 967 | "case": "schedpol-gate-noreserve", |
| 968 | "compose": [ |
| 969 | "seed/node/transport.om", |
| 970 | "seed/node/pool.om", |
| 971 | "seed/node/super.om", |
| 972 | "seed/node/sched.om", |
| 973 | "seed/node/schedpol-test.om" |
| 974 | ], |
| 975 | "expect": 61, |
| 976 | "gate": "seed/node/schedpol-gate.om", |
| 977 | "issue": "DRA-396", |
| 978 | "repeat": 5, |
| 979 | "timeout": 120 |
| 980 | }, |
| 981 | { |
| 982 | "case": "sched-gate", |
| 983 | "compose": [ |
| 984 | "seed/node/transport.om", |
| 985 | "seed/node/pool.om", |
| 986 | "seed/node/super.om", |
| 987 | "seed/node/sched.om", |
| 988 | "seed/node/sched-test.om" |
| 989 | ], |
| 990 | "expect": 0, |
| 991 | "gate": "seed/node/sched-gate.om", |
| 992 | "issue": "DRA-287" |
| 993 | }, |
| 994 | { |
| 995 | "case": "auth-gate", |
| 996 | "compose": [ |
| 997 | "seed/node/transport.om", |
| 998 | "seed/node/pool.om", |
| 999 | "seed/node/super.om", |
| 1000 | "seed/node/sched.om", |
| 1001 | "seed/authority/action.om", |
| 1002 | "seed/node/journal.om", |
| 1003 | "seed/node/auth.om", |
| 1004 | "seed/node/auth-test.om" |
| 1005 | ], |
| 1006 | "expect": 0, |
| 1007 | "gate": "seed/node/auth-gate.om", |
| 1008 | "issue": "DRA-288" |
| 1009 | }, |
| 1010 | { |
| 1011 | "case": "journal-gate", |
| 1012 | "clean": [ |
| 1013 | "build/node/jt" |
| 1014 | ], |
| 1015 | "compose": [ |
| 1016 | "seed/node/transport.om", |
| 1017 | "seed/node/pool.om", |
| 1018 | "seed/node/super.om", |
| 1019 | "seed/node/sched.om", |
| 1020 | "seed/authority/action.om", |
| 1021 | "seed/node/journal.om", |
| 1022 | "seed/node/auth.om", |
| 1023 | "seed/node/journal-test.om" |
| 1024 | ], |
| 1025 | "expect": 0, |
| 1026 | "gate": "seed/node/journal-gate.om", |
| 1027 | "issue": "DRA-289" |
| 1028 | }, |
| 1029 | { |
| 1030 | "args": [ |
| 1031 | "unit", |
| 1032 | "build/node/cu" |
| 1033 | ], |
| 1034 | "case": "code-test-unit", |
| 1035 | "clean": [ |
| 1036 | "build/node/cu" |
| 1037 | ], |
| 1038 | "expect": 0, |
| 1039 | "fragments": [ |
| 1040 | "seed/node/transport.om", |
| 1041 | "seed/node/pool.om", |
| 1042 | "seed/node/super.om", |
| 1043 | "seed/node/sched.om", |
| 1044 | "seed/authority/action.om", |
| 1045 | "seed/node/journal.om", |
| 1046 | "seed/node/auth.om", |
| 1047 | "seed/node/gram.om", |
| 1048 | "seed/node/code.om", |
| 1049 | "seed/node/code-test.om" |
| 1050 | ], |
| 1051 | "issue": "DRA-290", |
| 1052 | "om2": true |
| 1053 | }, |
| 1054 | { |
| 1055 | "case": "mut-impossible-admitted", |
| 1056 | "expect": 31, |
| 1057 | "fragments": [ |
| 1058 | "seed/node/transport.om", |
| 1059 | "seed/node/pool.om", |
| 1060 | "seed/node/super.om", |
| 1061 | "seed/node/sched.om", |
| 1062 | "seed/node/schedpol-test.om" |
| 1063 | ], |
| 1064 | "issue": "DRA-395", |
| 1065 | "mutate": [ |
| 1066 | "seed/node/sched.om", |
| 1067 | "if not sp_feas req\n", |
| 1068 | "if false\n" |
| 1069 | ], |
| 1070 | "why": "C: impossible request admitted; check sched_admitr == -8 code 31" |
| 1071 | }, |
| 1072 | { |
| 1073 | "case": "mut-collect-no-release", |
| 1074 | "expect": 133, |
| 1075 | "fragments": [ |
| 1076 | "seed/node/transport.om", |
| 1077 | "seed/node/pool.om", |
| 1078 | "seed/node/super.om", |
| 1079 | "seed/node/sched.om", |
| 1080 | "seed/node/schedpol-test.om" |
| 1081 | ], |
| 1082 | "issue": "DRA-395", |
| 1083 | "mutate": [ |
| 1084 | "seed/node/sched.om", |
| 1085 | "j = sub b 1\nsp_give j\n", |
| 1086 | "j = sub b 1\n" |
| 1087 | ], |
| 1088 | "why": "C: jobs reviewed still hold; pt_inv in pt_drain code 133" |
| 1089 | }, |
| 1090 | { |
| 1091 | "case": "mut-capacity-ignored", |
| 1092 | "expect": 44, |
| 1093 | "fragments": [ |
| 1094 | "seed/node/transport.om", |
| 1095 | "seed/node/pool.om", |
| 1096 | "seed/node/super.om", |
| 1097 | "seed/node/sched.om", |
| 1098 | "seed/node/schedpol-test.om" |
| 1099 | ], |
| 1100 | "issue": "DRA-395", |
| 1101 | "mutate": [ |
| 1102 | "seed/node/sched.om", |
| 1103 | "if gt sp_need req k a\n", |
| 1104 | "if false\n" |
| 1105 | ], |
| 1106 | "why": "D: use exceeds capacity; pt_inv in pt_drain code 44" |
| 1107 | }, |
| 1108 | { |
| 1109 | "args": [ |
| 1110 | "fifo" |
| 1111 | ], |
| 1112 | "case": "mut-ready-unstamped", |
| 1113 | "expect": 54, |
| 1114 | "fragments": [ |
| 1115 | "seed/node/transport.om", |
| 1116 | "seed/node/pool.om", |
| 1117 | "seed/node/super.om", |
| 1118 | "seed/node/sched.om", |
| 1119 | "seed/node/schedpol-test.om" |
| 1120 | ], |
| 1121 | "issue": "DRA-395", |
| 1122 | "mutate": [ |
| 1123 | "seed/node/sched.om", |
| 1124 | "if ne and get sjdep j topics 0\nsp_ready j\n", |
| 1125 | "if ne and get sjdep j topics 0\nput sjst j 2\n" |
| 1126 | ], |
| 1127 | "why": "F under fifo: ready order wrong, y not first; code 54" |
| 1128 | }, |
| 1129 | { |
| 1130 | "case": "mut-give-after-review", |
| 1131 | "expect": 122, |
| 1132 | "fragments": [ |
| 1133 | "seed/node/transport.om", |
| 1134 | "seed/node/pool.om", |
| 1135 | "seed/node/super.om", |
| 1136 | "seed/node/sched.om", |
| 1137 | "seed/node/schedpol-test.om" |
| 1138 | ], |
| 1139 | "issue": "DRA-395", |
| 1140 | "mutate": [ |
| 1141 | "seed/node/sched.om", |
| 1142 | "j = sub b 1\nsp_give j\nif ge sched_count 4 4 get sclim 1\ncontinue\nend\n", |
| 1143 | "j = sub b 1\nif ge sched_count 4 4 get sclim 1\ncontinue\nend\nsp_give j\n" |
| 1144 | ], |
| 1145 | "why": "V: second CPU not released while review full; suse==0 code 122" |
| 1146 | }, |
| 1147 | { |
| 1148 | "case": "mut-no-take", |
| 1149 | "expect": 130, |
| 1150 | "fragments": [ |
| 1151 | "seed/node/transport.om", |
| 1152 | "seed/node/pool.om", |
| 1153 | "seed/node/super.om", |
| 1154 | "seed/node/sched.om", |
| 1155 | "seed/node/schedpol-test.om" |
| 1156 | ], |
| 1157 | "issue": "DRA-395", |
| 1158 | "mutate": [ |
| 1159 | "seed/node/sched.om", |
| 1160 | "end\nsp_take j\nif eq get scpol 5 add j 1\n", |
| 1161 | "end\nif eq get scpol 5 add j 1\n" |
| 1162 | ], |
| 1163 | "why": "C: running unfinished job holds nothing; pt_inv in pt_until code 130" |
| 1164 | }, |
| 1165 | { |
| 1166 | "case": "mut-cap-below-use", |
| 1167 | "expect": 131, |
| 1168 | "fragments": [ |
| 1169 | "seed/node/transport.om", |
| 1170 | "seed/node/pool.om", |
| 1171 | "seed/node/super.om", |
| 1172 | "seed/node/sched.om", |
| 1173 | "seed/node/schedpol-test.om" |
| 1174 | ], |
| 1175 | "issue": "DRA-395", |
| 1176 | "mutate": [ |
| 1177 | "seed/node/sched.om", |
| 1178 | "if lt sp_need caps k get suse k\n", |
| 1179 | "if false\n" |
| 1180 | ], |
| 1181 | "why": "C: sched_cap below use accepted; == -8 code 131" |
| 1182 | }, |
| 1183 | { |
| 1184 | "case": "mut287-wake-all", |
| 1185 | "expect": 16, |
| 1186 | "fragments": [ |
| 1187 | "seed/node/transport.om", |
| 1188 | "seed/node/pool.om", |
| 1189 | "seed/node/super.om", |
| 1190 | "seed/node/sched.om", |
| 1191 | "seed/node/sched-test.om" |
| 1192 | ], |
| 1193 | "issue": "DRA-287", |
| 1194 | "mutate": [ |
| 1195 | "seed/node/sched.om", |
| 1196 | "if ne and sc_cell w 32 topics 0\n", |
| 1197 | "if true\n" |
| 1198 | ] |
| 1199 | }, |
| 1200 | { |
| 1201 | "case": "mut287-no-wake", |
| 1202 | "expect": 34, |
| 1203 | "fragments": [ |
| 1204 | "seed/node/transport.om", |
| 1205 | "seed/node/pool.om", |
| 1206 | "seed/node/super.om", |
| 1207 | "seed/node/sched.om", |
| 1208 | "seed/node/sched-test.om" |
| 1209 | ], |
| 1210 | "issue": "DRA-287", |
| 1211 | "mutate": [ |
| 1212 | "seed/node/sched.om", |
| 1213 | "sc_set w 0 q\nsc_wake w\n", |
| 1214 | "sc_set w 0 q\n" |
| 1215 | ] |
| 1216 | }, |
| 1217 | { |
| 1218 | "case": "mut287-review-unbounded", |
| 1219 | "expect": 50, |
| 1220 | "fragments": [ |
| 1221 | "seed/node/transport.om", |
| 1222 | "seed/node/pool.om", |
| 1223 | "seed/node/super.om", |
| 1224 | "seed/node/sched.om", |
| 1225 | "seed/node/sched-test.om" |
| 1226 | ], |
| 1227 | "issue": "DRA-287", |
| 1228 | "mutate": [ |
| 1229 | "seed/node/sched.om", |
| 1230 | "if ge sched_count 4 4 get sclim 1\n", |
| 1231 | "if false\n" |
| 1232 | ] |
| 1233 | }, |
| 1234 | { |
| 1235 | "case": "mut287-admit-unbounded", |
| 1236 | "expect": 48, |
| 1237 | "fragments": [ |
| 1238 | "seed/node/transport.om", |
| 1239 | "seed/node/pool.om", |
| 1240 | "seed/node/super.om", |
| 1241 | "seed/node/sched.om", |
| 1242 | "seed/node/sched-test.om" |
| 1243 | ], |
| 1244 | "issue": "DRA-287", |
| 1245 | "mutate": [ |
| 1246 | "seed/node/sched.om", |
| 1247 | "room = ulong 0\nif lt a get sclim 0\nroom = sub get sclim 0 a\nend\n", |
| 1248 | "room = ulong 64\n" |
| 1249 | ], |
| 1250 | "why": "DRA-287 sched-gate admission-limit check: headroom ignored, admissions beyond the limit; 48 (pattern moved with the DRA-396 room rewrite)" |
| 1251 | }, |
| 1252 | { |
| 1253 | "case": "mut287-unknown-rerun", |
| 1254 | "expect": 83, |
| 1255 | "fragments": [ |
| 1256 | "seed/node/transport.om", |
| 1257 | "seed/node/pool.om", |
| 1258 | "seed/node/super.om", |
| 1259 | "seed/node/sched.om", |
| 1260 | "seed/node/sched-test.om" |
| 1261 | ], |
| 1262 | "issue": "DRA-287", |
| 1263 | "mutate": [ |
| 1264 | "seed/node/sched.om", |
| 1265 | "put sjst j 6\n", |
| 1266 | "put sjst j 2\n" |
| 1267 | ] |
| 1268 | }, |
| 1269 | { |
| 1270 | "case": "mut287-lost-no-ack", |
| 1271 | "expect": 92, |
| 1272 | "fragments": [ |
| 1273 | "seed/node/transport.om", |
| 1274 | "seed/node/pool.om", |
| 1275 | "seed/node/super.om", |
| 1276 | "seed/node/sched.om", |
| 1277 | "seed/node/sched-test.om" |
| 1278 | ], |
| 1279 | "issue": "DRA-287", |
| 1280 | "mutate": [ |
| 1281 | "seed/node/sched.om", |
| 1282 | "sc_set w 64 get scseq w\n", |
| 1283 | "" |
| 1284 | ] |
| 1285 | }, |
| 1286 | { |
| 1287 | "case": "mut287-deps-ignored", |
| 1288 | "expect": 68, |
| 1289 | "fragments": [ |
| 1290 | "seed/node/transport.om", |
| 1291 | "seed/node/pool.om", |
| 1292 | "seed/node/super.om", |
| 1293 | "seed/node/sched.om", |
| 1294 | "seed/node/sched-test.om" |
| 1295 | ], |
| 1296 | "issue": "DRA-287", |
| 1297 | "mutate": [ |
| 1298 | "seed/node/sched.om", |
| 1299 | "put sjst j 1\n", |
| 1300 | "put sjst j 2\n" |
| 1301 | ] |
| 1302 | }, |
| 1303 | { |
| 1304 | "args": [ |
| 1305 | "idle" |
| 1306 | ], |
| 1307 | "case": "mut287-super-spin", |
| 1308 | "expect": 138, |
| 1309 | "fragments": [ |
| 1310 | "seed/node/transport.om", |
| 1311 | "seed/node/pool.om", |
| 1312 | "seed/node/super.om", |
| 1313 | "seed/node/sched.om", |
| 1314 | "seed/node/sched-test.om" |
| 1315 | ], |
| 1316 | "issue": "DRA-287", |
| 1317 | "mutate": [ |
| 1318 | "seed/node/super.om", |
| 1319 | "iv = interval\n", |
| 1320 | "iv = long 0\n" |
| 1321 | ] |
| 1322 | }, |
| 1323 | { |
| 1324 | "case": "mut288-pause-ignored", |
| 1325 | "expect": 121, |
| 1326 | "fragments": [ |
| 1327 | "seed/node/transport.om", |
| 1328 | "seed/node/pool.om", |
| 1329 | "seed/node/super.om", |
| 1330 | "seed/node/sched.om", |
| 1331 | "seed/authority/action.om", |
| 1332 | "seed/node/journal.om", |
| 1333 | "seed/node/auth.om", |
| 1334 | "seed/node/auth-test.om" |
| 1335 | ], |
| 1336 | "issue": "DRA-288", |
| 1337 | "mutate": [ |
| 1338 | "seed/node/sched.om", |
| 1339 | "if ne get scpause 0 0\n", |
| 1340 | "if false\n" |
| 1341 | ] |
| 1342 | }, |
| 1343 | { |
| 1344 | "case": "mut396-cursor-stuck", |
| 1345 | "expect": 15, |
| 1346 | "fragments": [ |
| 1347 | "seed/node/transport.om", |
| 1348 | "seed/node/pool.om", |
| 1349 | "seed/node/super.om", |
| 1350 | "seed/node/sched.om", |
| 1351 | "seed/node/schedpol-test.om" |
| 1352 | ], |
| 1353 | "issue": "DRA-396", |
| 1354 | "mutate": [ |
| 1355 | "seed/node/sched.om", |
| 1356 | "put scpol 4 rem add cur win 64\n", |
| 1357 | "" |
| 1358 | ], |
| 1359 | "why": "pt_cursor (exit 15) checks after every step that the cursor moved by win per window scan mod 64; with win 64 that is no move, so phases before W pass; the first scan in W (win 4) leaves the cursor in place where 4 slots were expected: 15" |
| 1360 | }, |
| 1361 | { |
| 1362 | "case": "mut396-tickets-ignored", |
| 1363 | "expect": 75, |
| 1364 | "fragments": [ |
| 1365 | "seed/node/transport.om", |
| 1366 | "seed/node/pool.om", |
| 1367 | "seed/node/super.om", |
| 1368 | "seed/node/sched.om", |
| 1369 | "seed/node/schedpol-test.om" |
| 1370 | ], |
| 1371 | "issue": "DRA-396", |
| 1372 | "mutate": [ |
| 1373 | "seed/node/sched.om", |
| 1374 | "if eq get scpol 6 0\nret true\n", |
| 1375 | "if true\nret true\n" |
| 1376 | ], |
| 1377 | "why": "Q: with room, Y asking before ticket holder X is admitted; code 75" |
| 1378 | }, |
| 1379 | { |
| 1380 | "case": "mut396-no-holdback", |
| 1381 | "expect": 61, |
| 1382 | "fragments": [ |
| 1383 | "seed/node/transport.om", |
| 1384 | "seed/node/pool.om", |
| 1385 | "seed/node/super.om", |
| 1386 | "seed/node/sched.om", |
| 1387 | "seed/node/schedpol-test.om" |
| 1388 | ], |
| 1389 | "issue": "DRA-396", |
| 1390 | "mutate": [ |
| 1391 | "seed/node/sched.om", |
| 1392 | "rq = get sjneed rj\n", |
| 1393 | "rq = ulong 0\n" |
| 1394 | ], |
| 1395 | "why": "S: smalls refill freed CPU, big never runs; first check code 61" |
| 1396 | }, |
| 1397 | { |
| 1398 | "case": "mut396-never-reserve", |
| 1399 | "expect": 61, |
| 1400 | "fragments": [ |
| 1401 | "seed/node/transport.om", |
| 1402 | "seed/node/pool.om", |
| 1403 | "seed/node/super.om", |
| 1404 | "seed/node/sched.om", |
| 1405 | "seed/node/schedpol-test.om" |
| 1406 | ], |
| 1407 | "issue": "DRA-396", |
| 1408 | "mutate": [ |
| 1409 | "seed/node/sched.om", |
| 1410 | "put scpol 5 add o 1\n", |
| 1411 | "" |
| 1412 | ], |
| 1413 | "why": "S: no reservation, big never runs; first check code 61" |
| 1414 | }, |
| 1415 | { |
| 1416 | "case": "mut396-lease-never", |
| 1417 | "expect": 82, |
| 1418 | "fragments": [ |
| 1419 | "seed/node/transport.om", |
| 1420 | "seed/node/pool.om", |
| 1421 | "seed/node/super.om", |
| 1422 | "seed/node/sched.om", |
| 1423 | "seed/node/schedpol-test.om" |
| 1424 | ], |
| 1425 | "issue": "DRA-396", |
| 1426 | "mutate": [ |
| 1427 | "seed/node/sched.om", |
| 1428 | "if ge now d\n", |
| 1429 | "if false\n" |
| 1430 | ], |
| 1431 | "why": "L: sched_overdue never reports; eq o h code 82" |
| 1432 | }, |
| 1433 | { |
| 1434 | "case": "mut396-cancel-keeps-reserve", |
| 1435 | "expect": 94, |
| 1436 | "fragments": [ |
| 1437 | "seed/node/transport.om", |
| 1438 | "seed/node/pool.om", |
| 1439 | "seed/node/super.om", |
| 1440 | "seed/node/sched.om", |
| 1441 | "seed/node/schedpol-test.om" |
| 1442 | ], |
| 1443 | "issue": "DRA-396", |
| 1444 | "mutate": [ |
| 1445 | "seed/node/sched.om", |
| 1446 | "put sjst j 0\nsp_bump\nif eq get scpol 5 add j 1\nput scpol 5 0\nend\n", |
| 1447 | "put sjst j 0\nsp_bump\n" |
| 1448 | ], |
| 1449 | "why": "R: reservation survives cancel; sched_stat 29 == 0 code 94" |
| 1450 | }, |
| 1451 | { |
| 1452 | "case": "mut396-window-ignored", |
| 1453 | "expect": 9, |
| 1454 | "fragments": [ |
| 1455 | "seed/node/transport.om", |
| 1456 | "seed/node/pool.om", |
| 1457 | "seed/node/super.om", |
| 1458 | "seed/node/sched.om", |
| 1459 | "seed/node/schedpol-test.om" |
| 1460 | ], |
| 1461 | "issue": "DRA-396", |
| 1462 | "mutate": [ |
| 1463 | "seed/node/sched.om", |
| 1464 | "for i ulong win bound 64\n", |
| 1465 | "for i ulong 64 bound 64\n" |
| 1466 | ], |
| 1467 | "why": "pt_step bound (exit 9): candidate reads <= events x db x (win+1); in W (win 4, db 2) one pick scanning 64 slots reads 65 > 2 x 5 = 10 per event: 9" |
| 1468 | }, |
| 1469 | { |
| 1470 | "case": "mut396-tickets-never-lapse", |
| 1471 | "expect": 80, |
| 1472 | "fragments": [ |
| 1473 | "seed/node/transport.om", |
| 1474 | "seed/node/pool.om", |
| 1475 | "seed/node/super.om", |
| 1476 | "seed/node/sched.om", |
| 1477 | "seed/node/schedpol-test.om" |
| 1478 | ], |
| 1479 | "issue": "DRA-396", |
| 1480 | "mutate": [ |
| 1481 | "seed/node/sched.om", |
| 1482 | "if lt add get stts t get scpol 7 get scst 2\n", |
| 1483 | "if false\n" |
| 1484 | ], |
| 1485 | "why": "Q: stale ticket of 150050 blocks new caller 160050; ge 0 code 80" |
| 1486 | }, |
| 1487 | { |
| 1488 | "case": "mut396-cursor-by-one", |
| 1489 | "expect": 15, |
| 1490 | "fragments": [ |
| 1491 | "seed/node/transport.om", |
| 1492 | "seed/node/pool.om", |
| 1493 | "seed/node/super.om", |
| 1494 | "seed/node/sched.om", |
| 1495 | "seed/node/schedpol-test.om" |
| 1496 | ], |
| 1497 | "issue": "DRA-396", |
| 1498 | "mutate": [ |
| 1499 | "seed/node/sched.om", |
| 1500 | "put scpol 4 rem add cur win 64\n", |
| 1501 | "put scpol 4 rem add cur 1 64\n" |
| 1502 | ], |
| 1503 | "why": "pt_cursor (exit 15): in W (win 4) a scan moves the cursor by 1 instead of 4, so cursor != u0 + 4 x scans mod 64 at the first step that scans: 15 (with win 64, 1 vs 0 mod 64 also differs, so it may trip in phase A already; same exit)" |
| 1504 | }, |
| 1505 | { |
| 1506 | "case": "mut396-holders-by-room", |
| 1507 | "expect": 105, |
| 1508 | "fragments": [ |
| 1509 | "seed/node/transport.om", |
| 1510 | "seed/node/pool.om", |
| 1511 | "seed/node/super.om", |
| 1512 | "seed/node/sched.om", |
| 1513 | "seed/node/schedpol-test.om" |
| 1514 | ], |
| 1515 | "issue": "DRA-396", |
| 1516 | "mutate": [ |
| 1517 | "seed/node/sched.om", |
| 1518 | "if eq t 0\nret true", |
| 1519 | "if lt t room\nret true" |
| 1520 | ], |
| 1521 | "why": "T: second holder Y enters with two openings; 105" |
| 1522 | }, |
| 1523 | { |
| 1524 | "case": "mut396-room-ignores-slots", |
| 1525 | "expect": 191, |
| 1526 | "fragments": [ |
| 1527 | "seed/node/transport.om", |
| 1528 | "seed/node/pool.om", |
| 1529 | "seed/node/super.om", |
| 1530 | "seed/node/sched.om", |
| 1531 | "seed/node/schedpol-test.om" |
| 1532 | ], |
| 1533 | "issue": "DRA-396", |
| 1534 | "mutate": [ |
| 1535 | "seed/node/sched.om", |
| 1536 | "if lt fs room\nroom = fs\n", |
| 1537 | "if false\nroom = fs\n" |
| 1538 | ], |
| 1539 | "why": "X: table full of review results, sched_room true; 191" |
| 1540 | }, |
| 1541 | { |
| 1542 | "case": "mut396-lease-early", |
| 1543 | "expect": 83, |
| 1544 | "fragments": [ |
| 1545 | "seed/node/transport.om", |
| 1546 | "seed/node/pool.om", |
| 1547 | "seed/node/super.om", |
| 1548 | "seed/node/sched.om", |
| 1549 | "seed/node/schedpol-test.om" |
| 1550 | ], |
| 1551 | "issue": "DRA-396", |
| 1552 | "mutate": [ |
| 1553 | "seed/node/sched.om", |
| 1554 | "if ge now d\n", |
| 1555 | "if ge add now 100000000 d\n" |
| 1556 | ], |
| 1557 | "why": "L: overdue reported before the stored deadline; 83" |
| 1558 | }, |
| 1559 | { |
| 1560 | "case": "mut396-jn-room-before-dup", |
| 1561 | "clean": [ |
| 1562 | "build/node/jt" |
| 1563 | ], |
| 1564 | "expect": 170, |
| 1565 | "fragments": [ |
| 1566 | "seed/node/transport.om", |
| 1567 | "seed/node/pool.om", |
| 1568 | "seed/node/super.om", |
| 1569 | "seed/node/sched.om", |
| 1570 | "seed/authority/action.om", |
| 1571 | "seed/node/journal.om", |
| 1572 | "seed/node/auth.om", |
| 1573 | "seed/node/journal-test.om" |
| 1574 | ], |
| 1575 | "issue": "DRA-396", |
| 1576 | "mutate": [ |
| 1577 | "seed/node/journal.om", |
| 1578 | "if ge jn_jfind id 0\nret neg long 4\nend\nif not sched_room id\nret neg long 2\nend\n", |
| 1579 | "if not sched_room id\nret neg long 2\nend\nif ge jn_jfind id 0\nret neg long 4\nend\n" |
| 1580 | ], |
| 1581 | "why": "journal case 16: duplicate at the limit gets -2 and a ticket, not -4; 170" |
| 1582 | }, |
| 1583 | { |
| 1584 | "case": "mut396-jn-no-room-check", |
| 1585 | "clean": [ |
| 1586 | "build/node/jt" |
| 1587 | ], |
| 1588 | "expect": 173, |
| 1589 | "fragments": [ |
| 1590 | "seed/node/transport.om", |
| 1591 | "seed/node/pool.om", |
| 1592 | "seed/node/super.om", |
| 1593 | "seed/node/sched.om", |
| 1594 | "seed/authority/action.om", |
| 1595 | "seed/node/journal.om", |
| 1596 | "seed/node/auth.om", |
| 1597 | "seed/node/journal-test.om" |
| 1598 | ], |
| 1599 | "issue": "DRA-396", |
| 1600 | "mutate": [ |
| 1601 | "seed/node/journal.om", |
| 1602 | "if not sched_room id\nret neg long 2\nend\nif ne jn_rec 2 id deps flags 0\n", |
| 1603 | "if ne jn_rec 2 id deps flags 0\n" |
| 1604 | ], |
| 1605 | "why": "journal-gate case 16 runs before 17: jn_admit 7003 at the limit now journals ADMIT and sched_admit refuses (-2, 172 holds, ticket count 1 holds); after the cancel, jn_admit 7003 finds 7003 in the journal and returns -4, so jt_ok ge ... 173 fails: 173" |
| 1606 | }, |
| 1607 | { |
| 1608 | "case": "mut396-jn-no-room-check-c17", |
| 1609 | "clean": [ |
| 1610 | "build/node/jt" |
| 1611 | ], |
| 1612 | "expect": 175, |
| 1613 | "fragments": [ |
| 1614 | "seed/node/transport.om", |
| 1615 | "seed/node/pool.om", |
| 1616 | "seed/node/super.om", |
| 1617 | "seed/node/sched.om", |
| 1618 | "seed/authority/action.om", |
| 1619 | "seed/node/journal.om", |
| 1620 | "seed/node/auth.om", |
| 1621 | "seed/node/journal-test.om" |
| 1622 | ], |
| 1623 | "issue": "DRA-396", |
| 1624 | "mutate": [ |
| 1625 | [ |
| 1626 | "seed/node/journal.om", |
| 1627 | "if not sched_room id\nret neg long 2\nend\nif ne jn_rec 2 id deps flags 0\n", |
| 1628 | "if ne jn_rec 2 id deps flags 0\n" |
| 1629 | ], |
| 1630 | [ |
| 1631 | "seed/node/journal-test.om", |
| 1632 | "jt_c16\njt_c17\n", |
| 1633 | "jt_c17\n" |
| 1634 | ] |
| 1635 | ], |
| 1636 | "why": "case 16 is not run (removed from main), so case 17 is the first to meet the missing room check: jn_admit 9001 journals ADMIT (jseq grows) and sched_admit refuses (-2, 174 holds; ticket count 1 holds); jt_ok eq get jseq 0 q 175 fails: 175" |
| 1637 | }, |
| 1638 | { |
| 1639 | "args": [ |
| 1640 | "fifo" |
| 1641 | ], |
| 1642 | "case": "mut396-fifo-overcount", |
| 1643 | "expect": 9, |
| 1644 | "fragments": [ |
| 1645 | "seed/node/transport.om", |
| 1646 | "seed/node/pool.om", |
| 1647 | "seed/node/super.om", |
| 1648 | "seed/node/sched.om", |
| 1649 | "seed/node/schedpol-test.om" |
| 1650 | ], |
| 1651 | "issue": "DRA-396", |
| 1652 | "mutate": [ |
| 1653 | "seed/node/sched.om", |
| 1654 | "for j ulong 64\nput scst 3 add get scst 3 1\n", |
| 1655 | "for j ulong 64\nput scst 3 add get scst 3 3\n" |
| 1656 | ], |
| 1657 | "timeout": 120, |
| 1658 | "why": "run with fifo: every pick under policy 0 now counts 192 reads; the pt_step bound (exit 9) allows (assigned + events) x 64 per step, and a step with p >= 1 picks has assigned + events <= p + 1 (unsuccessful picks end the event), so 192p > 64(p+1): 9 at the first step that picks, which is phase C (pt_impossible runs first in main), before phase A head-of-line exit 11" |
| 1659 | }, |
| 1660 | { |
| 1661 | "args": [ |
| 1662 | "goal" |
| 1663 | ], |
| 1664 | "case": "schedpol-gate-goal", |
| 1665 | "compose": [ |
| 1666 | "seed/node/transport.om", |
| 1667 | "seed/node/pool.om", |
| 1668 | "seed/node/super.om", |
| 1669 | "seed/node/sched.om", |
| 1670 | "seed/node/schedpol-test.om" |
| 1671 | ], |
| 1672 | "expect": 0, |
| 1673 | "gate": "seed/node/schedpol-gate.om", |
| 1674 | "issue": "DRA-397", |
| 1675 | "repeat": 10, |
| 1676 | "stdout_has": [ |
| 1677 | "PASS node schedpol" |
| 1678 | ], |
| 1679 | "timeout": 120 |
| 1680 | }, |
| 1681 | { |
| 1682 | "case": "mut397-goal-off", |
| 1683 | "expect": 151, |
| 1684 | "fragments": [ |
| 1685 | "seed/node/transport.om", |
| 1686 | "seed/node/pool.om", |
| 1687 | "seed/node/super.om", |
| 1688 | "seed/node/sched.om", |
| 1689 | "seed/node/schedpol-test.om" |
| 1690 | ], |
| 1691 | "issue": "DRA-397", |
| 1692 | "mutate": [ |
| 1693 | "seed/node/sched.om", |
| 1694 | "fn sp_better goal bool a ulong b ulong to bool\nif goal\n", |
| 1695 | "fn sp_better goal bool a ulong b ulong to bool\nif false\n" |
| 1696 | ], |
| 1697 | "why": "G first run: policy-1 order, x runs first, trace mismatch: 151" |
| 1698 | }, |
| 1699 | { |
| 1700 | "case": "mut397-depth2-removed", |
| 1701 | "expect": 151, |
| 1702 | "fragments": [ |
| 1703 | "seed/node/transport.om", |
| 1704 | "seed/node/pool.om", |
| 1705 | "seed/node/super.om", |
| 1706 | "seed/node/sched.om", |
| 1707 | "seed/node/schedpol-test.om" |
| 1708 | ], |
| 1709 | "issue": "DRA-397", |
| 1710 | "mutate": [ |
| 1711 | "seed/node/sched.om", |
| 1712 | "if ne and get sjdep k p2 0\nn = add n 1", |
| 1713 | "if false\nn = add n 1" |
| 1714 | ], |
| 1715 | "why": "G first run: a and z both value 1, equal estimates, z older runs second: 151" |
| 1716 | }, |
| 1717 | { |
| 1718 | "case": "mut397-always-rescore", |
| 1719 | "expect": 162, |
| 1720 | "fragments": [ |
| 1721 | "seed/node/transport.om", |
| 1722 | "seed/node/pool.om", |
| 1723 | "seed/node/super.om", |
| 1724 | "seed/node/sched.om", |
| 1725 | "seed/node/schedpol-test.om" |
| 1726 | ], |
| 1727 | "issue": "DRA-397", |
| 1728 | "mutate": [ |
| 1729 | "seed/node/sched.om", |
| 1730 | "if eq get scgv 1 v\nret\nend\n", |
| 1731 | "" |
| 1732 | ], |
| 1733 | "why": "H: completion with nothing published rescores at the next pick; stat 32 == 1 fails: 162" |
| 1734 | }, |
| 1735 | { |
| 1736 | "case": "mut397-ready-no-bump", |
| 1737 | "expect": 151, |
| 1738 | "fragments": [ |
| 1739 | "seed/node/transport.om", |
| 1740 | "seed/node/pool.om", |
| 1741 | "seed/node/super.om", |
| 1742 | "seed/node/sched.om", |
| 1743 | "seed/node/schedpol-test.om" |
| 1744 | ], |
| 1745 | "issue": "DRA-397", |
| 1746 | "mutate": [ |
| 1747 | "seed/node/sched.om", |
| 1748 | "put scst 1 add get scst 1 1\nsp_bump\n", |
| 1749 | "put scst 1 add get scst 1 1\n" |
| 1750 | ], |
| 1751 | "why": "G first run: b readied by publication keeps value 0, x older runs fourth: 151" |
| 1752 | }, |
| 1753 | { |
| 1754 | "case": "mut397-waiting-no-bump", |
| 1755 | "expect": 160, |
| 1756 | "fragments": [ |
| 1757 | "seed/node/transport.om", |
| 1758 | "seed/node/pool.om", |
| 1759 | "seed/node/super.om", |
| 1760 | "seed/node/sched.om", |
| 1761 | "seed/node/schedpol-test.om" |
| 1762 | ], |
| 1763 | "issue": "DRA-397", |
| 1764 | "mutate": [ |
| 1765 | "seed/node/sched.om", |
| 1766 | "put sjst j 1\nsp_bump\n", |
| 1767 | "put sjst j 1\n" |
| 1768 | ], |
| 1769 | "why": "H: only 2 bumps (r ready, sched_goal) before unpause; stat 34 == 4 fails: 160" |
| 1770 | }, |
| 1771 | { |
| 1772 | "case": "mut397-cancel-no-bump", |
| 1773 | "expect": 165, |
| 1774 | "fragments": [ |
| 1775 | "seed/node/transport.om", |
| 1776 | "seed/node/pool.om", |
| 1777 | "seed/node/super.om", |
| 1778 | "seed/node/sched.om", |
| 1779 | "seed/node/schedpol-test.om" |
| 1780 | ], |
| 1781 | "issue": "DRA-397", |
| 1782 | "mutate": [ |
| 1783 | "seed/node/sched.om", |
| 1784 | "put sjst j 0\nsp_bump\nif eq get scpol 5 add j 1", |
| 1785 | "put sjst j 0\nif eq get scpol 5 add j 1" |
| 1786 | ], |
| 1787 | "why": "H: cancelling waiting w3 does not move stat 34: 165" |
| 1788 | }, |
| 1789 | { |
| 1790 | "case": "mut397-propose-unchecked", |
| 1791 | "expect": 170, |
| 1792 | "fragments": [ |
| 1793 | "seed/node/transport.om", |
| 1794 | "seed/node/pool.om", |
| 1795 | "seed/node/super.om", |
| 1796 | "seed/node/sched.om", |
| 1797 | "seed/node/schedpol-test.om" |
| 1798 | ], |
| 1799 | "issue": "DRA-397", |
| 1800 | "mutate": [ |
| 1801 | "seed/node/sched.om", |
| 1802 | "if ne v get scgv 0\nput scgst 4", |
| 1803 | "if false\nput scgst 4" |
| 1804 | ], |
| 1805 | "why": "P: stale proposal accepted, returns 0 not -9: 170" |
| 1806 | }, |
| 1807 | { |
| 1808 | "case": "mut397-use-unchecked", |
| 1809 | "expect": 176, |
| 1810 | "fragments": [ |
| 1811 | "seed/node/transport.om", |
| 1812 | "seed/node/pool.om", |
| 1813 | "seed/node/super.om", |
| 1814 | "seed/node/sched.om", |
| 1815 | "seed/node/schedpol-test.om" |
| 1816 | ], |
| 1817 | "issue": "DRA-397", |
| 1818 | "mutate": [ |
| 1819 | "seed/node/sched.om", |
| 1820 | "if eq get scgv 3 get scgv 0\n", |
| 1821 | "if true\n" |
| 1822 | ], |
| 1823 | "why": "P: p3 proposal made stale is used, p3 runs before p2; sjst p3 == 2 fails: 176" |
| 1824 | }, |
| 1825 | { |
| 1826 | "case": "mut397-est-ignored", |
| 1827 | "expect": 181, |
| 1828 | "fragments": [ |
| 1829 | "seed/node/transport.om", |
| 1830 | "seed/node/pool.om", |
| 1831 | "seed/node/super.om", |
| 1832 | "seed/node/sched.om", |
| 1833 | "seed/node/schedpol-test.om" |
| 1834 | ], |
| 1835 | "issue": "DRA-397", |
| 1836 | "mutate": [ |
| 1837 | "seed/node/sched.om", |
| 1838 | "if ne ea eb\nret lt ea eb", |
| 1839 | "if false\nret lt ea eb" |
| 1840 | ], |
| 1841 | "why": "K: equal values, estimate 10 vs 90 not used, older b wins: 181" |
| 1842 | } |
| 1843 | ], |
| 1844 | "issue": "DRA-397", |
| 1845 | "statuses": { |
| 1846 | "DRA-397": "IMPLEMENTED, EXERCISED on native host; not QUALIFIED; not MERGED; not DEPLOYED", |
| 1847 | "expected_exits": "derived from the check site each mutant targets (field why), before the run; DRA-287/288 mutants carry their original derivations", |
| 1848 | "gpu": "NOT_RUN (not involved)" |
| 1849 | } |
| 1850 | }, |
| 1851 | "cases_sha256": "5d9ac5270871cc617b84d8629f1993a5a2b343b450b28d0983ff1a10c20229dd", |
| 1852 | "path": "~/handoffs/hive/sched/bin/receipt.py", |
| 1853 | "sha256": "edf71900d19a79281e14d7ad3db0a7d3265fb74a8ce5b5cb72eb68a97d615b41", |
| 1854 | "source": "#!/usr/bin/env python3\n\"\"\"Run a scheduler-policy case list against a clean omega-mv checkout and\nwrite a content-addressed receipt (evidence/<dir>/receipt.<sha256>.json).\n\nUsage: receipt.py CASES.json REPO OUTDIR_REL [--write]\nRun it under the queen pool lock, e.g.\n flock -o ~/handoffs/hive/queen/pool-8-9.lock taskset -c 8-9 nice -n 10 receipt.py ...\n\nA case: {\"case\", \"issue\", \"fragments\": [paths] | \"gate\": path, \"om2\": bool,\n \"mutate\": [path, old, new] or a list of them (optional; each old must\n occur exactly once in its fragment),\n \"args\": [..], \"expect\": int, \"timeout\": s, \"clean\": [rel dirs removed first],\n \"stdout_has\": [substrings every run must print] (optional),\n \"repeat\": N runs, each must pass (optional, default 1)}.\nThe receipt embeds this script's source and the case list for replay.\nMutants are applied to a disposable copy of the fragment; the checkout is\nnever modified. Verification tooling only: the implementation is the .om.\n\"\"\"\nimport hashlib, json, os, platform, shutil, subprocess, sys, tempfile, time, datetime\n\ndef sh(cmd, cwd, **kw):\n return subprocess.run(cmd, cwd=cwd, capture_output=True, **kw)\n\ndef sha(path):\n h = hashlib.sha256()\n with open(path, 'rb') as f:\n h.update(f.read())\n return h.hexdigest()\n\ndef main():\n cases_path, repo, outrel = sys.argv[1], os.path.abspath(sys.argv[2]), sys.argv[3]\n write = '--write' in sys.argv\n spec = json.load(open(cases_path))\n dirty = sh(['git', 'status', '--porcelain', '--untracked-files=normal'], repo).stdout.decode()\n dirty = [l for l in dirty.splitlines() if not l[3:].startswith('build/')]\n if dirty:\n print('REFUSED: dirty tree\\n' + '\\n'.join(dirty), file=sys.stderr)\n sys.exit(3)\n head = sh(['git', 'rev-parse', 'HEAD'], repo).stdout.decode().strip()\n tree = sh(['git', 'rev-parse', 'HEAD^{tree}'], repo).stdout.decode().strip()\n omc = os.path.join(repo, 'seed/out/omc')\n work = tempfile.mkdtemp(prefix='schedrcpt-')\n files = set()\n results = []\n for c in spec['cases']:\n frags = c.get('fragments') or [c['gate']]\n src = b'om2\\n' if c.get('om2') else b''\n mut = c.get('mutate')\n muts = (mut if mut and isinstance(mut[0], list) else [mut]) if mut else []\n for m in muts:\n if m[0] not in frags:\n print(f'REFUSED: mutant {c[\"case\"]}: {m[0]} is not one of its fragments', file=sys.stderr)\n sys.exit(4)\n for fr in frags:\n files.add(fr)\n data = open(os.path.join(repo, fr), 'rb').read()\n for m in muts:\n if m[0] != fr:\n continue\n old, new = m[1].encode(), m[2].encode()\n n = data.count(old)\n if n != 1:\n print(f'REFUSED: mutant {c[\"case\"]}: pattern occurs {n} times', file=sys.stderr)\n sys.exit(4)\n data = data.replace(old, new)\n src += data\n if c.get('gate') and not mut and c.get('compose'):\n composed = b''.join(open(os.path.join(repo, f), 'rb').read() for f in c['compose'])\n if composed != src:\n print(f'REFUSED: {c[\"gate\"]} is not the concatenation', file=sys.stderr)\n sys.exit(5)\n binp = os.path.join(work, c['case'])\n p = subprocess.run([omc], input=src, capture_output=True)\n with open(binp, 'wb') as f:\n f.write(p.stdout)\n os.chmod(binp, 0o755)\n r = {'case': c['case'], 'issue': c.get('issue'), 'compile_exit': p.returncode,\n 'expected_exit': c['expect'], 'source_sha256': hashlib.sha256(src).hexdigest()}\n if muts:\n ms = [{'file': m[0], 'from': m[1], 'to': m[2]} for m in muts]\n r['mutation'] = ms[0] if len(ms) == 1 else ms\n if p.returncode != 0:\n r.update(run_exit=None, verdict='FAIL', stderr=p.stderr.decode(errors='replace'))\n results.append(r)\n continue\n runs, code, out, err = [], None, b'', b''\n t0 = time.monotonic()\n for n in range(c.get('repeat', 1)):\n for d in c.get('clean', []):\n shutil.rmtree(os.path.join(repo, d), ignore_errors=True)\n try:\n q = subprocess.run([binp] + c.get('args', []), cwd=repo, capture_output=True,\n timeout=c.get('timeout', 120))\n code, out, err = q.returncode, q.stdout, q.stderr\n except subprocess.TimeoutExpired as e:\n code, out, err = 'timeout', e.stdout or b'', e.stderr or b''\n text = out.decode(errors='replace')\n miss = [s for s in c.get('stdout_has', []) if s not in text]\n runs.append({'exit': code, 'missing_stdout': miss})\n ok = all(x['exit'] == c['expect'] and not x['missing_stdout'] for x in runs)\n r.update(run_exit=code, wall_ms=int((time.monotonic() - t0) * 1000),\n stdout=out.decode(errors='replace')[-4000:],\n stderr=err.decode(errors='replace')[-2000:],\n binary_sha256=sha(binp),\n verdict='PASS' if ok else 'FAIL')\n if c.get('stdout_has'):\n r['stdout_has'] = c['stdout_has']\n if len(runs) > 1:\n hist = {}\n for x in runs:\n k = f\"{x['exit']}{'' if not x['missing_stdout'] else ' missing-stdout'}\"\n hist[k] = hist.get(k, 0) + 1\n r['repeat'] = {'runs': len(runs), 'outcomes': hist}\n results.append(r)\n print(f\"{r['verdict']} {c['case']} expect={c['expect']} got={code}\"\n + (f\" runs={r['repeat']['outcomes']}\" if len(runs) > 1 else ''), flush=True)\n shutil.rmtree(work, ignore_errors=True)\n rec = {\n 'project': 'P-DRA-14', 'issue': spec['issue'], 'source_commit': head, 'source_tree': tree,\n 'platform': ' '.join([platform.system(), platform.release(), platform.machine(), platform.node()]),\n 'cpu_affinity': sorted(os.sched_getaffinity(0)),\n 'execution': 'NATIVE Linux AArch64 host CPU (DGX Spark host, no GPU opened)',\n 'timestamp_utc': datetime.datetime.now(datetime.timezone.utc).isoformat(),\n 'compiler': {'path': 'seed/out/omc', 'sha256': sha(omc)},\n 'hashes': {f: sha(os.path.join(repo, f)) for f in sorted(files)},\n 'script': {'path': '~/handoffs/hive/sched/bin/receipt.py', 'sha256': sha(__file__),\n 'source': open(__file__).read(),\n 'cases_sha256': sha(cases_path), 'cases': spec},\n 'statuses': spec.get('statuses', {}),\n 'checks': results,\n 'summary': {'pass': sum(r['verdict'] == 'PASS' for r in results),\n 'fail': sum(r['verdict'] != 'PASS' for r in results)},\n }\n body = (json.dumps(rec, indent=2, sort_keys=True) + '\\n').encode()\n digest = hashlib.sha256(body).hexdigest()\n print(f\"summary pass={rec['summary']['pass']} fail={rec['summary']['fail']} receipt_sha256={digest}\")\n if write:\n d = os.path.join(repo, outrel)\n os.makedirs(d, exist_ok=True)\n path = os.path.join(d, f'receipt.{digest}.json')\n with open(path, 'wb') as f:\n f.write(body)\n print(path)\n else:\n with open(os.path.join(tempfile.gettempdir(), f'sched-receipt-{digest}.json'), 'wb') as f:\n f.write(body)\n sys.exit(0 if rec['summary']['fail'] == 0 else 1)\n\nmain()\n" |
| 1855 | }, |
| 1856 | "source_commit": "a4ae451bf161d929e5d0986c7402ed4545a1afff", |
| 1857 | "source_tree": "f431cf5da52ef99ea6bbbad89cea1f697a0dda58", |
| 1858 | "statuses": { |
| 1859 | "DRA-397": "IMPLEMENTED, EXERCISED on native host; not QUALIFIED; not MERGED; not DEPLOYED", |
| 1860 | "expected_exits": "derived from the check site each mutant targets (field why), before the run; DRA-287/288 mutants carry their original derivations", |
| 1861 | "gpu": "NOT_RUN (not involved)" |
| 1862 | }, |
| 1863 | "summary": { |
| 1864 | "fail": 0, |
| 1865 | "pass": 49 |
| 1866 | }, |
| 1867 | "timestamp_utc": "2026-11-07T06:51:31.483428+00:00" |
| 1868 | } |