Skip to content

Commit

Permalink
Add the "thread is already initializing this class!" error to the err…
Browse files Browse the repository at this point in the history
…ors which retry the job
  • Loading branch information
tgoyne committed Feb 27, 2023
1 parent 21c6902 commit 6d8d372
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1020,7 +1020,7 @@ case "$COMMAND" in

failed=0
sh build.sh "verify-$target" 2>&1 | tee build/build.log | xcpretty -r junit -o build/reports/junit.xml || failed=1
if [ "$failed" = "1" ] && grep -E 'DTXProxyChannel|DTXChannel|out of date and needs to be rebuilt|operation never finished bootstrapping' build/build.log ; then
if [ "$failed" = "1" ] && grep -E 'DTXProxyChannel|DTXChannel|out of date and needs to be rebuilt|operation never finished bootstrapping|thread is already initializing this class' build/build.log ; then
echo "Known Xcode error detected. Running job again."
if grep -E 'out of date and needs to be rebuilt' build/build.log; then
rm -rf build/DerivedData
Expand Down

0 comments on commit 6d8d372

Please sign in to comment.