Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-11944

TestAclsEndToEnd#testCreateEncryptionZone failing very frequently.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 2.8.0
    • None
    • encryption, test
    • None

    Description

      TestAclsEndToEnd#testCreateEncryptionZone is failing v frequently.
      The way test is written makes very hard to debug.
      Ideally each test case should test only one behavior.
      But in this test case, it reset the dfs state many times in same test case.
      It fails with the following stack trace.

      Tests run: 9, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 35.17 sec <<< FAILURE! - in org.apache.hadoop.hdfs.TestAclsEndToEnd
      testCreateEncryptionZone(org.apache.hadoop.hdfs.TestAclsEndToEnd)  Time elapsed: 3.844 sec  <<< FAILURE!
      java.lang.AssertionError: Allowed zone creation of zone with blacklisted GENERATE_EEK
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.junit.Assert.assertTrue(Assert.java:41)
      	at org.junit.Assert.assertFalse(Assert.java:64)
      	at org.apache.hadoop.hdfs.TestAclsEndToEnd.testCreateEncryptionZone(TestAclsEndToEnd.java:753)
      
      
      Results :
      
      Failed tests: 
        TestAclsEndToEnd.testCreateEncryptionZone:753 Allowed zone creation of zone with blacklisted GENERATE_EEK
      

      It failed in the following pre-commits.
      HDFS-11885 precommit
      HDFS-11804 precommit

      Attachments

        Activity

          People

            Unassigned Unassigned
            shahrs87 Rushabh Shah
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: