See <https://builds.apache.org/job/Atlas-master-UnitTests/231/display/redirect?page=changes>
Changes: [madhan] ATLAS-2327: updated V1 to V2 conversion with addition of validation of ------------------------------------------ [...truncated 170.31 KB...] [INFO] <https://builds.apache.org/job/Atlas-master-UnitTests/ws/repository/src/test/java/org/apache/atlas/query/BasicTestSetup.java>: <https://builds.apache.org/job/Atlas-master-UnitTests/ws/repository/src/test/java/org/apache/atlas/query/BasicTestSetup.java> uses or overrides a deprecated API. [INFO] <https://builds.apache.org/job/Atlas-master-UnitTests/ws/repository/src/test/java/org/apache/atlas/query/BasicTestSetup.java>: Recompile with -Xlint:deprecation for details. [INFO] <https://builds.apache.org/job/Atlas-master-UnitTests/ws/repository/src/test/java/org/apache/atlas/repository/store/graph/v1/InverseReferenceUpdateV1Test.java>: Some input files use unchecked or unsafe operations. [INFO] <https://builds.apache.org/job/Atlas-master-UnitTests/ws/repository/src/test/java/org/apache/atlas/repository/store/graph/v1/InverseReferenceUpdateV1Test.java>: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ atlas-repository --- [INFO] Surefire report directory: <https://builds.apache.org/job/Atlas-master-UnitTests/ws/repository/target/surefire-reports> [INFO] Using configured provider org.apache.maven.surefire.testng.TestNGProvider ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.apache.atlas.utils.TestResourceFileUtils Running org.apache.atlas.query.GremlinQueryComposerTest Running org.apache.atlas.TestModules Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreV1Test Running org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateHardDeleteV1Test Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreSoftDeleteV1Test Running org.apache.atlas.utils.ObjectUpdateSynchronizerTest Running org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipDefStoreV1Test Running org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1BulkImportPercentTest Running org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest Running org.apache.atlas.services.MetricsServiceTest Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreHardDeleteV1Test Running org.apache.atlas.repository.impexp.ImportTransformerTest Running org.apache.atlas.query.DSLQueriesTest Running org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateSoftDeleteV1Test Running org.apache.atlas.repository.impexp.AtlasImportRequestTest Running org.apache.atlas.repository.impexp.UniqueListTest Running org.apache.atlas.repository.impexp.ZipSinkTest Running org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateV1Test Running org.apache.atlas.repository.store.graph.v1.AtlasEntityDefStoreV1Test Running org.apache.atlas.repository.userprofile.UserProfileServiceTest Running org.apache.atlas.repository.impexp.ImportTransformerJSONTest Running org.apache.atlas.repository.audit.InMemoryAuditRepositoryTest Running org.apache.atlas.repository.impexp.ExportServiceTest Running org.apache.atlas.repository.impexp.ImportTransformsTest Running org.apache.atlas.repository.impexp.TypeAttributeDifferenceTest Running org.apache.atlas.repository.impexp.ImportServiceTest Running org.apache.atlas.repository.impexp.ZipSourceTest Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 34.743 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreV1Test Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 35.037 sec - in org.apache.atlas.TestModules Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 36.935 sec - in org.apache.atlas.repository.impexp.UniqueListTest Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 40.794 sec - in org.apache.atlas.utils.TestResourceFileUtils Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 40.871 sec - in org.apache.atlas.utils.ObjectUpdateSynchronizerTest Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 40.997 sec - in org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1BulkImportPercentTest Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 41.908 sec - in org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateV1Test Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 41.445 sec - in org.apache.atlas.repository.audit.InMemoryAuditRepositoryTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 41.971 sec - in org.apache.atlas.repository.impexp.ImportTransformsTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 42.793 sec - in org.apache.atlas.repository.impexp.ImportTransformerJSONTest Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 41.771 sec - in org.apache.atlas.repository.impexp.ZipSourceTest Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 43.607 sec - in org.apache.atlas.repository.impexp.AtlasImportRequestTest Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 42.462 sec - in org.apache.atlas.repository.impexp.TypeAttributeDifferenceTest Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 44.731 sec - in org.apache.atlas.repository.impexp.ImportTransformerTest Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 44.379 sec - in org.apache.atlas.repository.impexp.ZipSinkTest Tests run: 24, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 45.997 sec <<< FAILURE! - in org.apache.atlas.query.GremlinQueryComposerTest DBOrderBy(org.apache.atlas.query.GremlinQueryComposerTest) Time elapsed: 1.607 sec <<< FAILURE! java.lang.AssertionError: expected [def f(r){ t=[['_col_0','_col_1']]; r.each({t.add([it.value('Table.name'),it.value('Table.createTime')])}); t.unique(); }; f(g.V().has('__typeName', 'Table').and(__.has('Table.name', eq("sales_fact")),__.has('Table.createTime', gt('1388563200000'))).order().by('Table.createTime').limit(25).toList())] but found [def f(r){ t=[['_col_0','_col_1']]; r.each({t.add([it.value('Table.name'),it.value('Table.createTime')])}); t.unique(); }; f(g.V().has('__typeName', 'Table').and(__.has('Table.name', eq("sales_fact")),__.has('Table.createTime', gt('1388534400000'))).order().by('Table.createTime').limit(25).toList())] 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:178) at org.testng.Assert.assertEquals(Assert.java:188) at org.apache.atlas.query.GremlinQueryComposerTest.verify(GremlinQueryComposerTest.java:298) at org.apache.atlas.query.GremlinQueryComposerTest.DBOrderBy(GremlinQueryComposerTest.java:142) Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 53.113 sec - in org.apache.atlas.services.MetricsServiceTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 64.975 sec - in org.apache.atlas.repository.store.graph.v1.AtlasEntityDefStoreV1Test Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 68.738 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipDefStoreV1Test Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 77.449 sec - in org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateSoftDeleteV1Test Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 85.611 sec - in org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateHardDeleteV1Test Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 84.94 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreHardDeleteV1Test Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 87.28 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreSoftDeleteV1Test Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 88.439 sec - in org.apache.atlas.repository.userprofile.UserProfileServiceTest Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 89.747 sec - in org.apache.atlas.repository.impexp.ExportServiceTest Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 91.683 sec - in org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 93.868 sec - in org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test Tests run: 9, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 94.599 sec <<< FAILURE! - in org.apache.atlas.repository.impexp.ImportServiceTest importDB2(org.apache.atlas.repository.impexp.ImportServiceTest) Time elapsed: 1.067 sec <<< FAILURE! java.lang.AssertionError: entity:DB_v1 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.apache.atlas.repository.impexp.ZipFileResourceTestUtils.verifyImportedMetrics(ZipFileResourceTestUtils.java:134) at org.apache.atlas.repository.impexp.ZipFileResourceTestUtils.runAndVerifyQuickStart_v1_Import(ZipFileResourceTestUtils.java:217) at org.apache.atlas.repository.impexp.ImportServiceTest.importDB2(ImportServiceTest.java:104) Tests run: 246, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 124.314 sec <<< FAILURE! - in org.apache.atlas.query.DSLQueriesTest orderBy(org.apache.atlas.query.DSLQueriesTest) Time elapsed: 0.022 sec <<< FAILURE! java.lang.AssertionError: expected [def f(r){ t=[['_col_0','_col_1']]; r.each({t.add([it.value('Asset.name'),it.value('hive_table.createTime')])}); t.unique(); }; f(g.V().has('__typeName', 'hive_table').and(__.has('Asset.name', eq("sales_fact")),__.has('hive_table.createTime', gt('1388563200000'))).order().by('hive_table.createTime').limit(25).toList())] but found [def f(r){ t=[['_col_0','_col_1']]; r.each({t.add([it.value('Asset.name'),it.value('hive_table.createTime')])}); t.unique(); }; f(g.V().has('__typeName', 'hive_table').and(__.has('Asset.name', eq("sales_fact")),__.has('hive_table.createTime', gt('1388534400000'))).order().by('hive_table.createTime').limit(25).toList())] 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:178) at org.testng.Assert.assertEquals(Assert.java:188) at org.apache.atlas.query.DSLQueriesTest.verify(DSLQueriesTest.java:732) at org.apache.atlas.query.DSLQueriesTest.orderBy(DSLQueriesTest.java:590) Results : Failed tests: org.apache.atlas.query.DSLQueriesTest.orderBy(org.apache.atlas.query.DSLQueriesTest) Run 1: DSLQueriesTest.orderBy:590->verify:732 expected [def f(r){ t=[['_col_0','_col_1']]; r.each({t.add([it.value('Asset.name'),it.value('hive_table.createTime')])}); t.unique(); }; f(g.V().has('__typeName', 'hive_table').and(__.has('Asset.name', eq("sales_fact")),__.has('hive_table.createTime', gt('1388563200000'))).order().by('hive_table.createTime').limit(25).toList())] but found [def f(r){ t=[['_col_0','_col_1']]; r.each({t.add([it.value('Asset.name'),it.value('hive_table.createTime')])}); t.unique(); }; f(g.V().has('__typeName', 'hive_table').and(__.has('Asset.name', eq("sales_fact")),__.has('hive_table.createTime', gt('1388534400000'))).order().by('hive_table.createTime').limit(25).toList())] Run 2: PASS Run 3: PASS Run 4: PASS Run 5: PASS Run 6: PASS Run 7: PASS Run 8: PASS Run 9: PASS Run 10: PASS Run 11: PASS Run 12: PASS Run 13: PASS Run 14: PASS Run 15: PASS Run 16: PASS Run 17: PASS Run 18: PASS Run 19: PASS Run 20: PASS Run 21: PASS Run 22: PASS Run 23: PASS Run 24: PASS Run 25: PASS Run 26: PASS Run 27: PASS Run 28: PASS Run 29: PASS Run 30: PASS Run 31: PASS Run 32: PASS Run 33: PASS Run 34: PASS Run 35: PASS Run 36: PASS Run 37: PASS Run 38: PASS Run 39: PASS Run 40: PASS Run 41: PASS Run 42: PASS Run 43: PASS Run 44: PASS Run 45: PASS Run 46: PASS Run 47: PASS Run 48: PASS Run 49: PASS Run 50: PASS Run 51: PASS Run 52: PASS Run 53: PASS Run 54: PASS GremlinQueryComposerTest.DBOrderBy:142->verify:298 expected [def f(r){ t=[['_col_0','_col_1']]; r.each({t.add([it.value('Table.name'),it.value('Table.createTime')])}); t.unique(); }; f(g.V().has('__typeName', 'Table').and(__.has('Table.name', eq("sales_fact")),__.has('Table.createTime', gt('1388563200000'))).order().by('Table.createTime').limit(25).toList())] but found [def f(r){ t=[['_col_0','_col_1']]; r.each({t.add([it.value('Table.name'),it.value('Table.createTime')])}); t.unique(); }; f(g.V().has('__typeName', 'Table').and(__.has('Table.name', eq("sales_fact")),__.has('Table.createTime', gt('1388534400000'))).order().by('Table.createTime').limit(25).toList())] ImportServiceTest.importDB2:104 entity:DB_v1 expected [true] but found [false] Tests run: 372, Failures: 3, Errors: 0, Skipped: 0 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Apache Atlas Server Build Tools .................... SUCCESS [ 1.188 s] [INFO] apache-atlas ....................................... SUCCESS [ 2.654 s] [INFO] Apache Atlas Test Utility Tools .................... SUCCESS [ 8.032 s] [INFO] Apache Atlas Integration ........................... SUCCESS [ 41.968 s] [INFO] Apache Atlas Common ................................ SUCCESS [ 2.059 s] [INFO] Apache Atlas Client ................................ SUCCESS [ 0.259 s] [INFO] atlas-client-common ................................ SUCCESS [ 0.737 s] [INFO] atlas-client-v1 .................................... SUCCESS [ 2.705 s] [INFO] Apache Atlas Server API ............................ SUCCESS [ 0.758 s] [INFO] Apache Atlas Notification .......................... SUCCESS [ 13.276 s] [INFO] atlas-client-v2 .................................... SUCCESS [ 0.632 s] [INFO] Apache Atlas Graph Database Projects ............... SUCCESS [ 0.110 s] [INFO] Apache Atlas Graph Database API .................... SUCCESS [ 0.586 s] [INFO] Graph Database Common Code ......................... SUCCESS [ 0.724 s] [INFO] Apache Atlas JanusGraph DB Impl .................... SUCCESS [02:06 min] [INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [ 1.599 s] [INFO] Shaded version of Apache hbase client .............. SUCCESS [ 8.363 s] [INFO] Apache Atlas Titan 0.5.4 Graph DB Impl ............. SUCCESS [ 29.690 s] [INFO] Shaded version of Apache hbase server .............. SUCCESS [ 20.924 s] [INFO] Apache Atlas Repository ............................ FAILURE [02:14 min] [INFO] Apache Atlas Authorization ......................... 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 Hbase Bridge Shim ..................... SKIPPED [INFO] Apache Atlas Hbase Bridge .......................... SKIPPED [INFO] Apache Atlas Distribution .......................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 06:39 min [INFO] Finished at: 2018-01-08T23:33:00Z [INFO] Final Memory: 127M/1780M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on project atlas-repository: There are test failures. [ERROR] [ERROR] Please refer to <https://builds.apache.org/job/Atlas-master-UnitTests/ws/repository/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-repository 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-UnitTests/ws/> that match the pattern **/target/checkstyle-result.xml [CHECKSTYLE] No files found. Configuration error? <Git Blamer> Using GitBlamer to create author and commit information for all warnings. <Git Blamer> GIT_COMMIT=7f7af565eb673486c1a2d0e7b1eb5fb1bb3923ab, workspace=<https://builds.apache.org/job/Atlas-master-UnitTests/ws/> [CHECKSTYLE] Computing warning deltas based on reference build #222 [FINDBUGS] Collecting findbugs analysis files... [FINDBUGS] Searching for all files in <https://builds.apache.org/job/Atlas-master-UnitTests/ws/> that match the pattern **/target/findbugs.xml [FINDBUGS] No files found. Configuration error? <Git Blamer> Using GitBlamer to create author and commit information for all warnings. <Git Blamer> GIT_COMMIT=7f7af565eb673486c1a2d0e7b1eb5fb1bb3923ab, workspace=<https://builds.apache.org/job/Atlas-master-UnitTests/ws/> [FINDBUGS] Computing warning deltas based on reference build #222 Archiving 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-UnitTests/builds/231/testng/testng-results-1.xml' Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/231/testng/testng-results-2.xml' Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/231/testng/testng-results-3.xml' Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/231/testng/testng-results-4.xml' Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/231/testng/testng-results-5.xml' Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/231/testng/testng-results.xml' 0.353357% of tests failed, which exceeded threshold of 0%. Marking build as UNSTABLE TestNG Reports Processing: FINISH