qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Consistency of iotests 093 and 136
@ 2019-01-23 17:00 Max Reitz
  2019-01-24 10:11 ` Alberto Garcia
  0 siblings, 1 reply; 8+ messages in thread
From: Max Reitz @ 2019-01-23 17:00 UTC (permalink / raw)
  To: Qemu-block; +Cc: qemu-devel@nongnu.org, Alberto Garcia

[-- Attachment #1: Type: text/plain, Size: 1078 bytes --]

Hi,

093 and 136 seem really flaky to me.  I can reproduce that by running:

$ dd if=/dev/urandom of=/dev/null

in as many shells as I have CPU cores, and then run the tests:

$ while TEST_DIR=/tmp/t0 ./check -T -raw 93; do; done

or

$ while TEST_DIR=/tmp/t0 ./check -T -raw 136; do; done

which usually fail after one or two iterations.


The exact failures vary, but for 093 it's usually something that ends with:

[...]
    self.assertTrue(check_limit(params['iops'], rd_iops + wr_iops))
AssertionError: False is not true

Or:

[...]
    self.assertTrue(check_limit(params['iops_rd'], rd_iops))
AssertionError: False is not true

etc. -- so the 10 % error range doesn't seem to be enough, I'd say.  But
will just increasing it solve the problem?


And for 136 it's usually (always?):

[...]
  File "136", line 278, in do_test_stats
    self.check_values()
  File "136", line 204, in check_values
    self.assertLess(0, stats['idle_time_ns'])
AssertionError: 0 not less than 0


Any ideas on making these more reliable?


Max


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-01-29 12:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-23 17:00 [Qemu-devel] Consistency of iotests 093 and 136 Max Reitz
2019-01-24 10:11 ` Alberto Garcia
2019-01-24 14:34   ` Alberto Garcia
2019-01-24 18:07     ` Eric Blake
2019-01-28 15:18       ` Alberto Garcia
2019-01-28 18:38         ` Markus Armbruster
2019-01-29 10:03           ` Alberto Garcia
2019-01-29 12:11             ` Markus Armbruster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).