Bug 302646
| Summary: | [WKCI] git checkout commands should run with --progress flag enabled | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Carlos Alberto Lopez Perez <clopez> |
| Component: | New Bugs | Assignee: | Carlos Alberto Lopez Perez <clopez> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Carlos Alberto Lopez Perez
git checkout only reports the progress to stdout by default when running inside a terminal
GIT-CHECKOUT(1)
--progress, --no-progress
Progress status is reported on the standard error stream by default when it is attached to a terminal, unless --quiet is specified. This flag enables progress reporting even if not attached to a terminal, regardless of --quiet.
So it happens that on buildbot steps git checkout command is silent (no terminal attached) and if some bot is slow to do the checkout it gets killed because of no output for more than 300 seconds.
See: https://ews-build.webkit.org/#/builders/2/builds/141498/steps/4/logs/stdio
```
git checkout origin/main -f
in dir /home/buildbot-worker/GTK-Build-EWS/build (timeout 300 secs)
watching logfiles {}
argv: [b'git', b'checkout', b'origin/main', b'-f']
using PTY: False
command timed out: 300 seconds without output running [b'git', b'checkout', b'origin/main', b'-f'], attempting to kill
process killed by signal 9
program finished with exit code -1
```
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Carlos Alberto Lopez Perez
Pull request: https://github.com/WebKit/WebKit/pull/54054
EWS
Committed 303126@main (8f26e204263c): <https://commits.webkit.org/303126@main>
Reviewed commits have been landed. Closing PR #54054 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/164900427>