atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Jenkins Server <jenk...@builds.apache.org>
Subject Build failed in Jenkins: PreCommit-ATLAS-Build-Test #502-master-ATLAS-2772.patch
Date Tue, 03 Jul 2018 23:00:14 GMT
See <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/502/display/redirect>

------------------------------------------
[...truncated 309.75 KB...]
Running org.apache.atlas.web.service.SecureEmbeddedServerTest
Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 191.39 sec <<< FAILURE!
- in org.apache.atlas.web.service.SecureEmbeddedServerTest
testServerConfiguredUsingCredentialProvider(org.apache.atlas.web.service.SecureEmbeddedServerTest)
 Time elapsed: 96.12 sec  <<< FAILURE!
java.lang.AssertionError: War deploy failed
	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.service.SecureEmbeddedServerTest.testServerConfiguredUsingCredentialProvider(SecureEmbeddedServerTest.java:77)

Running org.apache.atlas.web.service.CuratorFactoryTest$1
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.34 sec - in org.apache.atlas.web.service.CuratorFactoryTest$1
Running org.apache.atlas.web.security.SSLTest$1
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.287 sec - in org.apache.atlas.web.security.SSLTest$1
Running org.apache.atlas.web.security.SSLAndKerberosTest
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 102.796 sec <<< FAILURE!
- in org.apache.atlas.web.security.SSLAndKerberosTest
testService(org.apache.atlas.web.security.SSLAndKerberosTest)  Time elapsed: 0.262 sec  <<<
FAILURE!
com.sun.jersey.api.client.ClientHandlerException: java.io.IOException: org.apache.hadoop.security.authentication.client.AuthenticationException:
Authentication failed, status: 503, message: Service Unavailable
	at org.apache.hadoop.security.authentication.client.AuthenticatedURL.extractToken(AuthenticatedURL.java:275)
	at org.apache.hadoop.security.authentication.client.PseudoAuthenticator.authenticate(PseudoAuthenticator.java:77)
	at org.apache.hadoop.security.token.delegation.web.DelegationTokenAuthenticator.authenticate(DelegationTokenAuthenticator.java:128)
	at org.apache.hadoop.security.authentication.client.KerberosAuthenticator.authenticate(KerberosAuthenticator.java:214)
	at org.apache.hadoop.security.token.delegation.web.DelegationTokenAuthenticator.authenticate(DelegationTokenAuthenticator.java:128)
	at org.apache.hadoop.security.authentication.client.AuthenticatedURL.openConnection(AuthenticatedURL.java:215)
	at org.apache.hadoop.security.token.delegation.web.DelegationTokenAuthenticatedURL.openConnection(DelegationTokenAuthenticatedURL.java:322)
	at org.apache.atlas.security.SecureClientUtils$1$1.run(SecureClientUtils.java:97)
	at org.apache.atlas.security.SecureClientUtils$1$1.run(SecureClientUtils.java:92)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAs(Subject.java:422)
	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1657)
	at org.apache.atlas.security.SecureClientUtils$1.getHttpURLConnection(SecureClientUtils.java:92)
	at com.sun.jersey.client.urlconnection.URLConnectionClientHandler._invoke(URLConnectionClientHandler.java:165)
	at com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:153)
	at com.sun.jersey.api.client.Client.handle(Client.java:652)
	at com.sun.jersey.api.client.WebResource.handle(WebResource.java:682)
	at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74)
	at com.sun.jersey.api.client.WebResource$Builder.method(WebResource.java:634)
	at org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:352)
	at org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:323)
	at org.apache.atlas.AtlasBaseClient.callAPI(AtlasBaseClient.java:239)
	at org.apache.atlas.AtlasClient.callAPIWithQueryParams(AtlasClient.java:926)
	at org.apache.atlas.AtlasClient.listTypes(AtlasClient.java:341)
	at org.apache.atlas.web.security.SSLAndKerberosTest.testService(SSLAndKerberosTest.java:185)

Running org.apache.atlas.web.security.SSLAndKerberosTest$1
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.279 sec - in org.apache.atlas.web.security.SSLAndKerberosTest$1
Running org.apache.atlas.web.security.SSLAndKerberosTest$3
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.279 sec - in org.apache.atlas.web.security.SSLAndKerberosTest$3
Running org.apache.atlas.web.security.NegativeSSLAndKerberosTest
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 101.827 sec <<< FAILURE!
- in org.apache.atlas.web.security.NegativeSSLAndKerberosTest
testUnsecuredClient(org.apache.atlas.web.security.NegativeSSLAndKerberosTest)  Time elapsed:
0.248 sec  <<< FAILURE!
java.lang.AssertionError: expected [true] but found [false]
	at org.testng.Assert.fail(Assert.java:94)
	at org.testng.Assert.failNotEquals(Assert.java:496)
	at org.testng.Assert.assertTrue(Assert.java:42)
	at org.testng.Assert.assertTrue(Assert.java:52)
	at org.apache.atlas.web.security.NegativeSSLAndKerberosTest.testUnsecuredClient(NegativeSSLAndKerberosTest.java:139)

