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

Martin Tzvetanov Grigorov commented on RANGER-3245:
---------------------------------------------------

I even tried with JDK 16 but there are tests failures:

 
{code:java}
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 s 
- in org.apache.ranger.plugin.policyengine.TestRangerAuthContext
[INFO] 
[INFO] Results:
[INFO] 
[ERROR] Failures: 
[ERROR]   
TestPolicyEngine.testPolicyEngine_geo:318->runTestsFromResourceFiles:457->runTests:574->runTestCaseTests:668
 isAllowed mismatched! - DENY 'read /finance/restricted/sales.db' for 
g=finance; invalid clientIPAddress expected:<false> but was:<true>
[ERROR]   
TestPolicyEngine.testPolicyEngine_hdfs:193->runTestsFromResourceFiles:457->runTests:574->runTestCaseTests:668
 isAllowed mismatched! - DENY 'read /finance/restricted/sales.db' for 
g=finance; invalid clientIPAddress expected:<false> but was:<true>
[ERROR]   
TestPolicyEngine.testPolicyEngine_hdfs_allaudit:200->runTestsFromResourceFiles:457->runTests:574->runTestCaseTests:668
 isAllowed mismatched! - DENY 'read /finance/restricted/sales.db' for 
g=finance; invalid clientIPAddress expected:<false> but was:<true>
[ERROR]   
TestPolicyEngine.testPolicyEngine_hdfs_noaudit:207->runTestsFromResourceFiles:457->runTests:574->runTestCaseTests:668
 isAllowed mismatched! - DENY 'read /finance/restricted/sales.db' for 
g=finance; invalid clientIPAddress expected:<false> but was:<true>
[ERROR]   
TestPolicyEngine.testPolicyEngine_hiveForTag:269->runTestsFromResourceFiles:457->runTests:574->runTestCaseTests:668
 isAllowed mismatched! - ALLOW 'select ssn from employee.personal;' for user1 
using EXPIRES_ON tag expected:<true> but was:<false>
[ERROR]   
TestPolicyEngine.testPolicyEngine_hiveForTag_filebased:325->runTestsFromResourceFiles:457->runTests:574->runTestCaseTests:668
 isAllowed mismatched! - ALLOW 'select ssn from employee.personal;' for user1 
using EXPIRES_ON tag expected:<true> but was:<false>
[INFO] 
[ERROR] Tests run: 207, Failures: 6, Errors: 0, Skipped: 0
 {code}
 

Please let me know if you want me to add JDK16 to the matrix! This way these 
test failures will be addressed sooner!

> Use OpenJDK in TravisCI config instead of OracleJDK
> ---------------------------------------------------
>
>                 Key: RANGER-3245
>                 URL: https://issues.apache.org/jira/browse/RANGER-3245
>             Project: Ranger
>          Issue Type: Task
>          Components: build-infra
>            Reporter: Martin Tzvetanov Grigorov
>            Priority: Minor
>
> OpenJDK is recommended at TravisCI these days.
> OracleJDK 8 is no more available for any version of Ubuntu there



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to