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

Changes:

[madhan] ATLAS-2347: fix V1 REST API for search to keep the response consistent

------------------------------------------
[...truncated 313.93 KB...]
127.0.0.1 - - [09/Jan/2018:21:38:39 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/guid/8513336f-4398-445e-9e51-9b7c2d35bfe2 
HTTP/1.1" 200 3157 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:39 +0000] "POST 
//localhost:31000/api/atlas/v2/entity HTTP/1.1" 200 339 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:39 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/guid/073ab648-2900-4509-a294-1fd1e2dbf2e3 
HTTP/1.1" 200 873 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:39 +0000] "POST 
//localhost:31000/api/atlas/v2/entity HTTP/1.1" 200 340 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:39 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/guid/cd2c98f8-3414-49e2-ac3d-525c5998a607 
HTTP/1.1" 200 875 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:39 +0000] "POST 
//localhost:31000/api/atlas/v2/entity HTTP/1.1" 200 517 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:39 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/guid/17d2dfda-aa69-4bfe-bb31-c0489aaa0913 
HTTP/1.1" 200 1731 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:39 +0000] "POST 
//localhost:31000/api/atlas/v2/entity HTTP/1.1" 200 434 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:39 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/guid/c8324a14-01cc-4265-9fc9-a9399411705e 
HTTP/1.1" 200 1468 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:39 +0000] "POST 
//localhost:31000/api/atlas/v2/entity HTTP/1.1" 200 433 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:39 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/guid/a98502ff-dd3b-4e23-9af0-d3669204bf71 
HTTP/1.1" 200 1466 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:39 +0000] "GET 
//localhost:31000/api/atlas/v2/search/dsl?offset=0&query=from+DB&limit=10 
HTTP/1.1" 200 778 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:41 +0000] "GET 
//localhost:31000/api/atlas/v2/search/dsl?offset=0&query=DB&limit=10 HTTP/1.1" 
200 773 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:41 +0000] "GET 
//localhost:31000/api/atlas/v2/search/dsl?offset=0&query=DB+where+name%3D%22Reporting%22&limit=10
 HTTP/1.1" 200 321 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:42 +0000] "GET 
//localhost:31000/api/atlas/v2/search/dsl?offset=0&query=DB+where+DB.name%3D%22Reporting%22&limit=10
 HTTP/1.1" 200 324 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:42 +0000] "GET 
//localhost:31000/api/atlas/v2/search/dsl?offset=0&query=DB+name+%3D+%22Reporting%22&limit=10
 HTTP/1.1" 200 794 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:42 +0000] "GET 
//localhost:31000/api/atlas/v2/search/dsl?offset=0&query=DB+DB.name+%3D+%22Reporting%22&limit=10
 HTTP/1.1" 200 797 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:43 +0000] "GET 
//localhost:31000/api/atlas/v2/search/dsl?offset=0&query=DB+where+name%3D%22Reporting%22+select+name,+owner&limit=10
 HTTP/1.1" 200 154 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:43 +0000] "GET 
//localhost:31000/api/atlas/v2/search/dsl?offset=0&query=DB+where+DB.name%3D%22Reporting%22+select+name,+owner&limit=10
 HTTP/1.1" 200 157 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:43 +0000] "GET 
//localhost:31000/api/atlas/v2/search/dsl?offset=0&query=DB+has+name&limit=10 
HTTP/1.1" 200 782 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:43 +0000] "GET 
//localhost:31000/api/atlas/v2/search/dsl?offset=0&query=DB+where+DB+has+name&limit=10
 HTTP/1.1" 200 791 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:44 +0000] "GET 
//localhost:31000/api/atlas/v2/search/dsl?offset=0&query=DB+is+JdbcAccess&limit=10
 HTTP/1.1" 200 50 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:44 +0000] "GET 
//localhost:31000/api/atlas/v2/search/dsl?offset=0&query=from+Table&limit=10 
HTTP/1.1" 200 2576 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:44 +0000] "GET 
//localhost:31000/api/atlas/v2/search/dsl?offset=0&query=Table&limit=10 
HTTP/1.1" 200 2571 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:44 +0000] "GET 
//localhost:31000/api/atlas/v2/search/dsl?offset=0&query=Table+is+Dimension&limit=10
 HTTP/1.1" 200 956 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:45 +0000] "GET 
//localhost:31000/api/atlas/v2/search/dsl?offset=0&query=Column+where+Column+isa+PII&limit=10
 HTTP/1.1" 200 972 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:45 +0000] "GET 
//localhost:31000/api/atlas/v2/search/dsl?offset=0&query=View+is+Dimension&limit=10
 HTTP/1.1" 200 651 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:45 +0000] "GET 
//localhost:31000/api/atlas/v2/search/dsl?offset=0&query=Column+select+Column.name&limit=10
 HTTP/1.1" 200 207 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:45 +0000] "GET 
//localhost:31000/api/atlas/v2/search/dsl?offset=0&query=Column+select+name&limit=10
 HTTP/1.1" 200 184 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:46 +0000] "GET 
//localhost:31000/api/atlas/v2/search/dsl?offset=0&query=Column+where+Column.name%3D%22customer_id%22&limit=10
 HTTP/1.1" 200 547 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:46 +0000] "GET 
//localhost:31000/api/atlas/v2/search/dsl?offset=0&query=from+Table+select+Table.name&limit=10
 HTTP/1.1" 200 271 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:46 +0000] "GET 
//localhost:31000/api/atlas/v2/search/dsl?offset=0&query=DB+where+(name+%3D+%22Reporting%22)&limit=10
 HTTP/1.1" 200 325 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:47 +0000] "GET 
//localhost:31000/api/atlas/v2/search/dsl?offset=0&query=DB+where+DB+is+JdbcAccess&limit=10
 HTTP/1.1" 200 59 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:47 +0000] "GET 
//localhost:31000/api/atlas/v2/search/dsl?offset=0&query=DB+where+DB+has+name&limit=10
 HTTP/1.1" 200 791 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:47 +0000] "GET 
//localhost:31000/api/atlas/v2/search/dsl?offset=0&query=DB+as+db1+Table+where+(db1.name+%3D+%22Reporting%22)&limit=10
 HTTP/1.1" 200 82 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:47 +0000] "GET 
//localhost:31000/api/atlas/v2/search/dsl?offset=0&query=Dimension&limit=10 
HTTP/1.1" 200 1534 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:48 +0000] "GET 
//localhost:31000/api/atlas/v2/search/dsl?offset=0&query=JdbcAccess&limit=10 
HTTP/1.1" 200 644 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:48 +0000] "GET 
//localhost:31000/api/atlas/v2/search/dsl?offset=0&query=ETL&limit=10 HTTP/1.1" 
200 963 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:48 +0000] "GET 
//localhost:31000/api/atlas/v2/search/dsl?offset=0&query=Metric&limit=10 
HTTP/1.1" 200 945 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:49 +0000] "GET 
//localhost:31000/api/atlas/v2/search/dsl?offset=0&query=PII&limit=10 HTTP/1.1" 
200 948 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:49 +0000] "GET 
//localhost:31000/api/atlas/v2/search/dsl?offset=0&query=%60Log+Data%60&limit=10
 HTTP/1.1" 200 952 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:49 +0000] "GET 
//localhost:31000/api/atlas/v2/search/dsl?offset=0&query=Table+where+name%3D%22sales_fact%22,+columns&limit=10
 HTTP/1.1" 200 978 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:50 +0000] "GET 
//localhost:31000/api/atlas/v2/search/dsl?offset=0&query=Table+where+name%3D%22sales_fact%22,+columns+as+column+select+column.name,+column.dataType,+column.comment&limit=10
 HTTP/1.1" 200 350 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:50 +0000] "GET 
//localhost:31000/api/atlas/v2/search/dsl?offset=0&query=from+DataSet&limit=10 
HTTP/1.1" 200 3165 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:50 +0000] "GET 
//localhost:31000/api/atlas/v2/search/dsl?offset=0&query=from+Process&limit=10 
HTTP/1.1" 200 972 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:51 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/Table?attr:qualifiedName=sales_fact_daily_mv
 HTTP/1.1" 200 3601 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:51 +0000] "GET 
//localhost:31000/api/atlas/v2/lineage/3f73453e-0457-4331-8b70-bbf6c618f5ab?depth=0&direction=BOTH
 HTTP/1.1" 200 2755 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:51 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/DB?attr:name=Sales 
HTTP/1.1" 200 367 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:51 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/Table?attr:qualifiedName=sales_fact
 HTTP/1.1" 200 3333 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:51 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/Table?attr:qualifiedName=time_dim
 HTTP/1.1" 200 2892 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:51 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/Table?attr:qualifiedName=sales_fact_daily_mv
 HTTP/1.1" 200 3601 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:51 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/Table?attr:qualifiedName=sales_fact_monthly_mv
 HTTP/1.1" 200 3384 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:51 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/LoadProcess?attr:qualifiedName=loadSalesDaily
 HTTP/1.1" 200 1731 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:51 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/LoadProcess?attr:qualifiedName=loadSalesMonthly
 HTTP/1.1" 200 1468 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:51 +0000] "GET 
