Test intermittently failing in a strange way (original) (raw)

I added a test dbg-record-roundtrip.ll in https://github.com/llvm/llvm-project/pull/83251

It is intermittently failing in a strange way, described here Add ALLOW_RETRIES to flaky test dbg-record-roundtrip.ll by OCHyams · Pull Request #85410 · llvm/llvm-project · GitHub

I can’t see how I’d have introduced such a strange failure mode with the changes I made in the commit. So I’m wondering if either I’ve done something wrong that I’m just not seeing, or if there’s a weird interaction between the various tools used in the test and the various pipes between them.

Has anyone run into any tests that use either llvm-link and/or verify-uselistorder that intermittently failed in a similar way?