Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

flaky test: TestPromptExitCode/plugin_upgrade, estPromptExitCode/install

Đang mở
#6,248 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
1/5
Thời gian dự kiến
Dưới một giờ
Mức phù hợp với người mới
45/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
docker, go
Lĩnh vực
cli, testing-qa

Hướng nghiên cứu

Bắt đầu trong cli_test.go quanh dòng 205 và tìm TestPromptExitCode/plugin_upgrade, sau đó xem lại test estPromptExitCode/install liên quan và thiết lập e2e xung quanh. Xác nhận rằng lỗi là do trạng thái dùng chung của daemon, registry hoặc cấu hình; hoàn tất issue này nghĩa là bỏ qua test flaky và ghi lại cuộc điều tra cần thiết trong một ticket theo dõi.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

area/testing kind/bug
Description

This test was recently rewritten from testing plugin upgrade with
DCT enabled to just "plugin upgrade", but there's a fair amount of
complexity in the e2e tests that set up different daemons and registries.

It's possible that tests are affecting each-other, and some state (config)
is left behind.

Let's skip the test for now, and add a tracking ticket to dig deeper.

=== FAIL: e2e/global TestPromptExitCode/plugin_upgrade (7.55s)
    cli_test.go:205: assertion failed: 
        Command:  docker plugin push registry:5000/plugin-upgrade-test:latest
        ExitCode: 1
        Error:    exit status 1
        Stdout:   The push refers to repository [registry:5000/plugin-upgrade-test]
        459089aa5943: Preparing
        adc41078d1d9: Preparing
        d7bff979db13: Preparing
        459089aa5943: Preparing
        
        Stderr:   error pushing plugin: failed to do request: Head "https://registry:5000/v2/plugin-upgrade-test/blobs/sha256:adc41078d1d937495df2f90444e5414a01db31e5a080f8aa4f163c64d41abd11": http: server gave HTTP response to HTTPS client
        
        
        Failures:
        ExitCode was 1 expected 0
        Expected no error
Ngôn ngữ chính
Go
Star
6.1k
Fork
2.2k
Merge trung bình
1 ngày 10 giờ
Pull request đã merge (30 ngày)
47

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của docker/cli

Tất cả issue của docker/cli

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.