See <https://builds.apache.org/job/Atlas-1.0-AllTests/85/display/redirect?page=changes>
Changes: [madhan] ATLAS-2722: moved unused code from branch-1.0 [madhan] ATLAS-2694: added Avro schema typedef and support for Avro schema ------------------------------------------ [...truncated 384.91 KB...] </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:395) 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.TypedefsJerseyResourceIT.testDuplicateCreate(TypedefsJerseyResourceIT.java:112) testInvalidGets(org.apache.atlas.web.integration.TypedefsJerseyResourceIT) Time elapsed: 20.015 sec <<< FAILURE! java.lang.AssertionError: Should've returned a 404 expected [404] 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.apache.atlas.web.integration.TypedefsJerseyResourceIT.testInvalidGets(TypedefsJerseyResourceIT.java:200) testListTypesByFilter(org.apache.atlas.web.integration.TypedefsJerseyResourceIT) Time elapsed: 20.049 sec <<< FAILURE! org.apache.atlas.AtlasServiceException: Metadata service API org.apache.atlas.AtlasClientV2$API_V2@7ac3c6d6 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:395) 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.TypedefsJerseyResourceIT.testListTypesByFilter(TypedefsJerseyResourceIT.java:277) testUpdate(org.apache.atlas.web.integration.TypedefsJerseyResourceIT) Time elapsed: 20.019 sec <<< FAILURE! org.apache.atlas.AtlasServiceException: Metadata service API org.apache.atlas.AtlasClientV2$API_V2@7ac3c6d6 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:395) 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.TypedefsJerseyResourceIT.testUpdate(TypedefsJerseyResourceIT.java:133) testSimpleLoginWithInvalidCrendentials(org.apache.atlas.web.filters.AtlasAuthenticationSimpleFilterIT) Time elapsed: 0.004 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:75) 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) testAccessforUnauthenticatedResource(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.testAccessforUnauthenticatedResource(AtlasAuthenticationSimpleFilterIT.java:57) Results : Failed tests: NotificationHookConsumerIT.setUp:54->BaseResourceIT.createTypeDefinitionsV1:358->BaseResourceIT.createType:211 » AtlasService AtlasAuthenticationSimpleFilterIT.testAccessforUnauthenticatedResource:57 expected [200] but found [503] AtlasAuthenticationSimpleFilterIT.testSimpleLoginForValidUser:46 expected [200] but found [503] AtlasAuthenticationSimpleFilterIT.testSimpleLoginWithInvalidCrendentials:75 expected [401] but found [503] TypedefsJerseyResourceIT.testCreate:84->BaseResourceIT.createType:168->BaseResourceIT.batchCreateTypes:163 » AtlasService TypedefsJerseyResourceIT.testDuplicateCreate:112 » AtlasService Metadata servi... TypedefsJerseyResourceIT.testInvalidGets:200 Should've returned a 404 expected [404] but found [503] TypedefsJerseyResourceIT.testListTypesByFilter:277 » AtlasService Metadata ser... TypedefsJerseyResourceIT.testUpdate:133 » AtlasService Metadata service API or... Tests run: 130, Failures: 9, Errors: 0, Skipped: 118 [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@1fa7bbb5{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@d30bcf8{/,file://<https://builds.apache.org/job/Atlas-1.0-AllTests/ws/webapp/target/atlas-webapp-1.0.0/,UNAVAILABLE}{/home/jenkins/jenkins-slave/workspace/Atlas-1.0-AllTests/webapp/target/atlas-webapp-1.0.0.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-1.0-AllTests/ws/webapp/target/atlas-webapp-1.0.0-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-1.0-AllTests/ws/webapp/target/atlas-webapp-1.0.0-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-1.0-AllTests/ws/webapp/target/failsafe-reports> [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Apache Atlas Server Build Tools .................... SUCCESS [ 0.665 s] [INFO] apache-atlas ....................................... SUCCESS [ 3.874 s] [INFO] Apache Atlas Test Utility Tools .................... SUCCESS [ 10.040 s] [INFO] Apache Atlas Integration ........................... SUCCESS [ 52.188 s] [INFO] Apache Atlas Common ................................ SUCCESS [ 9.307 s] [INFO] Apache Atlas Client ................................ SUCCESS [ 0.611 s] [INFO] atlas-client-common ................................ SUCCESS [ 6.902 s] [INFO] atlas-client-v1 .................................... SUCCESS [ 9.126 s] [INFO] Apache Atlas Server API ............................ SUCCESS [ 6.192 s] [INFO] Apache Atlas Notification .......................... SUCCESS [ 27.378 s] [INFO] atlas-client-v2 .................................... SUCCESS [ 13.477 s] [INFO] Apache Atlas Graph Database Projects ............... SUCCESS [ 0.455 s] [INFO] Apache Atlas Graph Database API .................... SUCCESS [ 6.092 s] [INFO] Graph Database Common Code ......................... SUCCESS [ 4.962 s] [INFO] Apache Atlas JanusGraph DB Impl .................... SUCCESS [03:30 min] [INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [ 2.529 s] [INFO] Shaded version of Apache hbase client .............. SUCCESS [ 14.396 s] [INFO] Shaded version of Apache hbase server .............. SUCCESS [ 22.041 s] [INFO] Apache Atlas Authorization ......................... SUCCESS [ 7.754 s] [INFO] Apache Atlas Repository ............................ SUCCESS [05:24 min] [INFO] Apache Atlas UI .................................... SUCCESS [01:42 min] [INFO] Apache Atlas Web Application ....................... FAILURE [18:21 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: 32:18 min [INFO] Finished at: 2018-05-25T22:20:16Z [INFO] Final Memory: 240M/2444M [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-1.0-AllTests/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 log4j:WARN No appenders could be found for logger (org.apache.zookeeper.server.NIOServerCnxnFactory). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. 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-1.0-AllTests/ws/> that match the pattern **/target/checkstyle-result.xml [CHECKSTYLE] Parsing 20 files in <https://builds.apache.org/job/Atlas-1.0-AllTests/ws/> [CHECKSTYLE] Successfully parsed file <https://builds.apache.org/job/Atlas-1.0-AllTests/ws/authorization/target/checkstyle-result.xml> with 669 unique warnings and 0 duplicates. [CHECKSTYLE] Successfully parsed file <https://builds.apache.org/job/Atlas-1.0-AllTests/ws/client/client-v1/target/checkstyle-result.xml> with 1558 unique warnings and 0 duplicates. [CHECKSTYLE] Successfully parsed file <https://builds.apache.org/job/Atlas-1.0-AllTests/ws/client/client-v2/target/checkstyle-result.xml> with 1917 unique warnings and 0 duplicates. [CHECKSTYLE] Successfully parsed file <https://builds.apache.org/job/Atlas-1.0-AllTests/ws/client/common/target/checkstyle-result.xml> with 2408 unique warnings and 0 duplicates. [CHECKSTYLE] Successfully parsed file <https://builds.apache.org/job/Atlas-1.0-AllTests/ws/client/target/checkstyle-result.xml> with 2408 unique warnings and 0 duplicates. [CHECKSTYLE] Successfully parsed file <https://builds.apache.org/job/Atlas-1.0-AllTests/ws/common/target/checkstyle-result.xml> with 3467 unique warnings and 0 duplicates. [CHECKSTYLE] Successfully parsed file <https://builds.apache.org/job/Atlas-1.0-AllTests/ws/dashboardv2/target/checkstyle-result.xml> with 3467 unique warnings and 0 duplicates. [CHECKSTYLE] Successfully parsed file <https://builds.apache.org/job/Atlas-1.0-AllTests/ws/graphdb/api/target/checkstyle-result.xml> with 3767 unique warnings and 0 duplicates. [CHECKSTYLE] Successfully parsed file <https://builds.apache.org/job/Atlas-1.0-AllTests/ws/graphdb/common/target/checkstyle-result.xml> with 3993 unique warnings and 0 duplicates. [CHECKSTYLE] Successfully parsed file <https://builds.apache.org/job/Atlas-1.0-AllTests/ws/graphdb/graphdb-impls/target/checkstyle-result.xml> with 3993 unique warnings and 0 duplicates. [CHECKSTYLE] Successfully parsed file <https://builds.apache.org/job/Atlas-1.0-AllTests/ws/graphdb/janus/target/checkstyle-result.xml> with 6155 unique warnings and 0 duplicates. [CHECKSTYLE] Successfully parsed file <https://builds.apache.org/job/Atlas-1.0-AllTests/ws/graphdb/target/checkstyle-result.xml> with 6155 unique warnings and 0 duplicates. [CHECKSTYLE] Successfully parsed file <https://builds.apache.org/job/Atlas-1.0-AllTests/ws/intg/target/checkstyle-result.xml> with 18076 unique warnings and 0 duplicates. [CHECKSTYLE] Successfully parsed file <https://builds.apache.org/job/Atlas-1.0-AllTests/ws/notification/target/checkstyle-result.xml> with 19313 unique warnings and 0 duplicates. [CHECKSTYLE] Successfully parsed file <https://builds.apache.org/job/Atlas-1.0-AllTests/ws/repository/target/checkstyle-result.xml> with 38131 unique warnings and 0 duplicates. [CHECKSTYLE] Successfully parsed file <https://builds.apache.org/job/Atlas-1.0-AllTests/ws/server-api/target/checkstyle-result.xml> with 38299 unique warnings and 0 duplicates. [CHECKSTYLE] Successfully parsed file <https://builds.apache.org/job/Atlas-1.0-AllTests/ws/shaded/hbase-client-shaded/target/checkstyle-result.xml> with 38299 unique warnings and 0 duplicates. [CHECKSTYLE] Successfully parsed file <https://builds.apache.org/job/Atlas-1.0-AllTests/ws/shaded/hbase-server-shaded/target/checkstyle-result.xml> with 38299 unique warnings and 0 duplicates. [CHECKSTYLE] Successfully parsed file <https://builds.apache.org/job/Atlas-1.0-AllTests/ws/target/checkstyle-result.xml> with 38299 unique warnings and 0 duplicates. [CHECKSTYLE] Successfully parsed file <https://builds.apache.org/job/Atlas-1.0-AllTests/ws/test-tools/target/checkstyle-result.xml> with 38337 unique warnings and 0 duplicates. <Git Blamer> Using GitBlamer to create author and commit information for all warnings. <Git Blamer> GIT_COMMIT=d6797f611607b534f6b8233ec982cc4d1af00cec, workspace=<https://builds.apache.org/job/Atlas-1.0-AllTests/ws/> > git rev-parse d6797f611607b534f6b8233ec982cc4d1af00cec^{commit} # timeout=10 [CHECKSTYLE] Computing warning deltas based on reference build #84 [FINDBUGS] Collecting findbugs analysis files... [FINDBUGS] Searching for all files in <https://builds.apache.org/job/Atlas-1.0-AllTests/ws/> that match the pattern **/target/findbugs.xml [FINDBUGS] Parsing 13 files in <https://builds.apache.org/job/Atlas-1.0-AllTests/ws/> [FINDBUGS] Successfully parsed file <https://builds.apache.org/job/Atlas-1.0-AllTests/ws/authorization/target/findbugs.xml> with 0 unique warnings and 0 duplicates. [FINDBUGS] Successfully parsed file <https://builds.apache.org/job/Atlas-1.0-AllTests/ws/client/client-v1/target/findbugs.xml> with 0 unique warnings and 0 duplicates. [FINDBUGS] Successfully parsed file <https://builds.apache.org/job/Atlas-1.0-AllTests/ws/client/client-v2/target/findbugs.xml> with 0 unique warnings and 0 duplicates. [FINDBUGS] Successfully parsed file <https://builds.apache.org/job/Atlas-1.0-AllTests/ws/client/common/target/findbugs.xml> with 0 unique warnings and 0 duplicates. [FINDBUGS] Successfully parsed file <https://builds.apache.org/job/Atlas-1.0-AllTests/ws/common/target/findbugs.xml> with 0 unique warnings and 0 duplicates. [FINDBUGS] Successfully parsed file <https://builds.apache.org/job/Atlas-1.0-AllTests/ws/graphdb/api/target/findbugs.xml> with 0 unique warnings and 0 duplicates. [FINDBUGS] Successfully parsed file <https://builds.apache.org/job/Atlas-1.0-AllTests/ws/graphdb/common/target/findbugs.xml> with 0 unique warnings and 0 duplicates. [FINDBUGS] Successfully parsed file <https://builds.apache.org/job/Atlas-1.0-AllTests/ws/graphdb/janus/target/findbugs.xml> with 0 unique warnings and 0 duplicates. [FINDBUGS] Successfully parsed file <https://builds.apache.org/job/Atlas-1.0-AllTests/ws/intg/target/findbugs.xml> with 0 unique warnings and 0 duplicates. [FINDBUGS] Successfully parsed file <https://builds.apache.org/job/Atlas-1.0-AllTests/ws/notification/target/findbugs.xml> with 0 unique warnings and 0 duplicates. [FINDBUGS] Successfully parsed file <https://builds.apache.org/job/Atlas-1.0-AllTests/ws/repository/target/findbugs.xml> with 0 unique warnings and 0 duplicates. [FINDBUGS] Successfully parsed file <https://builds.apache.org/job/Atlas-1.0-AllTests/ws/server-api/target/findbugs.xml> with 0 unique warnings and 0 duplicates. [FINDBUGS] Successfully parsed file <https://builds.apache.org/job/Atlas-1.0-AllTests/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=d6797f611607b534f6b8233ec982cc4d1af00cec, workspace=<https://builds.apache.org/job/Atlas-1.0-AllTests/ws/> [FINDBUGS] Computing warning deltas based on reference build #84 Archiving artifacts [Fast Archiver] Compressed 396.98 MB of artifacts by 35.7% relative to #84 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-1.0-AllTests/builds/85/testng/testng-results-1.xml' Processing '/x1/jenkins/jenkins-home/jobs/Atlas-1.0-AllTests/builds/85/testng/testng-results-2.xml' Processing '/x1/jenkins/jenkins-home/jobs/Atlas-1.0-AllTests/builds/85/testng/testng-results-3.xml' Processing '/x1/jenkins/jenkins-home/jobs/Atlas-1.0-AllTests/builds/85/testng/testng-results-4.xml' Processing '/x1/jenkins/jenkins-home/jobs/Atlas-1.0-AllTests/builds/85/testng/testng-results-5.xml' Processing '/x1/jenkins/jenkins-home/jobs/Atlas-1.0-AllTests/builds/85/testng/testng-results-6.xml' Processing '/x1/jenkins/jenkins-home/jobs/Atlas-1.0-AllTests/builds/85/testng/testng-results-7.xml' Processing '/x1/jenkins/jenkins-home/jobs/Atlas-1.0-AllTests/builds/85/testng/testng-results-8.xml' Processing '/x1/jenkins/jenkins-home/jobs/Atlas-1.0-AllTests/builds/85/testng/testng-results.xml' 2.000000% of tests failed, which exceeded threshold of 0%. Marking build as UNSTABLE TestNG Reports Processing: FINISH
