Commit 75001de
Fix: Invalid sonobuoy result parsing
Refs: #2314
- The k8s_conformance task in platform tests was failing under some
circumstances, this was caused by a grep that was catching all results
in the format "Failed: *", the * was sometimes not a numeric value which
would crash the original *.to_s.to_i chain, it is still unknown what
value would be there (maybe "NA/Error").
- The "fix" adds more robust handling of erroneous values, namely they
will get printed through a log.warn and not cause an exception,
further changes will be done if more precise errors are reported.
- Also added missing namespace in task call.
Signed-off-by: svteb <slavo.valko@tietoevry.com>1 parent 6f59650 commit 75001de
1 file changed
+19
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
69 | 84 | | |
70 | | - | |
71 | | - | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
72 | 88 | | |
73 | 89 | | |
74 | 90 | | |
| |||
0 commit comments