//localhost:31000/api/atlas/v2/lineage/3f73453e-0457-4331-8b70-bbf6c618f5ab?depth=0&direction=BOTH
 HTTP/1.1" 200 2755 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:52 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/LoadProcess?attr:qualifiedName=loadSalesDaily
 HTTP/1.1" 200 1731 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:52 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/Table?attr:qualifiedName=sales_fact
 HTTP/1.1" 200 3333 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:52 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/Table?attr:qualifiedName=time_dim
 HTTP/1.1" 200 2892 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:52 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/Table?attr:qualifiedName=sales_fact_daily_mv
 HTTP/1.1" 200 3601 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:52 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/Table?attr:qualifiedName=sales_fact
 HTTP/1.1" 200 3333 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:52 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/DB?attr:name=Sales 
HTTP/1.1" 200 367 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:52 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/guid/fcdda4f9-325f-44f9-a2ba-a7def9d872b3/classifications
 HTTP/1.1" 200 91 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:52 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/View?attr:qualifiedName=product_dim_view
 HTTP/1.1" 200 873 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:52 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/Table?attr:qualifiedName=product_dim
 HTTP/1.1" 200 2694 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:53 +0000] "GET 
//localhost:31000/api/atlas/v2/types/typedef/name/database HTTP/1.1" 404 85 "-" 
"Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:53 +0000] "GET 
//localhost:31000/api/atlas/v2/types/typedef/name/table HTTP/1.1" 404 82 "-" 
"Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:53 +0000] "GET 
//localhost:31000/api/atlas/v2/types/typedef/name/fetl HTTP/1.1" 404 81 "-" 
"Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:53 +0000] "POST 
//localhost:31000/api/atlas/v2/types/typedefs HTTP/1.1" 200 2525 "-" 
"Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:53 +0000] "GET 
//localhost:31000/api/atlas/v2/types/classificationdef/name/fetl HTTP/1.1" 200 
451 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:53 +0000] "GET 
//localhost:31000/api/atlas/v2/types/entitydef/name/database HTTP/1.1" 200 594 
"-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:53 +0000] "GET 
//localhost:31000/api/atlas/v2/types/entitydef/name/table HTTP/1.1" 200 1386 
"-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:53 +0000] "POST 
//localhost:31000/api/atlas/v2/types/typedefs HTTP/1.1" 200 532 "-" 
"Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:53 +0000] "POST 
//localhost:31000/api/atlas/v2/types/typedefs HTTP/1.1" 409 86 "-" 
"Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:53 +0000] "GET 
//localhost:31000/api/atlas/v2/types/enumdef/name/blah HTTP/1.1" 404 81 "-" 
"Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:53 +0000] "GET 
//localhost:31000/api/atlas/v2/types/enumdef/guid/blah HTTP/1.1" 404 82 "-" 
"Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:53 +0000] "GET 
//localhost:31000/api/atlas/v2/types/structdef/name/blah HTTP/1.1" 404 81 "-" 
"Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:53 +0000] "GET 
//localhost:31000/api/atlas/v2/types/structdef/guid/blah HTTP/1.1" 404 82 "-" 
"Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:53 +0000] "GET 
//localhost:31000/api/atlas/v2/types/classificationdef/name/blah HTTP/1.1" 404 
81 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:53 +0000] "GET 
//localhost:31000/api/atlas/v2/types/classificationdef/guid/blah HTTP/1.1" 404 
82 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:53 +0000] "GET 
//localhost:31000/api/atlas/v2/types/entitydef/name/blah HTTP/1.1" 404 81 "-" 
"Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:53 +0000] "GET 
//localhost:31000/api/atlas/v2/types/entitydef/guid/blah HTTP/1.1" 404 82 "-" 
"Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:53 +0000] "POST 
//localhost:31000/api/atlas/v2/types/typedefs HTTP/1.1" 200 1947 "-" 
"Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:53 +0000] "GET 
//localhost:31000/api/atlas/v2/types/typedefs?supertype=ASdwQD6RPxp&type=CLASS 
HTTP/1.1" 200 1020 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:53 +0000] "GET 
//localhost:31000/api/atlas/v2/types/typedefs?supertype=ASdwQD6RPxp&type=CLASS&notsupertype=BYYOFDhZF8k
 HTTP/1.1" 200 550 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:53 +0000] "POST 
//localhost:31000/api/atlas/v2/types/typedefs HTTP/1.1" 200 532 "-" 
"Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:53 +0000] "PUT 
//localhost:31000/api/atlas/v2/types/typedefs HTTP/1.1" 200 691 "-" 
"Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:38:53 +0000] "GET 
//localhost:31000/api/atlas/v2/types/typedefs?type=ENTITY HTTP/1.1" 200 77816 
"-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:39:03 +0000] "GET 
//localhost:31000/api/atlas/admin/status HTTP/1.1" 200 19 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:39:03 +0000] "GET 
//localhost:31000/api/atlas/admin/stack HTTP/1.1" 403 510 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:39:03 +0000] "GET 
//localhost:31000/api/atlas/admin/session HTTP/1.1" 200 424 "-" "Java/1.8.0_152"
127.0.0.1 - - [09/Jan/2018:21:39:03 +0000] "GET 
//localhost:31000/api/atlas/admin/session HTTP/1.1" 401 350 "-" "Java/1.8.0_152"
Tests run: 142, Failures: 1, Errors: 0, Skipped: 120, Time elapsed: 29.53 sec 
<<< FAILURE! - in TestSuite
setUp(org.apache.atlas.notification.NotificationHookConsumerIT)  Time elapsed: 
0.303 sec  <<< FAILURE!
org.apache.atlas.AtlasException: Failed to start embedded kafka
        at sun.nio.ch.Net.bind0(Native Method)
        at sun.nio.ch.Net.bind(Net.java:433)
        at sun.nio.ch.Net.bind(Net.java:425)
        at 
sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:67)
        at 
org.apache.zookeeper.server.NIOServerCnxnFactory.configure(NIOServerCnxnFactory.java:95)
        at 
org.apache.zookeeper.server.ServerCnxnFactory.createFactory(ServerCnxnFactory.java:126)
        at 
org.apache.atlas.kafka.EmbeddedKafkaServer.startZk(EmbeddedKafkaServer.java:113)
        at 
org.apache.atlas.kafka.EmbeddedKafkaServer.start(EmbeddedKafkaServer.java:77)
        at 
org.apache.atlas.web.integration.BaseResourceIT.initNotificationService(BaseResourceIT.java:694)
        at 
org.apache.atlas.notification.NotificationHookConsumerIT.setUp(NotificationHookConsumerIT.java:52)


Results :

Failed tests: 
  
NotificationHookConsumerIT.setUp:52->BaseResourceIT.initNotificationService:694 
» Atlas

Tests run: 139, Failures: 1, Errors: 0, Skipped: 117

[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@50860320{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@2e1912df{/,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-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>
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.
[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.675 s]
[INFO] apache-atlas ....................................... SUCCESS [  3.498 s]
[INFO] Apache Atlas Test Utility Tools .................... SUCCESS [  8.982 s]
[INFO] Apache Atlas Integration ........................... SUCCESS [ 17.848 s]
[INFO] Apache Atlas Common ................................ SUCCESS [  6.613 s]
[INFO] Apache Atlas Client ................................ SUCCESS [  0.516 s]
[INFO] atlas-client-common ................................ SUCCESS [  6.449 s]
[INFO] atlas-client-v1 .................................... SUCCESS [  6.094 s]
[INFO] Apache Atlas Server API ............................ SUCCESS [  4.870 s]
[INFO] Apache Atlas Notification .......................... SUCCESS [  7.841 s]
[INFO] atlas-client-v2 .................................... SUCCESS [  5.126 s]
[INFO] Apache Atlas Graph Database Projects ............... SUCCESS [  0.408 s]
[INFO] Apache Atlas Graph Database API .................... SUCCESS [  4.686 s]
[INFO] Graph Database Common Code ......................... SUCCESS [  4.539 s]
[INFO] Apache Atlas JanusGraph DB Impl .................... SUCCESS [ 12.953 s]
[INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [  1.875 
s]
[INFO] Shaded version of Apache hbase client .............. SUCCESS [  8.011 s]
[INFO] Apache Atlas Titan 0.5.4 Graph DB Impl ............. SUCCESS [ 36.278 s]
[INFO] Shaded version of Apache hbase server .............. SUCCESS [ 20.020 s]
[INFO] Apache Atlas Repository ............................ SUCCESS [ 24.928 s]
[INFO] Apache Atlas Authorization ......................... SUCCESS [  5.778 s]
[INFO] Apache Atlas UI .................................... SUCCESS [01:07 min]
[INFO] Apache Atlas Web Application ....................... FAILURE [01:32 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: 05:48 min
[INFO] Finished at: 2018-01-09T21:39:06Z
[INFO] Final Memory: 353M/2706M
[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 1340 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 1680 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 17299 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/notification/target/checkstyle-result.xml>
 with 18469 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/repository/target/checkstyle-result.xml>
 with 36771 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 36983 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 36983 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 36983 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/target/checkstyle-result.xml>
 with 36983 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 37020 unique warnings and 0 duplicates.
<Git Blamer> Using GitBlamer to create author and commit information for all 
warnings.
<Git Blamer> GIT_COMMIT=cef91eb84e2952182e211cdd7a368411a8d313af, 
workspace=<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/>
 > git rev-parse cef91eb84e2952182e211cdd7a368411a8d313af^{commit} # timeout=10
[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=cef91eb84e2952182e211cdd7a368411a8d313af, 
workspace=<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/>
Archiving artifacts
[Fast Archiver] No prior successful build to compare, so performing full copy 
of artifacts
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/250/testng/testng-results.xml'
TestNG Reports Processing: FINISH

Reply via email to