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.9a3a88a7975bf4b804d5c994b8426d27f6c531a7478f5789b0e20f3520bb049f.json
| 1 | { |
| 2 | "checks": [ |
| 3 | { |
| 4 | "binary_sha256": "7bbef96d81adab70940debff9ade19e02b2178e4310c91f330d0775710e46f96", |
| 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": "7aed0a96c2610e77fdb195332725c0a59da5d0851ac43e2f072655a94600d293", |
| 17 | "stderr": "", |
| 18 | "stdout": "schedpol events=109 examined=4566 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": 91878 |
| 24 | }, |
| 25 | { |
| 26 | "binary_sha256": "7bbef96d81adab70940debff9ade19e02b2178e4310c91f330d0775710e46f96", |
| 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": "7aed0a96c2610e77fdb195332725c0a59da5d0851ac43e2f072655a94600d293", |
| 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": 14638 |
| 47 | }, |
| 48 | { |
| 49 | "binary_sha256": "7bbef96d81adab70940debff9ade19e02b2178e4310c91f330d0775710e46f96", |
| 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": "7aed0a96c2610e77fdb195332725c0a59da5d0851ac43e2f072655a94600d293", |
| 62 | "stderr": "", |
| 63 | "stdout": "", |
| 64 | "verdict": "PASS", |
| 65 | "wall_ms": 34137 |
| 66 | }, |
| 67 | { |
| 68 | "binary_sha256": "d37f428c8615b94d886827541610659b3df933c36da252dae3b079941f557b5a", |
| 69 | "case": "sched-gate", |
| 70 | "compile_exit": 0, |
| 71 | "expected_exit": 0, |
| 72 | "issue": "DRA-287", |
| 73 | "run_exit": 0, |
| 74 | "source_sha256": "7299e23edf889403474b4d64a5ce6d52bb940a7e8fe87f66830419bb97e90b68", |
| 75 | "stderr": "", |
| 76 | "stdout": "idle ticks workers=0 creator=0 wake rounds=200 mean_us=58 max_us=2696\nPASS node sched\n", |
| 77 | "verdict": "PASS", |
| 78 | "wall_ms": 8007 |
| 79 | }, |
| 80 | { |
| 81 | "binary_sha256": "0ecf6e60c0dc73fa35e5a244daef1e62575ebfef89f5e63c76217d668ec2332b", |
| 82 | "case": "auth-gate", |
| 83 | "compile_exit": 0, |
| 84 | "expected_exit": 0, |
| 85 | "issue": "DRA-288", |
| 86 | "run_exit": 0, |
| 87 | "source_sha256": "e58fe99ff6245ccd5a552d540c901b2225c59ade9e3026071f05838419cf92b0", |
| 88 | "stderr": "", |
| 89 | "stdout": "PASS node authority\n", |
| 90 | "verdict": "PASS", |
| 91 | "wall_ms": 784 |
| 92 | }, |
| 93 | { |
| 94 | "binary_sha256": "1980825341a380b36854ce599ed49849cb19d65d1559a84ff828d414e907878a", |
| 95 | "case": "journal-gate", |
| 96 | "compile_exit": 0, |
| 97 | "expected_exit": 0, |
| 98 | "issue": "DRA-289", |
| 99 | "run_exit": 0, |
| 100 | "source_sha256": "ac4d42add3193d0f011674ed69775f933aa123644343651a24bd40234d051d8b", |
| 101 | "stderr": "", |
| 102 | "stdout": "PASS node journal\n", |
| 103 | "verdict": "PASS", |
| 104 | "wall_ms": 3542 |
| 105 | }, |
| 106 | { |
| 107 | "binary_sha256": "78eed3acffa5bc0d7602cd25cb970f4a00d6dc52170276fa4b868f55e67d5526", |
| 108 | "case": "code-test-unit", |
| 109 | "compile_exit": 0, |
| 110 | "expected_exit": 0, |
| 111 | "issue": "DRA-290", |
| 112 | "run_exit": 0, |
| 113 | "source_sha256": "29423a31d3eaa2bf56d6e7ff61ad255948944e9270fef02ae3cc5c0276f0e7e1", |
| 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": "d9e12bfdbfe3c56d8efe933981756588c3f3a5938e42a2f43734e9d3e86adff4", |
| 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": "fc8b18fb77737f94079f18085d277004a8e15537a09f92b8456b24dd85642b3c", |
| 132 | "stderr": "", |
| 133 | "stdout": "", |
| 134 | "verdict": "PASS", |
| 135 | "wall_ms": 2 |
| 136 | }, |
| 137 | { |
| 138 | "binary_sha256": "8e45b71a46740590045f6d063f47f887d9f3728ee70afe54262d459139768b20", |
| 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": "edcc63ccb6f8357cfd6a74a4848ebb1b04caee5307daa38606951f1198e727e0", |
| 150 | "stderr": "", |
| 151 | "stdout": "", |
| 152 | "verdict": "PASS", |
| 153 | "wall_ms": 415 |
| 154 | }, |
| 155 | { |
| 156 | "binary_sha256": "9a1a7846f0749a2852cd986b4c1dcf55c2acab65fbb15a1b0782205c04785dd2", |
| 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": "31ed4dbf1bea3f76918a4ba252df0ece000b85a8b9e9772769cab49f8a98e7ea", |
| 168 | "stderr": "", |
| 169 | "stdout": "", |
| 170 | "verdict": "PASS", |
| 171 | "wall_ms": 435 |
| 172 | }, |
| 173 | { |
| 174 | "binary_sha256": "f500841de4e4e92ebec28939e042a3a8436bb3c4022e2eae469d4433968b53b6", |
| 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": "2d0d8af8a9895573e7ce51f59f8429c7fd2e393b49bdc26d84c7c8476d5418bb", |
| 186 | "stderr": "", |
| 187 | "stdout": "", |
| 188 | "verdict": "PASS", |
| 189 | "wall_ms": 1014 |
| 190 | }, |
| 191 | { |
| 192 | "binary_sha256": "e8ac2eeddd941bc2f213fd5e10c4f670d9a53b2405e439751bf549885afeb29e", |
| 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": "341d60bbead0d9477deddbbb182ce3957fe23cce7607b132f5c7f266ff44fd92", |
| 204 | "stderr": "", |
| 205 | "stdout": "", |
| 206 | "verdict": "PASS", |
| 207 | "wall_ms": 896 |
| 208 | }, |
| 209 | { |
| 210 | "binary_sha256": "0e055bfb0282db95142a22a68aab8106ca71f11e679e3b9286f4c2047e5ce2b9", |
| 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": "07f213dbb9e2a92c673ee394fca8df95ac4042be0f33bbe2b9f0861f8c05c0ce", |
| 222 | "stderr": "", |
| 223 | "stdout": "", |
| 224 | "verdict": "PASS", |
| 225 | "wall_ms": 11 |
| 226 | }, |
| 227 | { |
| 228 | "binary_sha256": "c5208033de0717da9ae0d4bb52e829aa9924dd1e3cca411e5abecdc8539fdf0a", |
| 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": "84a237a0eda6a6fc760949fffde54342e774c9ffb399b5396adbb3ad3428dacb", |
| 240 | "stderr": "", |
| 241 | "stdout": "", |
| 242 | "verdict": "PASS", |
| 243 | "wall_ms": 12 |
| 244 | }, |
| 245 | { |
| 246 | "binary_sha256": "343355f0dbe01e7227f44ace7ae0a442017037fce6fa77d366638ed3db3b747a", |
| 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": "fe7f919e40bd62c6660098cc0381d667d1d864011cff3500af5ab044e0d56d7f", |
| 258 | "stderr": "", |
| 259 | "stdout": "", |
| 260 | "verdict": "PASS", |
| 261 | "wall_ms": 603 |
| 262 | }, |
| 263 | { |
| 264 | "binary_sha256": "a517eafcb92bf1173c6d34f6647fd209a2b1ddbc781bf556f9ceda44bfad99db", |
| 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": "44c1b3ff07b268c4d652e0c631b0c40c4b3fa26567652f9d985bb6f7aac42ceb", |
| 276 | "stderr": "", |
| 277 | "stdout": "", |
| 278 | "verdict": "PASS", |
| 279 | "wall_ms": 6324 |
| 280 | }, |
| 281 | { |
| 282 | "binary_sha256": "c88c67e4f53603660e77a6ec1ec7da649a249b568115188f74e154eba1b8803b", |
| 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": "737336f80ef6f120cfa8b0ef986b375dcd6ac6921a4075cd1e2e33348c37e2f2", |
| 294 | "stderr": "", |
| 295 | "stdout": "", |
| 296 | "verdict": "PASS", |
| 297 | "wall_ms": 3365 |
| 298 | }, |
| 299 | { |
| 300 | "binary_sha256": "76607b85dc37469da5daa894d85bc42a1ea94b68d045e5e2f47999ae008e2624", |
| 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": "3fb3e43dc87ed17382994301a4421ab0f49b75d07de1d709a1251dd91157dff9", |
| 312 | "stderr": "", |
| 313 | "stdout": "", |
| 314 | "verdict": "PASS", |
| 315 | "wall_ms": 2842 |
| 316 | }, |
| 317 | { |
| 318 | "binary_sha256": "cea3dffe61dc049f2f6684e825140a6b1fd9be4eac54ad6d30062f57bf810013", |
| 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": "63c96332b2f3144c2b41ba7593496c51a7c623577c7601e48627cb45cab6b573", |
| 330 | "stderr": "", |
| 331 | "stdout": "", |
| 332 | "verdict": "PASS", |
| 333 | "wall_ms": 6777 |
| 334 | }, |
| 335 | { |
| 336 | "binary_sha256": "4f584ab26c34690b4541ea3882addff5235bb87b34d9e3dad141a06dbff70901", |
| 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": "233c4f6d41c93a64244d0b99227b6aca38da8a3338f0032fab785a01618c1a96", |
| 348 | "stderr": "", |
| 349 | "stdout": "", |
| 350 | "verdict": "PASS", |
| 351 | "wall_ms": 5289 |
| 352 | }, |
| 353 | { |
| 354 | "binary_sha256": "e31c05ebde372a7c71709d5bb0043ad7126cd0d188f1f91d140f0c1e912826ed", |
| 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": "1698266e3a78ce8ce85bda8a9bf71ec313142479d02f0782232059962c93712b", |
| 366 | "stderr": "", |
| 367 | "stdout": "", |
| 368 | "verdict": "PASS", |
| 369 | "wall_ms": 3422 |
| 370 | }, |
| 371 | { |
| 372 | "binary_sha256": "7d5cbc2c4e1b1cf6e52c7c619ecac317055c04b0079de815d57f1bb08b6372ca", |
| 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": "cb8b80d9d48250304ef46e0367d17cdcbf6f76a6eb938e27d91702a2100f7af5", |
| 384 | "stderr": "", |
| 385 | "stdout": "", |
| 386 | "verdict": "PASS", |
| 387 | "wall_ms": 2212 |
| 388 | }, |
| 389 | { |
| 390 | "binary_sha256": "b61aea9c8c594817df4adfa29cb7e6c67742606b30ca617f66ed463fd5b5dc56", |
| 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": "b6d4ed33ef7560b4f56213c2639d344af7770c67f8597772e5644d97d3d506c0", |
| 402 | "stderr": "", |
| 403 | "stdout": "", |
| 404 | "verdict": "PASS", |
| 405 | "wall_ms": 746 |
| 406 | }, |
| 407 | { |
| 408 | "binary_sha256": "df916a4a6862bcd454848b00c39d58809801cdb9dbeaa827b7b075c6d3f73c0a", |
| 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": "48c72496bdd3dededdef2b7f2f7bae13a62a9891af727fc96fc46c7a33eedb7e", |
| 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": 7201 |
| 424 | }, |
| 425 | { |
| 426 | "binary_sha256": "37ba5f9fdc0a8d779ddb7f790a4216170eb9985210b0c180173b2c0c7f60b5d7", |
| 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": "edbfd3a9d3e7d511854178818b065caea85889b63ff68b3a8886b74966a8bdf5", |
| 438 | "stderr": "", |
| 439 | "stdout": "schedpol events=109 examined=4566 assigned=10 hol_stops=0 bypasses=4 reservations=1\n", |
| 440 | "verdict": "PASS", |
| 441 | "wall_ms": 4330 |
| 442 | }, |
| 443 | { |
| 444 | "binary_sha256": "d00e482a996a40967d33fbf790acd8a176004455f2e51942f162183f5f747d4f", |
| 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": "1f86a3808fe67cb66c013e546636323f9a2ae2ae34cbf9dde56efd92806695ca", |
| 456 | "stderr": "", |
| 457 | "stdout": "", |
| 458 | "verdict": "PASS", |
| 459 | "wall_ms": 6825 |
| 460 | }, |
| 461 | { |
| 462 | "binary_sha256": "8858afb0cbfb31f0e41bdf9f9d21de65f5240c242ad769ef7d3a843b902d21b9", |
| 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": "759546473b5b2003d4f341338996c8237db54f994bff6920af036f726952b700", |
| 474 | "stderr": "", |
| 475 | "stdout": "", |
| 476 | "verdict": "PASS", |
| 477 | "wall_ms": 6843 |
| 478 | }, |
| 479 | { |
| 480 | "binary_sha256": "13a7dbbb80299b8af5cecb73e8595d6ab39aaec744b56e213ad41a4bab8bfc4e", |
| 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": "fe4a13beef1cc59673770313b6ecfce60c485617183dbec1ccd8b4a8dcf35776", |
| 492 | "stderr": "", |
| 493 | "stdout": "schedpol events=111 examined=4631 assigned=10 hol_stops=0 bypasses=4 reservations=1\n", |
| 494 | "verdict": "PASS", |
| 495 | "wall_ms": 7769 |
| 496 | }, |
| 497 | { |
| 498 | "binary_sha256": "5a553cc426ea5c151b6b17ea915c5c9d206922f8ec9c92840f850a826d8b374a", |
| 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\nif eq get scpol 5 add j 1\nput scpol 5 0\nend\n", |
| 506 | "to": "put sjst j 0\n" |
| 507 | }, |
| 508 | "run_exit": 94, |
| 509 | "source_sha256": "0d855bfc3600c39bb77ea3254f1503c876f3a10ce05a6438ba1cbb4a01690d8b", |
| 510 | "stderr": "", |
| 511 | "stdout": "schedpol events=108 examined=4502 assigned=10 hol_stops=0 bypasses=4 reservations=1\n", |
| 512 | "verdict": "PASS", |
| 513 | "wall_ms": 6603 |
| 514 | }, |
| 515 | { |
| 516 | "binary_sha256": "7cf4dde9ad2f6d44e02cfb9e7bb66a1bd3995eb5d57c3125674ec1cd41c4e829", |
| 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": "26d931f66a62b4efedc01e930664378d25cdf0f7fb83462ba085e43d4075e483", |
| 528 | "stderr": "", |
| 529 | "stdout": "schedpol events=109 examined=4566 assigned=10 hol_stops=0 bypasses=4 reservations=1\n", |
| 530 | "verdict": "PASS", |
| 531 | "wall_ms": 7220 |
| 532 | }, |
| 533 | { |
| 534 | "binary_sha256": "06e754229d41cdb15ea9d0bcf38389c00e42bb7234bf1c5977c8fc73a91e6365", |
| 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": "0bbe3c13e40204bd9cd317e3e2f597e034ead690dee705411e9f048f39faf3e1", |
| 546 | "stderr": "", |
| 547 | "stdout": "schedpol events=109 examined=4567 assigned=10 hol_stops=0 bypasses=4 reservations=1\n", |
| 548 | "verdict": "PASS", |
| 549 | "wall_ms": 5059 |
| 550 | }, |
| 551 | { |
| 552 | "binary_sha256": "1e621b09a505bdc8e42f6edc921a649fb2d0ca0df01d95c9c9e7ada37858d5e9", |
| 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": "52cf5539d49893ec5af0dddd8d49861da8577eb10694e29934d6aff27b85a25d", |
| 564 | "stderr": "", |
| 565 | "stdout": "", |
| 566 | "verdict": "PASS", |
| 567 | "wall_ms": 12 |
| 568 | }, |
| 569 | { |
| 570 | "binary_sha256": "77ed633fb94921c848272c117f6a226d11adcb9ace82f7f9c6adcf403e2e4406", |
| 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": "1b12a01326c90e8b0bd3351b23f3ba344d495eb83b9808fc5df3538b46a1c0c8", |
| 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": 8194 |
| 586 | }, |
| 587 | { |
| 588 | "binary_sha256": "d937557f46b90382da3d43090366e249f69b5a251dac0f85571ac6d8b94e6782", |
| 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": "173f1eec7e23133b82836c839b1c1ee647a62dd9a21409c2d34450a9b11a19b1", |
| 600 | "stderr": "", |
| 601 | "stdout": "schedpol events=109 examined=4566 assigned=10 hol_stops=0 bypasses=4 reservations=1\n", |
| 602 | "verdict": "PASS", |
| 603 | "wall_ms": 8400 |
| 604 | }, |
| 605 | { |
| 606 | "binary_sha256": "672876bd57721a1e930506c5055a1b277b8c132d262bf7f15093288944918adb", |
| 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": "05461b76f43b13ec668463983082ad6733b34d059841cf64c353aba747d48d90", |
| 618 | "stderr": "", |
| 619 | "stdout": "schedpol events=108 examined=4502 assigned=10 hol_stops=0 bypasses=4 reservations=1\n", |
| 620 | "verdict": "PASS", |
| 621 | "wall_ms": 5877 |
| 622 | }, |
| 623 | { |
| 624 | "binary_sha256": "9605ff8ee3087a00da049242f0bb1f8f76ee11b0f4e47df0a61d00513d591d19", |
| 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": "e1dc14bc7a8d49331e159501ca30f9af42ff4a4af6522b130647a5cd68d0d110", |
| 636 | "stderr": "", |
| 637 | "stdout": "", |
| 638 | "verdict": "PASS", |
| 639 | "wall_ms": 3348 |
| 640 | }, |
| 641 | { |
| 642 | "binary_sha256": "cb49d3a5ebe7318620189d5de74a6c8880905bba0bcd948bf0a694894fb57355", |
| 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": "19ef1e174911c83175856430e04986276f2529a73827594ae1aef4b45303eeb7", |
| 654 | "stderr": "", |
| 655 | "stdout": "", |
| 656 | "verdict": "PASS", |
| 657 | "wall_ms": 3340 |
| 658 | } |
| 659 | ], |
| 660 | "compiler": { |
| 661 | "path": "seed/out/omc", |
| 662 | "sha256": "5f90edea61bac241398df5036990d899361a5acd9decb37954ce088ec0f6f6df" |
| 663 | }, |
| 664 | "cpu_affinity": [ |
| 665 | 10, |
| 666 | 11 |
| 667 | ], |
| 668 | "execution": "NATIVE Linux AArch64 host CPU (DGX Spark host, no GPU opened)", |
| 669 | "hashes": { |
| 670 | "seed/authority/action.om": "59cb9c3dfdcd9193bc4a272deda4fcd256a0d7693f3bcb58bc4e30ed78faab2b", |
| 671 | "seed/node/auth-gate.om": "e58fe99ff6245ccd5a552d540c901b2225c59ade9e3026071f05838419cf92b0", |
| 672 | "seed/node/auth-test.om": "af66c87f83d73a5bdbaf181378eb69bb0645a86fe9b39de2f1b714041fbc20b8", |
| 673 | "seed/node/auth.om": "edf2f075d3751a8025363bc658252537f865dfc29f975fcf5d93c353b3282b30", |
| 674 | "seed/node/code-test.om": "df87a21e31f38d85ab9145af3fb18bafc52144a20aed0d9fbad60f6059ddacd0", |
| 675 | "seed/node/code.om": "aa9f8463fbe9534626c205e991e3a2170a25cbf91a106932ec399353583c0bf7", |
| 676 | "seed/node/gram.om": "ebba1f4c693f218969dc2f17eb680760977d38d694ac76db477853aefa64b291", |
| 677 | "seed/node/journal-gate.om": "ac4d42add3193d0f011674ed69775f933aa123644343651a24bd40234d051d8b", |
| 678 | "seed/node/journal-test.om": "2dfd1c1604503116c45f562d70f7f78f90223d9cf0ec92b2de756834ee5921ba", |
| 679 | "seed/node/journal.om": "b8f970d02b3f752d217f61b601817d5abc5a8c22fd2288544af15a18f628feac", |
| 680 | "seed/node/pool.om": "e7fba928bdc5c4194e7aee42109265de4f172d2b197946133d788b2dbcb30ccc", |
| 681 | "seed/node/sched-gate.om": "7299e23edf889403474b4d64a5ce6d52bb940a7e8fe87f66830419bb97e90b68", |
| 682 | "seed/node/sched-test.om": "29a3587d35a217403c63395eb2b11b4992727812af66512be3e452ea6381a545", |
| 683 | "seed/node/sched.om": "2621d47aa45b1d20878cdbb7bab28f0d81166e2a5d75f5a9d7aac52a46fc8774", |
| 684 | "seed/node/schedpol-gate.om": "7aed0a96c2610e77fdb195332725c0a59da5d0851ac43e2f072655a94600d293", |
| 685 | "seed/node/schedpol-test.om": "d2b25195fc3b839168be21bcccf2a429edd8c5cc86fc797647774de36db6de79", |
| 686 | "seed/node/super.om": "d104ac8116c6df57fdc93f03791d7315e5b60875d8d6177480ef9967b6f53d5a", |
| 687 | "seed/node/transport.om": "d0dd69ef5e0b71294a2390b3526865d62ca07accd269b9ce57a028339e34f6da" |
| 688 | }, |
| 689 | "issue": "DRA-396", |
| 690 | "platform": "Linux 7.0.0-1019-nvidia aarch64 spark-b87b", |
| 691 | "project": "P-DRA-14", |
| 692 | "script": { |
| 693 | "cases": { |
| 694 | "cases": [ |
| 695 | { |
| 696 | "case": "schedpol-gate", |
| 697 | "compose": [ |
| 698 | "seed/node/transport.om", |
| 699 | "seed/node/pool.om", |
| 700 | "seed/node/super.om", |
| 701 | "seed/node/sched.om", |
| 702 | "seed/node/schedpol-test.om" |
| 703 | ], |
| 704 | "expect": 0, |
| 705 | "gate": "seed/node/schedpol-gate.om", |
| 706 | "issue": "DRA-395", |
| 707 | "repeat": 10, |
| 708 | "stdout_has": [ |
| 709 | "PASS node schedpol" |
| 710 | ], |
| 711 | "timeout": 120 |
| 712 | }, |
| 713 | { |
| 714 | "args": [ |
| 715 | "fifo" |
| 716 | ], |
| 717 | "case": "schedpol-gate-fifo", |
| 718 | "compose": [ |
| 719 | "seed/node/transport.om", |
| 720 | "seed/node/pool.om", |
| 721 | "seed/node/super.om", |
| 722 | "seed/node/sched.om", |
| 723 | "seed/node/schedpol-test.om" |
| 724 | ], |
| 725 | "expect": 11, |
| 726 | "gate": "seed/node/schedpol-gate.om", |
| 727 | "issue": "DRA-396", |
| 728 | "repeat": 5, |
| 729 | "stdout_has": [ |
| 730 | "schedpol hol witness head=20050 fits_behind=30050 free_cpu=1 idle_worker=1", |
| 731 | "schedpol hol witness head=20050 fits_behind=50050 free_cpu=1 idle_worker=1" |
| 732 | ], |
| 733 | "timeout": 120 |
| 734 | }, |
| 735 | { |
| 736 | "args": [ |
| 737 | "noreserve" |
| 738 | ], |
| 739 | "case": "schedpol-gate-noreserve", |
| 740 | "compose": [ |
| 741 | "seed/node/transport.om", |
| 742 | "seed/node/pool.om", |
| 743 | "seed/node/super.om", |
| 744 | "seed/node/sched.om", |
| 745 | "seed/node/schedpol-test.om" |
| 746 | ], |
| 747 | "expect": 61, |
| 748 | "gate": "seed/node/schedpol-gate.om", |
| 749 | "issue": "DRA-396", |
| 750 | "repeat": 5, |
| 751 | "timeout": 120 |
| 752 | }, |
| 753 | { |
| 754 | "case": "sched-gate", |
| 755 | "compose": [ |
| 756 | "seed/node/transport.om", |
| 757 | "seed/node/pool.om", |
| 758 | "seed/node/super.om", |
| 759 | "seed/node/sched.om", |
| 760 | "seed/node/sched-test.om" |
| 761 | ], |
| 762 | "expect": 0, |
| 763 | "gate": "seed/node/sched-gate.om", |
| 764 | "issue": "DRA-287" |
| 765 | }, |
| 766 | { |
| 767 | "case": "auth-gate", |
| 768 | "compose": [ |
| 769 | "seed/node/transport.om", |
| 770 | "seed/node/pool.om", |
| 771 | "seed/node/super.om", |
| 772 | "seed/node/sched.om", |
| 773 | "seed/authority/action.om", |
| 774 | "seed/node/journal.om", |
| 775 | "seed/node/auth.om", |
| 776 | "seed/node/auth-test.om" |
| 777 | ], |
| 778 | "expect": 0, |
| 779 | "gate": "seed/node/auth-gate.om", |
| 780 | "issue": "DRA-288" |
| 781 | }, |
| 782 | { |
| 783 | "case": "journal-gate", |
| 784 | "clean": [ |
| 785 | "build/node/jt" |
| 786 | ], |
| 787 | "compose": [ |
| 788 | "seed/node/transport.om", |
| 789 | "seed/node/pool.om", |
| 790 | "seed/node/super.om", |
| 791 | "seed/node/sched.om", |
| 792 | "seed/authority/action.om", |
| 793 | "seed/node/journal.om", |
| 794 | "seed/node/auth.om", |
| 795 | "seed/node/journal-test.om" |
| 796 | ], |
| 797 | "expect": 0, |
| 798 | "gate": "seed/node/journal-gate.om", |
| 799 | "issue": "DRA-289" |
| 800 | }, |
| 801 | { |
| 802 | "args": [ |
| 803 | "unit", |
| 804 | "build/node/cu" |
| 805 | ], |
| 806 | "case": "code-test-unit", |
| 807 | "clean": [ |
| 808 | "build/node/cu" |
| 809 | ], |
| 810 | "expect": 0, |
| 811 | "fragments": [ |
| 812 | "seed/node/transport.om", |
| 813 | "seed/node/pool.om", |
| 814 | "seed/node/super.om", |
| 815 | "seed/node/sched.om", |
| 816 | "seed/authority/action.om", |
| 817 | "seed/node/journal.om", |
| 818 | "seed/node/auth.om", |
| 819 | "seed/node/gram.om", |
| 820 | "seed/node/code.om", |
| 821 | "seed/node/code-test.om" |
| 822 | ], |
| 823 | "issue": "DRA-290", |
| 824 | "om2": true |
| 825 | }, |
| 826 | { |
| 827 | "case": "mut-impossible-admitted", |
| 828 | "expect": 31, |
| 829 | "fragments": [ |
| 830 | "seed/node/transport.om", |
| 831 | "seed/node/pool.om", |
| 832 | "seed/node/super.om", |
| 833 | "seed/node/sched.om", |
| 834 | "seed/node/schedpol-test.om" |
| 835 | ], |
| 836 | "issue": "DRA-395", |
| 837 | "mutate": [ |
| 838 | "seed/node/sched.om", |
| 839 | "if not sp_feas req\n", |
| 840 | "if false\n" |
| 841 | ], |
| 842 | "why": "C: impossible request admitted; check sched_admitr == -8 code 31" |
| 843 | }, |
| 844 | { |
| 845 | "case": "mut-collect-no-release", |
| 846 | "expect": 133, |
| 847 | "fragments": [ |
| 848 | "seed/node/transport.om", |
| 849 | "seed/node/pool.om", |
| 850 | "seed/node/super.om", |
| 851 | "seed/node/sched.om", |
| 852 | "seed/node/schedpol-test.om" |
| 853 | ], |
| 854 | "issue": "DRA-395", |
| 855 | "mutate": [ |
| 856 | "seed/node/sched.om", |
| 857 | "j = sub b 1\nsp_give j\n", |
| 858 | "j = sub b 1\n" |
| 859 | ], |
| 860 | "why": "C: jobs reviewed still hold; pt_inv in pt_drain code 133" |
| 861 | }, |
| 862 | { |
| 863 | "case": "mut-capacity-ignored", |
| 864 | "expect": 44, |
| 865 | "fragments": [ |
| 866 | "seed/node/transport.om", |
| 867 | "seed/node/pool.om", |
| 868 | "seed/node/super.om", |
| 869 | "seed/node/sched.om", |
| 870 | "seed/node/schedpol-test.om" |
| 871 | ], |
| 872 | "issue": "DRA-395", |
| 873 | "mutate": [ |
| 874 | "seed/node/sched.om", |
| 875 | "if gt sp_need req k a\n", |
| 876 | "if false\n" |
| 877 | ], |
| 878 | "why": "D: use exceeds capacity; pt_inv in pt_drain code 44" |
| 879 | }, |
| 880 | { |
| 881 | "args": [ |
| 882 | "fifo" |
| 883 | ], |
| 884 | "case": "mut-ready-unstamped", |
| 885 | "expect": 54, |
| 886 | "fragments": [ |
| 887 | "seed/node/transport.om", |
| 888 | "seed/node/pool.om", |
| 889 | "seed/node/super.om", |
| 890 | "seed/node/sched.om", |
| 891 | "seed/node/schedpol-test.om" |
| 892 | ], |
| 893 | "issue": "DRA-395", |
| 894 | "mutate": [ |
| 895 | "seed/node/sched.om", |
| 896 | "if ne and get sjdep j topics 0\nsp_ready j\n", |
| 897 | "if ne and get sjdep j topics 0\nput sjst j 2\n" |
| 898 | ], |
| 899 | "why": "F under fifo: ready order wrong, y not first; code 54" |
| 900 | }, |
| 901 | { |
| 902 | "case": "mut-give-after-review", |
| 903 | "expect": 122, |
| 904 | "fragments": [ |
| 905 | "seed/node/transport.om", |
| 906 | "seed/node/pool.om", |
| 907 | "seed/node/super.om", |
| 908 | "seed/node/sched.om", |
| 909 | "seed/node/schedpol-test.om" |
| 910 | ], |
| 911 | "issue": "DRA-395", |
| 912 | "mutate": [ |
| 913 | "seed/node/sched.om", |
| 914 | "j = sub b 1\nsp_give j\nif ge sched_count 4 4 get sclim 1\ncontinue\nend\n", |
| 915 | "j = sub b 1\nif ge sched_count 4 4 get sclim 1\ncontinue\nend\nsp_give j\n" |
| 916 | ], |
| 917 | "why": "V: second CPU not released while review full; suse==0 code 122" |
| 918 | }, |
| 919 | { |
| 920 | "case": "mut-no-take", |
| 921 | "expect": 130, |
| 922 | "fragments": [ |
| 923 | "seed/node/transport.om", |
| 924 | "seed/node/pool.om", |
| 925 | "seed/node/super.om", |
| 926 | "seed/node/sched.om", |
| 927 | "seed/node/schedpol-test.om" |
| 928 | ], |
| 929 | "issue": "DRA-395", |
| 930 | "mutate": [ |
| 931 | "seed/node/sched.om", |
| 932 | "end\nsp_take j\nif eq get scpol 5 add j 1\n", |
| 933 | "end\nif eq get scpol 5 add j 1\n" |
| 934 | ], |
| 935 | "why": "C: running unfinished job holds nothing; pt_inv in pt_until code 130" |
| 936 | }, |
| 937 | { |
| 938 | "case": "mut-cap-below-use", |
| 939 | "expect": 131, |
| 940 | "fragments": [ |
| 941 | "seed/node/transport.om", |
| 942 | "seed/node/pool.om", |
| 943 | "seed/node/super.om", |
| 944 | "seed/node/sched.om", |
| 945 | "seed/node/schedpol-test.om" |
| 946 | ], |
| 947 | "issue": "DRA-395", |
| 948 | "mutate": [ |
| 949 | "seed/node/sched.om", |
| 950 | "if lt sp_need caps k get suse k\n", |
| 951 | "if false\n" |
| 952 | ], |
| 953 | "why": "C: sched_cap below use accepted; == -8 code 131" |
| 954 | }, |
| 955 | { |
| 956 | "case": "mut287-wake-all", |
| 957 | "expect": 16, |
| 958 | "fragments": [ |
| 959 | "seed/node/transport.om", |
| 960 | "seed/node/pool.om", |
| 961 | "seed/node/super.om", |
| 962 | "seed/node/sched.om", |
| 963 | "seed/node/sched-test.om" |
| 964 | ], |
| 965 | "issue": "DRA-287", |
| 966 | "mutate": [ |
| 967 | "seed/node/sched.om", |
| 968 | "if ne and sc_cell w 32 topics 0\n", |
| 969 | "if true\n" |
| 970 | ] |
| 971 | }, |
| 972 | { |
| 973 | "case": "mut287-no-wake", |
| 974 | "expect": 34, |
| 975 | "fragments": [ |
| 976 | "seed/node/transport.om", |
| 977 | "seed/node/pool.om", |
| 978 | "seed/node/super.om", |
| 979 | "seed/node/sched.om", |
| 980 | "seed/node/sched-test.om" |
| 981 | ], |
| 982 | "issue": "DRA-287", |
| 983 | "mutate": [ |
| 984 | "seed/node/sched.om", |
| 985 | "sc_set w 0 q\nsc_wake w\n", |
| 986 | "sc_set w 0 q\n" |
| 987 | ] |
| 988 | }, |
| 989 | { |
| 990 | "case": "mut287-review-unbounded", |
| 991 | "expect": 50, |
| 992 | "fragments": [ |
| 993 | "seed/node/transport.om", |
| 994 | "seed/node/pool.om", |
| 995 | "seed/node/super.om", |
| 996 | "seed/node/sched.om", |
| 997 | "seed/node/sched-test.om" |
| 998 | ], |
| 999 | "issue": "DRA-287", |
| 1000 | "mutate": [ |
| 1001 | "seed/node/sched.om", |
| 1002 | "if ge sched_count 4 4 get sclim 1\n", |
| 1003 | "if false\n" |
| 1004 | ] |
| 1005 | }, |
| 1006 | { |
| 1007 | "case": "mut287-admit-unbounded", |
| 1008 | "expect": 48, |
| 1009 | "fragments": [ |
| 1010 | "seed/node/transport.om", |
| 1011 | "seed/node/pool.om", |
| 1012 | "seed/node/super.om", |
| 1013 | "seed/node/sched.om", |
| 1014 | "seed/node/sched-test.om" |
| 1015 | ], |
| 1016 | "issue": "DRA-287", |
| 1017 | "mutate": [ |
| 1018 | "seed/node/sched.om", |
| 1019 | "room = ulong 0\nif lt a get sclim 0\nroom = sub get sclim 0 a\nend\n", |
| 1020 | "room = ulong 64\n" |
| 1021 | ], |
| 1022 | "why": "DRA-287 sched-gate admission-limit check: headroom ignored, admissions beyond the limit; 48 (pattern moved with the DRA-396 room rewrite)" |
| 1023 | }, |
| 1024 | { |
| 1025 | "case": "mut287-unknown-rerun", |
| 1026 | "expect": 83, |
| 1027 | "fragments": [ |
| 1028 | "seed/node/transport.om", |
| 1029 | "seed/node/pool.om", |
| 1030 | "seed/node/super.om", |
| 1031 | "seed/node/sched.om", |
| 1032 | "seed/node/sched-test.om" |
| 1033 | ], |
| 1034 | "issue": "DRA-287", |
| 1035 | "mutate": [ |
| 1036 | "seed/node/sched.om", |
| 1037 | "put sjst j 6\n", |
| 1038 | "put sjst j 2\n" |
| 1039 | ] |
| 1040 | }, |
| 1041 | { |
| 1042 | "case": "mut287-lost-no-ack", |
| 1043 | "expect": 92, |
| 1044 | "fragments": [ |
| 1045 | "seed/node/transport.om", |
| 1046 | "seed/node/pool.om", |
| 1047 | "seed/node/super.om", |
| 1048 | "seed/node/sched.om", |
| 1049 | "seed/node/sched-test.om" |
| 1050 | ], |
| 1051 | "issue": "DRA-287", |
| 1052 | "mutate": [ |
| 1053 | "seed/node/sched.om", |
| 1054 | "sc_set w 64 get scseq w\n", |
| 1055 | "" |
| 1056 | ] |
| 1057 | }, |
| 1058 | { |
| 1059 | "case": "mut287-deps-ignored", |
| 1060 | "expect": 68, |
| 1061 | "fragments": [ |
| 1062 | "seed/node/transport.om", |
| 1063 | "seed/node/pool.om", |
| 1064 | "seed/node/super.om", |
| 1065 | "seed/node/sched.om", |
| 1066 | "seed/node/sched-test.om" |
| 1067 | ], |
| 1068 | "issue": "DRA-287", |
| 1069 | "mutate": [ |
| 1070 | "seed/node/sched.om", |
| 1071 | "put sjst j 1\n", |
| 1072 | "put sjst j 2\n" |
| 1073 | ] |
| 1074 | }, |
| 1075 | { |
| 1076 | "args": [ |
| 1077 | "idle" |
| 1078 | ], |
| 1079 | "case": "mut287-super-spin", |
| 1080 | "expect": 138, |
| 1081 | "fragments": [ |
| 1082 | "seed/node/transport.om", |
| 1083 | "seed/node/pool.om", |
| 1084 | "seed/node/super.om", |
| 1085 | "seed/node/sched.om", |
| 1086 | "seed/node/sched-test.om" |
| 1087 | ], |
| 1088 | "issue": "DRA-287", |
| 1089 | "mutate": [ |
| 1090 | "seed/node/super.om", |
| 1091 | "iv = interval\n", |
| 1092 | "iv = long 0\n" |
| 1093 | ] |
| 1094 | }, |
| 1095 | { |
| 1096 | "case": "mut288-pause-ignored", |
| 1097 | "expect": 121, |
| 1098 | "fragments": [ |
| 1099 | "seed/node/transport.om", |
| 1100 | "seed/node/pool.om", |
| 1101 | "seed/node/super.om", |
| 1102 | "seed/node/sched.om", |
| 1103 | "seed/authority/action.om", |
| 1104 | "seed/node/journal.om", |
| 1105 | "seed/node/auth.om", |
| 1106 | "seed/node/auth-test.om" |
| 1107 | ], |
| 1108 | "issue": "DRA-288", |
| 1109 | "mutate": [ |
| 1110 | "seed/node/sched.om", |
| 1111 | "if ne get scpause 0 0\n", |
| 1112 | "if false\n" |
| 1113 | ] |
| 1114 | }, |
| 1115 | { |
| 1116 | "case": "mut396-cursor-stuck", |
| 1117 | "expect": 15, |
| 1118 | "fragments": [ |
| 1119 | "seed/node/transport.om", |
| 1120 | "seed/node/pool.om", |
| 1121 | "seed/node/super.om", |
| 1122 | "seed/node/sched.om", |
| 1123 | "seed/node/schedpol-test.om" |
| 1124 | ], |
| 1125 | "issue": "DRA-396", |
| 1126 | "mutate": [ |
| 1127 | "seed/node/sched.om", |
| 1128 | "put scpol 4 rem add cur win 64\n", |
| 1129 | "" |
| 1130 | ], |
| 1131 | "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" |
| 1132 | }, |
| 1133 | { |
| 1134 | "case": "mut396-tickets-ignored", |
| 1135 | "expect": 75, |
| 1136 | "fragments": [ |
| 1137 | "seed/node/transport.om", |
| 1138 | "seed/node/pool.om", |
| 1139 | "seed/node/super.om", |
| 1140 | "seed/node/sched.om", |
| 1141 | "seed/node/schedpol-test.om" |
| 1142 | ], |
| 1143 | "issue": "DRA-396", |
| 1144 | "mutate": [ |
| 1145 | "seed/node/sched.om", |
| 1146 | "if eq get scpol 6 0\nret true\n", |
| 1147 | "if true\nret true\n" |
| 1148 | ], |
| 1149 | "why": "Q: with room, Y asking before ticket holder X is admitted; code 75" |
| 1150 | }, |
| 1151 | { |
| 1152 | "case": "mut396-no-holdback", |
| 1153 | "expect": 61, |
| 1154 | "fragments": [ |
| 1155 | "seed/node/transport.om", |
| 1156 | "seed/node/pool.om", |
| 1157 | "seed/node/super.om", |
| 1158 | "seed/node/sched.om", |
| 1159 | "seed/node/schedpol-test.om" |
| 1160 | ], |
| 1161 | "issue": "DRA-396", |
| 1162 | "mutate": [ |
| 1163 | "seed/node/sched.om", |
| 1164 | "rq = get sjneed rj\n", |
| 1165 | "rq = ulong 0\n" |
| 1166 | ], |
| 1167 | "why": "S: smalls refill freed CPU, big never runs; first check code 61" |
| 1168 | }, |
| 1169 | { |
| 1170 | "case": "mut396-never-reserve", |
| 1171 | "expect": 61, |
| 1172 | "fragments": [ |
| 1173 | "seed/node/transport.om", |
| 1174 | "seed/node/pool.om", |
| 1175 | "seed/node/super.om", |
| 1176 | "seed/node/sched.om", |
| 1177 | "seed/node/schedpol-test.om" |
| 1178 | ], |
| 1179 | "issue": "DRA-396", |
| 1180 | "mutate": [ |
| 1181 | "seed/node/sched.om", |
| 1182 | "put scpol 5 add o 1\n", |
| 1183 | "" |
| 1184 | ], |
| 1185 | "why": "S: no reservation, big never runs; first check code 61" |
| 1186 | }, |
| 1187 | { |
| 1188 | "case": "mut396-lease-never", |
| 1189 | "expect": 82, |
| 1190 | "fragments": [ |
| 1191 | "seed/node/transport.om", |
| 1192 | "seed/node/pool.om", |
| 1193 | "seed/node/super.om", |
| 1194 | "seed/node/sched.om", |
| 1195 | "seed/node/schedpol-test.om" |
| 1196 | ], |
| 1197 | "issue": "DRA-396", |
| 1198 | "mutate": [ |
| 1199 | "seed/node/sched.om", |
| 1200 | "if ge now d\n", |
| 1201 | "if false\n" |
| 1202 | ], |
| 1203 | "why": "L: sched_overdue never reports; eq o h code 82" |
| 1204 | }, |
| 1205 | { |
| 1206 | "case": "mut396-cancel-keeps-reserve", |
| 1207 | "expect": 94, |
| 1208 | "fragments": [ |
| 1209 | "seed/node/transport.om", |
| 1210 | "seed/node/pool.om", |
| 1211 | "seed/node/super.om", |
| 1212 | "seed/node/sched.om", |
| 1213 | "seed/node/schedpol-test.om" |
| 1214 | ], |
| 1215 | "issue": "DRA-396", |
| 1216 | "mutate": [ |
| 1217 | "seed/node/sched.om", |
| 1218 | "put sjst j 0\nif eq get scpol 5 add j 1\nput scpol 5 0\nend\n", |
| 1219 | "put sjst j 0\n" |
| 1220 | ], |
| 1221 | "why": "R: reservation survives cancel; sched_stat 29 == 0 code 94" |
| 1222 | }, |
| 1223 | { |
| 1224 | "case": "mut396-window-ignored", |
| 1225 | "expect": 9, |
| 1226 | "fragments": [ |
| 1227 | "seed/node/transport.om", |
| 1228 | "seed/node/pool.om", |
| 1229 | "seed/node/super.om", |
| 1230 | "seed/node/sched.om", |
| 1231 | "seed/node/schedpol-test.om" |
| 1232 | ], |
| 1233 | "issue": "DRA-396", |
| 1234 | "mutate": [ |
| 1235 | "seed/node/sched.om", |
| 1236 | "for i ulong win bound 64\n", |
| 1237 | "for i ulong 64 bound 64\n" |
| 1238 | ], |
| 1239 | "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" |
| 1240 | }, |
| 1241 | { |
| 1242 | "case": "mut396-tickets-never-lapse", |
| 1243 | "expect": 80, |
| 1244 | "fragments": [ |
| 1245 | "seed/node/transport.om", |
| 1246 | "seed/node/pool.om", |
| 1247 | "seed/node/super.om", |
| 1248 | "seed/node/sched.om", |
| 1249 | "seed/node/schedpol-test.om" |
| 1250 | ], |
| 1251 | "issue": "DRA-396", |
| 1252 | "mutate": [ |
| 1253 | "seed/node/sched.om", |
| 1254 | "if lt add get stts t get scpol 7 get scst 2\n", |
| 1255 | "if false\n" |
| 1256 | ], |
| 1257 | "why": "Q: stale ticket of 150050 blocks new caller 160050; ge 0 code 80" |
| 1258 | }, |
| 1259 | { |
| 1260 | "case": "mut396-cursor-by-one", |
| 1261 | "expect": 15, |
| 1262 | "fragments": [ |
| 1263 | "seed/node/transport.om", |
| 1264 | "seed/node/pool.om", |
| 1265 | "seed/node/super.om", |
| 1266 | "seed/node/sched.om", |
| 1267 | "seed/node/schedpol-test.om" |
| 1268 | ], |
| 1269 | "issue": "DRA-396", |
| 1270 | "mutate": [ |
| 1271 | "seed/node/sched.om", |
| 1272 | "put scpol 4 rem add cur win 64\n", |
| 1273 | "put scpol 4 rem add cur 1 64\n" |
| 1274 | ], |
| 1275 | "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)" |
| 1276 | }, |
| 1277 | { |
| 1278 | "case": "mut396-holders-by-room", |
| 1279 | "expect": 105, |
| 1280 | "fragments": [ |
| 1281 | "seed/node/transport.om", |
| 1282 | "seed/node/pool.om", |
| 1283 | "seed/node/super.om", |
| 1284 | "seed/node/sched.om", |
| 1285 | "seed/node/schedpol-test.om" |
| 1286 | ], |
| 1287 | "issue": "DRA-396", |
| 1288 | "mutate": [ |
| 1289 | "seed/node/sched.om", |
| 1290 | "if eq t 0\nret true", |
| 1291 | "if lt t room\nret true" |
| 1292 | ], |
| 1293 | "why": "T: second holder Y enters with two openings; 105" |
| 1294 | }, |
| 1295 | { |
| 1296 | "case": "mut396-room-ignores-slots", |
| 1297 | "expect": 191, |
| 1298 | "fragments": [ |
| 1299 | "seed/node/transport.om", |
| 1300 | "seed/node/pool.om", |
| 1301 | "seed/node/super.om", |
| 1302 | "seed/node/sched.om", |
| 1303 | "seed/node/schedpol-test.om" |
| 1304 | ], |
| 1305 | "issue": "DRA-396", |
| 1306 | "mutate": [ |
| 1307 | "seed/node/sched.om", |
| 1308 | "if lt fs room\nroom = fs\n", |
| 1309 | "if false\nroom = fs\n" |
| 1310 | ], |
| 1311 | "why": "X: table full of review results, sched_room true; 191" |
| 1312 | }, |
| 1313 | { |
| 1314 | "case": "mut396-lease-early", |
| 1315 | "expect": 83, |
| 1316 | "fragments": [ |
| 1317 | "seed/node/transport.om", |
| 1318 | "seed/node/pool.om", |
| 1319 | "seed/node/super.om", |
| 1320 | "seed/node/sched.om", |
| 1321 | "seed/node/schedpol-test.om" |
| 1322 | ], |
| 1323 | "issue": "DRA-396", |
| 1324 | "mutate": [ |
| 1325 | "seed/node/sched.om", |
| 1326 | "if ge now d\n", |
| 1327 | "if ge add now 100000000 d\n" |
| 1328 | ], |
| 1329 | "why": "L: overdue reported before the stored deadline; 83" |
| 1330 | }, |
| 1331 | { |
| 1332 | "case": "mut396-jn-room-before-dup", |
| 1333 | "clean": [ |
| 1334 | "build/node/jt" |
| 1335 | ], |
| 1336 | "expect": 170, |
| 1337 | "fragments": [ |
| 1338 | "seed/node/transport.om", |
| 1339 | "seed/node/pool.om", |
| 1340 | "seed/node/super.om", |
| 1341 | "seed/node/sched.om", |
| 1342 | "seed/authority/action.om", |
| 1343 | "seed/node/journal.om", |
| 1344 | "seed/node/auth.om", |
| 1345 | "seed/node/journal-test.om" |
| 1346 | ], |
| 1347 | "issue": "DRA-396", |
| 1348 | "mutate": [ |
| 1349 | "seed/node/journal.om", |
| 1350 | "if ge jn_jfind id 0\nret neg long 4\nend\nif not sched_room id\nret neg long 2\nend\n", |
| 1351 | "if not sched_room id\nret neg long 2\nend\nif ge jn_jfind id 0\nret neg long 4\nend\n" |
| 1352 | ], |
| 1353 | "why": "journal case 16: duplicate at the limit gets -2 and a ticket, not -4; 170" |
| 1354 | }, |
| 1355 | { |
| 1356 | "case": "mut396-jn-no-room-check", |
| 1357 | "clean": [ |
| 1358 | "build/node/jt" |
| 1359 | ], |
| 1360 | "expect": 173, |
| 1361 | "fragments": [ |
| 1362 | "seed/node/transport.om", |
| 1363 | "seed/node/pool.om", |
| 1364 | "seed/node/super.om", |
| 1365 | "seed/node/sched.om", |
| 1366 | "seed/authority/action.om", |
| 1367 | "seed/node/journal.om", |
| 1368 | "seed/node/auth.om", |
| 1369 | "seed/node/journal-test.om" |
| 1370 | ], |
| 1371 | "issue": "DRA-396", |
| 1372 | "mutate": [ |
| 1373 | "seed/node/journal.om", |
| 1374 | "if not sched_room id\nret neg long 2\nend\nif ne jn_rec 2 id deps flags 0\n", |
| 1375 | "if ne jn_rec 2 id deps flags 0\n" |
| 1376 | ], |
| 1377 | "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" |
| 1378 | } |
| 1379 | ], |
| 1380 | "issue": "DRA-396", |
| 1381 | "statuses": { |
| 1382 | "DRA-396": "IMPLEMENTED, EXERCISED on native host; not QUALIFIED; not MERGED; not DEPLOYED", |
| 1383 | "expected_exits": "derived from the check site each mutant targets (field why), before the run; DRA-287/288 mutants carry their original derivations from those PRs", |
| 1384 | "gpu": "NOT_RUN (not involved)" |
| 1385 | } |
| 1386 | }, |
| 1387 | "cases_sha256": "e03002124b2165cb3606d1c0c7fd0a8c923d49cb9a3c998a540ea0eaa40f7797", |
| 1388 | "path": "~/handoffs/hive/sched/bin/receipt.py", |
| 1389 | "sha256": "350fbf0733c51486123c2854d1cd8ec4578622842da645769a653182b1d35cfa", |
| 1390 | "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] (optional; old must occur exactly once),\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 if mut and mut[0] not in frags:\n print(f'REFUSED: mutant {c[\"case\"]}: {mut[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 if mut and mut[0] == fr:\n old, new = mut[1].encode(), mut[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 mut:\n r['mutation'] = {'file': mut[0], 'from': mut[1], 'to': mut[2]}\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" |
| 1391 | }, |
| 1392 | "source_commit": "830998e6f26a7b3faa6a502880c395ebd3d22d99", |
| 1393 | "source_tree": "07a3df0d54e6b370867ab1085aed689a8b9cebac", |
| 1394 | "statuses": { |
| 1395 | "DRA-396": "IMPLEMENTED, EXERCISED on native host; not QUALIFIED; not MERGED; not DEPLOYED", |
| 1396 | "expected_exits": "derived from the check site each mutant targets (field why), before the run; DRA-287/288 mutants carry their original derivations from those PRs", |
| 1397 | "gpu": "NOT_RUN (not involved)" |
| 1398 | }, |
| 1399 | "summary": { |
| 1400 | "fail": 0, |
| 1401 | "pass": 37 |
| 1402 | }, |
| 1403 | "timestamp_utc": "2026-11-07T06:20:00.391098+00:00" |
| 1404 | } |