Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

[v29.9.0-rc.1 regression] e2e: TestRunAttachedFromRemoteImageAndRemove failing with v29.9.0-rc.1

已關閉 適合新手
#7,352 3 則留言 0 個 reaction 已指派 1 人 在 GitHub 檢視

維護者通常 1 天內回覆

@thaJeztah 已經在處理了。

開始於 2026年10月3日。

評估

難度
2/5
預估耗時
1-3 小時
新手友好度
76/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
docker, go
領域
cli, testing-qa

研究方向

從 e2e/container/run_test.go:42 處失敗的 assertion 開始,並將其與 testdata/run-attached-from-remote-and-remove.golden 比較。針對 v29.9.0 daemon 執行指定的 e2e 測試,然後在確認有額外的 pulling-layer 輸出後使用 go test . -update。完成的標準是測試通過,且沒有掩蓋無關的 race 或 daemon 失敗。

由索引模型根據 Issue 內容生成。

描述

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

主要語言
Go
星號
6.1k
分支
2.2k
平均合併
16 小時 54 分鐘
30 天內合併 PR
36

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

docker/cli 的其他 Issue

查看 docker/cli 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。