Skip to content

Flaky Test: ITSinkTest Permission Denied #1880

@lqiu96

Description

@lqiu96
[INFO] Running com.google.cloud.logging.it.ITSinkTest
ERROR: Failed to delete a _Required sink, error: com.google.cloud.logging.LoggingException: io.grpc.StatusRuntimeException: PERMISSION_DENIED: Sink _Required cannot be deleted
ERROR: Failed to delete a _Default sink, error: com.google.cloud.logging.LoggingException: io.grpc.StatusRuntimeException: PERMISSION_DENIED: Sink _Default cannot be deleted. Consider disabling instead
[ERROR] Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 6.394 s <<< FAILURE! -- in com.google.cloud.logging.it.ITSinkTest
[ERROR] com.google.cloud.logging.it.ITSinkTest.testCreateGetUpdateAndDeleteSink -- Time elapsed: 1.154 s <<< FAILURE!
java.lang.AssertionError
	at org.junit.Assert.fail(Assert.java:87)
	at org.junit.Assert.assertTrue(Assert.java:42)
	at org.junit.Assert.assertTrue(Assert.java:53)
	at com.google.cloud.logging.it.ITSinkTest.testCreateGetUpdateAndDeleteSink(ITSinkTest.java:77)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
	at java.base/java.lang.Thread.run(Thread.java:1583)

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: loggingIssues related to the googleapis/java-logging API.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions