Skip to content

test: option to use snapshot repository in an artifact registry [not for review] #2560

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

suztomo
Copy link
Member

@suztomo suztomo commented Apr 18, 2025

I'm experimenting a way to run integration tests with the shared dependencies BOM that's uploaded to a repository in Google Artifact Registry.

Copy link

Warning: This pull request is touching the following templated files:

  • .kokoro/build.sh

@product-auto-label product-auto-label bot added size: s Pull request size is small. api: bigtable Issues related to the googleapis/java-bigtable API. labels Apr 18, 2025
@suztomo suztomo changed the title test: option to use snapshot repository in an artifact registry test: option to use snapshot repository in an artifact registry [not for review] Apr 18, 2025
@suztomo suztomo force-pushed the integration_tests_with_latest_deps branch 6 times, most recently from 53bc350 to 2e5b4f0 Compare April 18, 2025 18:51
@product-auto-label product-auto-label bot added size: m Pull request size is medium. and removed size: s Pull request size is small. labels Apr 18, 2025
@suztomo suztomo force-pushed the integration_tests_with_latest_deps branch from 2e5b4f0 to eadf998 Compare April 18, 2025 19:07
@suztomo suztomo force-pushed the integration_tests_with_latest_deps branch from eadf998 to 0e60655 Compare April 18, 2025 19:17
@suztomo
Copy link
Member Author

suztomo commented Apr 18, 2025

Many tests failed.

[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.011 s <<< FAILURE! -- in com.google.cloud.bigtable.admin.v2.it.BigtableAuthorizedViewIT
[ERROR] com.google.cloud.bigtable.admin.v2.it.BigtableAuthorizedViewIT -- Time elapsed: 0.005 s <<< ERROR!
java.lang.NullPointerException
	at com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.validateEndpoint(InstantiatingGrpcChannelProvider.java:1331)
	at com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.withMtlsEndpoint(InstantiatingGrpcChannelProvider.java:295)
	at com.google.api.gax.rpc.ClientContext.create(ClientContext.java:228)
	at com.google.cloud.bigtable.data.v2.stub.BigtableClientContext.create(BigtableClientContext.java:131)
	at com.google.cloud.bigtable.data.v2.stub.EnhancedBigtableStub.createBigtableClientContext(EnhancedBigtableStub.java:225)
	at com.google.cloud.bigtable.data.v2.stub.EnhancedBigtableStub.create(EnhancedBigtableStub.java:206)
	at com.google.cloud.bigtable.data.v2.BigtableDataClient.create(BigtableDataClient.java:179)
	at com.google.cloud.bigtable.test_helpers.env.CloudEnv.start(CloudEnv.java:316)
	at com.google.cloud.bigtable.test_helpers.env.TestEnvRule.before(TestEnvRule.java:117)
	at com.google.cloud.bigtable.test_helpers.env.TestEnvRule$1.evaluate(TestEnvRule.java:85)
	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)

Next: check the validity.

@suztomo
Copy link
Member Author

suztomo commented Apr 18, 2025

Regarding InstantiatingGrpcChannelProvider.withMtlsEndpoint, there was a recent change by @rmehta19.

googleapis/sdk-platform-java@a961459#diff-0ecb22815a443b8b1ae3712183cf63d5cd609fe326d28bc3d6cada228894a1d2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigtable Issues related to the googleapis/java-bigtable API. size: m Pull request size is medium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant