Retry transient Skia source synchronization in Android CI
android-ci / android-arm64 (push) Failing after 52m23s

This commit is contained in:
bit9992 committed 2026-11-12 00:00:40 +03:00
1 parent 2804788e9c
commit aecbacce4c
2 files changed
+12 -1

No files matched your search

+7 -1
View File
@@ -196,7 +196,13 @@ if [[ ! -f "$SKIA_SOURCE_DIR/.android-ci-archive-sha256" ]]; then
fi
[[ "$(cat "$SKIA_SOURCE_DIR/.android-ci-archive-sha256")" == "$skia_sha" ]] || fail 'Skia cache pin mismatch'
# Android does not use emscripten. This skips only that unrelated toolchain, not native deps or GN.
GIT_SYNC_DEPS_SKIP_EMSDK=1 python3 "$SKIA_SOURCE_DIR/tools/git-sync-deps"
# Some mirrors fail a connection while other pinned checkouts succeed. Retry the same
# immutable inputs only; revision verification below is still mandatory.
for attempt in 1 2 3; do
if GIT_SYNC_DEPS_SKIP_EMSDK=1 python3 "$SKIA_SOURCE_DIR/tools/git-sync-deps"; then break; fi
(( attempt < 3 )) || fail 'Skia source hosts remain unreachable after three attempts; check runner HTTPS egress to skia.googlesource.com/chromium.googlesource.com'
sleep "$((attempt * 10))"
done
python3 - "$SKIA_SOURCE_DIR" "$skia_gn_revision" <<'PY'
import pathlib, runpy, subprocess, sys
root = pathlib.Path(sys.argv[1])
+5
View File
@@ -44,6 +44,11 @@ Updated **2026-11-11**. Windows baseline remains `05e8d34bcf0e24a44f76e65220293c
`/workspace/TeamsPeach/client/${{ github.workspace }}`; OCI chdir failed before shell execution.
Removed that override so runner uses its native workspace default. Resource guards remain unchanged;
expanded storage still awaits the first actually executed resource step.
- Run4842 on `2804788` passed resource/bootstrap/checkout/cache steps: workspace/root available
223166976KiB (≈213GiB), MemAvailable30322916KiB. Provisioning installed host-in-container tools and
Android SDK/NDK, then failed git-sync-deps with HTTPS connection errors to skia.googlesource.com
and chromium.googlesource.com; other pinned checkouts succeeded. Added at most3 sync attempts
against the exact same immutable inputs, retaining mandatory SHA/revision checks and fatal failure.
## First Android APK build