1. 11 5月, 2018 1 次提交
    • D
      system_reset_bootable: Use fractional random sleeps · 1017b7d8
      Dr. David Alan Gilbert 提交于
      system_reset_bootable picks random times to sleep for between
      reboot iterations.
      Prior to this patch it used integers, and so always waited for
      whole numbers of seconds.  This causes a problem where there's
      a sub-second failure window during which a reboot would fail.
      Depending on the system, qemu version and luck, the window could
      completely miss the failure (reliably), and a small change
      (such as a slightly different qemu build or host system) could
      move the failure window within a second-boundary that would be caught.
      This results in blaming the change rather than the original
      fault.
      
      Solve this by moving to random fractional values, at millisecond
      resolution; there's probably more than a ms slop in the system
      anyway.
      Signed-off-by: NDr. David Alan Gilbert <dgilbert@redhat.com>
      1017b7d8
  2. 10 5月, 2018 3 次提交
  3. 09 5月, 2018 4 次提交
  4. 08 5月, 2018 4 次提交
  5. 07 5月, 2018 1 次提交
  6. 04 5月, 2018 1 次提交
  7. 03 5月, 2018 1 次提交
  8. 02 5月, 2018 8 次提交
  9. 27 4月, 2018 2 次提交
  10. 26 4月, 2018 1 次提交
  11. 25 4月, 2018 3 次提交
  12. 20 4月, 2018 3 次提交
  13. 19 4月, 2018 2 次提交
  14. 18 4月, 2018 2 次提交
  15. 13 4月, 2018 4 次提交