[yast-devel] find_minimal_failure: debugging the yast2-storage-ng test failures
Hi! The parallel_rspec tests in yast2-storage-ng sometimes fail randomly. Normally we could isolate the failure with "rspec --bisect", but that only works for Ruby exception failures, not for segfaults and other C++ crashes. Fortunately, after some trial and error*, I have found what "bisect" means in this case and implemented a failure minimization tool: https://gist.github.com/mvidner/59d2b895a11431c07d223d96ea91200b It helped me find the failures that Pepa fixed independently: https://github.com/yast/yast-storage-ng/pull/759/commits/769c8832a1e47b47287... Enjoy! *) the Decremental mode is pretty stupid. The Incremental mode only works for single files (all pairs, or even triplets, of 70 files are quite a lot), so the default is the Halving mode -- Martin Vidner, YaST Team http://en.opensuse.org/User:Mvidner
participants (1)
-
Martin Vidner