googleapis / googleapis/google-cloud-cpp

Flake: HedgedObjectReadSourceTest.HedgeOpenFailureReleasesSlot

Đang mở
#16,413 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
api: storage type: cleanup
Ngôn ngữ chính
C++
Star
659
Fork
462
Merge trung bình
1 ngày 2 giờ
Pull request đã merge (30 ngày)
89

Mô tả

https://storage.googleapis.com/cloud-cpp-community-publiclogs/logs/google-cloud-cpp/16412/acd756cac86341327010db887393348eaabb9831/ubuntu-22.04-cmake-oldest-deps-__default__/log-412127b2-3ff0-4b33-a2dc-363f228a0a1b.txt

```
Step #2 - "build.sh": [ RUN ] HedgedObjectReadSourceTest.HedgeOpenFailureReleasesSlot
Step #2 - "build.sh":
Step #2 - "build.sh": GMOCK WARNING:
Step #2 - "build.sh": Uninteresting mock function call - returning default value.
Step #2 - "build.sh": Function call: Close()
Step #2 - "build.sh": Returns: 104-byte object
Step #2 - "build.sh": NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/main/docs/gmock_cook_book.md#knowing-when-to-expect-useoncall for details.
Step #2 - "build.sh": /workspace/google/cloud/storage/internal/hedged_object_read_source_test.cc:316: Failure
Step #2 - "build.sh": Value of: result
Step #2 - "build.sh": Expected: code is equal to OK and message is anything
Step #2 - "build.sh": Actual: 304-byte object <90-78 6E-CB 76-55 00-00 00-00 00-00 00-00 00-00 A8-7E 8B-CA 76-55 00-00 28-C1 DA-32 FF-7F 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 ... 30-10 00-7C 21-7F 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00>, whose status is UNAVAILABLE: open failed, with a code that isn't equal to OK, but a message that is anything
Step #2 - "build.sh":
Step #2 - "build.sh": [ FAILED ] HedgedObjectReadSourceTest.HedgeOpenFailureReleasesSlot (30 ms)

```

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

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

Hướng nghiên cứu

Bắt đầu với internal/hedged_object_read_source_test.cc, khoảng dòng 316, và chạy HedgedObjectReadSourceTest.HedgeOpenFailureReleasesSlot, sử dụng build log được liên kết để đối chiếu. Truy tìm lý do test nhận UNAVAILABLE thay vì OK và xác định nguyên nhân của lỗi không liên tục. Hoàn thành khi test không còn bị lỗi chập chờn và kết quả mong đợi của nó đáng tin cậy.

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

Đánh giá

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

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.