CUDApp
CUDA++: AIEN’s GPU machine-code toolchain, runtime and driver client for NVIDIA GPUs without the CUDA toolkit. Hardware coverage and driver replacement limits are explicit.
Brought by drakestapleton
CUDApp / evidence / CUDAPP-OM-ENGINE-SUBMIT-20261106 / logs / test-gpu-engine-backend-mutants.log
| 1 | PHYSICS_DIR="." sh tools/gpu_engine_backend_mutations.sh |
| 2 | BE_ALLOC_CHECK_CPU KILLED a buffer without a CPU mapping is refused (ALLOC) (8 failing case(s), first: m_nocpu_marker_refused_as_alloc) |
| 3 | BE_ALLOC_CHECK_SIZE KILLED a buffer smaller than asked is refused (ALLOC) (6 failing case(s), first: m_short_pb_refused_as_alloc) |
| 4 | BE_ALLOC_CHECK_ALIGN KILLED a GPU address that is not 256-byte aligned is refused (ALLOC) (29 failing case(s), first: m_misaligned_qmd_refused_as_alloc) |
| 5 | BE_ALLOC_OWN_CHECK_NOTE KILLED the backend's own refusal text reaches the result (7 failing case(s), first: m_short_pb_own_check_text) |
| 6 | BE_ALLOC_OWN_CHECK_FREE KILLED a buffer that fails its own checks is freed, not leaked (7 failing case(s), first: m_short_pb_balanced) |
| 7 | BE_ROLE_FREE_SKIPPED KILLED free_buf really frees a program, input or output buffer (29 failing case(s), first: m_success_balanced) |
| 8 | BE_SCRATCH_FREE_SKIPPED KILLED release_scratch really frees all four SCRATCH parts (33 failing case(s), first: m_success_balanced) |
| 9 | BE_SCRATCH_FREE_ERROR_DROPPED KILLED a failed SCRATCH part free is reported (2 failing case(s), first: m_cleanup_free_scratch_name_step_state) |
| 10 | BE_SCRATCH_FREE_STOPS_AT_ERROR KILLED one failed SCRATCH part free does not leave the other parts allocated (1 failing case(s), first: m_cleanup_free_scratch_all_four_parts_attempted) |
| 11 | BE_SCRATCH_ALLOC_FAIL_NO_RELEASE KILLED a failed SCRATCH allocation frees the parts that did succeed (the core does not) (5 failing case(s), first: m_alloc2_balanced) |
| 12 | BE_ERRNO_NOT_RESTORED KILLED the frees after a failed SCRATCH allocation do not clobber the errno the core reads (3 failing case(s), first: m_alloc2_errno_code_text) |
| 13 | BE_ALLOC_FAIL_TEXT_RESTORE SURVIVED_REDUNDANT the failure text survives the cleanup frees (redundant: release_scratch writes neither c->text nor the driver text on a successful free, in the simulated driver and in nvrm_free (physics nvrm.h: free only zeroes the NvrmMem); the restore is a safety net for a driver that writes text on success, which no model here does) |
| 14 | BE_SCRATCH_PB_NOT_INSTALLED KILLED the large pushbuffer ring replaces the channel's 4 KiB buffer (3 failing case(s), first: m_success_large_pushbuffer_ring) |
| 15 | BE_PB_REPLACED_RESET SURVIVED_REDUNDANT the flag that records the replaced ring is cleared after SCRATCH is freed (redundant: the zeroing of m.pb_mem stays (it is a separate line); a stale flag only repeats that harmless zeroing, and open memsets the whole context each run. physics m16_native_close is only nvrm_close(&ctx->rm) and never reads pb_mem) |
| 16 | BE_BUSY_CHECK_DROPPED KILLED a second open while a run is retained is refused (21 failing case(s), first: m_unc_marker_hang_second_open_refused_by_backend) |
| 17 | BE_OPEN_FAIL_KEEPS_BUSY KILLED a failed open releases the busy flag (72 failing case(s), first: m_open_fail_then_next_run_ok) |
| 18 | BE_CLOSE_BUSY_CLEAR_DROPPED KILLED close releases the busy flag so the next run can open (171 failing case(s), first: m_noc3_returns_ok) |
| 19 | BE_OPEN_MEMSET_DROPPED KILLED open resets the whole context, including the previous run's snapshot (4 failing case(s), first: m_noc3_run_info_marker2_not_reported) |
| 20 | BE_OPEN_NATIVE_FLAG_DROPPED KILLED a failed open still reports the driver's own text (14 failing case(s), first: m_open_fail_driver_text_reported) |
| 21 | BE_OPEN_ERROR_IGNORED KILLED a failed driver open is reported (DEVICE_OPEN) (5 failing case(s), first: m_open_fail_name_step_state) |
| 22 | BE_OPEN_LAST_RC_DROPPED KILLED the failed open's driver code reaches the result (1 failing case(s), first: m_open_fail_errno_and_driver_code) |
| 23 | BE_CHANNEL_ERROR_IGNORED KILLED a failed channel create is reported (CHANNEL_CREATE) (2 failing case(s), first: m_channel_fail_name_step_state) |
| 24 | BE_CHANNEL_LAST_RC_DROPPED KILLED the failed channel create's driver code reaches the result (1 failing case(s), first: m_channel_fail_errno_text_code) |
| 25 | BE_ALLOC_LAST_RC_DROPPED KILLED the failed allocation's driver code reaches the result (4 failing case(s), first: m_alloc5_errno_code_text) |
| 26 | BE_ALLOC_UNKNOWN_ROLE_ACCEPTED KILLED alloc refuses an unknown role (harness exit 139 (crash or abort)) |
| 27 | BE_ROLE_MEM_UPPER_BOUND KILLED a role above the last one has no buffer slot (4 failing case(s), first: m_guard_alloc_unknown_role_refused) |
| 28 | BE_ROLE_MEM_LOWER_BOUND KILLED a negative role has no buffer slot (2 failing case(s), first: m_guard_copy_in_negative_role_refused) |
| 29 | BE_COPY_IN_NO_MEMCPY KILLED copy_in really copies the program and the inputs (38 failing case(s), first: m_success_returns_ok) |
| 30 | BE_COPY_IN_BOUNDS KILLED copy_in refuses a length beyond the buffer (1 failing case(s), first: m_guard_copy_in_too_long_refused) |
| 31 | BE_COPY_IN_NULL_SOURCE KILLED copy_in refuses a NULL source (harness exit 139 (crash or abort)) |
| 32 | BE_FILL_POISON_DROPPED KILLED the device output is pre-filled with the poison words (7 failing case(s), first: m_success_poison_reached_device_output) |
| 33 | BE_FILL_POISON_SHORT KILLED every output word is pre-filled, including the last (6 failing case(s), first: m_success_poison_reached_device_output) |
| 34 | BE_FILL_POISON_BOUNDS KILLED fill_poison refuses a length beyond the output buffer (1 failing case(s), first: m_guard_fill_poison_too_long_refused) |
| 35 | BE_COPY_OUT_NO_MEMCPY KILLED copy_out really reads the device output back (24 failing case(s), first: m_success_output_values) |
| 36 | BE_COPY_OUT_BOUNDS KILLED copy_out refuses a length beyond the output buffer (1 failing case(s), first: m_guard_copy_out_too_long_refused) |
| 37 | BE_BUILD_LAYOUT_CHECK KILLED build refuses a missing job and an unsupported layout (harness exit 139 (crash or abort)) |
| 38 | BE_BUILD_BUFFERS_SIZE KILLED build refuses buffers smaller than the element count needs (1 failing case(s), first: m_guard_build_count_beyond_the_buffers_refused) |
| 39 | BE_C3_FLAG_IGNORED KILLED the NO_C3 flag removes the L2 flush and the second marker (4 failing case(s), first: m_noc3_no_flush_in_pushbuffer) |
| 40 | BE_C3_NEVER KILLED with flags 0 the L2 flush and the second marker are in the pushbuffer (229 failing case(s), first: m_success_returns_ok) |
| 41 | BE_ARGS_C_SWAPPED KILLED the kernel writes the OUTPUT buffer (39 failing case(s), first: m_success_returns_ok) |
| 42 | BE_ARGS_A_B_SWAPPED KILLED the kernel gets input A and input B in the right argument slots (1 failing case(s), first: m_success_kernel_arguments_are_a_b_output) |
| 43 | BE_PROGRAM_VA KILLED the QMD points at the program buffer (39 failing case(s), first: m_success_returns_ok) |
| 44 | BE_CBANK_VA KILLED the QMD points at the constant bank buffer (harness exit 139 (crash or abort)) |
| 45 | BE_SEM_VA KILLED the QMD release semaphore address is the word the host waits on (216 failing case(s), first: m_success_returns_ok) |
| 46 | BE_MARKER_VA KILLED the first release lands on the word the host waits on (224 failing case(s), first: m_success_returns_ok) |
| 47 | BE_SEM_ZERO_DROPPED KILLED the semaphore word is zeroed before the doorbell (no stale DONE) (1 failing case(s), first: m_success_semaphore_zeroed_before_doorbell) |
| 48 | BE_MARKER_ZERO_DROPPED KILLED the first marker word is zeroed before the doorbell (no stale payload) (5 failing case(s), first: m_success_marker1_zeroed_before_doorbell) |
| 49 | BE_MARKER2_ZERO_DROPPED KILLED the second marker word is zeroed before the doorbell (5 failing case(s), first: m_success_marker2_zeroed_before_doorbell) |
| 50 | BE_NOC3_MARKER2_REPORTED KILLED with NO_C3 the second marker is neither waited for nor reported (1 failing case(s), first: m_unc_noc3_semaphore_hang_sync_valid_mask) |
| 51 | BE_MARKER2_OFFSET_CHANGED KILLED the second marker is 0x10 bytes after the first (1 failing case(s), first: m_success_release2_is_marker_page_plus_0x10) |
| 52 | BE_MARKER2_PAYLOAD_CHANGED KILLED the second marker payload is 0x46464646 (11 failing case(s), first: m_success_release2_payload_and_flags) |
| 53 | BE_RELEASE1_PAYLOAD_ZERO KILLED the first release writes the completion payload (222 failing case(s), first: m_success_returns_ok) |
| 54 | BE_RELEASE2_PAYLOAD_ZERO KILLED the second release writes its payload (212 failing case(s), first: m_success_returns_ok) |
| 55 | BE_FLUSH_OP_DROPPED KILLED the L2 flush operation word is L2_FLUSH_DIRTY (212 failing case(s), first: m_success_returns_ok) |
| 56 | BE_FLUSH_METHOD_CHANGED KILLED the flush uses the memory-operation method (222 failing case(s), first: m_success_returns_ok) |
| 57 | BE_WFI_FLAG_RELEASE1 KILLED the first release waits for idle (WFI) (1 failing case(s), first: m_success_release1_address_payload_flags) |
| 58 | BE_WFI_FLAG_RELEASE2 KILLED the second release waits for idle (WFI) (1 failing case(s), first: m_success_release2_payload_and_flags) |
| 59 | BE_BARRIER_IN_BUILD SURVIVED_REDUNDANT CPU barrier after zeroing the sync words (redundant: a CPU barrier instruction has no effect a host test can observe (the fake driver runs on the same core); it is verified on the chip only (Phase B)) |
| 60 | BE_PB_OVERFLOW SURVIVED_REDUNDANT pushbuffer word-capacity guard (redundant: the vector pushbuffer is a fixed 492 words against a 1024-word capacity, so it cannot overflow for any job) |
| 61 | BE_SUBMIT_NOTHING_BUILT SURVIVED_REDUNDANT submit before build is refused (redundant: the driver refuses an empty submission too (physics m16_native.c m16_native_enqueue_methods: count == 0 returns -1), so the result is the same refusal) |
| 62 | BE_LAUNCH_NS_DROPPED KILLED the launch time is recorded before the doorbell (9 failing case(s), first: m_success_run_info_launch_time_set) |
| 63 | BE_SUBMIT_ERROR_IGNORED KILLED a failed submit is reported (SUBMIT), not treated as launched (16 failing case(s), first: m_submit_fail_name_step_state) |
| 64 | BE_WAIT_UNMAPPED_ACCEPTED KILLED a wait before build or after free is refused without a driver call (harness exit 139 (crash or abort)) |
| 65 | BE_WAIT_DRIVER_RC_DROPPED KILLED the driver's wait code reaches the result (4 failing case(s), first: m_unc_marker_hang_driver_code) |
| 66 | BE_WAIT_RC_MAPPING SURVIVED_REDUNDANT timeout versus driver fault classification (redundant: the engine core treats every nonzero wait result the same (uncertain completion), and the real m16_native_wait_marker returns only 0 or -1 (m16_native.c)) |
| 67 | BE_WAIT_EQUALITY_RECHECK KILLED an overshoot of the ">=" compare is refused (UNKNOWN_STATE) (37 failing case(s), first: m_unc_marker_overshoot_name_step_wait) |
| 68 | BE_WAIT_SNAPSHOT_DROPPED KILLED the observed word is recorded after every wait (222 failing case(s), first: m_success_returns_ok) |
| 69 | BE_MARKER_DONE_NS_ALWAYS KILLED the completion time is recorded only when the first marker wait succeeded (2 failing case(s), first: m_unc_marker_hang_run_info_done_time_only_if_marker_succeeded) |
| 70 | BE_WAIT_MARKER_WRONG_WORD KILLED wait_marker waits on the first marker word (222 failing case(s), first: m_success_returns_ok) |
| 71 | BE_WAIT_SEMAPHORE_WRONG_VALUE KILLED the release semaphore wait is for DONE (6), not the initial value (5) (209 failing case(s), first: m_success_returns_ok) |
| 72 | BE_DIAG_DRV_RC_DROPPED KILLED diagnostics report the raw driver code (16 failing case(s), first: m_open_fail_errno_and_driver_code) |
| 73 | BE_DIAG_TEXT_OWN_DROPPED KILLED diagnostics report the backend's own text (10 failing case(s), first: m_short_pb_own_check_text) |
| 74 | BE_DIAG_TEXT_DRIVER_DROPPED KILLED diagnostics fall back to the driver's text (14 failing case(s), first: m_open_fail_driver_text_reported) |
| 75 | BE_DIAG_MARKER_DROPPED KILLED diagnostics report the first marker word (7 failing case(s), first: m_unc_marker2_hang_observed_words) |
| 76 | BE_DIAG_MARKER2_DROPPED KILLED diagnostics report the second marker word (6 failing case(s), first: m_unc_marker_hang_observed_words) |
| 77 | BE_DIAG_SEMAPHORE_DROPPED KILLED diagnostics report the semaphore word (8 failing case(s), first: m_unc_marker_hang_observed_words) |
| 78 | BE_DIAG_VALID_MARKER_DROPPED KILLED the first marker is flagged valid only when mapped (9 failing case(s), first: m_unc_marker_hang_sync_valid_mask) |
| 79 | BE_DIAG_VALID_MARKER2_DROPPED KILLED the second marker is flagged valid only when mapped (8 failing case(s), first: m_unc_marker_hang_sync_valid_mask) |
| 80 | BE_DIAG_VALID_SEMAPHORE_DROPPED KILLED the semaphore is flagged valid only when mapped (9 failing case(s), first: m_unc_marker_hang_sync_valid_mask) |
| 81 | BE_FREE_SCRATCH_ROLE_DROPPED KILLED free_buf of SCRATCH frees the four SCRATCH parts (56 failing case(s), first: m_success_returns_ok) |
| 82 | BE_FREE_UNKNOWN_ROLE_ACCEPTED KILLED free_buf refuses an unknown role (2 failing case(s), first: m_guard_free_negative_role_refused) |
| 83 | BE_FREE_ERROR_DROPPED KILLED a failed free is reported (CLEANUP) (6 failing case(s), first: m_cleanup_free_role_name_step_state) |
| 84 | BE_RELEASE_KEEPS_MARKER_POINTER KILLED the first marker word is unmapped before SCRATCH is freed (1 failing case(s), first: m_cleanup_free_scratch_sync_words_unmapped_before_free) |
| 85 | BE_RELEASE_KEEPS_MARKER2_POINTER KILLED the second marker word is unmapped before SCRATCH is freed (1 failing case(s), first: m_cleanup_free_scratch_sync_words_unmapped_before_free) |
| 86 | BE_RELEASE_KEEPS_SEM_POINTER KILLED the semaphore word is unmapped before SCRATCH is freed (1 failing case(s), first: m_cleanup_free_scratch_sync_words_unmapped_before_free) |
| 87 | BE_CLOSE_KEEPS_MARKER_POINTER KILLED close unmaps the first marker word (1 failing case(s), first: m_close_unmaps_every_sync_word) |
| 88 | BE_CLOSE_KEEPS_MARKER2_POINTER KILLED close unmaps the second marker word (1 failing case(s), first: m_close_unmaps_every_sync_word) |
| 89 | BE_CLOSE_KEEPS_SEM_POINTER KILLED close unmaps the semaphore word (1 failing case(s), first: m_close_unmaps_every_sync_word) |
| 90 | BE_CLOSE_NOT_CALLED KILLED close really closes the driver (37 failing case(s), first: m_success_driver_counts) |
| 91 | BE_CLOSE_ERROR_IGNORED KILLED a failed close is reported (CLEANUP) (2 failing case(s), first: m_cleanup_close_name_step_state) |
| 92 | WRAP_POISON_NOT_COMPLEMENT KILLED the poison word is the complement of the expected sum (7 failing case(s), first: m_vec_success_returns_zero) |
| 93 | WRAP_POISON_CONSTANT KILLED the poison word never collides with a legitimate sum (0xdeadbeef is one) (7 failing case(s), first: m_vec_success_returns_zero) |
| 94 | WRAP_ENGINE_FAILURE_IGNORED KILLED an engine failure (here a cleanup fault) fails the wrapper (1 failing case(s), first: m_vec_cleanup_fault_returns_nonzero) |
| 95 | WRAP_ORACLE_IGNORED KILLED the host oracle decides success, not the engine (1 failing case(s), first: m_vec_wrong_math_returns_nonzero) |
| 96 | WRAP_PARITY_FLAG_FORCED KILLED parity_verified follows the oracle (1 failing case(s), first: m_vec_wrong_math_parity_not_verified) |
| 97 | WRAP_MARKER_NOT_REPORTED KILLED the completion marker is reported (1 failing case(s), first: m_vec_success_completion_marker_and_semaphore) |
| 98 | WRAP_SEMAPHORE_NOT_REPORTED KILLED the semaphore value is reported (1 failing case(s), first: m_vec_success_completion_marker_and_semaphore) |
| 99 | WRAP_LAUNCH_TIME_NOT_REPORTED KILLED the launch time is reported (1 failing case(s), first: m_vec_success_timestamps) |
| 100 | WRAP_DONE_TIME_NOT_REPORTED KILLED the completion time is reported (1 failing case(s), first: m_vec_success_timestamps) |
| 101 | WRAP_ELAPSED_NOT_REPORTED KILLED the elapsed time is reported (1 failing case(s), first: m_vec_success_timestamps) |
| 102 | WRAP_SM_ARCH_NOT_REPORTED KILLED the architecture is reported (1 failing case(s), first: m_vec_success_shape_fields) |
| 103 | WRAP_ELEMENT_COUNT_NOT_REPORTED KILLED the element count is reported (1 failing case(s), first: m_vec_success_shape_fields) |
| 104 | WRAP_NULL_GUARD_DROPPED KILLED a NULL argument is refused before any use (harness exit 139 (crash or abort)) |
| 105 | WRAP_ZERO_COUNT_GUARD SURVIVED_REDUNDANT a zero element count is refused by the wrapper (redundant: the engine refuses element_count 0 as INVALID_ARGS (om/engine/eng.om fn jobv; C oracle job_valid in src/omega_gpu_engine.c) and the wrapper then returns -1, so the result is the same refusal) |
| 106 | WRAP_FLAGS_ALL_PROTECTIONS KILLED the wrapper runs with every protection on (flags 0) (2 failing case(s), first: m_vec_success_timeouts_are_5000_each) |
| 107 | WRAP_BACKEND_NOT_INSTALLED KILLED the wrapper installs the Blackwell backend itself (13 failing case(s), first: m_vec_success_returns_zero) |
| 108 | WRAP_PROGRAM_LENGTH KILLED the whole encoded program is handed to the engine (7 failing case(s), first: m_vec_success_returns_zero) |
| 109 | WRAP_MARKER_CHECK SURVIVED_REDUNDANT second check of the marker payload (redundant: the backend wait_word already refuses any first-marker value other than 0x44444444 (UNKNOWN_STATE), so the engine fails before this line is reached) |
| 110 | WRAP_SEMAPHORE_CHECK SURVIVED_REDUNDANT second check of the semaphore value (redundant: the backend wait_word already refuses any semaphore value other than DONE (6), so the engine fails before this line is reached) |
| 111 | mutants: 109 total, 100 killed, 9 survived as redundant, 0 survived as test gaps (receipt /tmp/mutrun.opYgFA/out.json) |