You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "David Radley (JIRA)" <ji...@apache.org> on 2018/02/15 14:29:00 UTC
[jira] [Created] (ATLAS-2449) Latest master atlas does not build
cleanly with tests enabled locally on Mac
David Radley created ATLAS-2449:
-----------------------------------
Summary: Latest master atlas does not build cleanly with tests enabled locally on Mac
Key: ATLAS-2449
URL: https://issues.apache.org/jira/browse/ATLAS-2449
Project: Atlas
Issue Type: Bug
Reporter: David Radley
I run mvn clean install -Pdist,embedded-hbase-solr
And it fails with:
127.0.0.1 - - [15/Feb/2018:14:06:01 +0000] "GET //localhost:31000/api/atlas/v2/types/typedef/name/hive_table_v1 HTTP/1.1" 503 372 "-" "Java/1.8.0_151"
127.0.0.1 - - [15/Feb/2018:14:06:06 +0000] "GET //localhost:31000/api/atlas/v2/types/typedef/name/hive_table_v1 HTTP/1.1" 503 372 "-" "Java/1.8.0_151"
127.0.0.1 - - [15/Feb/2018:14:06:11 +0000] "GET //localhost:31000/api/atlas/v2/types/typedef/name/hive_process_v1 HTTP/1.1" 503 374 "-" "Java/1.8.0_151"
127.0.0.1 - - [15/Feb/2018:14:06:16 +0000] "GET //localhost:31000/api/atlas/v2/types/typedef/name/hive_process_v1 HTTP/1.1" 503 374 "-" "Java/1.8.0_151"
127.0.0.1 - - [15/Feb/2018:14:06:21 +0000] "GET //localhost:31000/api/atlas/v2/types/typedef/name/hive_process_v1 HTTP/1.1" 503 374 "-" "Java/1.8.0_151"
127.0.0.1 - - [15/Feb/2018:14:06:26 +0000] "GET //localhost:31000/api/atlas/v2/types/typedef/name/hive_process_v1 HTTP/1.1" 503 374 "-" "Java/1.8.0_151"
127.0.0.1 - - [15/Feb/2018:14:06:31 +0000] "POST //localhost:31000/api/atlas/types HTTP/1.1" 503 342 "-" "Java/1.8.0_151"
127.0.0.1 - - [15/Feb/2018:14:06:36 +0000] "POST //localhost:31000/api/atlas/types HTTP/1.1" 503 342 "-" "Java/1.8.0_151"
127.0.0.1 - - [15/Feb/2018:14:06:41 +0000] "POST //localhost:31000/api/atlas/types HTTP/1.1" 503 342 "-" "Java/1.8.0_151"
127.0.0.1 - - [15/Feb/2018:14:06:46 +0000] "POST //localhost:31000/api/atlas/types HTTP/1.1" 503 342 "-" "Java/1.8.0_151"
Tests run: 143, Failures: 11, Errors: 0, Skipped: 125, Time elapsed: 2,422.962 sec <<< FAILURE! - in TestSuite
setUp(org.apache.atlas.web.integration.DataSetLineageJerseyResourceIT) Time elapsed: 510.086 sec <<< FAILURE!
org.apache.atlas.AtlasServiceException: Metadata service API org.apache.atlas.AtlasClient$API_V1@5161ae92 failed with status 503 (Service Unavailable) Response Body (<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
<title>Error 503 </title>
</head>
<body>
<h2>HTTP ERROR: 503</h2>
<p>Problem accessing /api/atlas/types. Reason:
<pre> Service Unavailable</pre></p>
<hr /><a href="http://eclipse.org/jetty">Powered by Jetty:// 9.3.14.v20161028</a><hr/>
</body>
</html>
)
at org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:388)
at org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:323)
at org.apache.atlas.AtlasBaseClient.callAPI(AtlasBaseClient.java:211)
at org.apache.atlas.AtlasClient.callAPIWithBody(AtlasClient.java:906)
at org.apache.atlas.AtlasClient.createType(AtlasClient.java:257)
at org.apache.atlas.AtlasClient.createType(AtlasClient.java:275)
at org.apache.atlas.web.integration.BaseResourceIT.createType(BaseResourceIT.java:213)
at org.apache.atlas.web.integration.BaseResourceIT.createTypeDefinitionsV1(BaseResourceIT.java:360)
at org.apache.atlas.web.integration.DataSetLineageJerseyResourceIT.setUp(DataSetLineageJerseyResourceIT.java:60)
setUp(org.apache.atlas.notification.NotificationHookConsumerIT) Time elapsed: 362.578 sec <<< FAILURE!
org.apache.atlas.AtlasServiceException: Metadata service API org.apache.atlas.AtlasClient$API_V1@5161ae92 failed with status 503 (Service Unavailable) Response Body (<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
<title>Error 503 </title>
</head>
<body>
<h2>HTTP ERROR: 503</h2>
<p>Problem accessing /api/atlas/types. Reason:
<pre> Service Unavailable</pre></p>
<hr /><a href="http://eclipse.org/jetty">Powered by Jetty:// 9.3.14.v20161028</a><hr/>
</body>
</html>
)
at org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:388)
at org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:323)
at org.apache.atlas.AtlasBaseClient.callAPI(AtlasBaseClient.java:211)
at org.apache.atlas.AtlasClient.callAPIWithBody(AtlasClient.java:906)
at org.apache.atlas.AtlasClient.createType(AtlasClient.java:257)
at org.apache.atlas.AtlasClient.createType(AtlasClient.java:275)
at org.apache.atlas.web.integration.BaseResourceIT.createType(BaseResourceIT.java:213)
at org.apache.atlas.web.integration.BaseResourceIT.createTypeDefinitionsV1(BaseResourceIT.java:360)
at org.apache.atlas.notification.NotificationHookConsumerIT.setUp(NotificationHookConsumerIT.java:54)
testAccessforUnauthenticatedResource(org.apache.atlas.web.filters.AtlasAuthenticationSimpleFilterIT) Time elapsed: 0.003 sec <<< FAILURE!
java.lang.AssertionError: expected [200] but found [503]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:496)
at org.testng.Assert.assertEquals(Assert.java:125)
at org.testng.Assert.assertEquals(Assert.java:372)
at org.testng.Assert.assertEquals(Assert.java:382)
at org.apache.atlas.web.filters.AtlasAuthenticationSimpleFilterIT.testAccessforUnauthenticatedResource(AtlasAuthenticationSimpleFilterIT.java:57)
testSimpleLoginAndAuthorizationWithValidCrendentialsAndInvalidAccessToResource(org.apache.atlas.web.filters.AtlasAuthenticationSimpleFilterIT) Time elapsed: 0.003 sec <<< FAILURE!
java.lang.AssertionError: expected [403] but found [503]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:496)
at org.testng.Assert.assertEquals(Assert.java:125)
at org.testng.Assert.assertEquals(Assert.java:372)
at org.testng.Assert.assertEquals(Assert.java:382)
at org.apache.atlas.web.filters.AtlasAuthenticationSimpleFilterIT.testSimpleLoginAndAuthorizationWithValidCrendentialsAndInvalidAccessToResource(AtlasAuthenticationSimpleFilterIT.java:74)
testSimpleLoginForValidUser(org.apache.atlas.web.filters.AtlasAuthenticationSimpleFilterIT) Time elapsed: 0.001 sec <<< FAILURE!
java.lang.AssertionError: expected [200] but found [503]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:496)
at org.testng.Assert.assertEquals(Assert.java:125)
at org.testng.Assert.assertEquals(Assert.java:372)
at org.testng.Assert.assertEquals(Assert.java:382)
at org.apache.atlas.web.filters.AtlasAuthenticationSimpleFilterIT.testSimpleLoginForValidUser(AtlasAuthenticationSimpleFilterIT.java:46)
testSimpleLoginWithInvalidCrendentials(org.apache.atlas.web.filters.AtlasAuthenticationSimpleFilterIT) Time elapsed: 0.001 sec <<< FAILURE!
java.lang.AssertionError: expected [401] but found [503]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:496)
at org.testng.Assert.assertEquals(Assert.java:125)
at org.testng.Assert.assertEquals(Assert.java:372)
at org.testng.Assert.assertEquals(Assert.java:382)
at org.apache.atlas.web.filters.AtlasAuthenticationSimpleFilterIT.testSimpleLoginWithInvalidCrendentials(AtlasAuthenticationSimpleFilterIT.java:93)
setUp(org.apache.atlas.web.integration.EntityDiscoveryJerseyResourceIT) Time elapsed: 60.192 sec <<< FAILURE!
org.apache.atlas.AtlasServiceException: Metadata service API org.apache.atlas.AtlasClient$API_V1@5161ae92 failed with status 503 (Service Unavailable) Response Body (<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
<title>Error 503 </title>
</head>
<body>
<h2>HTTP ERROR: 503</h2>
<p>Problem accessing /api/atlas/types. Reason:
<pre> Service Unavailable</pre></p>
<hr /><a href="http://eclipse.org/jetty">Powered by Jetty:// 9.3.14.v20161028</a><hr/>
</body>
</html>
)
at org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:388)
at org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:323)
at org.apache.atlas.AtlasBaseClient.callAPI(AtlasBaseClient.java:211)
at org.apache.atlas.AtlasClient.callAPIWithBody(AtlasClient.java:906)
at org.apache.atlas.AtlasClient.createType(AtlasClient.java:257)
at org.apache.atlas.AtlasClient.createType(AtlasClient.java:275)
at org.apache.atlas.web.integration.BaseResourceIT.createType(BaseResourceIT.java:213)
at org.apache.atlas.web.integration.EntityDiscoveryJerseyResourceIT.createTypes(EntityDiscoveryJerseyResourceIT.java:203)
at org.apache.atlas.web.integration.EntityDiscoveryJerseyResourceIT.setUp(EntityDiscoveryJerseyResourceIT.java:52)
setUp(org.apache.atlas.web.integration.EntityV2JerseyResourceIT) Time elapsed: 742.344 sec <<< FAILURE!
org.apache.atlas.AtlasServiceException: Metadata service API org.apache.atlas.AtlasClientV2$API_V2@1f8b926d failed with status 503 (Service Unavailable) Response Body (<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
<title>Error 503 </title>
</head>
<body>
<h2>HTTP ERROR: 503</h2>
<p>Problem accessing /api/atlas/v2/types/typedefs/. Reason:
<pre> Service Unavailable</pre></p>
<hr /><a href="http://eclipse.org/jetty">Powered by Jetty:// 9.3.14.v20161028</a><hr/>
</body>
</html>
)
at org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:388)
at org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:323)
at org.apache.atlas.AtlasBaseClient.callAPI(AtlasBaseClient.java:211)
at org.apache.atlas.AtlasClientV2.createAtlasTypeDefs(AtlasClientV2.java:227)
at org.apache.atlas.web.integration.BaseResourceIT.batchCreateTypes(BaseResourceIT.java:165)
at org.apache.atlas.web.integration.BaseResourceIT.createTypeDefinitionsV2(BaseResourceIT.java:448)
at org.apache.atlas.web.integration.EntityV2JerseyResourceIT.setUp(EntityV2JerseyResourceIT.java:71)
setUp(org.apache.atlas.web.integration.MetadataDiscoveryJerseyResourceIT) Time elapsed: 360.543 sec <<< FAILURE!
org.apache.atlas.AtlasServiceException: Metadata service API org.apache.atlas.AtlasClient$API_V1@5161ae92 failed with status 503 (Service Unavailable) Response Body (<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
<title>Error 503 </title>
</head>
<body>
<h2>HTTP ERROR: 503</h2>
<p>Problem accessing /api/atlas/types. Reason:
<pre> Service Unavailable</pre></p>
<hr /><a href="http://eclipse.org/jetty">Powered by Jetty:// 9.3.14.v20161028</a><hr/>
</body>
</html>
)
at org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:388)
at org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:323)
at org.apache.atlas.AtlasBaseClient.callAPI(AtlasBaseClient.java:211)
at org.apache.atlas.AtlasClient.callAPIWithBody(AtlasClient.java:906)
at org.apache.atlas.AtlasClient.createType(AtlasClient.java:257)
at org.apache.atlas.AtlasClient.createType(AtlasClient.java:275)
at org.apache.atlas.web.integration.BaseResourceIT.createType(BaseResourceIT.java:213)
at org.apache.atlas.web.integration.BaseResourceIT.createTypeDefinitionsV1(BaseResourceIT.java:360)
at org.apache.atlas.web.integration.MetadataDiscoveryJerseyResourceIT.createTypes(MetadataDiscoveryJerseyResourceIT.java:237)
at org.apache.atlas.web.integration.MetadataDiscoveryJerseyResourceIT.setUp(MetadataDiscoveryJerseyResourceIT.java:58)
testGetVersion(org.apache.atlas.web.integration.AdminJerseyResourceIT) Time elapsed: 20.024 sec <<< FAILURE!
org.apache.atlas.AtlasServiceException: Metadata service API org.apache.atlas.AtlasClient$API_V1@70169b84 failed with status 503 (Service Unavailable) Response Body (<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
<title>Error 503 </title>
</head>
<body>
<h2>HTTP ERROR: 503</h2>
<p>Problem accessing /api/atlas/admin/version. Reason:
<pre> Service Unavailable</pre></p>
<hr /><a href="http://eclipse.org/jetty">Powered by Jetty:// 9.3.14.v20161028</a><hr/>
</body>
</html>
)
at org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:388)
at org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:323)
at org.apache.atlas.AtlasBaseClient.callAPI(AtlasBaseClient.java:211)
at org.apache.atlas.AtlasClient.callAPIWithBodyAndParams(AtlasClient.java:916)
at org.apache.atlas.web.integration.AdminJerseyResourceIT.testGetVersion(AdminJerseyResourceIT.java:40)
setUp(org.apache.atlas.web.integration.EntityJerseyResourceIT) Time elapsed: 361.94 sec <<< FAILURE!
org.apache.atlas.AtlasServiceException: Metadata service API org.apache.atlas.AtlasClient$API_V1@5161ae92 failed with status 503 (Service Unavailable) Response Body (<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
<title>Error 503 </title>
</head>
<body>
<h2>HTTP ERROR: 503</h2>
<p>Problem accessing /api/atlas/types. Reason:
<pre> Service Unavailable</pre></p>
<hr /><a href="http://eclipse.org/jetty">Powered by Jetty:// 9.3.14.v20161028</a><hr/>
</body>
</html>
)
at org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:388)
at org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:323)
at org.apache.atlas.AtlasBaseClient.callAPI(AtlasBaseClient.java:211)
at org.apache.atlas.AtlasClient.callAPIWithBody(AtlasClient.java:906)
at org.apache.atlas.AtlasClient.createType(AtlasClient.java:257)
at org.apache.atlas.AtlasClient.createType(AtlasClient.java:275)
at org.apache.atlas.web.integration.BaseResourceIT.createType(BaseResourceIT.java:213)
at org.apache.atlas.web.integration.BaseResourceIT.createTypeDefinitionsV1(BaseResourceIT.java:360)
at org.apache.atlas.web.integration.EntityJerseyResourceIT.setUp(EntityJerseyResourceIT.java:69)
Results :
Failed tests:
NotificationHookConsumerIT.setUp:54->BaseResourceIT.createTypeDefinitionsV1:360->BaseResourceIT.createType:213 » AtlasService
AtlasAuthenticationSimpleFilterIT.testAccessforUnauthenticatedResource:57 expected [200] but found [503]
AtlasAuthenticationSimpleFilterIT.testSimpleLoginAndAuthorizationWithValidCrendentialsAndInvalidAccessToResource:74 expected [403] but found [503]
AtlasAuthenticationSimpleFilterIT.testSimpleLoginForValidUser:46 expected [200] but found [503]
AtlasAuthenticationSimpleFilterIT.testSimpleLoginWithInvalidCrendentials:93 expected [401] but found [503]
AdminJerseyResourceIT.testGetVersion:40 » AtlasService Metadata service API or...
DataSetLineageJerseyResourceIT.setUp:60->BaseResourceIT.createTypeDefinitionsV1:360->BaseResourceIT.createType:213 » AtlasService
EntityDiscoveryJerseyResourceIT.setUp:52->createTypes:203->BaseResourceIT.createType:213 » AtlasService
EntityJerseyResourceIT.setUp:69->BaseResourceIT.createTypeDefinitionsV1:360->BaseResourceIT.createType:213 » AtlasService
EntityV2JerseyResourceIT.setUp:71->BaseResourceIT.createTypeDefinitionsV2:448->BaseResourceIT.batchCreateTypes:165 » AtlasService
MetadataDiscoveryJerseyResourceIT.setUp:58->createTypes:237->BaseResourceIT.createTypeDefinitionsV1:360->BaseResourceIT.createType:213 » AtlasService
Tests run: 140, Failures: 11, Errors: 0, Skipped: 122
[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@5ec03461\{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@6da710df\{/,file:///Users/david/atlasreview/webapp/target/atlas-webapp-1.0.0-SNAPSHOT/,UNAVAILABLE}{/Users/david/atlasreview/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: /Users/david/atlasreview/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: /Users/david/atlasreview/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: /Users/david/atlasreview/webapp/target/failsafe-reports
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Atlas Server Build Tools .................... SUCCESS [ 0.658 s]
[INFO] apache-atlas ....................................... SUCCESS [ 6.313 s]
[INFO] Apache Atlas Test Utility Tools .................... SUCCESS [ 11.492 s]
[INFO] Open Connector Framework (OCF) ..................... SUCCESS [ 10.582 s]
[INFO] Open Metadata Repository Services (OMRS) ........... SUCCESS [ 16.692 s]
[INFO] Apache Atlas Integration ........................... SUCCESS [01:02 min]
[INFO] Apache Atlas Common ................................ SUCCESS [ 10.917 s]
[INFO] Apache Atlas Client ................................ SUCCESS [ 0.388 s]
[INFO] atlas-client-common ................................ SUCCESS [ 5.927 s]
[INFO] atlas-client-v1 .................................... SUCCESS [ 6.931 s]
[INFO] Apache Atlas Server API ............................ SUCCESS [ 7.409 s]
[INFO] Apache Atlas Notification .......................... SUCCESS [ 21.877 s]
[INFO] atlas-client-v2 .................................... SUCCESS [ 4.908 s]
[INFO] Apache Atlas Graph Database Projects ............... SUCCESS [ 0.350 s]
[INFO] Apache Atlas Graph Database API .................... SUCCESS [ 3.801 s]
[INFO] Graph Database Common Code ......................... SUCCESS [ 3.875 s]
[INFO] Apache Atlas JanusGraph DB Impl .................... SUCCESS [02:17 min]
[INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [ 1.292 s]
[INFO] Shaded version of Apache hbase client .............. SUCCESS [ 5.237 s]
[INFO] Apache Atlas Titan 0.5.4 Graph DB Impl ............. SUCCESS [ 25.182 s]
[INFO] Shaded version of Apache hbase server .............. SUCCESS [ 13.624 s]
[INFO] Apache Atlas Repository ............................ SUCCESS [02:32 min]
[INFO] Apache Atlas Authorization ......................... SUCCESS [ 10.230 s]
[INFO] Apache Atlas UI .................................... SUCCESS [ 54.279 s]
[INFO] Apache Atlas Web Application ....................... FAILURE [44:49 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
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)