You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does this issue reproduce with the latest releases of all the above?
Yes
What operating system and processor architecture are you using?
Mac OS with M1 -- darwin, arm64
What did you do?
I attempt to use the latest version of testcontainers-go package (0.33.0) and execute tests with bazel test PATH/.... Without any testcontainers-go code in my tests, everything runs just fine.
What did you expect to see?
The tests can successfully execute, ideally spinning up containers and communicating with them. This works currently with go test PATH
What did you see instead?
Multiple errors with the following repeated for each one:
ERROR: {REDACTED}/2d73b2af33014c32bbf17fa778958384/external/com_github_golang_protobuf/proto/BUILD.bazel:33:6: in alias rule @com_github_golang_protobuf//proto:go_default_library: cycle in dependency graph:
//{REDACTED}_files-linux_x86_64 (f8338025f0a66230e1ba6d49b9eacad02f14e6e0c7e7b992b1d5b8553498bfbd)
//{REDACTED}-linux_x86_64 (f8338025f0a66230e1ba6d49b9eacad02f14e6e0c7e7b992b1d5b8553498bfbd)
//{REDACTED}_lib (ca261d591a34b2212a84ee60ccd5520d87efab4d0b2972f1837472c8ea3009ec)
//{REDACTED}/server:server (ca261d591a34b2212a84ee60ccd5520d87efab4d0b2972f1837472c8ea3009ec)
@io_opencensus_go_contrib_exporter_prometheus//:prometheus (ca261d591a34b2212a84ee60ccd5520d87efab4d0b2972f1837472c8ea3009ec)
@com_github_prometheus_client_golang//prometheus:go_default_library (ca261d591a34b2212a84ee60ccd5520d87efab4d0b2972f1837472c8ea3009ec)
@com_github_prometheus_client_golang//prometheus:prometheus (ca261d591a34b2212a84ee60ccd5520d87efab4d0b2972f1837472c8ea3009ec)
@com_github_prometheus_common//expfmt:go_default_library (ca261d591a34b2212a84ee60ccd5520d87efab4d0b2972f1837472c8ea3009ec)
@com_github_prometheus_common//expfmt:expfmt (ca261d591a34b2212a84ee60ccd5520d87efab4d0b2972f1837472c8ea3009ec)
@com_github_matttproud_golang_protobuf_extensions//pbutil:go_default_library (ca261d591a34b2212a84ee60ccd5520d87efab4d0b2972f1837472c8ea3009ec)
@com_github_matttproud_golang_protobuf_extensions//pbutil:pbutil (ca261d591a34b2212a84ee60ccd5520d87efab4d0b2972f1837472c8ea3009ec)
.-> @com_github_golang_protobuf//proto:go_default_library (ca261d591a34b2212a84ee60ccd5520d87efab4d0b2972f1837472c8ea3009ec)
| @com_github_golang_protobuf//proto:proto (ca261d591a34b2212a84ee60ccd5520d87efab4d0b2972f1837472c8ea3009ec)
| @org_golang_google_protobuf//reflect/protodesc:go_default_library (ca261d591a34b2212a84ee60ccd5520d87efab4d0b2972f1837472c8ea3009ec)
| @org_golang_google_protobuf//reflect/protodesc:protodesc (ca261d591a34b2212a84ee60ccd5520d87efab4d0b2972f1837472c8ea3009ec)
| @org_golang_google_protobuf//types/gofeaturespb:gofeaturespb (ca261d591a34b2212a84ee60ccd5520d87efab4d0b2972f1837472c8ea3009ec)
| @org_golang_google_protobuf//types/gofeaturespb:gofeaturespb_go_proto (ca261d591a34b2212a84ee60ccd5520d87efab4d0b2972f1837472c8ea3009ec)
| @io_bazel_rules_go//proto:go_proto (ca261d591a34b2212a84ee60ccd5520d87efab4d0b2972f1837472c8ea3009ec)
`-- @com_github_golang_protobuf//proto:go_default_library (ca261d591a34b2212a84ee60ccd5520d87efab4d0b2972f1837472c8ea3009ec)
WARNING: errors encountered while analyzing target '//{REDACTED}_files-linux_x86_64': it will not be built
ERROR: {REDACTED}/BUILD.bazel:60:8: in pkg_tar_impl rule //{REDACTED}_tar-linux_x86_64: cycle in dependency graph: target depends on an already-reported cycle
WARNING: errors encountered while analyzing target '//{REDACTED}_tar-linux_x86_64': it will not be built
ERROR: {REDACTED}/2d73b2af33014c32bbf17fa778958384/external/com_github_golang_protobuf/proto/BUILD.bazel:33:6: in alias rule @com_github_golang_protobuf//proto:go_default_library: cycle in dependency graph:
//{REDACTED}_files-linux_arm64 (f8338025f0a66230e1ba6d49b9eacad02f14e6e0c7e7b992b1d5b8553498bfbd)
//{REDACTED}-linux_arm64 (f8338025f0a66230e1ba6d49b9eacad02f14e6e0c7e7b992b1d5b8553498bfbd)
//{REDACTED}_lib (092b8996a8a8f5b2fa1af6cfffa473b35d4a755bb80fc3099d75100a9cbdcbf6)
//{REDACTED}/server:server (092b8996a8a8f5b2fa1af6cfffa473b35d4a755bb80fc3099d75100a9cbdcbf6)
@io_opencensus_go_contrib_exporter_prometheus//:prometheus (092b8996a8a8f5b2fa1af6cfffa473b35d4a755bb80fc3099d75100a9cbdcbf6)
@com_github_prometheus_client_golang//prometheus:go_default_library (092b8996a8a8f5b2fa1af6cfffa473b35d4a755bb80fc3099d75100a9cbdcbf6)
@com_github_prometheus_client_golang//prometheus:prometheus (092b8996a8a8f5b2fa1af6cfffa473b35d4a755bb80fc3099d75100a9cbdcbf6)
@com_github_prometheus_common//expfmt:go_default_library (092b8996a8a8f5b2fa1af6cfffa473b35d4a755bb80fc3099d75100a9cbdcbf6)
@com_github_prometheus_common//expfmt:expfmt (092b8996a8a8f5b2fa1af6cfffa473b35d4a755bb80fc3099d75100a9cbdcbf6)
@com_github_matttproud_golang_protobuf_extensions//pbutil:go_default_library (092b8996a8a8f5b2fa1af6cfffa473b35d4a755bb80fc3099d75100a9cbdcbf6)
@com_github_matttproud_golang_protobuf_extensions//pbutil:pbutil (092b8996a8a8f5b2fa1af6cfffa473b35d4a755bb80fc3099d75100a9cbdcbf6)
.-> @com_github_golang_protobuf//proto:go_default_library (092b8996a8a8f5b2fa1af6cfffa473b35d4a755bb80fc3099d75100a9cbdcbf6)
| @com_github_golang_protobuf//proto:proto (092b8996a8a8f5b2fa1af6cfffa473b35d4a755bb80fc3099d75100a9cbdcbf6)
| @org_golang_google_protobuf//reflect/protodesc:go_default_library (092b8996a8a8f5b2fa1af6cfffa473b35d4a755bb80fc3099d75100a9cbdcbf6)
| @org_golang_google_protobuf//reflect/protodesc:protodesc (092b8996a8a8f5b2fa1af6cfffa473b35d4a755bb80fc3099d75100a9cbdcbf6)
| @org_golang_google_protobuf//types/gofeaturespb:gofeaturespb (092b8996a8a8f5b2fa1af6cfffa473b35d4a755bb80fc3099d75100a9cbdcbf6)
| @org_golang_google_protobuf//types/gofeaturespb:gofeaturespb_go_proto (092b8996a8a8f5b2fa1af6cfffa473b35d4a755bb80fc3099d75100a9cbdcbf6)
| @io_bazel_rules_go//proto:go_proto (092b8996a8a8f5b2fa1af6cfffa473b35d4a755bb80fc3099d75100a9cbdcbf6)
`-- @com_github_golang_protobuf//proto:go_default_library (092b8996a8a8f5b2fa1af6cfffa473b35d4a755bb80fc3099d75100a9cbdcbf6)
WARNING: errors encountered while analyzing target '//{REDACTED}_files-linux_arm64': it will not be built
ERROR: /{REDACTED}/BUILD.bazel:27:10: in go_binary rule //{REDACTED}-linux_x86_64: cycle in dependency graph: target depends on an already-reported cycle
WARNING: errors encountered while analyzing target '//{REDACTED}-linux_x86_64': it will not be built
ERROR: {REDACTED}/BUILD.bazel:81:10: in oci_image rule //{REDACTED}:image-linux_x86_64: cycle in dependency graph: target depends on an already-reported cycle
The text was updated successfully, but these errors were encountered:
What version of gazelle are you using?
0.38.0
What version of rules_go are you using?
0.48.1
What version of Bazel are you using?
Does this issue reproduce with the latest releases of all the above?
Yes
What operating system and processor architecture are you using?
Mac OS with M1 -- darwin, arm64
What did you do?
I attempt to use the latest version of
testcontainers-go
package (0.33.0) and execute tests withbazel test PATH/...
. Without anytestcontainers-go
code in my tests, everything runs just fine.What did you expect to see?
The tests can successfully execute, ideally spinning up containers and communicating with them. This works currently with
go test PATH
What did you see instead?
Multiple errors with the following repeated for each one:
The text was updated successfully, but these errors were encountered: