See 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/270/display/redirect?page=changes>

Changes:

[madhan] ATLAS-2360: error handling improvements in DSL

------------------------------------------
[...truncated 437.93 KB...]
127.0.0.1 - - [13/Jan/2018:20:40:24 +0000] "GET 
//localhost:31000/api/atlas/v2/types/typedef/name/hive_column_v2 HTTP/1.1" 404 
91 "-" "Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:24 +0000] "GET 
//localhost:31000/api/atlas/v2/types/typedef/name/hive_table_v2 HTTP/1.1" 404 
90 "-" "Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:24 +0000] "GET 
//localhost:31000/api/atlas/v2/types/typedef/name/hive_process_v2 HTTP/1.1" 404 
92 "-" "Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:24 +0000] "GET 
//localhost:31000/api/atlas/v2/types/typedef/name/classification HTTP/1.1" 200 
472 "-" "Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:24 +0000] "GET 
//localhost:31000/api/atlas/v2/types/typedef/name/pii_Tag HTTP/1.1" 200 308 "-" 
"Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:24 +0000] "GET 
//localhost:31000/api/atlas/v2/types/typedef/name/phi_Tag HTTP/1.1" 200 308 "-" 
"Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:24 +0000] "GET 
//localhost:31000/api/atlas/v2/types/typedef/name/pci_Tag HTTP/1.1" 200 308 "-" 
"Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:24 +0000] "GET 
//localhost:31000/api/atlas/v2/types/typedef/name/sox_Tag HTTP/1.1" 200 308 "-" 
"Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:24 +0000] "GET 
//localhost:31000/api/atlas/v2/types/typedef/name/sec_Tag HTTP/1.1" 200 308 "-" 
"Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:24 +0000] "GET 
//localhost:31000/api/atlas/v2/types/typedef/name/finance_Tag HTTP/1.1" 200 316 
"-" "Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:24 +0000] "POST 
//localhost:31000/api/atlas/v2/types/typedefs HTTP/1.1" 200 5333 "-" 
"Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:25 +0000] "POST 
//localhost:31000/api/atlas/v2/entity HTTP/1.1" 200 239 "-" "Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:25 +0000] "POST 
//localhost:31000/api/atlas/v2/entity HTTP/1.1" 200 355 "-" "Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:25 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/guid/ebfdf224-5c83-4283-acca-a0653a6298db 
HTTP/1.1" 200 989 "-" "Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:25 +0000] "POST 
//localhost:31000/api/atlas/v2/entity HTTP/1.1" 200 195 "-" "Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:25 +0000] "POST 
//localhost:31000/api/atlas/v2/entity/guid/random/classifications HTTP/1.1" 404 
102 "-" "Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:25 +0000] "POST 
//localhost:31000/api/atlas/v2/entity/bulk HTTP/1.1" 200 3530 "-" 
"Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:25 +0000] "POST 
//localhost:31000/api/atlas/v2/entity HTTP/1.1" 200 237 "-" "Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:25 +0000] "POST 
//localhost:31000/api/atlas/v2/entity HTTP/1.1" 200 237 "-" "Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:26 +0000] "DELETE 
//localhost:31000/api/atlas/v2/entity/bulk?guid=8b8673de-1e9f-4c3e-a442-ffa023891c9e&guid=332e6072-b19a-46d0-af47-2af923877e62
 HTTP/1.1" 200 212 "-" "Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:26 +0000] "POST 
//localhost:31000/api/atlas/v2/entity HTTP/1.1" 200 269 "-" "Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:26 +0000] "DELETE 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_db_v2?attr:name=dbQZTWwKrHqY%E9%8A%82%E4%A1%90%EC%BA%AA%EA%84%B1%E3%92%8F%E5%86%99%EA%9E%8F%EB%83%BC%E7%9A%8A%EE%93%83
 HTTP/1.1" 200 122 "-" "Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:26 +0000] "DELETE 
//localhost:31000/api/atlas/v2/entity/guid/random/classification/blah_trait 
HTTP/1.1" 400 105 "-" "Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:26 +0000] "GET 
//localhost:31000/api/atlas/discovery/search/dsl?query=hive_db_v2+where+name%3D'dbQZTWwKrHqY'&limit=10&offset=0
 HTTP/1.1" 200 1658 "-" "Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:26 +0000] "GET 
//localhost:31000/api/atlas/discovery/search/dsl?query=hive_db_v2+where+name%3D'dbQZTWwKrHqY'&limit=10&offset=0
 HTTP/1.1" 200 1658 "-" "Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:27 +0000] "POST 
//localhost:31000/api/atlas/v2/entity HTTP/1.1" 200 350 "-" "Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:27 +0000] "GET 
//localhost:31000/api/atlas/discovery/search/dsl?query=hive_db_v2+where+name%3D'dbQZTWwKrHqY'&limit=10&offset=0
 HTTP/1.1" 200 2726 "-" "Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:28 +0000] "POST 
//localhost:31000/api/atlas/v2/types/typedefs HTTP/1.1" 200 532 "-" 
"Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:28 +0000] "POST 
//localhost:31000/api/atlas/v2/entity HTTP/1.1" 200 237 "-" "Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:28 +0000] "PUT 
//localhost:31000/api/atlas/v2/types/typedefs HTTP/1.1" 200 691 "-" 
"Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:28 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/guid/203a8e82-180e-44f9-99ba-6d323fbcc26c 
HTTP/1.1" 200 303 "-" "Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:28 +0000] "POST 
//localhost:31000/api/atlas/v2/entity HTTP/1.1" 404 181 "-" "Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:28 +0000] "POST 
//localhost:31000/api/atlas/v2/entity HTTP/1.1" 200 237 "-" "Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:28 +0000] "POST 
//localhost:31000/api/atlas/v2/entity HTTP/1.1" 200 178 "-" "Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:28 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_db_v2?attr:name=dbQZTWwKrHqY
 HTTP/1.1" 200 2510 "-" "Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:28 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/guid/blah HTTP/1.1" 404 95 "-" 
"Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:28 +0000] "POST 
//localhost:31000/api/atlas/v2/entity HTTP/1.1" 200 237 "-" "Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:28 +0000] "GET 
//localhost:31000/api/atlas/entities/ea17d544-435e-4c36-b0fe-425451a6b8aa/audit?count=10
 HTTP/1.1" 200 952 "-" "Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:28 +0000] "POST 
//localhost:31000/api/atlas/v2/entity HTTP/1.1" 200 239 "-" "Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:28 +0000] "POST 
//localhost:31000/api/atlas/v2/entity HTTP/1.1" 200 355 "-" "Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:29 +0000] "GET 
//localhost:31000/api/atlas/v2/types/typedef/name/lg6upaLZfl HTTP/1.1" 404 87 
"-" "Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:29 +0000] "POST 
//localhost:31000/api/atlas/v2/types/typedefs HTTP/1.1" 200 557 "-" 
"Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:29 +0000] "POST 
//localhost:31000/api/atlas/v2/entity HTTP/1.1" 200 282 "-" "Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:29 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/guid/35e9c5d3-3cbc-48d9-9347-5fa463772fb8 
HTTP/1.1" 200 329 "-" "Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:29 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/guid/ebfdf224-5c83-4283-acca-a0653a6298db 
HTTP/1.1" 200 982 "-" "Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:29 +0000] "POST 
//localhost:31000/api/atlas/v2/entity HTTP/1.1" 200 195 "-" "Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:29 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/guid/ebfdf224-5c83-4283-acca-a0653a6298db 
HTTP/1.1" 200 1000 "-" "Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:29 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/guid/ebfdf224-5c83-4283-acca-a0653a6298db 
HTTP/1.1" 200 1000 "-" "Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:29 +0000] "POST 
//localhost:31000/api/atlas/v2/entity HTTP/1.1" 200 195 "-" "Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:29 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/guid/ebfdf224-5c83-4283-acca-a0653a6298db 
HTTP/1.1" 200 1012 "-" "Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:29 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/guid/ebfdf224-5c83-4283-acca-a0653a6298db 
HTTP/1.1" 200 1012 "-" "Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:29 +0000] "POST 
//localhost:31000/api/atlas/v2/entity HTTP/1.1" 200 513 "-" "Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:29 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/guid/ebfdf224-5c83-4283-acca-a0653a6298db 
HTTP/1.1" 200 1150 "-" "Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:29 +0000] "GET 
//localhost:31000/api/atlas/v2/types/typedef/name/PII_TraitrjglUTH3jO HTTP/1.1" 
404 96 "-" "Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:29 +0000] "POST 
//localhost:31000/api/atlas/v2/types/typedefs HTTP/1.1" 200 576 "-" 
"Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:29 +0000] "DELETE 
//localhost:31000/api/atlas/v2/entity/guid/ebfdf224-5c83-4283-acca-a0653a6298db/classification/PII_TraitrjglUTH3jO
 HTTP/1.1" 404 102 "-" "Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:29 +0000] "GET 
//localhost:31000/api/atlas/v2/types/typedef/name/PII_TraitrKEwQ8myug HTTP/1.1" 
404 96 "-" "Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:29 +0000] "POST 
//localhost:31000/api/atlas/v2/types/typedefs HTTP/1.1" 200 425 "-" 
"Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:29 +0000] "GET 
//localhost:31000/api/atlas/v2/types/classificationdef/name/PII_TraitrKEwQ8myug 
HTTP/1.1" 200 332 "-" "Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:29 +0000] "POST 
//localhost:31000/api/atlas/v2/entity/guid/ebfdf224-5c83-4283-acca-a0653a6298db/classifications
 HTTP/1.1" 204 0 "-" "Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:30 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/guid/ebfdf224-5c83-4283-acca-a0653a6298db/classifications
 HTTP/1.1" 200 316 "-" "Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:30 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/guid/ebfdf224-5c83-4283-acca-a0653a6298db/classifications
 HTTP/1.1" 200 316 "-" "Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:30 +0000] "POST 
//localhost:31000/api/atlas/v2/entity HTTP/1.1" 200 359 "-" "Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:30 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/guid/ebfdf224-5c83-4283-acca-a0653a6298db 
HTTP/1.1" 200 1261 "-" "Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:30 +0000] "PUT 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_table_v2?attr:qualifiedName=tableE2PaG8KITL
 HTTP/1.1" 200 510 "-" "Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:30 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/guid/ebfdf224-5c83-4283-acca-a0653a6298db 
HTTP/1.1" 200 1337 "-" "Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:30 +0000] "GET 
//localhost:31000/api/atlas/v2/types/typedef/name/PII_TraitWQIjPaNMSM HTTP/1.1" 
404 96 "-" "Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:30 +0000] "POST 
//localhost:31000/api/atlas/v2/types/typedefs HTTP/1.1" 200 425 "-" 
"Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:30 +0000] "POST 
//localhost:31000/api/atlas/v2/entity/guid/ebfdf224-5c83-4283-acca-a0653a6298db/classifications
 HTTP/1.1" 204 0 "-" "Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:30 +0000] "GET 
//localhost:31000/api/atlas/entities/ebfdf224-5c83-4283-acca-a0653a6298db/audit?count=100
 HTTP/1.1" 200 21391 "-" "Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:30 +0000] "GET 
//localhost:31000/api/atlas/v2/types/typedef/name/PII_TraitSc9dyqZujC HTTP/1.1" 
404 96 "-" "Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:30 +0000] "POST 
//localhost:31000/api/atlas/v2/types/typedefs HTTP/1.1" 200 576 "-" 
"Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:31 +0000] "POST 
//localhost:31000/api/atlas/v2/entity/guid/ebfdf224-5c83-4283-acca-a0653a6298db/classifications
 HTTP/1.1" 204 0 "-" "Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:31 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/guid/ebfdf224-5c83-4283-acca-a0653a6298db 
HTTP/1.1" 200 1435 "-" "Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:31 +0000] "DELETE 
//localhost:31000/api/atlas/v2/entity/guid/ebfdf224-5c83-4283-acca-a0653a6298db/classification/PII_TraitWQIjPaNMSM
 HTTP/1.1" 204 0 "-" "Java/1.8.0_152"
127.0.0.1 - - [13/Jan/2018:20:40:31 +0000] "GET 
//localhost:31000/api/atlas/entities/ebfdf224-5c83-4283-acca-a0653a6298db/audit?count=100
 HTTP/1.1" 200 21978 "-" "Java/1.8.0_152"
Tests run: 126, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 119.891 sec 
<<< FAILURE! - in TestSuite
testSearchByDSLForUnknownType(org.apache.atlas.web.integration.MetadataDiscoveryJerseyResourceIT)
  Time elapsed: 0.174 sec  <<< FAILURE!
org.apache.atlas.AtlasServiceException: Metadata service API 
org.apache.atlas.AtlasClient$API_V1@6b49c510 failed with status 500 (Internal 
Server Error) Response Body ({"error":"Invalid DSL query: from blah | Reason: 
Given typename blah was invalid. Please refer to Atlas DSL grammar for more 
information"})
        at 
org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:387)
        at 
org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:322)
        at org.apache.atlas.AtlasBaseClient.callAPI(AtlasBaseClient.java:238)
        at 
org.apache.atlas.AtlasClient.callAPIWithQueryParams(AtlasClient.java:926)
        at 
org.apache.atlas.web.integration.MetadataDiscoveryJerseyResourceIT.testSearchByDSLForUnknownType(MetadataDiscoveryJerseyResourceIT.java:141)

testSearchByDSLForUnknownType(org.apache.atlas.web.integration.EntityDiscoveryJerseyResourceIT)
  Time elapsed: 0.008 sec  <<< FAILURE!
org.apache.atlas.AtlasServiceException: Metadata service API 
org.apache.atlas.AtlasClientV2$API_V2@377fc674 failed with status 400 (Bad 
Request) Response Body ({"errorCode":"ATLAS-400-00-059","errorMessage":"Invalid 
DSL query: from blah | Reason: Given typename blah was invalid. Please refer to 
Atlas DSL grammar for more information"})
        at 
org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:387)
        at 
org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:322)
        at org.apache.atlas.AtlasBaseClient.callAPI(AtlasBaseClient.java:238)
        at org.apache.atlas.AtlasClientV2.dslSearch(AtlasClientV2.java:337)
        at 
org.apache.atlas.web.integration.EntityDiscoveryJerseyResourceIT.testSearchByDSLForUnknownType(EntityDiscoveryJerseyResourceIT.java:115)


Results :

Failed tests: 
  EntityDiscoveryJerseyResourceIT.testSearchByDSLForUnknownType:115 » 
AtlasService
  MetadataDiscoveryJerseyResourceIT.testSearchByDSLForUnknownType:141 » 
AtlasService

Tests run: 126, Failures: 2, Errors: 0, Skipped: 0

