Skip to content
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

Consistent alloydb integration test authentication issues #2988

Closed
burkedavison opened this issue Jun 24, 2024 · 3 comments
Closed

Consistent alloydb integration test authentication issues #2988

burkedavison opened this issue Jun 24, 2024 · 3 comments
Assignees
Labels
priority: p2 type: bug Something isn't working

Comments

@burkedavison
Copy link
Member

Example of integration tests failing with credentials problems:
https://github.com/GoogleCloudPlatform/spring-cloud-gcp/actions/runs/9649922009/job/26614418186?pr=2977

Caused by: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection
	at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:84)
	at org.springframework.jdbc.datasource.init.DatabasePopulatorUtils.execute(DatabasePopulatorUtils.java:52)
	... 63 more
Caused by: org.postgresql.util.PSQLException: FATAL: password authentication failed for user "postgres"

Also witnessed in now-closed PR: #2923

@meltsufin
Copy link
Member

I don't think this is specific to alloydb. I see that cloudsql tests are failing too. This probably has to do with the db password being rotated.

@meltsufin meltsufin assigned meltsufin and unassigned ttosta-google Jun 24, 2024
@ttosta-google
Copy link
Contributor

ttosta-google commented Jun 24, 2024

yeah the AlloyDB tests use the same password as the other databases

DB_PASSWORD: ${{ secrets.SPRING_CLOUD_GCP_CI_DB_ROOT_PASSWORD }}

@meltsufin
Copy link
Member

It should be fixed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p2 type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants