Skip to content

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.

@generated-files-bot
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.

1 participant