Skip to content

Harden Windows guest-flush snapshots in guestagent TestSnapshotScripts. - #669

Open
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_1023234971
Open

copybara-service[bot] wants to merge 1 commit into
mainfrom
test_1023234971

Conversation

@copybara-service

Copy link
Copy Markdown

Harden Windows guest-flush snapshots in guestagent TestSnapshotScripts.

Post-boot Windows guest-flush snapshots can fail with transient HTTP 412
GUEST_FLUSH_FAILED_WITH_DETAILS errors while guest services and VSS settle.

  • Wait up to 180s (best-effort) for automatic guest services and stable VSS
    writers, plus a 30s post-boot delay.
  • Retry Windows snapshots up to 3 times on HTTP 412
    GUEST_FLUSH_FAILED_WITH_DETAILS, leaving Linux at 1 attempt.
  • Dump non-fatal VSS/VolSnap diagnostics on failure and scope log checks to the
    winning attempt's UTC start time.
Post-boot Windows guest-flush snapshots can fail with transient HTTP 412
`GUEST_FLUSH_FAILED_WITH_DETAILS` errors while guest services and VSS settle.

- Wait up to 180s (best-effort) for automatic guest services and stable VSS
  writers, plus a 30s post-boot delay.
- Retry Windows snapshots up to 3 times on HTTP 412
  `GUEST_FLUSH_FAILED_WITH_DETAILS`, leaving Linux at 1 attempt.
- Dump non-fatal VSS/VolSnap diagnostics on failure and scope log checks to the
  winning attempt's UTC start time.

PiperOrigin-RevId: 1023234971
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

0 participants