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

TestAuthorize.testProduceConsumeCycle() is failing 'No authorized to access topics'

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 2.0.0
    • None
    • Sentry
    • None

    Description

      The following error is seen on the Jenkins job:

      [ERROR] testProduceConsumeCycle(org.apache.sentry.tests.e2e.kafka.TestAuthorize)  Time elapsed: 0.997 s  <<< FAILURE!
      java.lang.AssertionError:                                          
      user1 should have been able to successfully produce to topic tOpIc1.
       Exception: java.util.concurrent.ExecutionException: org.apache.kafka.common.errors.TopicAuthorizationException: Not authorized to access topics: [tOpIc1]
              at org.apache.sentry.tests.e2e.kafka.TestAuthorize.testProduceConsumeCycle(TestAuthorize.java:123)
      

      I went back several commits to see if this test was working, but it also fails in the same way. It is weird because the master branch was working correctly before.

      Attachments

        1. SENTRY-1910.1.patch
          4 kB
          Sergio Peña

        Activity

          People

            spena Sergio Peña
            spena Sergio Peña
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment