Commit 9c6de5b
committed
[Dexter] Work around flaky LLDB DAP stackTrace response
Buildbot cross-project-tests-sie-ubuntu sees sporadic test failures due to
missing "stackTrace" "source" "path". The "path" field is optional for "source"
according to DAP, so it's well formed. It works _most_ of the time, and doesn't
consistently fail for any one test which is all strangely inconsistent.
I can't replicate the failure locally after running the feature_tests in a loop
for 3 hours, and haven't been able to work out why the "source" is sometimes
missing by just looking at LLDB code.
So, instead, here is a plaster that I am hoping will improve bot consistency.
Attempt to get the stack frames with source paths 3 times before giving up.
It would be ideal if we didn't need to do any of this. I think `_post_step_hook`
could be removed if the behaviour in gh#156650 was fixed/changed.1 parent 22fb21a commit 9c6de5b
File tree
1 file changed
+31
-11
lines changed- cross-project-tests/debuginfo-tests/dexter/dex/debugger/lldb
1 file changed
+31
-11
lines changedLines changed: 31 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
419 | 420 | | |
420 | 421 | | |
421 | 422 | | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
422 | 437 | | |
423 | 438 | | |
424 | 439 | | |
425 | | - | |
426 | | - | |
427 | | - | |
428 | | - | |
429 | | - | |
430 | | - | |
431 | | - | |
432 | | - | |
433 | | - | |
434 | | - | |
435 | | - | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
436 | 456 | | |
437 | 457 | | |
438 | 458 | | |
| |||
0 commit comments