bug: Fix build and test failures in unified_credentials_integration_test
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- cpp, macos
- Lĩnh vực
- build-system, ci-cd, testing-qa
Hướng nghiên cứu
Bắt đầu với google/cloud/storage/tests/unified_credentials_integration_test.cc và ci/kokoro/macos/builds/bazel.sh, sau đó điều tra các lỗi linker và runtime đã được báo cáo đối với target unified_credentials_integration_test-grpc-metadata trên macOS. Chỉ bật lại các test đã bị comment và target CI sau khi các lỗi build và test được giải quyết.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The unified_credentials_integration_test is currently experiencing multiple failures on the kokoro macOS CI build.
- Some tests within
google/cloud/storage/tests/unified_credentials_integration_test.cchave been commented out as they were causing build failures.
[24,691 / 25,359] Linking google/cloud/storage/tests/unified_credentials_integration_test-grpc-metadata; 5s remote-cache, darwin-sandbox ... (4 actions, 1 running)
ERROR: /Volumes/BuildData/tmpfs/src/github/google-cloud-cpp/google/cloud/storage/tests/BUILD.bazel:29:9: Linking google/cloud/storage/tests/unified_credentials_integration_test-grpc-metadata failed: (Exit 1): cc_wrapper.sh failed: error executing CppLink command (from target //google/cloud/storage/tests:unified_credentials_integration_test-grpc-metadata)
(cd /private/var/tmp/_bazel_kbuilder/958e32d54e02d3b435828e68d1d5184e/sandbox/darwin-sandbox/13859/execroot/_main && \
exec env - \
GOOGLE_APPLICATION_CREDENTIALS=/tmpfs/src/gfile/kokoro-run-key.json \
PATH=/Users/kbuilder/Library/Caches/bazelisk/downloads/sha256/3b007e7ce2281408b99dbba11b35d2ae0191de1330fae49dc632077e93edf78e/bin:/Volumes/BuildData/tmpfs/src/github/google-cloud-cpp/ci/lib:/Users/kbuilder/.rvm/gems/ruby-2.7.8/bin:/Users/kbuilder/.rvm/gems/ruby-2.7.8@global/bin:/Users/kbuilder/.rvm/rubies/ruby-2.7.8/bin:/Users/kbuilder/.rvm/gems/ruby-2.7.8/bin:/Users/kbuilder/.rvm/gems/ruby-2.7.8@global/bin:/Users/kbuilder/.rvm/rubies/ruby-2.7.8/bin:/Users/kbuilder/.pyenv/shims:/Users/kbuilder/.pyenv/bin:/Users/kbuilder/.pyenv/bin:/Users/kbuilder/google-cloud-sdk/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/usr/local/share/dotnet:~/.dotnet/tools:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/usr/local/Cellar/php/8.3.11/bin:/Users/kbuilder/.rvm/bin:/Users/kbuilder/.rvm/bin:/Users/kbuilder/.rvm/bin:/Users/kbuilder/.rvm/bin \
PWD=/proc/self/cwd \
ZERO_AR_DATE=1 \
external/rules_cc~~cc_configure_extension~local_config_cc/cc_wrapper.sh @bazel-out/darwin_x86_64-fastbuild/bin/google/cloud/storage/tests/unified_credentials_integration_test-grpc-metadata-2.params)
# Configuration: 748c615facb29e47b965c37b19ec6619f0e52db2dd7eb8c6263f4829aca48340
# Execution platform: @@platforms//host:host
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
ld: warning: ignoring duplicate libraries: '-lm', '-lpthread'
Undefined symbols for architecture x86_64:
"_OPENSSL_sk_pop_free", referenced from:
google::cloud::storage::v2_42::(anonymous namespace)::UnifiedCredentialsIntegrationTest::ValidCAStoreFromSslCtxCallbackOptions()::'lambda'(void*, void*, void*)::operator()(void*, void*, void*) const::X509InfoPtrCleanup::operator()(stack_st_X509_INFO*) const in unified_credentials_integration_test.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I suspect that the boringssl version is incompatible to run this test.
- When the test above has been disabled by commenting out, the other tests run, but they fail the tests.
- Due to these issues, the entire
//google/cloud/storage/tests:unified_credentials_integration_test-grpc-metadatatest target has been disabled in theci/kokoro/macos/builds/bazel.shscript to stabilize the CI.
This issue tracks the work to:
- Investigate the root cause of the build and runtime failures.
- Fix the underlying issues.
- Re-enable the commented-out tests within the source file.
- Re-enable the test target in the kokoro CI build script.
- Ngôn ngữ chính
- C++
- Star
- 659
- Fork
- 471
- Merge trung bình
- 1 ngày 10 giờ
- Pull request đã merge (30 ngày)
- 100
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của googleapis/google-cloud-cpp
-
cleanup(storage): remove deprecated OpenTelemetry rpc.message.type and rpc.message.id attributesĐang mởapi: storage type: cleanup
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
googleapis/google-cloud-cpp#16544 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
api: storage priority: p2 type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
googleapis/google-cloud-cpp#16529 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
type: feature request
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
googleapis/google-cloud-cpp#16193 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
api: storage type: cleanup
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
googleapis/google-cloud-cpp#16545 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
api: storage type: cleanup
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
googleapis/google-cloud-cpp#16404 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của googleapis/google-cloud-cpp
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
utopia-rise/godot-jvm#1004 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Maintainer thường phản hồi trong vòng 1 ngày
-
new contributor
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
OpenMS/OpenMS#10512 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Component: R
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày