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

TestSentryHDFSServiceProcessor.testRequestSyncUpdatesWhenPubSubNotifyReturnsFullPathsUpdate is flaky

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.1.0, 2.2.0
    • None
    • Sentry
    • None

    Description

      This test sometimes works, and sometimes fails.

      [ERROR] Failures: 
      [ERROR] org.apache.sentry.hdfs.TestSentryHDFSServiceProcessor.testRequestSyncUpdatesWhenPubSubNotifyReturnsFullPathsUpdate(org.apache.sentry.hdfs.TestSentryHDFSServiceProcessor)
      [ERROR]   Run 1: TestSentryHDFSServiceProcessor.testRequestSyncUpdatesWhenPubSubNotifyReturnsFullPathsUpdate:174 expected:<1> but was:<0>
      [ERROR]   Run 2: TestSentryHDFSServiceProcessor.testRequestSyncUpdatesWhenPubSubNotifyReturnsFullPathsUpdate:174 expected:<1> but was:<0>
      [ERROR]   Run 3: TestSentryHDFSServiceProcessor.testRequestSyncUpdatesWhenPubSubNotifyReturnsFullPathsUpdate:174 expected:<1> but was:<0>
      [ERROR]   Run 4: TestSentryHDFSServiceProcessor.testRequestSyncUpdatesWhenPubSubNotifyReturnsFullPathsUpdate:174 expected:<1> but was:<0>
      [INFO] 
      

      In another run

      [ERROR] Tests run: 8, Failures: 4, Errors: 0, Skipped: 2, Time elapsed: 0.128 s <<< FAILURE! - in org.apache.sentry.hdfs.TestSentryHDFSServiceProcessor
      [ERROR] testRequestSyncUpdatesWhenPubSubNotifyReturnsFullPathsUpdate(org.apache.sentry.hdfs.TestSentryHDFSServiceProcessor)  Time elapsed: 0.011 s  <<< FAILURE!
      java.lang.AssertionError: expected:<1> but was:<0>
      	at org.apache.sentry.hdfs.TestSentryHDFSServiceProcessor.testRequestSyncUpdatesWhenPubSubNotifyReturnsFullPathsUpdate(TestSentryHDFSServiceProcessor.java:174)
      
      [ERROR] testRequestSyncUpdatesWhenPubSubNotifyReturnsFullPathsUpdate(org.apache.sentry.hdfs.TestSentryHDFSServiceProcessor)  Time elapsed: 0.01 s  <<< FAILURE!
      java.lang.AssertionError: expected:<1> but was:<0>
      	at org.apache.sentry.hdfs.TestSentryHDFSServiceProcessor.testRequestSyncUpdatesWhenPubSubNotifyReturnsFullPathsUpdate(TestSentryHDFSServiceProcessor.java:174)
      
      [ERROR] testRequestSyncUpdatesWhenPubSubNotifyReturnsFullPathsUpdate(org.apache.sentry.hdfs.TestSentryHDFSServiceProcessor)  Time elapsed: 0 s  <<< FAILURE!
      java.lang.AssertionError: expected:<1> but was:<0>
      	at org.apache.sentry.hdfs.TestSentryHDFSServiceProcessor.testRequestSyncUpdatesWhenPubSubNotifyReturnsFullPathsUpdate(TestSentryHDFSServiceProcessor.java:174)
      
      [ERROR] testRequestSyncUpdatesWhenPubSubNotifyReturnsFullPathsUpdate(org.apache.sentry.hdfs.TestSentryHDFSServiceProcessor)  Time elapsed: 0 s  <<< FAILURE!
      java.lang.AssertionError: expected:<1> but was:<0>
      	at org.apache.sentry.hdfs.TestSentryHDFSServiceProcessor.testRequestSyncUpdatesWhenPubSubNotifyReturnsFullPathsUpdate(TestSentryHDFSServiceProcessor.java:174)
      
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            linaataustin Na Li
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: