RESOLVED FIXED 250623
[EWS] clean-up-git-repo step tries to delete invalid branches
https://bugs.webkit.org/show_bug.cgi?id=250623
Summary [EWS] clean-up-git-repo step tries to delete invalid branches
David Kilzer (:ddkilzer)
Reported 2023-01-14 09:13:37 PST
[EWS] clean-up-git-repo step tries to delete invalid branches: ``` /bin/sh -c 'git branch | grep -v '"'"' main$'"'"' | xargs git branch -D || true' in dir /Volumes/Data/worker/iOS-16-Build-EWS/build (timeout 300 secs) watching logfiles {} argv: [b'/bin/sh', b'-c', b"git branch | grep -v ' main$' | xargs git branch -D || true"] using PTY: False error: branch '*' not found. error: branch '(HEAD' not found. error: branch 'detached' not found. error: branch 'at' not found. error: branch 'origin/main)' not found. Deleted branch fix171805-svg-textLength (was 78a3a1afebe9). program finished with exit code 0 elapsedTime=0.099196 ``` Example: <https://ews-build.webkit.org/#/builders/77/builds/12461>
Attachments
David Kilzer (:ddkilzer)
Comment 1 2023-01-14 09:14:26 PST
Maybe the step should do something like `git checkout main` first before running this command?
Radar WebKit Bug Importer
Comment 2 2023-01-21 10:08:22 PST
David Kilzer (:ddkilzer)
Comment 3 2023-08-20 10:21:27 PDT
EWS
Comment 4 2023-08-21 09:21:16 PDT
Committed 267090@main (318e60ffceea): <https://commits.webkit.org/267090@main> Reviewed commits have been landed. Closing PR #16877 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.