libqos virtio: Increase ISR timeout
PATCH v2 1/1 libqos virtio: Increase ISR timeout
Increase the clock step to avoid Travis failure in some builds due to overagressive timeout.
--- tests/libqos/virtio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
tests/libqos/virtio.c +2 -2
@@ -82,7 +82,7 @@ bool qvirtio_wait_queue_isr(const QVirtioBus *bus, QVirtioDevice *d, QVirtQueue *vq, uint64_t timeout) { do { - clock_step(10); + clock_step(100); if (bus->get_queue_isr_status(d, vq)) { break; /* It has ended */ }
@@ -95,7 +95,7 @@ bool qvirtio_wait_config_isr(const QVirtioBus *bus, QVirtioDevice *d, uint64_t timeout) { do { - clock_step(10); + clock_step(100); if (bus->get_config_isr_status(d)) { break; /* It has ended */ }
Signature · 1 line
1.7.10.4
Quoted 7 lines · Marc Marí
Increase the clock step to avoid Travis failure in some builds due to overagressive timeout.
Signed-off-by Marc Marí <[email protected]>--- tests/libqos/virtio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Quoted 10 lines · Stefan Hajnoczi
Quoted 7 lines · Marc Marí
Increase the clock step to avoid Travis failure in some builds due to overagressive timeout.
Signed-off-by Marc Marí <[email protected]>--- tests/libqos/virtio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)Reviewed-by Stefan Hajnoczi <[email protected]>
Do you mind if I apply this directly to master to stop travis grumbling at us on irc?
thanks
-- PMM
Peter Maydell
AppliedQuoted 10 lines · Peter Maydell
Quoted 9 lines · Stefan Hajnoczi
Quoted 7 lines · Marc Marí
Increase the clock step to avoid Travis failure in some builds due to overagressive timeout.
Signed-off-by Marc Marí <[email protected]>--- tests/libqos/virtio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Quoted 4 lines
Quoted 1 line
Reviewed-by Stefan Hajnoczi <[email protected]>Do you mind if I apply this directly to master to stop travis grumbling at us on irc?
Applied to master, thanks.
-- PMM
Quoted 10 lines · Peter Maydell
Quoted 9 lines · Stefan Hajnoczi
Quoted 7 lines · Marc Marí
Increase the clock step to avoid Travis failure in some builds due to overagressive timeout.
Signed-off-by Marc Marí <[email protected]>--- tests/libqos/virtio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Quoted 4 lines
Quoted 1 line
Reviewed-by Stefan Hajnoczi <[email protected]>Do you mind if I apply this directly to master to stop travis grumbling at us on irc?
No problem, especially when Kevin or I have already given a Reviewed-by:
or Acked-by:.
Quoted 4 lines · Marc Marí
Increase the clock step to avoid Travis failure in some builds due to overagressive timeout.
Signed-off-by Marc Marí <[email protected]>
Unfortunately Travis is still failing with this:
ERROR:tests/virtio-blk-test.c:209:pci_basic: assertion failed:
(qvirtio_wait_queue_isr(&qvirtio_pci, &dev->vdev, &vqpci->vq, QVIRTIO_BLK_TIMEOUT))
GTester: last random seed: R02S490664995052f018e72f25518e90cb81
**
ERROR:tests/virtio-blk-test.c:578:pci_idx: assertion failed:
(qvirtio_wait_queue_isr(&qvirtio_pci, &dev->vdev, &vqpci->vq, QVIRTIO_BLK_TIMEOUT))
GTester: last random seed: R02S5471c60ecfff4007d0adc9b0b7c265b6
thanks
-- PMM
Quoted 17 lines · El Mon, 15 Sep 2014 14:47:41 -0700 Peter Maydell <[email protected]>…
Quoted 4 lines · Marc Marí
Increase the clock step to avoid Travis failure in some builds due to overagressive timeout.
Signed-off-by Marc Marí <[email protected]>Unfortunately Travis is still failing with this:
ERROR:tests/virtio-blk-test.c:209:pci_basic: assertion failed:
(qvirtio_wait_queue_isr(&qvirtio_pci, &dev->vdev, &vqpci->vq, QVIRTIO_BLK_TIMEOUT))GTester: last random seed: R02S490664995052f018e72f25518e90cb81
**
Quoted 8 lines
ERROR:tests/virtio-blk-test.c:578:pci_idx: assertion failed:
(qvirtio_wait_queue_isr(&qvirtio_pci, &dev->vdev, &vqpci->vq, QVIRTIO_BLK_TIMEOUT))GTester: last random seed: R02S5471c60ecfff4007d0adc9b0b7c265b6
thanks
-- PMM
This means agressive timeout is not the problem. The problem is the ISR not being raised at all after sending a read or write request.
If this is the log of the failing case:
https://travis-ci.org/qemu/qemu/builds/35118444
(first time looking at Travis logs, not sure)
The difference between the one failing and the same arch not failing is:
brlapi support yes, linux AIO support yes, uuid support yes, licap-ng support yes, virtio-blk-data-plane yes, vhdx yes (this configuration fails).
The difference that is most likely to fail is virtio-blk-data-plane. So we should start looking there.
Marc
Quoted 4 lines · El Tue, 16 Sep 2014 00:17:57 +0200 Marc Marí <[email protected]>…
This means agressive timeout is not the problem. The problem is the ISR not being raised at all after sending a read or write request.
Quoted 8 lines
If this is the log of the failing case:
https://travis-ci.org/qemu/qemu/builds/35118444
(first time looking at Travis logs, not sure)The difference between the one failing and the same arch not failing
is: brlapi support yes, linux AIO support yes, uuid support yes, licap-ng support yes, virtio-blk-data-plane yes, vhdx yes (this configuration fails).
I have not been able to reproduce the bug. I have set a Ubuntu 14.04 x86_64, and I have the same configure parameters enabled (and the libraries installed) as the log in Travis, but make check does not fail.
Any idea?
Marc