[ https://issues.apache.org/jira/browse/ATLAS-1316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15687321#comment-15687321 ]
Ayub Khan commented on ATLAS-1316: ---------------------------------- [~apoorvnaik] Below is the stacktrace for one of the tests failed. {noformat} testCreate(org.apache.atlas.web.resources.TypedefsJerseyResourceIT) Time elapsed: 0.182 sec <<< FAILURE! org.apache.atlas.AtlasServiceException: Metadata service API org.apache.atlas.AtlasBaseClient$APIInfo@5a37d3ed failed with status 404 (Not Found) Response Body () at org.apache.atlas.web.resources.TypedefsJerseyResourceIT.testCreate(TypedefsJerseyResourceIT.java:86) {noformat} Attaching application.log and failsafe test logs for reference. Application log shows {noformat} 2016-11-22 22:29:03,186 INFO - [main:] ~ AuditFilter initialization started (AuditFilter:55) 2016-11-22 22:29:05,551 ERROR - [qtp31534155-39:] ~ Unable to find Atlas Resource corresponding to : v2 Setting UNKNOWN (AtlasAuthorizationUtils:123) {noformat} This seems to be failing in the AtlasAuthorizationUtils.java(https://github.com/apache/incubator-atlas/blob/master/authorization/src/main/java/org/apache/atlas/authorize/simple/AtlasAuthorizationUtils.java#L123), where v2 APIs are not filtered properly. > V2 API webapp tests are failing > ------------------------------- > > Key: ATLAS-1316 > URL: https://issues.apache.org/jira/browse/ATLAS-1316 > Project: Atlas > Issue Type: Bug > Reporter: Ayub Khan > Attachments: application.log, > org.apache.atlas.web.resources.TypedefsJerseyResourceIT-output.txt, > org.apache.atlas.web.resources.TypedefsJerseyResourceIT.txt > > > {noformat} > Failed tests: > EntityLineageJerseyResourceIT.testInputLineageInfo:74 expected:<200> but > was:<404> > EntityLineageJerseyResourceIT.testLineageInfo:134 expected:<200> but > was:<404> > EntityLineageJerseyResourceIT.testOutputLineageInfo:104 expected:<200> but > was:<404> > TypedefsJerseyResourceIT.testCreate:86 » AtlasService Metadata service API > org... > TypedefsJerseyResourceIT.testDuplicateCreate:98 » AtlasService Metadata > servic... > TypedefsJerseyResourceIT.testListTypesByFilter:254 » AtlasService Metadata > ser... > TypedefsJerseyResourceIT.testUpdate:118 » AtlasService Metadata service API > or... > {noformat} > *From high level this seems like AtlasAuthorizationUtils.java is not handling > V2 API's properly* -- This message was sent by Atlassian JIRA (v6.3.4#6332)