Make cold-install E2E survive the registry no-progress watchdog

Open
#456 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
go, kubernetes, python

Research direction

Start with integration-tests/live-v2/cold_install.py and integration-tests/live-v2/transfer_gate.py to understand how the test holds a layer transfer open and how progress is controlled. Read the suite instructions in integration-tests/live-v2/README.md, then trace the provisioner's registry no-progress watchdog and the retry behavior for RuntimeImageInstallFailed. Done means the two-node suite verifies the incomplete install survives the workload deadline and eventual recovery, with the failed-install retry behavior documented.

Written by the indexing model from the issue text.

Description

Problem

The ARM64 cold-install live E2E run at 7d250894c792f4cce91de89ca80787a5ef079ad6 timed out waiting for the first rollout to become Deferred and release its restart slot. integration-tests/live-v2/cold_install.py intentionally holds a real layer download beyond a 60-second workload deadline, but integration-tests/live-v2/transfer_gate.py withholds the entire body. The provisioner's pre-existing 30-second registry no-progress watchdog aborts the pull, producing RuntimeImageInstallFailed; the observed rollout was Failed/RestartFailed, rather than the test's expected RuntimeImageInstalling/Deferred.

The watchdog and failed authorization handling predate #451; this run does not establish a revision-pinning regression. The controller does not currently list RuntimeImageInstallFailed as a runtime blocker.

Expected

Make the test exercise an actual ongoing, incomplete cold install across the workload deadline without triggering the no-progress watchdog (for example, controlled streaming with periodic progress), while retaining the real TLS/authenticated transfer, no-premature-root, pinned generation, slot handoff, and eventual recovery assertions. Run the two-node cold-install suite documented in integration-tests/live-v2/README.md.

Separately evaluate and document whether an install that has genuinely failed and is retrying should result in RestartDeferred or RestartFailed; do not assume the current specification requires either outcome without resolving that behavior.

Dominant language
Go
Stars
60
Forks
2
Avg merge
6h 41m
Merged PRs (30d)
67

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/brewlet

All issues in microsoft/brewlet

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.