Source: unicorn-engine
Version: 2.1.1-1
Severity: serious
Tags: ftbfs
https://buildd.debian.org/status/fetch.php?pkg=unicorn-engine&arch=s390x&ver=2.1.1-1&stamp=1733129603&raw=0
...
test 8
Start 8: test_riscv
8: Test command: /<<PKGBUILDDIR>>/obj-s390x-linux-gnu/test_riscv
8: Working Directory: /<<PKGBUILDDIR>>/obj-s390x-linux-gnu
8: Test timeout computed to be: 10000000
8: Test test_riscv32_nop... [ OK ]
8: Test test_riscv64_nop... [ OK ]
8: Test test_riscv32_3steps_pc_update... [ OK ]
8: Test test_riscv64_3steps_pc_update... [ OK ]
8: Test test_riscv32_until_pc_update... [ OK ]
8: Test test_riscv64_until_pc_update... [ OK ]
8: Test test_riscv32_fp_move... [ OK ]
8: Test test_riscv64_fp_move... [ OK ]
8: Test test_riscv64_fp_move_from_int... [ OK ]
8: Test test_riscv64_fp_move_from_int_reg_write... [ OK ]
8: Test test_riscv64_fp_move_to_int... [ OK ]
8: Test test_riscv64_ecall... [ OK ]
8: Test test_riscv32_mmio_map... [ OK ]
8: Test test_riscv64_mmio_map... [ OK ]
8: Test test_riscv32_map... [ OK ]
8: Test test_riscv64_code_patching... [ OK ]
8: Test test_riscv64_code_patching_count... [ OK ]
8: Test test_riscv_correct_address_in_small_jump_hook... [ OK ]
8: Test test_riscv_correct_address_in_long_jump_hook... [ OK ]
8: Test test_riscv_mmu... [ FAILED ]
8: test_riscv.c:717: Check __err == UC_ERR_OK... failed
8: Unhandled CPU exception (UC_ERR_EXCEPTION)
8: test_riscv.c:720: Check data_value == data_result... failed
8: FAILED: 1 of 20 unit tests has failed.
7/12 Test #8: test_riscv .......................***Failed 0.01 sec
Test test_riscv32_nop... [ OK ]
Test test_riscv64_nop... [ OK ]
Test test_riscv32_3steps_pc_update... [ OK ]
Test test_riscv64_3steps_pc_update... [ OK ]
Test test_riscv32_until_pc_update... [ OK ]
Test test_riscv64_until_pc_update... [ OK ]
Test test_riscv32_fp_move... [ OK ]
Test test_riscv64_fp_move... [ OK ]
Test test_riscv64_fp_move_from_int... [ OK ]
Test test_riscv64_fp_move_from_int_reg_write... [ OK ]
Test test_riscv64_fp_move_to_int... [ OK ]
Test test_riscv64_ecall... [ OK ]
Test test_riscv32_mmio_map... [ OK ]
Test test_riscv64_mmio_map... [ OK ]
Test test_riscv32_map... [ OK ]
Test test_riscv64_code_patching... [ OK ]
Test test_riscv64_code_patching_count... [ OK ]
Test test_riscv_correct_address_in_small_jump_hook... [ OK ]
Test test_riscv_correct_address_in_long_jump_hook... [ OK ]
Test test_riscv_mmu... [ FAILED ]
test_riscv.c:717: Check __err == UC_ERR_OK... failed
Unhandled CPU exception (UC_ERR_EXCEPTION)
test_riscv.c:720: Check data_value == data_result... failed
FAILED: 1 of 20 unit tests has failed.
...
test 11
Start 11: test_mem
11: Test command: /<<PKGBUILDDIR>>/obj-s390x-linux-gnu/test_mem
11: Working Directory: /<<PKGBUILDDIR>>/obj-s390x-linux-gnu
11: Test timeout computed to be: 10000000
11: Test test_map_correct... [ OK ]
11: Test test_map_wrapping... [ OK ]
11: Test test_mem_protect... [ OK ]
11: Test test_splitting_mem_unmap... [ OK ]
11: Test test_splitting_mmio_unmap... [ OK ]
11: Test test_mem_protect_map_ptr... [ OK ]
11: Test test_map_at_the_end... [ OK ]
11: Test test_map_wrap... [ OK ]
11: Test test_map_big_memory... [ OK ]
11: Test test_mem_protect_remove_exec... [ OK ]
11: Test test_mem_protect_mmio... [ OK ]
11: Test test_snapshot... [ FAILED ]
11: test_mem.c:300: Check mem == 1... failed
11: test_mem.c:304: Check mem == 2... failed
11: test_mem.c:308: Check mem == 1... failed
11: Test test_snapshot_with_vtlb... [ FAILED ]
11: test_mem.c:364: Check mem == 1... failed
11: test_mem.c:369: Check mem == 2... failed
11: test_mem.c:373: Check mem == 1... failed
11: Test test_context_snapshot... [ OK ]
11: Test test_snapshot_unmap... [ OK ]
11: FAILED: 2 of 15 unit tests have failed.
10/12 Test #11: test_mem .........................***Failed 0.01 sec
Test test_map_correct... [ OK ]
Test test_map_wrapping... [ OK ]
Test test_mem_protect... [ OK ]
Test test_splitting_mem_unmap... [ OK ]
Test test_splitting_mmio_unmap... [ OK ]
Test test_mem_protect_map_ptr... [ OK ]
Test test_map_at_the_end... [ OK ]
Test test_map_wrap... [ OK ]
Test test_map_big_memory... [ OK ]
Test test_mem_protect_remove_exec... [ OK ]
Test test_mem_protect_mmio... [ OK ]
Test test_snapshot... [ FAILED ]
test_mem.c:300: Check mem == 1... failed
test_mem.c:304: Check mem == 2... failed
test_mem.c:308: Check mem == 1... failed
Test test_snapshot_with_vtlb... [ FAILED ]
test_mem.c:364: Check mem == 1... failed
test_mem.c:369: Check mem == 2... failed
test_mem.c:373: Check mem == 1... failed
Test test_context_snapshot... [ OK ]
Test test_snapshot_unmap... [ OK ]
FAILED: 2 of 15 unit tests have failed.
...
1: Test test_x86_loop... [ OK ]
1: Test test_x86_invalid_mem_read... [ OK ]
1: Test test_x86_invalid_mem_write... [ OK ]
1: Test test_x86_invalid_jump... [ OK ]
1: Test test_x86_64_syscall... [ OK ]
1: Test test_x86_16_add... [ OK ]
1: Test test_x86_reg_save... [ OK ]
1: Test test_x86_invalid_mem_read_stop_in_cb... [ OK ]
1: Test test_x86_x87_fnstenv... [ OK ]
1: Test test_x86_mmio... [ OK ]
1: Test test_x86_missing_code... [ OK ]
1: Test test_x86_smc_xor... [ OK ]
1: Test test_x86_mmio_uc_mem_rw... [ OK ]
1: Test test_x86_sysenter... [ OK ]
1: Test test_x86_hook_cpuid... [ OK ]
1: Test test_x86_486_cpuid... [ OK ]
1: Test test_x86_clear_tb_cache... [ OK ]
1: Test test_x86_clear_empty_tb... [ OK ]
1: Test test_x86_hook_tcg_op... [ OK ]
1: Test test_x86_cmpxchg... [ OK ]
1: Test test_x86_nested_emu_start... [ OK ]
1: Test test_x86_nested_emu_stop... [ OK ]
1: Test test_x86_64_nested_emu_start_error... [ OK ]
1: Test test_x86_eflags_reserved_bit... [ OK ]
1: Test test_x86_nested_uc_emu_start_exits... [ OK ]
1: Test test_x86_clear_count_cache... [ OK ]
1: Test test_x86_correct_address_in_small_jump_hook... [ OK ]
1: Test test_x86_correct_address_in_long_jump_hook... [ OK ]
1: Test test_x86_invalid_vex_l... [ OK ]
1: Test test_x86_lazy_mapping... [ OK ]
1: Test test_x86_16_incorrect_ip... [ OK ]
1: Test test_x86_mmu... [ FAILED ]
1: test_x86.c:1465: Check __err == UC_ERR_OK... failed
1: Unhandled CPU exception (UC_ERR_EXCEPTION)
1: test_x86.c:1470: Check __err == UC_ERR_OK... failed
1: Unhandled CPU exception (UC_ERR_EXCEPTION)
1: test_x86.c:1480: Check __err == UC_ERR_OK... failed
1: Unhandled CPU exception (UC_ERR_EXCEPTION)
1: test_x86.c:1483: Check parrent == 60... failed
1: test_x86.c:1484: Check child == 42... failed
1: Test test_x86_vtlb... [ FAILED ]
1: test_x86.c:1514: Check r_eip == code_start + 4... failed
1: Test test_x86_segmentation... [ FAILED ]
1: test_x86.c:1527: Check __err == UC_ERR_EXCEPTION... failed
1: OK (UC_ERR_OK)
1: Test test_x86_0xff_lcall... [ OK ]
1: Test test_x86_64_not_overwriting_tmp0_for_pc_update... [ FAILED ]
1: test_x86.c:1600: Check (eflags & 0x1) == 1... failed
1: Test test_fxsave_fpip_x86... [ OK ]
1: Test test_fxsave_fpip_x64... [ OK ]
1: Test test_bswap_x64... [ FAILED ]
1: test_x86.c:1691: Check OUT_REG(EAX, 0x44330000) = 0x0... failed
1: test_x86.c:1740: Check OUT_REG(EAX, 0x11223344) = 0x0... failed
1: Test test_rex_x64... [ OK ]
1: FAILED: 5 of 45 unit tests have failed.
12/12 Test #1: test_x86 .........................***Failed 1.17 sec
Test test_x86_in... [ OK ]
Test test_x86_out... [ OK ]
Test test_x86_mem_hook_all... [ OK ]
Test test_x86_inc_dec_pxor... [ OK ]
Test test_x86_relative_jump... [ OK ]
Test test_x86_loop... [ OK ]
Test test_x86_invalid_mem_read... [ OK ]
Test test_x86_invalid_mem_write... [ OK ]
Test test_x86_invalid_jump... [ OK ]
Test test_x86_64_syscall... [ OK ]
Test test_x86_16_add... [ OK ]
Test test_x86_reg_save... [ OK ]
Test test_x86_invalid_mem_read_stop_in_cb... [ OK ]
Test test_x86_x87_fnstenv... [ OK ]
Test test_x86_mmio... [ OK ]
Test test_x86_missing_code... [ OK ]
Test test_x86_smc_xor... [ OK ]
Test test_x86_mmio_uc_mem_rw... [ OK ]
Test test_x86_sysenter... [ OK ]
Test test_x86_hook_cpuid... [ OK ]
Test test_x86_486_cpuid... [ OK ]
Test test_x86_clear_tb_cache... [ OK ]
Test test_x86_clear_empty_tb... [ OK ]
Test test_x86_hook_tcg_op... [ OK ]
Test test_x86_cmpxchg... [ OK ]
Test test_x86_nested_emu_start... [ OK ]
Test test_x86_nested_emu_stop... [ OK ]
Test test_x86_64_nested_emu_start_error... [ OK ]
Test test_x86_eflags_reserved_bit... [ OK ]
Test test_x86_nested_uc_emu_start_exits... [ OK ]
Test test_x86_clear_count_cache... [ OK ]
Test test_x86_correct_address_in_small_jump_hook... [ OK ]
Test test_x86_correct_address_in_long_jump_hook... [ OK ]
Test test_x86_invalid_vex_l... [ OK ]
Test test_x86_lazy_mapping... [ OK ]
Test test_x86_16_incorrect_ip... [ OK ]
Test test_x86_mmu... [ FAILED ]
test_x86.c:1465: Check __err == UC_ERR_OK... failed
Unhandled CPU exception (UC_ERR_EXCEPTION)
test_x86.c:1470: Check __err == UC_ERR_OK... failed
Unhandled CPU exception (UC_ERR_EXCEPTION)
test_x86.c:1480: Check __err == UC_ERR_OK... failed
Unhandled CPU exception (UC_ERR_EXCEPTION)
test_x86.c:1483: Check parrent == 60... failed
test_x86.c:1484: Check child == 42... failed
Test test_x86_vtlb... [ FAILED ]
test_x86.c:1514: Check r_eip == code_start + 4... failed
Test test_x86_segmentation... [ FAILED ]
test_x86.c:1527: Check __err == UC_ERR_EXCEPTION... failed
OK (UC_ERR_OK)
Test test_x86_0xff_lcall... [ OK ]
Test test_x86_64_not_overwriting_tmp0_for_pc_update... [ FAILED ]
test_x86.c:1600: Check (eflags & 0x1) == 1... failed
Test test_fxsave_fpip_x86... [ OK ]
Test test_fxsave_fpip_x64... [ OK ]
Test test_bswap_x64... [ FAILED ]
test_x86.c:1691: Check OUT_REG(EAX, 0x44330000) = 0x0... failed
test_x86.c:1740: Check OUT_REG(EAX, 0x11223344) = 0x0... failed
Test test_rex_x64... [ OK ]
FAILED: 5 of 45 unit tests have failed.
75% tests passed, 3 tests failed out of 12
Total Test time (real) = 1.17 sec
The following tests FAILED:
1 - test_x86 (Failed)
8 - test_riscv (Failed)
11 - test_mem (Failed)
Errors while running CTest
make[1]: *** [Makefile:74: test] Error 8