Running org.apache.atlas.web.security.NegativeSSLAndKerberosTest$1
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.329 sec - in org.apache.atlas.web.security.NegativeSSLAndKerberosTest$1
Running org.apache.atlas.web.security.SSLAndKerberosTest$2
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.312 sec - in org.apache.atlas.web.security.SSLAndKerberosTest$2
Running org.apache.atlas.web.security.SSLTest$TestSecureEmbeddedServer
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.301 sec - in org.apache.atlas.web.security.SSLTest$TestSecureEmbeddedServer
Running org.apache.atlas.web.security.SSLTest
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 118.369 sec <<< FAILURE!
- in org.apache.atlas.web.security.SSLTest
testService(org.apache.atlas.web.security.SSLTest)  Time elapsed: 21.222 sec  <<<
FAILURE!
org.apache.atlas.AtlasServiceException: Metadata service API org.apache.atlas.AtlasClient$API_V1@445bce9a
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:395)
	at org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:323)
	at org.apache.atlas.AtlasBaseClient.callAPI(AtlasBaseClient.java:239)
	at org.apache.atlas.AtlasClient.callAPIWithQueryParams(AtlasClient.java:926)
	at org.apache.atlas.AtlasClient.listTypes(AtlasClient.java:341)
	at org.apache.atlas.web.security.SSLTest.testService(SSLTest.java:147)

Running org.apache.atlas.web.listeners.LoginProcessorIT$1
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.321 sec - in org.apache.atlas.web.listeners.LoginProcessorIT$1
Running org.apache.atlas.web.listeners.LoginProcessorIT$2
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.304 sec - in org.apache.atlas.web.listeners.LoginProcessorIT$2
Running org.apache.atlas.web.filters.AtlasAuthenticationKerberosFilterTest$TestEmbeddedServer
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.313 sec - in org.apache.atlas.web.filters.AtlasAuthenticationKerberosFilterTest$TestEmbeddedServer
Running org.apache.atlas.web.filters.ActiveServerFilterTest
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.114 sec - in org.apache.atlas.web.filters.ActiveServerFilterTest
Running org.apache.atlas.web.filters.AtlasAuthenticationKerberosFilterTest$2
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.315 sec - in org.apache.atlas.web.filters.AtlasAuthenticationKerberosFilterTest$2
Running org.apache.atlas.web.filters.AtlasAuthenticationKerberosFilterTest$1
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.28 sec - in org.apache.atlas.web.filters.AtlasAuthenticationKerberosFilterTest$1
Running org.apache.atlas.web.filters.AtlasAuthenticationKerberosFilterTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.351 sec - in org.apache.atlas.web.filters.AtlasAuthenticationKerberosFilterTest
Running org.apache.atlas.CredentialProviderUtilityIT$3
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.299 sec - in org.apache.atlas.CredentialProviderUtilityIT$3
Running org.apache.atlas.CredentialProviderUtilityIT$2
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.289 sec - in org.apache.atlas.CredentialProviderUtilityIT$2
Running org.apache.atlas.CredentialProviderUtilityIT$5
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.282 sec - in org.apache.atlas.CredentialProviderUtilityIT$5
Running org.apache.atlas.CredentialProviderUtilityIT$4
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.306 sec - in org.apache.atlas.CredentialProviderUtilityIT$4
Running org.apache.atlas.CredentialProviderUtilityIT$1
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.312 sec - in org.apache.atlas.CredentialProviderUtilityIT$1
Running org.apache.atlas.notification.NotificationHookConsumerIT$6
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.302 sec - in org.apache.atlas.notification.NotificationHookConsumerIT$6
Running org.apache.atlas.notification.NotificationHookConsumerTest$2
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.279 sec - in org.apache.atlas.notification.NotificationHookConsumerTest$2
Running org.apache.atlas.notification.NotificationHookConsumerKafkaTest$ExceptionThrowingCommitConsumer
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.287 sec - in org.apache.atlas.notification.NotificationHookConsumerKafkaTest$ExceptionThrowingCommitConsumer
Running org.apache.atlas.notification.NotificationHookConsumerIT$5
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.295 sec - in org.apache.atlas.notification.NotificationHookConsumerIT$5
Running org.apache.atlas.notification.NotificationHookConsumerTest$1
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.291 sec - in org.apache.atlas.notification.NotificationHookConsumerTest$1
Running org.apache.atlas.notification.NotificationHookConsumerIT$4
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.283 sec - in org.apache.atlas.notification.NotificationHookConsumerIT$4
Running org.apache.atlas.notification.NotificationHookConsumerIT$3
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.277 sec - in org.apache.atlas.notification.NotificationHookConsumerIT$3
Running org.apache.atlas.notification.NotificationHookConsumerIT$1
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.282 sec - in org.apache.atlas.notification.NotificationHookConsumerIT$1
Running org.apache.atlas.notification.NotificationHookConsumerTest$3
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.288 sec - in org.apache.atlas.notification.NotificationHookConsumerTest$3
Running org.apache.atlas.notification.NotificationHookConsumerIT$2
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.296 sec - in org.apache.atlas.notification.NotificationHookConsumerIT$2

Results :

Failed tests: 
  NegativeSSLAndKerberosTest.testUnsecuredClient:139 expected [true] but found [false]
  SSLAndKerberosTest.testService:185 » ClientHandler java.io.IOException: org.ap...
  SSLTest.testService:147 » AtlasService Metadata service API org.apache.atlas.A...
  SecureEmbeddedServerTest.testServerConfiguredUsingCredentialProvider:79 War deploy failed

Tests run: 18, Failures: 4, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Atlas Server Build Tools .................... SUCCESS [  0.726 s]
[INFO] apache-atlas ....................................... SUCCESS [  3.877 s]
[INFO] Apache Atlas Test Utility Tools .................... SUCCESS [  5.430 s]
[INFO] Open Connector Framework (OCF) ..................... SUCCESS [  2.335 s]
[INFO] Open Metadata Repository Services (OMRS) ........... SUCCESS [  6.548 s]
[INFO] Open Metadata and Governance (OMAG) Server APIs .... SUCCESS [  1.087 s]
[INFO] Connected Asset Open Metadata Access Service (OMAS)  SUCCESS [  1.445 s]
[INFO] Asset Consumer Open Metadata Access Service (OMAS) . SUCCESS [  1.134 s]
[INFO] Open Metadata and Governance (OMAG) Server ......... SUCCESS [  1.428 s]
[INFO] Apache Atlas Integration ........................... SUCCESS [ 42.643 s]
[INFO] Apache Atlas Common ................................ SUCCESS [  2.513 s]
[INFO] Apache Atlas Client ................................ SUCCESS [  0.164 s]
[INFO] atlas-client-common ................................ SUCCESS [  0.858 s]
[INFO] atlas-client-v1 .................................... SUCCESS [  2.838 s]
[INFO] Apache Atlas Server API ............................ SUCCESS [  1.209 s]
[INFO] Apache Atlas Notification .......................... SUCCESS [ 16.220 s]
[INFO] atlas-client-v2 .................................... SUCCESS [  0.734 s]
[INFO] Apache Atlas Graph Database Projects ............... SUCCESS [  0.136 s]
[INFO] Apache Atlas Graph Database API .................... SUCCESS [  1.422 s]
[INFO] Graph Database Common Code ......................... SUCCESS [  0.860 s]
[INFO] Apache Atlas JanusGraph DB Impl .................... SUCCESS [02:25 min]
[INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [  2.221 s]
[INFO] Shaded version of Apache hbase client .............. SUCCESS [  8.033 s]
[INFO] Shaded version of Apache hbase server .............. SUCCESS [ 22.136 s]
[INFO] Apache Atlas Authorization ......................... SUCCESS [  2.385 s]
[INFO] Apache Atlas Repository ............................ SUCCESS [03:28 min]
[INFO] Apache Atlas UI .................................... SUCCESS [01:55 min]
[INFO] Apache Atlas Web Application ....................... FAILURE [10:43 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 Kafka Bridge .......................... SKIPPED
[INFO] Apache Atlas Distribution .......................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 20:42 min
[INFO] Finished at: 2018-07-03T22:59:39Z
[INFO] Final Memory: 169M/1912M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test
(secure-tests) on project atlas-webapp: There are test failures.
[ERROR] 
[ERROR] Please refer to <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/webapp/target/surefire-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




{color:red}-1 overall{color}.  

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

Console output: https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/502//console

This message is automatically generated.


======================================================================
======================================================================
    Adding comment to Jira.
======================================================================
======================================================================




======================================================================
======================================================================
    Finished build.
======================================================================
======================================================================


+ EXIT_CODE=1
+ '[' -d <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/../atlas_patchprocess_911>
']'
+ '[' -d <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/atlas_patchprocess_911>
']'
+ mv <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/atlas_patchprocess_911>
<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/patchprocess>
+ rm -f <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/../atlas_patchprocess_911>
+ exit 1
Build step 'Execute shell' marked build as failure
Set build name.
New build name is '#502-master-ATLAS-2772.patch'
Archiving artifacts
[Fast Archiver] Compressed 173.68 MB of artifacts by 69.3% relative to #500

Mime
View raw message