Re: [PATCH 2/3] iotests: port 141 to Python for reliable QMP testing

2024-01-18 Thread Kevin Wolf
Am 18.01.2024 um 15:55 hat Stefan Hajnoczi geschrieben: > On Wed, Jan 17, 2024 at 07:04:06PM +0100, Kevin Wolf wrote: > > Am 16.01.2024 um 20:00 hat Stefan Hajnoczi geschrieben: > > > The common.qemu bash functions allow tests to interact with the QMP > > > monitor of a QEMU process. I spent two da

Re: [PATCH 2/3] iotests: port 141 to Python for reliable QMP testing

2024-01-18 Thread Stefan Hajnoczi
On Wed, Jan 17, 2024 at 07:04:06PM +0100, Kevin Wolf wrote: > Am 16.01.2024 um 20:00 hat Stefan Hajnoczi geschrieben: > > The common.qemu bash functions allow tests to interact with the QMP > > monitor of a QEMU process. I spent two days trying to update 141 when > > the order of the test output ch

Re: [PATCH 2/3] iotests: port 141 to Python for reliable QMP testing

2024-01-17 Thread Kevin Wolf
Am 16.01.2024 um 20:00 hat Stefan Hajnoczi geschrieben: > The common.qemu bash functions allow tests to interact with the QMP > monitor of a QEMU process. I spent two days trying to update 141 when > the order of the test output changed, but found it would still fail > occassionally because printf(

Re: [PATCH 2/3] iotests: port 141 to Python for reliable QMP testing

2024-01-17 Thread Kevin Wolf
Am 16.01.2024 um 20:00 hat Stefan Hajnoczi geschrieben: > The common.qemu bash functions allow tests to interact with the QMP > monitor of a QEMU process. I spent two days trying to update 141 when > the order of the test output changed, but found it would still fail > occassionally because printf(

[PATCH 2/3] iotests: port 141 to Python for reliable QMP testing

2024-01-16 Thread Stefan Hajnoczi
The common.qemu bash functions allow tests to interact with the QMP monitor of a QEMU process. I spent two days trying to update 141 when the order of the test output changed, but found it would still fail occassionally because printf() and QMP events race with synchronous QMP communication. I gav