sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SENTRY-578) Print detail error for TestHDFSIntegration when test failed
Date Sat, 28 Feb 2015 03:26:04 GMT

    [ https://issues.apache.org/jira/browse/SENTRY-578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14341284#comment-14341284
] 

Hadoop QA commented on SENTRY-578:
----------------------------------

Here are the results of testing the latest attachment
https://issues.apache.org/jira/secure/attachment/12686752/SENTRY-578.patch against master.

{color:green}Overall:{color} +1 all checks pass

{color:green}SUCCESS:{color} all tests passed

Console output: https://builds.apache.org/job/PreCommit-SENTRY-Build/476/console

This message is automatically generated.

> Print detail error for TestHDFSIntegration when test failed
> -----------------------------------------------------------
>
>                 Key: SENTRY-578
>                 URL: https://issues.apache.org/jira/browse/SENTRY-578
>             Project: Sentry
>          Issue Type: Improvement
>            Reporter: Dapeng Sun
>            Assignee: Dapeng Sun
>            Priority: Minor
>         Attachments: SENTRY-578.patch
>
>
> Jenkins may got errors like these:
> [Jenkins reference|https://builds.apache.org/job/Sentry-jdk-1.7/org.apache.sentry$sentry-tests-hive/153/testReport/junit/org.apache.sentry.tests.e2e.hdfs/TestHDFSIntegration/testNonHDFSLocations/]
> {noformat}
> Error Message
> expected:<null> but was:<ALL>
> Stacktrace
> junit.framework.AssertionFailedError: expected:<null> but was:<ALL>
> 	at junit.framework.Assert.fail(Assert.java:50)
> 	at junit.framework.Assert.failNotEquals(Assert.java:287)
> 	at junit.framework.Assert.assertEquals(Assert.java:67)
> 	at junit.framework.Assert.assertEquals(Assert.java:74)
> 	at org.apache.sentry.tests.e2e.hdfs.TestHDFSIntegration.verifyOnAllSubDirs(TestHDFSIntegration.java:984)
> 	at org.apache.sentry.tests.e2e.hdfs.TestHDFSIntegration.verifyOnAllSubDirs(TestHDFSIntegration.java:991)
> 	at org.apache.sentry.tests.e2e.hdfs.TestHDFSIntegration.verifyOnAllSubDirs(TestHDFSIntegration.java:991)
> 	at org.apache.sentry.tests.e2e.hdfs.TestHDFSIntegration.verifyOnAllSubDirs(TestHDFSIntegration.java:991)
> 	at org.apache.sentry.tests.e2e.hdfs.TestHDFSIntegration.verifyOnAllSubDirs(TestHDFSIntegration.java:991)
> 	at org.apache.sentry.tests.e2e.hdfs.TestHDFSIntegration.verifyOnAllSubDirs(TestHDFSIntegration.java:991)
> 	at org.apache.sentry.tests.e2e.hdfs.TestHDFSIntegration.verifyOnAllSubDirs(TestHDFSIntegration.java:991)
> 	at org.apache.sentry.tests.e2e.hdfs.TestHDFSIntegration.verifyOnAllSubDirs(TestHDFSIntegration.java:991)
> 	at org.apache.sentry.tests.e2e.hdfs.TestHDFSIntegration.verifyOnAllSubDirs(TestHDFSIntegration.java:991)
> 	at org.apache.sentry.tests.e2e.hdfs.TestHDFSIntegration.verifyOnAllSubDirs(TestHDFSIntegration.java:991)
> 	at org.apache.sentry.tests.e2e.hdfs.TestHDFSIntegration.verifyOnAllSubDirs(TestHDFSIntegration.java:991)
> 	at org.apache.sentry.tests.e2e.hdfs.TestHDFSIntegration.verifyOnAllSubDirs(TestHDFSIntegration.java:976)
> 	at org.apache.sentry.tests.e2e.hdfs.TestHDFSIntegration.verifyOnAllSubDirs(TestHDFSIntegration.java:968)
> 	at org.apache.sentry.tests.e2e.hdfs.TestHDFSIntegration.testNonHDFSLocations(TestHDFSIntegration.java:829)
> {noformat}
> It's better to print the detail path cause this for tracking.
> For example
> {noformat}
> Error at verifying Path action : /user/hive/warehouse/p1 ; expected:<null> but
was:<ALL>
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message