Flaky tests, or: why not to ignore mysteries Home Flaky tests, or: why not to ignore mysteries I spent a few weeks earlier this year tracking down a set of flaky end-to-end tests where bpftrace would occasionally cease to print output. I had gotten as far as figuring out std::cout had badbit set after a write but had run out of ideas on how to debug it. At the time, because I could not reproduce…