QMP command hangs after lost SSH connection
In scenarios with limited resources (leading to QEMU poor performance), scp
fails with "lost connection", which seems to cause the QMP command to hang:
INFO StepLogger: → SSHDriver.put(filename='/data_sda/aleter01/cache/bazel/sandbox/linux-sandbox/2/execroot/_main/bazel-out/k8-fastbuild-ST-357fcab58d2a/bin/qemu/test-arm64.runfiles' remotepath='/tmp/tmp.FavzsAYy7s/execroot/inner.runfiles')
lost connection
INFO StepLogger: ⚠ SSHDriver.put() [66.538s] exception=error executing command: ['scp', '-o', 'LogLevel=ERROR', '-F', 'none', '-o', 'ControlPath=/tmp/lg-ssh-cq7zbd1x/control-localhost', '-P', '2223', '-r', '/data_sda/aleter01/cache/bazel/sandbox/linux-sandbox/2/execroot/_main/bazel-out/k8-fastbuild-ST-357fcab58d2a/bin/qemu/test-arm64.runfiles', 'labgrid-user@localhost:/tmp/tmp.FavzsAYy7s/execroot/inner.runfiles']
INFO StepLogger: → SSHDriver.run(cmd='/tmp/tmp.FavzsAYy7s/rm -rf /tmp/tmp.FavzsAYy7s')
INFO StepLogger: ⚠ SSHDriver.run() exception=Keepalive no longer running
INFO StepLogger: → QEMUStrategy.transition()
INFO StepLogger: → QEMUDriver.off()
INFO StepLogger: → QEMUDriver.monitor_command(command='quit' arguments={})
DEBUG QMPMonitor(moni: Received line: {"timestamp": {"seconds": 1732874120, "microseconds": 930276}, "event": "RTC_CHANGE", "data": {"offset": 1, "qom-path": "/machine/unattached/device[4]"}}