replay_mutex_unlock() assertion on macOS
As of v10.0.0-rc1:
$ make check-functional-aarch64 V=1
...
Command: /build/qemu-system-aarch64 -display none -vga none -chardev socket,id=mon,fd=5 -mon chardev=mon,mode=control -machine virt -chardev socket,id=console,fd=10 -serial chardev:console -cpu cortex-a53 -icount shift=7,rr=record,rrfile=/build/tests/functional/aarch64/test_aarch64_replay.Aarch64Replay.test_aarch64_virt/scratch/replay.bin -kernel /Users/philmd/.cache/qemu/download/7e1430b81c26bdd0da025eeb8fbd77b5dc961da4364af26e771bd39f379cbbf7 -append printk.time=0 console=ttyAMA0 -net none -no-reboot
Output: **
ERROR:../../replay/replay-internal.c:235:replay_mutex_unlock: assertion failed: (replay_mutex_locked())
Bail out! ERROR:../../replay/replay-internal.c:235:replay_mutex_unlock: assertion failed: (replay_mutex_locked())
Traceback (most recent call last):
File "/src/qemu/tests/functional/test_aarch64_replay.py", line 26, in test_aarch64_virt
self.run_rr(kernel_path, kernel_command_line, console_pattern)
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/src/qemu/tests/functional/replay_kernel.py", line 79, in run_rr
t1 = self.run_vm(kernel_path, kernel_command_line, console_pattern,
True, shift, args, replay_path)
File "/src/qemu/tests/functional/replay_kernel.py", line 53, in run_vm
vm.launch()
~~~~~~~~~^^
File "/src/qemu/python/qemu/machine/machine.py", line 461, in launch
raise VMLaunchFailure(
...<3 lines>...
) from exc
qemu.machine.machine.VMLaunchFailure: ConnectError: Failed to establish session: EOFError
Exit code: -6
Command: /build/qemu-system-aarch64 -display none -vga none -chardev socket,id=mon,fd=5 -mon chardev=mon,mode=control -machine virt -chardev socket,id=console,fd=10 -serial chardev:console -cpu cortex-a53 -icount shift=7,rr=record,rrfile=/build/tests/functional/aarch64/test_aarch64_replay.Aarch64Replay.test_aarch64_virt/scratch/replay.bin -kernel /Users/philmd/.cache/qemu/download/7e1430b81c26bdd0da025eeb8fbd77b5dc961da4364af26e771bd39f379cbbf7 -append printk.time=0 console=ttyAMA0 -net none -no-reboot
Output: **
ERROR:../../replay/replay-internal.c:235:replay_mutex_unlock: assertion failed: (replay_mutex_locked())
Bail out! ERROR:../../replay/replay-internal.c:235:replay_mutex_unlock: assertion failed: (replay_mutex_locked())
not ok 1 test_aarch64_replay.Aarch64Replay.test_aarch64_virt
1..1