GoogleCloudPlatform / spring-cloud-gcp

New home for Spring Cloud GCP development starting with version 2.0.
Apache License 2.0
399 stars 295 forks source link

deps: update libraries-bom in 4.x #2931

Closed JoeWang1127 closed 1 month ago

JoeWang1127 commented 1 month ago

After updating cloud-sql-socket-factory to 1.18.1, the following error occurs in native tests ci.

Error: Could not find option 'BuildReport' from 'jar:file:///home/runner/.m2/repository/com/google/cloud/sql/jdbc-socket-factory-core/1.18.1/jdbc-socket-factory-core-1.18.1.jar!/META-INF/native-image/com.google.cloud.sql/cloud-sql-jdbc-socket-factory-parent/native-image.properties'. Use -H:PrintFlags= to list all available options.
Could not find option 'UnlockExperimentalVMOptions' from 'jar:file:///home/runner/.m2/repository/com/google/cloud/sql/jdbc-socket-factory-core/1.18.1/jdbc-socket-factory-core-1.18.1.jar!/META-INF/native-image/com.google.cloud.sql/cloud-sql-jdbc-socket-factory-parent/native-image.properties'. Use -H:PrintFlags= to list all available options.
Error: Image build request failed with exit status 1

Downgrade the version to 1.18.0

JoeWang1127 commented 1 month ago

Pubsub integration test failed:

Error: 8:713 [ERROR] Errors: 
Error: 8:713 [ERROR]   PubSubSampleApplicationIntegrationTests » Unauthenticated io.grpc.StatusRuntimeException: UNAUTHENTICATED: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
Error: 8:713 [ERROR]   PubSubSampleApplicationIntegrationTests.testCreateAndDeleteTopicAndSubscriptions » Unauthenticated io.grpc.StatusRuntimeException: UNAUTHENTICATED: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
21:46:58:713 [INFO] 
Error: 8:713 [ERROR] Tests run: 5, Failures: 0, Errors: 2, Skipped: 0
sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud