Rushabh S Shah created HDFS-11944:
-------------------------------------
Summary: TestAclsEndToEnd#testCreateEncryptionZone failing very
frequently.
Key: HDFS-11944
URL: https://issues.apache.org/jira/browse/HDFS-11944
Project: Hadoop HDFS
Issue Type: Bug
Components: encryption, test
Affects Versions: 2.8.0
Reporter: Rushabh S Shah
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.
{noformat}
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
{noformat}
It failed in the following pre-commits.
[HDFS-11885
precommit|https://issues.apache.org/jira/browse/HDFS-11885?focusedCommentId=16040117&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16040117]
[HDFS-11804
precommit|https://issues.apache.org/jira/browse/HDFS-11804?focusedCommentId=16039872&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16039872]
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]