You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "Alexander Kolbasov (JIRA)" <ji...@apache.org> on 2017/04/26 00:59:04 UTC
[jira] [Created] (SENTRY-1723) Flaky test
TestHDFSIntegrationEnd2End
Alexander Kolbasov created SENTRY-1723:
------------------------------------------
Summary: Flaky test TestHDFSIntegrationEnd2End
Key: SENTRY-1723
URL: https://issues.apache.org/jira/browse/SENTRY-1723
Project: Sentry
Issue Type: Sub-task
Components: Sentry
Reporter: Alexander Kolbasov
When I run the {{TestHDFSIntegrationEnd2End}} test from sentry-ha-redesign branch, I get
{code}
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.apache.sentry.tests.e2e.hdfs.TestHDFSIntegrationEnd2End
Tests run: 6, Failures: 1, Errors: 0, Skipped: 2, Time elapsed: 142.788 sec <<< FAILURE! - in org.apa
che.sentry.tests.e2e.hdfs.TestHDFSIntegrationEnd2End
testColumnPrivileges(org.apache.sentry.tests.e2e.hdfs.TestHDFSIntegrationEnd2End) Time elapsed: 15.0
14 sec <<< FAILURE!
java.lang.AssertionError: Error at verifying Path action : /user/hive/warehouse/db2.db/p1 ; expected:
<READ_EXECUTE> but was:<null>
at org.apache.sentry.tests.e2e.hdfs.TestHDFSIntegrationEnd2End.testColumnPrivileges(TestHDFSI
ntegrationEnd2End.java:505)
Results :
Flaked tests:
org.apache.sentry.tests.e2e.hdfs.TestHDFSIntegrationEnd2End.testColumnPrivileges(org.apache.sentry.te
sts.e2e.hdfs.TestHDFSIntegrationEnd2End)
Run 1: TestHDFSIntegrationEnd2End.testColumnPrivileges:505->TestHDFSIntegrationBase.verifyOnAllSubDirs:186->TestHDFSIntegrationBase.verifyOnAllSubDirs:205->TestHDFSIntegrationBase.verifyOnAllSubDirs:209->TestHDFSIntegrationBase.verifyOnAllSubDirsHelper:234->TestHDFSIntegrationBase.verifyOnAllSubDirsHelper:234->TestHDFSIntegrationBase.verifyOnAllSubDirsHelper:234->TestHDFSIntegrationBase.verifyOnAllSubDirsHelper:234->TestHDFSIntegrationBase.verifyOnAllSubDirsHelper:234->TestHDFSIntegrationBase.verifyOnAllSubDirsHelper:234->TestHDFSIntegrationBase.verifyOnAllSubDirsHelper:234->TestHDFSIntegrationBase.verifyOnAllSubDirsHelper:234->TestHDFSIntegrationBase.verifyOnAllSubDirsHelper:234->TestHDFSIntegrationBase.verifyOnAllSubDirsHelper:234->TestHDFSIntegrationBase.verifyOnAllSubDirsHelper:224 Error at verifying Path action : /user/hive/warehouse/db2.db/p1 ; expected:<READ_EXECUTE> but was:<null>
Run 2: PASS
Tests run: 5, Failures: 0, Errors: 0, Skipped: 2, Flakes: 1
{code}
I run the test with
{code}
mvn clean -pl sentry-tests/sentry-tests-hive -am -DfailIfNoTests=false -Dtest=TestHDFSIntegrationEnd2End test
{code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)