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

e2e: the backup access preflight has the same new-key race as the bucket suite, and the bucket capacity step reads unbounded

Đang mở Phù hợp với người mới
#4,691 0 bình luận 1 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 3 ngày

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

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
78/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
kubernetes, shell
Lĩnh vực
cloud, testing-qa

Hướng nghiên cứu

Đọc hack/e2e-chainsaw/_lib/backup-access-preflight.sh và bước dung lượng trong hack/e2e-chainsaw/bucket/chainsaw-test.yaml; so sánh phép thăm dò khóa với phép thăm dò có giới hạn từ #4580. Chạy các kiểm tra e2e liên quan và xác minh rằng bước preflight chỉ chờ lỗi SeaweedFS được chỉ định, các lỗi khác thất bại nhanh chóng, hết hạn có lỗi được đặt tên và cả ba lần đọc secret đều có thời gian chờ giới hạn.

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 triage/needs-triage

Two e2e scripts can hit the S3 key propagation race behind #4580, and one bucket-suite step reads without a time bound.

  • hack/e2e-chainsaw/_lib/backup-access-preflight.sh runs a bare mc alias set with a freshly issued key before its own loop. When the SeaweedFS gateway has not loaded the key yet (#4690), it fails with The access key ID you provided does not exist in our records., the same failure #4580 fixes in the bucket suite. Every backup round-trip suite runs this preflight.
  • The capacity step of hack/e2e-chainsaw/bucket/chainsaw-test.yaml makes three kubectl get secret reads with no timeout, so a hung apiserver call can hold the step until the op timeout instead of failing with its own message.

Fix shape: reuse the bounded key probe from #4580 (wait only on SeaweedFS's exact InvalidAccessKeyId text, fail fast on anything else, named failure on expiry) in the preflight, and wrap the three reads in timeout with a request timeout below it.

Ngôn ngữ chính
Go
Star
2.2k
Fork
209
Merge trung bình
3 ngày 18 giờ
Pull request đã merge (30 ngày)
241

Chuẩn bị môi trường

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 cozystack/cozystack

Tất cả issue của cozystack/cozystack

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.