tests/e2e: brownfield, Docker live-restore with no container restart (tests #118)
I maintainer di solito rispondono entro 2 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
Direzione di ricerca
Start with tests/e2e/scenarios-brownfield.sh and the setup-brownfield fixture added by #124; review #118 and #141 for the live-restore and older Docker setup. Add the scenario’s extra daemon.json fixture and older docker-ce, then run the brownfield end-to-end scenario. Done means its checklist passes, including unchanged container start time through the package upgrade and the audit and fresh-server cases.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Epic #121 · Tests #118 (epic #109) · Milestone Phase 5: Servers already in use · Priority high · Size M · Depends on #118, #124
Why
#118 turns on live-restore with a reload instead of a restart, so containers keep running, and makes the next Docker upgrade safe too.
Scenarios go in tests/e2e/scenarios-brownfield.sh (profile added by #124) and reuse its fixture from setup-brownfield: nginx on 80/443 with a token page, a container -p 8080:80, a deploy user with a key, the 50-site.conf drop-in, UFW with its own rules, a custom fail2ban jail, ptrace_scope = 0, and a "panel" root login on 22 before the run. Extra fixture listed below is added by this issue only.
Extra fixture
/etc/docker/daemon.jsonwith a key of the site's own ("dns": ["9.9.9.9"]).- The older
docker-cefrom the #141 test.
Scenario docker-live-restore
-
--existing --yes --only docker:docker info --format '{{.LiveRestoreEnabled}}'is true; the container ID andStartedAtare unchanged; dockerd'sExecMainStartTimestampis unchanged (a reload, not a restart);daemon.jsonkeepsdnsand has the log options. - The point of live-restore: then upgrade
docker-cewith apt; the containerStartedAtis still unchanged and the token on 8080 still answers. - Docker Desktop context: with a root context set to a dead socket (
docker context create e2e --docker host=unix:///nonexistent+use), the step switches todefaultand succeeds. - Debian only: with distro
docker.ioinstead of Docker CE, the step notes it and adds nodockerapt source. - Audit:
dock.live_restoreis PASS here and INFO on a fresh server without it (never WARN or FAIL). - With
--existing,DOCKER_AUTO_UPDATEis saved as yes only once live-restore is active. - Fresh path:
--yes --only dockerdoes not restart Docker without a yes (after #65).
Acceptance criteria
- Removing
live-restorefrom the jq merge turns the upgrade assertion red.
- Lingua principale
- Shell
- Stelle
- 2
- Fork
- 3
- Merge medio
- 2g 14m
- PR unite (30g)
- 47
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di exceev-consulting/server-prep
-
area: docs bug claude documentation good first issue priority: low size: S triaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
exceev-consulting/server-prep#225 ·
I maintainer di solito rispondono entro 2 giorni
-
area: preconfig bug claude priority: medium size: S triaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
exceev-consulting/server-prep#224 ·
I maintainer di solito rispondono entro 2 giorni
-
claude enhancement priority: low size: S
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
exceev-consulting/server-prep#222 ·
I maintainer di solito rispondono entro 2 giorni
-
e2e flake: boot fails on debian-13 when its genericcloud image is missing from SHA512SUMSForse già presa @exceev-claude l’ha presa 1 giorno fa. Apertaarea: ci bug claude priority: high size: S
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
exceev-consulting/server-prep#212 · 2 commenti ·
I maintainer di solito rispondono entro 2 giorni
-
server-audit.sh: flag world-writable directories in /etc such as /etc/dokploy (GHSA-qxjv-6cvh-32c6)Apertaarea: audit claude enhancement panel: dokploy priority: high security size: S triaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
exceev-consulting/server-prep#211 ·
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di exceev-consulting/server-prep
Issue simili
-
bot-found documentation priority: P3
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
madenvel/KalinkaPlayer#602 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
huggingface/kernels#1006 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 94/100
I maintainer di solito rispondono entro 2 giorni
-
severity: low
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
luainkernel/lunatik#2594 ·
I maintainer di solito rispondono entro 1 giorno