Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

e2e: TestRunAttachedFromRemoteImageAndRemove needs updating for v29.9.0 output

Aperta Adatta ai principianti
#7,352 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
76/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
docker, go
Ambito
cli, testing-qa

Direzione di ricerca

Inizia con l’assertion che fallisce in e2e/container/run_test.go:42 e confrontala con testdata/run-attached-from-remote-and-remove.golden. Esegui il test e2e indicato con il daemon v29.9.0, quindi usa go test . -update se viene confermato l’output aggiuntivo relativo al pulling dei layer. L’attività è completata quando il test passa senza mascherare una race non correlata o un errore del daemon.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

area/testing kind/bug

The e2e failure is unrelated, but looks like a genuine failure with the v29.9.0-rc.1 daemon; at a quick glance, it's either a race, or a bugfix that caused the output to change (need to check), combined with a test that may be too strict;

=== Failed
=== FAIL: e2e/container TestRunAttachedFromRemoteImageAndRemove (1.33s)
    run_test.go:42: assertion failed: 
        --- expected
        +++ actual
        @@ -1,4 +1,5 @@
         Unable to find image 'registry:5000/alpine:test-run-pulls' locally
         test-run-pulls: Pulling from alpine
        +63b65145d645: Pulling fs layer
         Digest: sha256:e2e16842c9b54d985bf1ef9242a313f36b856181f188de21313820e177002501
         Status: Downloaded newer image for registry:5000/alpine:test-run-pulls
        
        
        You can run 'go test . -update' to automatically update testdata/run-attached-from-remote-and-remove.golden to the new expected value.'

Originally posted by @thaJeztah in https://github.com/docker/cli/issues/7351#issuecomment-5967884757

Lingua principale
Go
Stelle
6.1k
Fork
2.2k
Merge medio
2g 2h
PR unite (30g)
28

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di docker/cli

Tutte le issue di docker/cli

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.