Repository navigation
Stabilise the native-debugger tests - #13762
Merged
Merged
Conversation
They're not interesting in terms of what's being analysed - in passing this should deal with the instability of the location of the suppressed lldb plugin message.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
We've been getting regular enough failures on the linux-lldb-amd64 test to be more than a little irritating:
What's odd is that it seems that when it fails, it fails repeatably on that workflow 🤷
The underlying problem is actually visible in https://github.com/ocaml/ocaml/actions/runs/12247121114/job/34164592459 from #13665 which is that the exact appearance of the line
This version of LLDB has no plugin for the language "assembler". Inspection of frame variables will be limited.seems to be unstable. #13665 attempted to address it with:ocaml/testsuite/tests/native-debugger/sanitize.awk
Line 47 in 662ad7a
but this isn't correct because it still prints a blank line, and I think that's what we're still seeing here - this blank line moving around, instead of the message.
Blank lines are uninteresting in general in these tests - we're looking at the traces and so forth as the interesting part, so I propose a simple blanket removal of all blank lines as part of the sanitisation.
There remains something stranger going on with the gdb test, but this is much less frequent and may actually be a canary for something that is not right (or at least not stable) in the runtime:
giving: