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

Bigtable integration tests are failing consistently #3437

Closed
garrettjonesgoogle opened this issue Jul 10, 2018 · 11 comments · Fixed by #3473
Closed

Bigtable integration tests are failing consistently #3437

garrettjonesgoogle opened this issue Jul 10, 2018 · 11 comments · Fixed by #3473
Assignees
Labels
priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@JustinBeckwith
Copy link
Contributor

@sduskis can you please take a look?

@JustinBeckwith JustinBeckwith added type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. labels Jul 10, 2018
@sduskis
Copy link
Contributor

sduskis commented Jul 10, 2018

I'm seeing things like this:

io.grpc.StatusRuntimeException: PERMISSION_DENIED: Access denied. Missing IAM permission: bigtable.tables.delete.

The account / project that runs the test needs Bigtable admin permissions. I don't know which project and account that is, so I can't do much myself, but I'm happy to work with someone who has owner access.

@andreamlin
Copy link
Contributor

@sduskis How do we add the IAM permission to the service account used for running the integration tests? The service account has Owner role on the test project.

@andreamlin
Copy link
Contributor

I added the Bigtable Admin permission to the service account.

@sduskis
Copy link
Contributor

sduskis commented Jul 10, 2018

@andreamlin, did that fix the test?

@andreamlin
Copy link
Contributor

@garrettjonesgoogle Can you rerun the CI build?

@garrettjonesgoogle
Copy link
Member Author

Restarted.

@andreamlin
Copy link
Contributor

@sduskis No, https://circleci.com/gh/GoogleCloudPlatform/google-cloud-java/8495 is still failing due to the missing IAM permission.

@andreamlin
Copy link
Contributor

andreamlin commented Jul 10, 2018

Internal bug 111314727 filed.

@andreamlin
Copy link
Contributor

@sduskis Seems like https://circleci.com/gh/GoogleCloudPlatform/google-cloud-java/8939?utm_campaign=build-failed&utm_content=failing-command&utm_medium=email#tests/containers/0/actions/103 is failing on TableAdminClientIT.java, which doesn't use "glcoud-devel" as I had thought, but rather project "sduskis-hello-shakespear". Are all the permissions correct there?

@sduskis sduskis assigned igorbernstein2 and unassigned sduskis Jul 12, 2018
@sduskis
Copy link
Contributor

sduskis commented Jul 12, 2018

Good catch. Someone hardcoded my project. I'm assigning this to @igorbernstein2, who knows more about the test setup than I do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants