Uploaded image for project: 'Sentry (Retired)'
  1. Sentry (Retired)
  2. SENTRY-946

[unit test] TestSentryServiceClientPool.testConnectionWithMultipleRetries sporadically fails with error: "AssertionError: Some tasks are failed"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.6.0
    • None
    • Test
    • None

    Description

      The following test seems to be flaky and has caused failures in the PreCommit builds:
      org.apache.sentry.provider.db.service.thrift.TestSentryServiceClientPool.testConnectionWithMultipleRetries

      Error Message
      
      Some tasks are failed.
      Stacktrace
      
      java.lang.AssertionError: Some tasks are failed.
      	at org.junit.Assert.fail(Assert.java:93)
      	at org.junit.Assert.assertTrue(Assert.java:43)
      	at org.apache.sentry.provider.db.service.thrift.TestSentryServiceClientPool$2.runTestAsSubject(TestSentryServiceClientPool.java:108)
      	at org.apache.sentry.service.thrift.SentryServiceIntegrationBase$3.run(SentryServiceIntegrationBase.java:355)
      	at org.apache.sentry.service.thrift.SentryServiceIntegrationBase$3.run(SentryServiceIntegrationBase.java:352)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at javax.security.auth.Subject.doAs(Subject.java:415)
      	at org.apache.sentry.service.thrift.SentryServiceIntegrationBase.runTestAsSubject(SentryServiceIntegrationBase.java:352)
      	at org.apache.sentry.provider.db.service.thrift.TestSentryServiceClientPool.testConnectionWithMultipleRetries(TestSentryServiceClientPool.java:69)
      

      Example:
      https://builds.apache.org/job/PreCommit-SENTRY-Build/940/testReport/junit/org.apache.sentry.provider.db.service.thrift/TestSentryServiceClientPool/testConnectionWithMultipleRetries/

      Attachments

        Activity

          People

            Unassigned Unassigned
            lskuff Lenni Kuff
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: