Commit 58f25ba
committed
crash.py: major rewrite
This is not working one would hope and so this now goes tested a
bit more. Tons of improvements:
- Fixes identifying previous crashes
- Fixes patterns we search to be more fixating on the first lines
- Generalizes warning / crash kernel snippet routines and logic
- Sensible defaults for printing messages
- Adds QR code for the first crash pattern line
- Adds ssh timeout if a reset is requested, if we can't ssh
in them we bail, so CIs can report this kernel as completely
broken.
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>1 parent d69b972 commit 58f25ba
2 files changed
Lines changed: 232 additions & 114 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| |||
0 commit comments