[INFO] 
[INFO] --- jetty-maven-plugin:9.3.14.v20161028:stop (stop-jetty) @ atlas-webapp 
---
[INFO] Waiting 10 seconds for jetty to stop
[INFO] Stopped ServerConnector@6109010b{HTTP/1.1,[http/1.1]}{0.0.0.0:31000}
[INFO] Closing Spring root WebApplicationContext
[INFO] Shutting down log4j
[INFO] Stopped 
o.e.j.m.p.JettyWebAppContext@ddd7092{/,file://<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/webapp/target/atlas-webapp-1.0.0-SNAPSHOT/,UNAVAILABLE}{/home/jenkins/jenkins-slave/workspace/Atlas-master-IntegrationTests/webapp/target/atlas-webapp-1.0.0-SNAPSHOT.war}>
[INFO] Server reports itself as stopped
[INFO] 
[INFO] --- maven-antrun-plugin:1.7:run (default) @ atlas-webapp ---
log4j:WARN No appenders could be found for logger 
(org.apache.zookeeper.ClientCnxn).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more 
info.
[WARNING] Parameter tasks is deprecated, use target instead
[INFO] Executing tasks

main:
   [delete] Deleting directory 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/webapp/target/data>
   [delete] Deleting directory 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/webapp/target/logs>
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-source-plugin:2.4:jar-no-fork (attach-sources) @ atlas-webapp 
---
[INFO] Building jar: 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/webapp/target/atlas-webapp-1.0.0-SNAPSHOT-sources.jar>
[INFO] 
[INFO] --- maven-source-plugin:2.4:test-jar-no-fork (attach-sources) @ 
atlas-webapp ---
[INFO] Building jar: 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/webapp/target/atlas-webapp-1.0.0-SNAPSHOT-test-sources.jar>
[INFO] 
[INFO] --- maven-failsafe-plugin:2.18.1:verify (verify) @ atlas-webapp ---
[INFO] Failsafe report directory: 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/webapp/target/failsafe-reports>
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Atlas Server Build Tools .................... SUCCESS [  0.531 s]
[INFO] apache-atlas ....................................... SUCCESS [  3.481 s]
[INFO] Apache Atlas Test Utility Tools .................... SUCCESS [  9.602 s]
[INFO] Apache Atlas Integration ........................... SUCCESS [ 17.852 s]
[INFO] Apache Atlas Common ................................ SUCCESS [  7.158 s]
[INFO] Apache Atlas Client ................................ SUCCESS [  0.562 s]
[INFO] atlas-client-common ................................ SUCCESS [  6.324 s]
[INFO] atlas-client-v1 .................................... SUCCESS [  6.635 s]
[INFO] Apache Atlas Server API ............................ SUCCESS [  5.337 s]
[INFO] Apache Atlas Notification .......................... SUCCESS [  7.908 s]
[INFO] atlas-client-v2 .................................... SUCCESS [  5.583 s]
[INFO] Apache Atlas Graph Database Projects ............... SUCCESS [  0.472 s]
[INFO] Apache Atlas Graph Database API .................... SUCCESS [  4.728 s]
[INFO] Graph Database Common Code ......................... SUCCESS [  4.962 s]
[INFO] Apache Atlas JanusGraph DB Impl .................... SUCCESS [  9.887 s]
[INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [  1.844 
s]
[INFO] Shaded version of Apache hbase client .............. SUCCESS [  7.456 s]
[INFO] Apache Atlas Titan 0.5.4 Graph DB Impl ............. SUCCESS [ 37.167 s]
[INFO] Shaded version of Apache hbase server .............. SUCCESS [ 18.759 s]
[INFO] Apache Atlas Repository ............................ SUCCESS [ 24.889 s]
[INFO] Apache Atlas Authorization ......................... SUCCESS [  6.267 s]
[INFO] Apache Atlas UI .................................... SUCCESS [01:06 min]
[INFO] Apache Atlas Web Application ....................... FAILURE [03:02 min]
[INFO] Apache Atlas Documentation ......................... SKIPPED
[INFO] Apache Atlas FileSystem Model ...................... SKIPPED
[INFO] Apache Atlas Plugin Classloader .................... SKIPPED
[INFO] Apache Atlas Hive Bridge Shim ...................... SKIPPED
[INFO] Apache Atlas Hive Bridge ........................... SKIPPED
[INFO] Apache Atlas Falcon Bridge Shim .................... SKIPPED
[INFO] Apache Atlas Falcon Bridge ......................... SKIPPED
[INFO] Apache Atlas Sqoop Bridge Shim ..................... SKIPPED
[INFO] Apache Atlas Sqoop Bridge .......................... SKIPPED
[INFO] Apache Atlas Storm Bridge Shim ..................... SKIPPED
[INFO] Apache Atlas Storm Bridge .......................... SKIPPED
[INFO] Apache Atlas Hbase Bridge Shim ..................... SKIPPED
[INFO] Apache Atlas Hbase Bridge .......................... SKIPPED
[INFO] Apache Atlas Distribution .......................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 07:17 min
[INFO] Finished at: 2018-01-13T20:40:34Z
[INFO] Final Memory: 350M/2897M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-failsafe-plugin:2.18.1:verify (verify) on 
project atlas-webapp: There are test failures.
[ERROR] 
[ERROR] Please refer to 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/webapp/target/failsafe-reports>
 for the individual test results.
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :atlas-webapp
Build step 'Execute shell' marked build as failure
[CHECKSTYLE] Collecting checkstyle analysis files...
[CHECKSTYLE] Searching for all files in 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/> that match 
the pattern **/target/checkstyle-result.xml
[CHECKSTYLE] Parsing 21 files in 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/>
[CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/authorization/target/checkstyle-result.xml>
 with 461 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/client/client-v1/target/checkstyle-result.xml>
 with 1341 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/client/client-v2/target/checkstyle-result.xml>
 with 1681 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/client/common/target/checkstyle-result.xml>
 with 2164 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/client/target/checkstyle-result.xml>
 with 2164 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/common/target/checkstyle-result.xml>
 with 3100 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/dashboardv2/target/checkstyle-result.xml>
 with 3100 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/graphdb/api/target/checkstyle-result.xml>
 with 3372 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/graphdb/common/target/checkstyle-result.xml>
 with 3571 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/graphdb/graphdb-impls/target/checkstyle-result.xml>
 with 3571 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/graphdb/janus/target/checkstyle-result.xml>
 with 4570 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/graphdb/target/checkstyle-result.xml>
 with 4570 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/graphdb/titan0/target/checkstyle-result.xml>
 with 7029 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/intg/target/checkstyle-result.xml>
 with 17287 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/notification/target/checkstyle-result.xml>
 with 18457 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/repository/target/checkstyle-result.xml>
 with 36850 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/server-api/target/checkstyle-result.xml>
 with 37062 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/shaded/hbase-client-shaded/target/checkstyle-result.xml>
 with 37062 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/shaded/hbase-server-shaded/target/checkstyle-result.xml>
 with 37062 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/target/checkstyle-result.xml>
 with 37062 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/test-tools/target/checkstyle-result.xml>
 with 37099 unique warnings and 0 duplicates.
<Git Blamer> Using GitBlamer to create author and commit information for all 
warnings.
<Git Blamer> GIT_COMMIT=4c9a3bf7f885bba275d9bef6fc36999fa95705e6, 
workspace=<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/>
 > git rev-parse 4c9a3bf7f885bba275d9bef6fc36999fa95705e6^{commit} # timeout=10
<Git Blamer> Skipping file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/repository/src/main/java/org/apache/atlas/discovery/SearchIndexer.java,>
 no result found.
[CHECKSTYLE] Computing warning deltas based on reference build #269
[FINDBUGS] Collecting findbugs analysis files...
[FINDBUGS] Searching for all files in 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/> that match 
the pattern **/target/findbugs.xml
[FINDBUGS] Parsing 14 files in 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/>
[FINDBUGS] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/authorization/target/findbugs.xml>
 with 0 unique warnings and 0 duplicates.
[FINDBUGS] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/client/client-v1/target/findbugs.xml>
 with 0 unique warnings and 0 duplicates.
[FINDBUGS] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/client/client-v2/target/findbugs.xml>
 with 0 unique warnings and 0 duplicates.
[FINDBUGS] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/client/common/target/findbugs.xml>
 with 0 unique warnings and 0 duplicates.
[FINDBUGS] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/common/target/findbugs.xml>
 with 0 unique warnings and 0 duplicates.
[FINDBUGS] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/graphdb/api/target/findbugs.xml>
 with 0 unique warnings and 0 duplicates.
[FINDBUGS] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/graphdb/common/target/findbugs.xml>
 with 0 unique warnings and 0 duplicates.
[FINDBUGS] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/graphdb/janus/target/findbugs.xml>
 with 0 unique warnings and 0 duplicates.
[FINDBUGS] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/graphdb/titan0/target/findbugs.xml>
 with 0 unique warnings and 0 duplicates.
[FINDBUGS] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/intg/target/findbugs.xml>
 with 0 unique warnings and 0 duplicates.
[FINDBUGS] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/notification/target/findbugs.xml>
 with 0 unique warnings and 0 duplicates.
[FINDBUGS] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/repository/target/findbugs.xml>
 with 0 unique warnings and 0 duplicates.
[FINDBUGS] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/server-api/target/findbugs.xml>
 with 0 unique warnings and 0 duplicates.
[FINDBUGS] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/test-tools/target/findbugs.xml>
 with 0 unique warnings and 0 duplicates.
<Git Blamer> Using GitBlamer to create author and commit information for all 
warnings.
<Git Blamer> GIT_COMMIT=4c9a3bf7f885bba275d9bef6fc36999fa95705e6, 
workspace=<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/>
[FINDBUGS] Computing warning deltas based on reference build #269
Archiving artifacts
[Fast Archiver] Compressed 610.34 KB of artifacts by 10.5% relative to #269
TestNG Reports Processing: START
Looking for TestNG results report in workspace using pattern: 
**/target/surefire-reports/testng-results.xml,**/target/failsafe-reports/testng-results.xml
Saving reports...
Processing 
'/x1/jenkins/jenkins-home/jobs/Atlas-master-IntegrationTests/builds/270/testng/testng-results.xml'
1.587302% of tests failed, which exceeded threshold of 0%. Marking build as 
UNSTABLE
TestNG Reports Processing: FINISH

Reply via email to