e2e: vmdisk-clone downloads its golden image from the public Alpine CDN inside a 10m assert, so a slow CDN fails the suite
Mantenedores costumam responder em até 3 dias
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 55/100
Direção de pesquisa
Start with hack/e2e-chainsaw/vminstance/golden-image.yaml and compare its import setup with hack/e2e-talos-image-cache.yaml and hack/e2e-chainsaw/_lib/talos-image-cache.sh. Trace how the existing cache is seeded, checked, and served with range support, then adapt that path for the Alpine qcow2 and update the golden image URL. Done means the Alpine image is served from the in-sandbox mirror and a static check fails if golden-image.yaml names an external host.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
The VMDisk clone suite downloads its golden image from the public Alpine CDN inside a 10 minute assert, so a slow CDN fails the suite even when the import itself is healthy. This happened in in-tree E2E run 43310967137, on a change that touches only seaweedfs. The create-golden-image step applies hack/e2e-chainsaw/vminstance/golden-image.yaml, an HTTP import of nocloud_alpine-3.21.7-x86_64-bios-cloudinit-r0.qcow2 (172,032,000 bytes) from dl-cdn.alpinelinux.org. At the deadline the DataVolume was still ImportInProgress at 66.75%, with Ready reason TransferRunning.
* status.(conditions[?type == 'Ready'])[0].status: Invalid value: "False": Expected value: "True"
operation terminated with error: context deadline exceeded
The import did not fail, it was just slow. The importer log shows TransferScratch from 00:39:34Z and a steady climb with no errors or stalls: 3.14% at 00:40:00, 62.71% at 00:48:32, 66.10% at 00:49:01. That is about 114 MB in 567 s, roughly 200 KB/s from the first second. At that rate the whole file needs about 14 minutes.
Other downloads were fast on the same day and in the same run. The same step took 40 to 45 s in six green PR runs (43309715411, 43299732594, 43295829373, 43295775822, 43292143233, 43284911026), so about 4 to 5 MB/s. In the failing run, vmdisk imported the Ubuntu cloud image from cloud-images.ubuntu.com in 77 s (64 to 86 s in the green runs), and the 231 MB cdi-importer image pulled in 7 s. Nothing else was running in the suite at the time. Only the Alpine CDN leg was slow.
Raising the timeout alone only moves the threshold. The tenant Talos image had the same problem and is now served from an in-sandbox mirror. hack/e2e-talos-image-cache.yaml seeds the file once at install, with retries and a stall abort, and then serves it with range support. hack/e2e-chainsaw/_lib/talos-image-cache.sh checks that the mirror is reachable and falls back to the public URL. Seeding the Alpine qcow2 the same way and pointing golden-image.yaml at the mirror takes the download out of the assert window. A slow CDN would then cost install time with retries instead of failing a test. A static check that golden-image.yaml names no external host would fail on the current file and keep it from coming back.
The Ubuntu imports in vmdisk.yaml and vmdisk-vmi.yaml and the cirros URL in chainsaw-test.yaml have the same exposure, but none of them failed this way in the runs above.
- Linguagem predominante
- Go
- Estrelas
- 2.2k
- Forks
- 209
- Merge médio
- 4d 14h
- PRs com merge (30d)
- 140
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de cozystack/cozystack
-
triage/needs-triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
cozystack/cozystack#5464 · 1 reação ·
Mantenedores costumam responder em até 3 dias
-
test(kubernetes-nodes): stop hand-typing the default Talos version in tests that are not about itAbertaarea/testing kind/cleanup triage/needs-triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 74/100
cozystack/cozystack#5456 · 1 reação ·
Mantenedores costumam responder em até 3 dias
-
area/testing kind/cleanup triage/needs-triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 83/100
cozystack/cozystack#5447 · 1 reação ·
Mantenedores costumam responder em até 3 dias
-
area/kubernetes kind/bug triage/needs-triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
cozystack/cozystack#5445 · 1 reação ·
Mantenedores costumam responder em até 3 dias
-
kind/bug triage/needs-triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 74/100
cozystack/cozystack#5438 · 1 reação ·
Mantenedores costumam responder em até 3 dias
Todas as issues de cozystack/cozystack
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
-
Correct local module testing instructions for Go sample contributorsTalvez já em andamento @slievrly assumiu hoje. Aberta
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 90/100
-
internal/core: cleanAttachmentName splits a rune at the 255-byte cap and stores invalid UTF-8Talvez já em andamento @pacwestnobody assumiu hoje. Abertago good first issue help wanted
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
Podiom/Podiom#427 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
TestLaunchGolden spends about 98 seconds on fake-agent exit delays under -raceTalvez já em andamento Um pull request vinculado a esta issue está aberto ou já foi mesclado. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
Mantenedores costumam responder em até 1 dia
-
factory:subtask
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 95/100
Mantenedores costumam responder em até 1 dia