QMP connecting, attempt 1/2 QMP connected... executed: qmp_capabilities {} received: {'QMP': {'version': {'qemu': {'micro': 0, 'minor': 1, 'major': 6}, 'package': ''}, 'capabilities': ['oob']}} executed: human-monitor-command {'command-line': 'info network'} received: {'return': {}} received: {'return': 'virtio-net-pci.0: index=0,type=nic,model=virtio-net-pci,macaddr=52:54:00:12:34:56\r\n \\ net0: index=0,type=user,net=10.0.2.0,restrict=on\r\n'} executed: netdev_add {'type': 'user', 'id': 'net0', 'restrict': False, 'hostfwd': [{'str': 'tcp:127.0.0.1:12346-:1'}]} executed: human-monitor-command {'command-line': 'info network'} received: {'error': {'class': 'GenericError', 'desc': "Duplicate ID 'net0'"}} Traceback (most recent call last): File "/home/asosedki/reproducers/qemu-netdev-reproducer.py", line 79, in expect(lambda r: r == {'return': {}}) File "/home/asosedki/reproducers/qemu-netdev-reproducer.py", line 48, in expect assert validator_func(reply) AssertionError