Every run of python3 qemu/tests/test_qmp_drive.py leaves about 40 directories in $TMPDIR: run_script makes a qmpdrive.* dir per drive and never removes it, and the console-watch, reboot, race and wedged-QMP tests do the same with console.* and qmpsock.*. The flare-edge workstation had 446 qmpdrive.* and 153 console.*/qmpsock.* dirs in /tmp, which is RAM-backed there; CI runners keep them until the job container goes.
Expected: a run leaves $TMPDIR as it found it.
Fix: the module puts every temp dir under one per-run root that is removed at exit, with a regression test that runs a drive test in a child process under a fresh TMPDIR and checks it is empty afterwards. Lane LN.
Every run of `python3 qemu/tests/test_qmp_drive.py` leaves about 40 directories in $TMPDIR: `run_script` makes a `qmpdrive.*` dir per drive and never removes it, and the console-watch, reboot, race and wedged-QMP tests do the same with `console.*` and `qmpsock.*`. The flare-edge workstation had 446 `qmpdrive.*` and 153 `console.*`/`qmpsock.*` dirs in /tmp, which is RAM-backed there; CI runners keep them until the job container goes.
Expected: a run leaves $TMPDIR as it found it.
Fix: the module puts every temp dir under one per-run root that is removed at exit, with a regression test that runs a drive test in a child process under a fresh TMPDIR and checks it is empty afterwards. Lane LN.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Every run of
python3 qemu/tests/test_qmp_drive.pyleaves about 40 directories in $TMPDIR:run_scriptmakes aqmpdrive.*dir per drive and never removes it, and the console-watch, reboot, race and wedged-QMP tests do the same withconsole.*andqmpsock.*. The flare-edge workstation had 446qmpdrive.*and 153console.*/qmpsock.*dirs in /tmp, which is RAM-backed there; CI runners keep them until the job container goes.Expected: a run leaves $TMPDIR as it found it.
Fix: the module puts every temp dir under one per-run root that is removed at exit, with a regression test that runs a drive test in a child process under a fresh TMPDIR and checks it is empty afterwards. Lane LN.