| 28 | |
| 29 | |
| 30 | def image_mismatch(context, case): |
| 31 | runner, marker = untouched_runner(case) |
| 32 | image = digest(runner) |
| 33 | wrong = ("1" if image[0] == "0" else "0") + image[1:] |
| 34 | registry = context.registry(case, image=wrong) |
| 35 | process, destination = context.collect(case, registry, runner=runner) |
| 36 | no_marker(process, destination) |
| 37 | require(not marker.exists(), "image mismatch executed runner before rejection") |
| 38 | return {"class": "administrative", "runner_invoked": False} |
| 39 | |
| 40 | |
| 41 | def existing_output(context, case, symlink=False): |