hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rushabh S Shah (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HDFS-11944) TestAclsEndToEnd#testCreateEncryptionZone failing very frequently.
Date Tue, 11 Jul 2017 14:28:09 GMT

     [ https://issues.apache.org/jira/browse/HDFS-11944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rushabh S Shah resolved HDFS-11944.
-----------------------------------
      Resolution: Invalid
    Release Note: 
It was not a flaky test.
Fixed it via HADOOP-14563

> 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.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org


Mime
View raw message