See <https://builds.apache.org/job/apache-atlas-nightly/793/display/redirect?page=changes>
Changes: [apoorvnaik] ATLAS-1906: Atlas client should support setting hadoop-jwt token in ------------------------------------------ [...truncated 122.67 KB...] [WARNING] <https://builds.apache.org/job/apache-atlas-nightly/ws/client/src/test/java/org/apache/atlas/AtlasClientTest.java>: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ atlas-client --- [INFO] Surefire report directory: <https://builds.apache.org/job/apache-atlas-nightly/ws/client/target/surefire-reports> [INFO] Using configured provider org.apache.maven.surefire.testng.TestNGProvider [WARNING] file.encoding cannot be set as system property, use <argLine>-Dfile.encoding=...<argLine> instead ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.apache.atlas.AtlasClientTest Tests run: 16, Failures: 14, Errors: 0, Skipped: 0, Time elapsed: 2.573 sec <<< FAILURE! - in org.apache.atlas.AtlasClientTest shouldGetAdminStatus(org.apache.atlas.AtlasClientTest) Time elapsed: 0.262 sec <<< FAILURE! java.lang.NullPointerException: null at org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:310) at org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:296) at org.apache.atlas.AtlasBaseClient.getAdminStatus(AtlasBaseClient.java:391) at org.apache.atlas.AtlasClientTest.shouldGetAdminStatus(AtlasClientTest.java:170) shouldRetryAPICallsOnClientHandlerException(org.apache.atlas.AtlasClientTest) Time elapsed: 0.254 sec <<< FAILURE! java.lang.NullPointerException: null at org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:310) at org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:296) at org.apache.atlas.AtlasBaseClient.callAPIWithRetries(AtlasBaseClient.java:433) at org.apache.atlas.AtlasClient.callAPIWithRetries(AtlasClient.java:953) at org.apache.atlas.AtlasClientTest.shouldRetryAPICallsOnClientHandlerException(AtlasClientTest.java:348) shouldRetryAPICallsOnServiceUnavailable(org.apache.atlas.AtlasClientTest) Time elapsed: 0.008 sec <<< FAILURE! java.lang.NullPointerException: null at org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:310) at org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:296) at org.apache.atlas.AtlasBaseClient.callAPIWithRetries(AtlasBaseClient.java:433) at org.apache.atlas.AtlasClient.callAPIWithRetries(AtlasClient.java:953) at org.apache.atlas.AtlasClientTest.shouldRetryAPICallsOnServiceUnavailable(AtlasClientTest.java:424) shouldRetryIfCannotConnectToServiceInitially(org.apache.atlas.AtlasClientTest) Time elapsed: 0.033 sec <<< FAILURE! java.lang.IllegalArgumentException: None of the passed URLs are active org.apache.atlas.AtlasServerEnsemble@391115ac at org.apache.atlas.AtlasBaseClient.selectActiveServerAddress(AtlasBaseClient.java:237) at org.apache.atlas.AtlasBaseClient.determineActiveServiceURL(AtlasBaseClient.java:213) at org.apache.atlas.AtlasClientTest.shouldRetryIfCannotConnectToServiceInitially(AtlasClientTest.java:290) shouldRetryUntilServiceBecomesActive(org.apache.atlas.AtlasClientTest) Time elapsed: 0.029 sec <<< FAILURE! java.lang.IllegalArgumentException: None of the passed URLs are active org.apache.atlas.AtlasServerEnsemble@65ad9b63 at org.apache.atlas.AtlasBaseClient.selectActiveServerAddress(AtlasBaseClient.java:237) at org.apache.atlas.AtlasBaseClient.determineActiveServiceURL(AtlasBaseClient.java:213) at org.apache.atlas.AtlasClientTest.shouldRetryUntilServiceBecomesActive(AtlasClientTest.java:261) shouldRetryWithSameClientIfSingleAddressIsUsed(org.apache.atlas.AtlasClientTest) Time elapsed: 0.007 sec <<< FAILURE! java.lang.NullPointerException: null at org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:310) at org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:296) at org.apache.atlas.AtlasBaseClient.callAPIWithRetries(AtlasBaseClient.java:433) at org.apache.atlas.AtlasClient.callAPIWithRetries(AtlasClient.java:953) at org.apache.atlas.AtlasClientTest.shouldRetryWithSameClientIfSingleAddressIsUsed(AtlasClientTest.java:384) shouldReturnFalseIfServerIsNotReady(org.apache.atlas.AtlasClientTest) Time elapsed: 0.003 sec <<< FAILURE! java.lang.NullPointerException: null at org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:310) at org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:296) at org.apache.atlas.AtlasBaseClient.isServerReady(AtlasBaseClient.java:274) at org.apache.atlas.AtlasClientTest.shouldReturnFalseIfServerIsNotReady(AtlasClientTest.java:119) shouldReturnFalseIfServiceIsUnavailable(org.apache.atlas.AtlasClientTest) Time elapsed: 0.004 sec <<< FAILURE! java.lang.NullPointerException: null at org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:310) at org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:296) at org.apache.atlas.AtlasBaseClient.isServerReady(AtlasBaseClient.java:274) at org.apache.atlas.AtlasClientTest.shouldReturnFalseIfServiceIsUnavailable(AtlasClientTest.java:133) shouldReturnStatusAsUnknownIfJSONIsInvalid(org.apache.atlas.AtlasClientTest) Time elapsed: 0.004 sec <<< FAILURE! java.lang.NullPointerException: null at org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:310) at org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:296) at org.apache.atlas.AtlasBaseClient.getAdminStatus(AtlasBaseClient.java:391) at org.apache.atlas.AtlasClientTest.shouldReturnStatusAsUnknownIfJSONIsInvalid(AtlasClientTest.java:201) shouldReturnStatusAsUnknownOnException(org.apache.atlas.AtlasClientTest) Time elapsed: 0.004 sec <<< FAILURE! org.testng.TestException: Expected exception org.apache.atlas.AtlasServiceException but got java.lang.NullPointerException at org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:310) at org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:296) at org.apache.atlas.AtlasBaseClient.getAdminStatus(AtlasBaseClient.java:391) at org.apache.atlas.AtlasClientTest.shouldReturnStatusAsUnknownOnException(AtlasClientTest.java:186) shouldSelectActiveAmongMultipleServersIfHAIsEnabled(org.apache.atlas.AtlasClientTest) Time elapsed: 0.025 sec <<< FAILURE! java.lang.IllegalArgumentException: None of the passed URLs are active org.apache.atlas.AtlasServerEnsemble@6f950feb at org.apache.atlas.AtlasBaseClient.selectActiveServerAddress(AtlasBaseClient.java:237) at org.apache.atlas.AtlasBaseClient.determineActiveServiceURL(AtlasBaseClient.java:213) at org.apache.atlas.AtlasClientTest.shouldSelectActiveAmongMultipleServersIfHAIsEnabled(AtlasClientTest.java:236) shouldThrowErrorIfAnyResponseOtherThanServiceUnavailable(org.apache.atlas.AtlasClientTest) Time elapsed: 0.004 sec <<< FAILURE! org.testng.TestException: Expected exception org.apache.atlas.AtlasServiceException but got java.lang.NullPointerException at org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:310) at org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:296) at org.apache.atlas.AtlasBaseClient.isServerReady(AtlasBaseClient.java:274) at org.apache.atlas.AtlasClientTest.shouldThrowErrorIfAnyResponseOtherThanServiceUnavailable(AtlasClientTest.java:148) shouldVerifyServerIsReady(org.apache.atlas.AtlasClientTest) Time elapsed: 0.004 sec <<< FAILURE! java.lang.NullPointerException: null at org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:310) at org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:296) at org.apache.atlas.AtlasBaseClient.isServerReady(AtlasBaseClient.java:274) at org.apache.atlas.AtlasClientTest.shouldVerifyServerIsReady(AtlasClientTest.java:84) testCreateEntity(org.apache.atlas.AtlasClientTest) Time elapsed: 1.157 sec <<< FAILURE! java.lang.NullPointerException: null at org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:310) at org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:296) at org.apache.atlas.AtlasBaseClient.callAPI(AtlasBaseClient.java:448) at org.apache.atlas.AtlasClient.callAPIWithBody(AtlasClient.java:938) at org.apache.atlas.AtlasClient.createEntity(AtlasClient.java:428) at org.apache.atlas.AtlasClient.createEntity(AtlasClient.java:445) at org.apache.atlas.AtlasClientTest.testCreateEntity(AtlasClientTest.java:102) Results : Failed tests: AtlasClientTest.shouldGetAdminStatus:170 » NullPointer AtlasClientTest.shouldRetryAPICallsOnClientHandlerException:348 » NullPointer AtlasClientTest.shouldRetryAPICallsOnServiceUnavailable:424 » NullPointer AtlasClientTest.shouldRetryIfCannotConnectToServiceInitially:290 » IllegalArgument AtlasClientTest.shouldRetryUntilServiceBecomesActive:261 » IllegalArgument Non... AtlasClientTest.shouldRetryWithSameClientIfSingleAddressIsUsed:384 » NullPointer AtlasClientTest.shouldReturnFalseIfServerIsNotReady:119 » NullPointer AtlasClientTest.shouldReturnFalseIfServiceIsUnavailable:133 » NullPointer AtlasClientTest.shouldReturnStatusAsUnknownIfJSONIsInvalid:201 » NullPointer AtlasClientTest.shouldReturnStatusAsUnknownOnException » Test Expected except... AtlasClientTest.shouldSelectActiveAmongMultipleServersIfHAIsEnabled:236 » IllegalArgument AtlasClientTest.shouldThrowErrorIfAnyResponseOtherThanServiceUnavailable » Test AtlasClientTest.shouldVerifyServerIsReady:84 » NullPointer AtlasClientTest.testCreateEntity:102 » NullPointer Tests run: 16, Failures: 14, Errors: 0, Skipped: 0 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Apache Atlas Server Build Tools .................... SUCCESS [ 1.019 s] [INFO] apache-atlas ....................................... SUCCESS [ 11.911 s] [INFO] Apache Atlas Integration ........................... SUCCESS [ 36.162 s] [INFO] Apache Atlas Common ................................ SUCCESS [ 16.555 s] [INFO] Apache Atlas Typesystem ............................ SUCCESS [01:10 min] [INFO] Apache Atlas Client ................................ FAILURE [ 6.341 s] [INFO] Apache Atlas Server API ............................ SKIPPED [INFO] Apache Atlas Notification .......................... SKIPPED [INFO] Apache Atlas Graph Database Projects ............... SKIPPED [INFO] Apache Atlas Graph Database API .................... SKIPPED [INFO] Graph Database Common Code ......................... SKIPPED [INFO] Apache Atlas Titan 1.0.0 GraphDB Impl .............. SKIPPED [INFO] Shaded version of Apache hbase client .............. SKIPPED [INFO] Apache Atlas Titan 0.5.4 Graph DB Impl ............. SKIPPED [INFO] Apache Atlas Graph Database Implementation Dependencies SKIPPED [INFO] Shaded version of Apache hbase server .............. SKIPPED [INFO] Apache Atlas Repository ............................ SKIPPED [INFO] Apache Atlas Authorization ......................... SKIPPED [INFO] Apache Atlas Business Catalog ...................... SKIPPED [INFO] Apache Atlas UI .................................... SKIPPED [INFO] Apache Atlas Web Application ....................... SKIPPED [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 Distribution .......................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 02:25 min [INFO] Finished at: 2017-07-06T15:58:41Z [INFO] Final Memory: 115M/1789M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on project atlas-client: There are test failures. [ERROR] [ERROR] Please refer to <https://builds.apache.org/job/apache-atlas-nightly/ws/client/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-client Build step 'Execute shell' marked build as failure [CHECKSTYLE] Collecting checkstyle analysis files... [CHECKSTYLE] Searching for all files in <https://builds.apache.org/job/apache-atlas-nightly/ws/> that match the pattern **/target/checkstyle-result.xml [CHECKSTYLE] Parsing 18 files in <https://builds.apache.org/job/apache-atlas-nightly/ws/> [CHECKSTYLE] Successfully parsed file <https://builds.apache.org/job/apache-atlas-nightly/ws/authorization/target/checkstyle-result.xml> with 467 unique warnings and 0 duplicates. [CHECKSTYLE] Successfully parsed file <https://builds.apache.org/job/apache-atlas-nightly/ws/catalog/target/checkstyle-result.xml> with 2612 unique warnings and 0 duplicates. [CHECKSTYLE] Successfully parsed file <https://builds.apache.org/job/apache-atlas-nightly/ws/common/target/checkstyle-result.xml> with 3821 unique warnings and 0 duplicates. [CHECKSTYLE] Successfully parsed file <https://builds.apache.org/job/apache-atlas-nightly/ws/dashboardv2/target/checkstyle-result.xml> with 3821 unique warnings and 0 duplicates. [CHECKSTYLE] Successfully parsed file <https://builds.apache.org/job/apache-atlas-nightly/ws/graphdb/api/target/checkstyle-result.xml> with 4090 unique warnings and 0 duplicates. [CHECKSTYLE] Successfully parsed file <https://builds.apache.org/job/apache-atlas-nightly/ws/graphdb/common/target/checkstyle-result.xml> with 4277 unique warnings and 0 duplicates. [CHECKSTYLE] Successfully parsed file <https://builds.apache.org/job/apache-atlas-nightly/ws/graphdb/graphdb-impls/target/checkstyle-result.xml> with 4277 unique warnings and 0 duplicates. [CHECKSTYLE] Successfully parsed file <https://builds.apache.org/job/apache-atlas-nightly/ws/graphdb/target/checkstyle-result.xml> with 4277 unique warnings and 0 duplicates. [CHECKSTYLE] Successfully parsed file <https://builds.apache.org/job/apache-atlas-nightly/ws/graphdb/titan0/target/checkstyle-result.xml> with 6551 unique warnings and 0 duplicates. [CHECKSTYLE] Successfully parsed file <https://builds.apache.org/job/apache-atlas-nightly/ws/graphdb/titan1/target/checkstyle-result.xml> with 7499 unique warnings and 0 duplicates. [CHECKSTYLE] Successfully parsed file <https://builds.apache.org/job/apache-atlas-nightly/ws/intg/target/checkstyle-result.xml> with 14533 unique warnings and 0 duplicates. [CHECKSTYLE] Successfully parsed file <https://builds.apache.org/job/apache-atlas-nightly/ws/notification/target/checkstyle-result.xml> with 15730 unique warnings and 0 duplicates. [CHECKSTYLE] Successfully parsed file <https://builds.apache.org/job/apache-atlas-nightly/ws/repository/target/checkstyle-result.xml> with 33685 unique warnings and 0 duplicates. [CHECKSTYLE] Successfully parsed file <https://builds.apache.org/job/apache-atlas-nightly/ws/server-api/target/checkstyle-result.xml> with 34064 unique warnings and 0 duplicates. [CHECKSTYLE] Successfully parsed file <https://builds.apache.org/job/apache-atlas-nightly/ws/shaded/hbase-client-shaded/target/checkstyle-result.xml> with 34064 unique warnings and 0 duplicates. [CHECKSTYLE] Successfully parsed file <https://builds.apache.org/job/apache-atlas-nightly/ws/shaded/hbase-server-shaded/target/checkstyle-result.xml> with 34064 unique warnings and 0 duplicates. [CHECKSTYLE] Successfully parsed file <https://builds.apache.org/job/apache-atlas-nightly/ws/target/checkstyle-result.xml> with 34064 unique warnings and 0 duplicates. [CHECKSTYLE] Successfully parsed file <https://builds.apache.org/job/apache-atlas-nightly/ws/typesystem/target/checkstyle-result.xml> with 38282 unique warnings and 0 duplicates. [CHECKSTYLE] Computing warning deltas based on reference build #711 [FINDBUGS] Collecting findbugs analysis files... [FINDBUGS] Searching for all files in <https://builds.apache.org/job/apache-atlas-nightly/ws/> that match the pattern **/target/findbugs.xml [FINDBUGS] Parsing 11 files in <https://builds.apache.org/job/apache-atlas-nightly/ws/> [FINDBUGS] Successfully parsed file <https://builds.apache.org/job/apache-atlas-nightly/ws/authorization/target/findbugs.xml> with 0 unique warnings and 0 duplicates. [FINDBUGS] Successfully parsed file <https://builds.apache.org/job/apache-atlas-nightly/ws/catalog/target/findbugs.xml> with 0 unique warnings and 0 duplicates. [FINDBUGS] Successfully parsed file <https://builds.apache.org/job/apache-atlas-nightly/ws/common/target/findbugs.xml> with 0 unique warnings and 0 duplicates. [FINDBUGS] Successfully parsed file <https://builds.apache.org/job/apache-atlas-nightly/ws/graphdb/api/target/findbugs.xml> with 0 unique warnings and 0 duplicates. [FINDBUGS] Successfully parsed file <https://builds.apache.org/job/apache-atlas-nightly/ws/graphdb/common/target/findbugs.xml> with 0 unique warnings and 0 duplicates. [FINDBUGS] Successfully parsed file <https://builds.apache.org/job/apache-atlas-nightly/ws/graphdb/titan0/target/findbugs.xml> with 0 unique warnings and 0 duplicates. [FINDBUGS] Successfully parsed file <https://builds.apache.org/job/apache-atlas-nightly/ws/intg/target/findbugs.xml> with 0 unique warnings and 0 duplicates. [FINDBUGS] Successfully parsed file <https://builds.apache.org/job/apache-atlas-nightly/ws/notification/target/findbugs.xml> with 0 unique warnings and 0 duplicates. [FINDBUGS] Successfully parsed file <https://builds.apache.org/job/apache-atlas-nightly/ws/repository/target/findbugs.xml> with 0 unique warnings and 0 duplicates. [FINDBUGS] Successfully parsed file <https://builds.apache.org/job/apache-atlas-nightly/ws/server-api/target/findbugs.xml> with 0 unique warnings and 0 duplicates. [FINDBUGS] Successfully parsed file <https://builds.apache.org/job/apache-atlas-nightly/ws/typesystem/target/findbugs.xml> with 0 unique warnings and 0 duplicates. [FINDBUGS] Computing warning deltas based on reference build #711 Archiving artifacts No artifacts from apache-atlas-nightly #711 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 testng-results.xml was last modified before this build started. Ignoring it. testng-results.xml was last modified before this build started. Ignoring it. testng-results.xml was last modified before this build started. Ignoring it. testng-results.xml was last modified before this build started. Ignoring it. testng-results.xml was last modified before this build started. Ignoring it. testng-results.xml was last modified before this build started. Ignoring it. testng-results.xml was last modified before this build started. Ignoring it. Saving reports... Processing '/x1/jenkins/jenkins-home/jobs/apache-atlas-nightly/builds/793/testng/testng-results-1.xml' Processing '/x1/jenkins/jenkins-home/jobs/apache-atlas-nightly/builds/793/testng/testng-results-2.xml' Processing '/x1/jenkins/jenkins-home/jobs/apache-atlas-nightly/builds/793/testng/testng-results-3.xml' Processing '/x1/jenkins/jenkins-home/jobs/apache-atlas-nightly/builds/793/testng/testng-results.xml' 46.666668% of tests failed, which exceeded threshold of 0%. Marking build as UNSTABLE TestNG Reports Processing: FINISH