Commit 7caffcb
committed
ci(e2e): make Maestro install fail loud + retry on curl flake
curl ... | bash without pipefail returns the exit status of bash, which
exits 0 even when the upstream curl fails with a TLS reset. That left a
prior run with "Maestro installed" in the workflow's accounting but no
actual binary, which downstream surfaced as a cryptic
xargs: maestro: No such file or directory
exit code 127
right after a successful 5-min Android build.
Add `set -o pipefail`, retry the install up to 3 times, verify the binary
exists at $HOME/.maestro/bin/maestro before declaring success, and print
its version so a regression here is loud the next time it happens.1 parent b7559fa commit 7caffcb
1 file changed
Lines changed: 30 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
261 | 261 | | |
262 | 262 | | |
263 | 263 | | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
264 | 268 | | |
265 | | - | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
266 | 279 | | |
| 280 | + | |
267 | 281 | | |
268 | 282 | | |
269 | 283 | | |
| |||
500 | 514 | | |
501 | 515 | | |
502 | 516 | | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
503 | 521 | | |
504 | | - | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
505 | 532 | | |
| 533 | + | |
506 | 534 | | |
507 | 535 | | |
508 | 536 | | |
| |||
0 commit comments