java-docs-samples icon indicating copy to clipboard operation
java-docs-samples copied to clipboard

Multiple tests in compute/cloud-client fail with com.google.api.gax.rpc.PermissionDeniedException

Open minherz opened this issue 1 year ago • 0 comments

Multiple test classes under /compute/cloud-client fail with the error:

Execution com.google.api.gax.rpc.PermissionDeniedException: Operation with name "operation-GUID" failed with status = HttpJsonStatusCode{statusCode=PERMISSION_DENIED} and message = FORBIDDEN

Majority of failures happen in the class setup methods decorated with the @BeforeAll attribute. All these classes are disabled using @Disabled attribute at the class level with the "TODO: fix https://github.com/GoogleCloudPlatform/java-docs-samples/issues/9373" message. The following list of (not full) class names is not complete. Search the folder compute/cloud-client for @Disabled("TODO: string to find all classes.

Examples of the error logs can be found here: test log1, test log2. These logs do not capture errors in all classes.

minherz avatar Jun 14 '24 02:06 minherz