You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2018/01/05 00:31:39 UTC
Build failed in Jenkins: Atlas-master-UnitTests #226
See <https://builds.apache.org/job/Atlas-master-UnitTests/226/display/redirect?page=changes>
Changes:
[madhan] ATLAS-2332: support for attributes having nested collection datatype
[madhan] ATLAS-2321: fix V1 REST API for search to correctly handle empty results
------------------------------------------
[...truncated 179.29 KB...]
at org.apache.atlas.query.antlr4.AtlasDSLParserBaseVisitor.visitQuery(AtlasDSLParserBaseVisitor.java:279)
at org.apache.atlas.query.antlr4.AtlasDSLParser$QueryContext.accept(AtlasDSLParser.java:2130)
at org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visit(AbstractParseTreeVisitor.java:18)
at org.apache.atlas.query.GremlinQueryComposerTest.getGremlinQuery(GremlinQueryComposerTest.java:295)
at org.apache.atlas.query.GremlinQueryComposerTest.verify(GremlinQueryComposerTest.java:259)
at org.apache.atlas.query.GremlinQueryComposerTest.fromDBOrderByNameDesc(GremlinQueryComposerTest.java:137)
fromDBSelect(org.apache.atlas.query.GremlinQueryComposerTest) Time elapsed: 0.02 sec <<< FAILURE!
java.lang.AssertionError: expected [def f(r){ return [['DB.name','DB.owner']].plus(r.collect({[it.value('DB.name'),it.value('DB.owner')]})).unique(); }; f(g.V().has('__typeName', 'DB').limit(25).toList())] but found [def f(r){ return [['DB.name','DB.owner']].plus(r.collect({[it.value('DB.name'),it.value('DB.owner')]})).unique(); }; f(g.V().has('__typeName', 'DB').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:260)
at org.apache.atlas.query.GremlinQueryComposerTest.fromDBSelect(GremlinQueryComposerTest.java:143)
nestedQueries(org.apache.atlas.query.GremlinQueryComposerTest) Time elapsed: 0.046 sec <<< FAILURE!
java.lang.AssertionError: expected [g.V().has('__typeName', 'Table').or(__.has('Table.name', eq("sales_fact")),__.has('Table.name', eq("testtable_1"))).limit(25).toList()] but found [g.V().has('__typeName', 'Table').or(__.has('Table.name', eq("sales_fact")),__.has('Table.name', eq("testtable_1"))).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:260)
at org.apache.atlas.query.GremlinQueryComposerTest.nestedQueries(GremlinQueryComposerTest.java:192)
subType(org.apache.atlas.query.GremlinQueryComposerTest) Time elapsed: 0.044 sec <<< FAILURE!
java.lang.AssertionError: expected [def f(r){ return [['name','owner']].plus(r.collect({[it.value('Asset.name'),it.value('Asset.owner')]})).unique(); }; f(g.V().has('__typeName', within('Asset','Table')).limit(25).toList())] but found [def f(r){ return [['name','owner']].plus(r.collect({[it.value('Asset.name'),it.value('Asset.owner')]})).unique(); }; f(g.V().has('__typeName', within('Asset','Table')).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:260)
at org.apache.atlas.query.GremlinQueryComposerTest.subType(GremlinQueryComposerTest.java:182)
tableSelectColumns(org.apache.atlas.query.GremlinQueryComposerTest) Time elapsed: 0.033 sec <<< FAILURE!
java.lang.AssertionError: expected [def f(r){ r }; f(g.V().has('__typeName', 'Table').out('__Table.db').limit(25).toList())] but found [def f(r){ r }; f(g.V().has('__typeName', 'Table').out('__Table.db').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:260)
at org.apache.atlas.query.GremlinQueryComposerTest.tableSelectColumns(GremlinQueryComposerTest.java:98)
whereClauseTextContains(org.apache.atlas.query.GremlinQueryComposerTest) Time elapsed: 0.021 sec <<< FAILURE!
java.lang.AssertionError: expected [def f(r){ return [['name','owner']].plus(r.collect({[it.value('DB.name'),it.value('DB.owner')]})).unique(); }; f(g.V().has('__typeName', 'DB').has('DB.name', eq("Reporting")).limit(25).toList())] but found [def f(r){ return [['name','owner']].plus(r.collect({[it.value('DB.name'),it.value('DB.owner')]})).unique(); }; f(g.V().has('__typeName', 'DB').has('DB.name', eq("Reporting")).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:260)
at org.apache.atlas.query.GremlinQueryComposerTest.whereClauseTextContains(GremlinQueryComposerTest.java:155)
whereClauseWithAsTextContains(org.apache.atlas.query.GremlinQueryComposerTest) Time elapsed: 0.011 sec <<< FAILURE!
java.lang.AssertionError: expected [def f(r){ return [['t.name','t.owner']].plus(r.collect({[it.value('Table.name'),it.value('Table.owner')]})).unique(); }; f(g.V().has('__typeName', 'Table').as('t').has('Table.name', eq("testtable_1")).limit(25).toList())] but found [def f(r){ return [['t.name','t.owner']].plus(r.collect({[it.value('Table.name'),it.value('Table.owner')]})).unique(); }; f(g.V().has('__typeName', 'Table').as('t').has('Table.name', eq("testtable_1")).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:260)
at org.apache.atlas.query.GremlinQueryComposerTest.whereClauseWithAsTextContains(GremlinQueryComposerTest.java:167)
whereClauseWithDateCompare(org.apache.atlas.query.GremlinQueryComposerTest) Time elapsed: 0.167 sec <<< FAILURE!
java.lang.AssertionError: expected [def f(r){ return [['t.name','t.owner']].plus(r.collect({[it.value('Table.name'),it.value('Table.owner')]})).unique(); }; f(g.V().has('__typeName', 'Table').as('t').has('Table.createdTime', eq('1513046158440')).limit(25).toList())] but found [def f(r){ return [['t.name','t.owner']].plus(r.collect({[it.value('Table.name'),it.value('Table.owner')]})).unique(); }; f(g.V().has('__typeName', 'Table').as('t').has('Table.createdTime', eq('1513046158440')).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:260)
at org.apache.atlas.query.GremlinQueryComposerTest.whereClauseWithDateCompare(GremlinQueryComposerTest.java:174)
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 25.515 sec - in org.apache.atlas.repository.impexp.ZipSourceTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 25.624 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreV1Test
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 25.706 sec - in org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateV1Test
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 25.807 sec - in org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1BulkImportPercentTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.053 sec - in org.apache.atlas.repository.impexp.ZipSinkTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.162 sec - in org.apache.atlas.repository.impexp.ImportTransformerTest
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 37.262 sec <<< FAILURE! - in org.apache.atlas.services.EntityDiscoveryServiceTest
dslTest(org.apache.atlas.services.EntityDiscoveryServiceTest) Time elapsed: 0.183 sec <<< FAILURE!
java.lang.NullPointerException: null
at org.apache.atlas.query.GremlinQueryComposer$Context.getActiveTypeName(GremlinQueryComposer.java:652)
at org.apache.atlas.query.GremlinQueryComposer.addWhere(GremlinQueryComposer.java:151)
at org.apache.atlas.query.DSLVisitor.processExpr(DSLVisitor.java:257)
at org.apache.atlas.query.DSLVisitor.processExpr(DSLVisitor.java:186)
at org.apache.atlas.query.DSLVisitor.visitWhereClause(DSLVisitor.java:146)
at org.apache.atlas.query.DSLVisitor.visitWhereClause(DSLVisitor.java:31)
at org.apache.atlas.query.antlr4.AtlasDSLParser$WhereClauseContext.accept(AtlasDSLParser.java:1670)
at org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visitChildren(AbstractParseTreeVisitor.java:46)
at org.apache.atlas.query.antlr4.AtlasDSLParserBaseVisitor.visitFromExpression(AtlasDSLParserBaseVisitor.java:223)
at org.apache.atlas.query.DSLVisitor.visitFromExpression(DSLVisitor.java:168)
at org.apache.atlas.query.DSLVisitor.visitFromExpression(DSLVisitor.java:31)
at org.apache.atlas.query.antlr4.AtlasDSLParser$FromExpressionContext.accept(AtlasDSLParser.java:1711)
at org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visitChildren(AbstractParseTreeVisitor.java:46)
at org.apache.atlas.query.antlr4.AtlasDSLParserBaseVisitor.visitSingleQrySrc(AtlasDSLParserBaseVisitor.java:244)
at org.apache.atlas.query.antlr4.AtlasDSLParser$SingleQrySrcContext.accept(AtlasDSLParser.java:1844)
at org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visitChildren(AbstractParseTreeVisitor.java:46)
at org.apache.atlas.query.antlr4.AtlasDSLParserBaseVisitor.visitCommaDelimitedQueries(AtlasDSLParserBaseVisitor.java:258)
at org.apache.atlas.query.antlr4.AtlasDSLParser$CommaDelimitedQueriesContext.accept(AtlasDSLParser.java:1959)
at org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visitChildren(AbstractParseTreeVisitor.java:46)
at org.apache.atlas.query.antlr4.AtlasDSLParserBaseVisitor.visitQuerySrc(AtlasDSLParserBaseVisitor.java:272)
at org.apache.atlas.query.antlr4.AtlasDSLParser$QuerySrcContext.accept(AtlasDSLParser.java:2069)
at org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visitChildren(AbstractParseTreeVisitor.java:46)
at org.apache.atlas.query.antlr4.AtlasDSLParserBaseVisitor.visitQuery(AtlasDSLParserBaseVisitor.java:279)
at org.apache.atlas.query.antlr4.AtlasDSLParser$QueryContext.accept(AtlasDSLParser.java:2130)
at org.apache.atlas.query.AtlasDSL$Translator.translate(AtlasDSL.java:130)
at org.apache.atlas.discovery.EntityDiscoveryService.toGremlinQuery(EntityDiscoveryService.java:679)
at org.apache.atlas.discovery.EntityDiscoveryService.searchUsingDslQuery(EntityDiscoveryService.java:126)
at org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:60)
at org.apache.atlas.services.EntityDiscoveryServiceTest.dslTest(EntityDiscoveryServiceTest.java:52)
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 37.713 sec - in org.apache.atlas.services.MetricsServiceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 44.903 sec - in org.apache.atlas.repository.store.graph.v1.AtlasEntityDefStoreV1Test
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 47.201 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipDefStoreV1Test
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 57.827 sec - in org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateHardDeleteV1Test
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 58.517 sec - in org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateSoftDeleteV1Test
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 58.599 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreSoftDeleteV1Test
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 60.512 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreHardDeleteV1Test
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 61.706 sec - in org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 61.952 sec - in org.apache.atlas.repository.userprofile.UserProfileServiceTest
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 63.667 sec - in org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 63.687 sec - in org.apache.atlas.repository.impexp.ExportServiceTest
Tests run: 9, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 66.377 sec <<< FAILURE! - in org.apache.atlas.repository.impexp.ImportServiceTest
importDB2(org.apache.atlas.repository.impexp.ImportServiceTest) Time elapsed: 0.497 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: 212, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 94.742 sec - in org.apache.atlas.query.DSLQueriesTest
Results :
Failed tests:
GremlinQueryComposerTest.DBAsDSelectLimit:113->verify:260 expected [g.V().has('__typeName', 'DB').range(2, 2 + 5).limit(25).toList()] but found [g.V().has('__typeName', 'DB').range(2, 2 + 5).toList()]
GremlinQueryComposerTest.DBHasName:74->verify:260 expected [g.V().has('__typeName', 'DB').has('DB.name').limit(25).toList()] but found [g.V().has('__typeName', 'DB').has('DB.name').toList()]
GremlinQueryComposerTest.DBOrderBy:119->verify:259->getGremlinQuery:295 » NullPointer
GremlinQueryComposerTest.DBasD:80->verify:260 expected [g.V().has('__typeName', 'DB').as('d').limit(25).toList()] but found [g.V().has('__typeName', 'DB').as('d').toList()]
GremlinQueryComposerTest.DBasDSelect:86->verify:260 expected [def f(r){ return [['d.name','d.owner']].plus(r.collect({[it.value('DB.name'),it.value('DB.owner')]})).unique(); }; f(g.V().has('__typeName', 'DB').as('d').limit(25).toList())] but found [def f(r){ return [['d.name','d.owner']].plus(r.collect({[it.value('DB.name'),it.value('DB.owner')]})).unique(); }; f(g.V().has('__typeName', 'DB').as('d').toList())]
GremlinQueryComposerTest.TraitWithSpace:187->verify:260 expected [g.V().has('__typeName', 'Log Data').limit(25).toList()] but found [g.V().has('__typeName', 'Log Data').toList()]
GremlinQueryComposerTest.classification:50->verify:260 expected [g.V().has('__traitNames', within('PII')).limit(25).toList()] but found [g.V().has('__traitNames', within('PII')).toList()]
GremlinQueryComposerTest.dimension:56->verify:260 expected [g.V().has('__typeName', 'Table').has('__traitNames', within('Dimension')).limit(25).toList()] but found [g.V().has('__typeName', 'Table').has('__traitNames', within('Dimension')).toList()]
GremlinQueryComposerTest.fromDB:66->verify:260 expected [g.V().has('__typeName', 'DB').limit(25).toList()] but found [g.V().has('__typeName', 'DB').toList()]
GremlinQueryComposerTest.fromDBGroupBy:148->verify:260 expected [g.V().has('__typeName', 'DB').group().by('DB.owner').limit(25).toList()] but found [g.V().has('__typeName', 'DB').group().by('DB.owner').toList()]
GremlinQueryComposerTest.fromDBOrderByNameDesc:137->verify:259->getGremlinQuery:295 » NullPointer
GremlinQueryComposerTest.fromDBSelect:143->verify:260 expected [def f(r){ return [['DB.name','DB.owner']].plus(r.collect({[it.value('DB.name'),it.value('DB.owner')]})).unique(); }; f(g.V().has('__typeName', 'DB').limit(25).toList())] but found [def f(r){ return [['DB.name','DB.owner']].plus(r.collect({[it.value('DB.name'),it.value('DB.owner')]})).unique(); }; f(g.V().has('__typeName', 'DB').toList())]
GremlinQueryComposerTest.nestedQueries:192->verify:260 expected [g.V().has('__typeName', 'Table').or(__.has('Table.name', eq("sales_fact")),__.has('Table.name', eq("testtable_1"))).limit(25).toList()] but found [g.V().has('__typeName', 'Table').or(__.has('Table.name', eq("sales_fact")),__.has('Table.name', eq("testtable_1"))).toList()]
GremlinQueryComposerTest.subType:182->verify:260 expected [def f(r){ return [['name','owner']].plus(r.collect({[it.value('Asset.name'),it.value('Asset.owner')]})).unique(); }; f(g.V().has('__typeName', within('Asset','Table')).limit(25).toList())] but found [def f(r){ return [['name','owner']].plus(r.collect({[it.value('Asset.name'),it.value('Asset.owner')]})).unique(); }; f(g.V().has('__typeName', within('Asset','Table')).toList())]
GremlinQueryComposerTest.tableSelectColumns:98->verify:260 expected [def f(r){ r }; f(g.V().has('__typeName', 'Table').out('__Table.db').limit(25).toList())] but found [def f(r){ r }; f(g.V().has('__typeName', 'Table').out('__Table.db').toList())]
GremlinQueryComposerTest.whereClauseTextContains:155->verify:260 expected [def f(r){ return [['name','owner']].plus(r.collect({[it.value('DB.name'),it.value('DB.owner')]})).unique(); }; f(g.V().has('__typeName', 'DB').has('DB.name', eq("Reporting")).limit(25).toList())] but found [def f(r){ return [['name','owner']].plus(r.collect({[it.value('DB.name'),it.value('DB.owner')]})).unique(); }; f(g.V().has('__typeName', 'DB').has('DB.name', eq("Reporting")).toList())]
GremlinQueryComposerTest.whereClauseWithAsTextContains:167->verify:260 expected [def f(r){ return [['t.name','t.owner']].plus(r.collect({[it.value('Table.name'),it.value('Table.owner')]})).unique(); }; f(g.V().has('__typeName', 'Table').as('t').has('Table.name', eq("testtable_1")).limit(25).toList())] but found [def f(r){ return [['t.name','t.owner']].plus(r.collect({[it.value('Table.name'),it.value('Table.owner')]})).unique(); }; f(g.V().has('__typeName', 'Table').as('t').has('Table.name', eq("testtable_1")).toList())]
GremlinQueryComposerTest.whereClauseWithDateCompare:174->verify:260 expected [def f(r){ return [['t.name','t.owner']].plus(r.collect({[it.value('Table.name'),it.value('Table.owner')]})).unique(); }; f(g.V().has('__typeName', 'Table').as('t').has('Table.createdTime', eq('1513046158440')).limit(25).toList())] but found [def f(r){ return [['t.name','t.owner']].plus(r.collect({[it.value('Table.name'),it.value('Table.owner')]})).unique(); }; f(g.V().has('__typeName', 'Table').as('t').has('Table.createdTime', eq('1513046158440')).toList())]
ImportServiceTest.importDB2:104 entity:DB_v1 expected [true] but found [false]
EntityDiscoveryServiceTest.dslTest:52 » NullPointer
Tests run: 386, Failures: 20, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Atlas Server Build Tools .................... SUCCESS [ 0.490 s]
[INFO] apache-atlas ....................................... SUCCESS [ 1.774 s]
[INFO] Apache Atlas Test Utility Tools .................... SUCCESS [ 4.103 s]
[INFO] Apache Atlas Integration ........................... SUCCESS [ 33.091 s]
[INFO] Apache Atlas Common ................................ SUCCESS [ 1.620 s]
[INFO] Apache Atlas Client ................................ SUCCESS [ 0.134 s]
[INFO] atlas-client-common ................................ SUCCESS [ 0.582 s]
[INFO] atlas-client-v1 .................................... SUCCESS [ 2.453 s]
[INFO] Apache Atlas Server API ............................ SUCCESS [ 0.783 s]
[INFO] Apache Atlas Notification .......................... SUCCESS [ 10.917 s]
[INFO] atlas-client-v2 .................................... SUCCESS [ 0.567 s]
[INFO] Apache Atlas Graph Database Projects ............... SUCCESS [ 0.082 s]
[INFO] Apache Atlas Graph Database API .................... SUCCESS [ 0.485 s]
[INFO] Graph Database Common Code ......................... SUCCESS [ 0.613 s]
[INFO] Apache Atlas JanusGraph DB Impl .................... SUCCESS [01:44 min]
[INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [ 1.501 s]
[INFO] Shaded version of Apache hbase client .............. SUCCESS [ 6.847 s]
[INFO] Apache Atlas Titan 0.5.4 Graph DB Impl ............. SUCCESS [ 23.681 s]
[INFO] Shaded version of Apache hbase server .............. SUCCESS [ 18.778 s]
[INFO] Apache Atlas Repository ............................ FAILURE [01:42 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: 05:16 min
[INFO] Finished at: 2018-01-05T00:31:33Z
[INFO] Final Memory: 129M/1964M
[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=3f330194c765cd0fef7e894397ebe9bd2aa5b247, 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=3f330194c765cd0fef7e894397ebe9bd2aa5b247, 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/226/testng/testng-results-1.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/226/testng/testng-results-2.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/226/testng/testng-results-3.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/226/testng/testng-results-4.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/226/testng/testng-results-5.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/226/testng/testng-results.xml'
TestNG Reports Processing: FINISH
Jenkins build is back to normal : Atlas-master-UnitTests #235
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Atlas-master-UnitTests/235/display/redirect?page=changes>
Build failed in Jenkins: Atlas-master-UnitTests #234
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Atlas-master-UnitTests/234/display/redirect?page=changes>
Changes:
[ssubramanian] ATLAS-2348: Authorization integration test failure
------------------------------------------
[...truncated 165.75 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.repository.impexp.ImportTransformsTest
Running org.apache.atlas.utils.ObjectUpdateSynchronizerTest
Running org.apache.atlas.services.MetricsServiceTest
Running org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateV1Test
Running org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
Running org.apache.atlas.utils.TestResourceFileUtils
Running org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test
Running org.apache.atlas.repository.impexp.ZipSinkTest
Running org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateSoftDeleteV1Test
Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipDefStoreV1Test
Running org.apache.atlas.repository.impexp.ZipSourceTest
Running org.apache.atlas.repository.impexp.ExportServiceTest
Running org.apache.atlas.repository.impexp.AtlasImportRequestTest
Running org.apache.atlas.repository.impexp.ImportTransformerTest
Running org.apache.atlas.repository.userprofile.UserProfileServiceTest
Running org.apache.atlas.TestModules
Running org.apache.atlas.repository.impexp.TypeAttributeDifferenceTest
Running org.apache.atlas.repository.impexp.ImportTransformerJSONTest
Running org.apache.atlas.repository.impexp.ImportServiceTest
Running org.apache.atlas.repository.impexp.UniqueListTest
Running org.apache.atlas.query.GremlinQueryComposerTest
Running org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateHardDeleteV1Test
Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreHardDeleteV1Test
Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreV1Test
Running org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1BulkImportPercentTest
Running org.apache.atlas.repository.store.graph.v1.AtlasEntityDefStoreV1Test
Running org.apache.atlas.repository.audit.InMemoryAuditRepositoryTest
Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreSoftDeleteV1Test
Running org.apache.atlas.query.DSLQueriesTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.851 sec - in org.apache.atlas.repository.impexp.ZipSinkTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.813 sec - in org.apache.atlas.repository.audit.InMemoryAuditRepositoryTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.932 sec - in org.apache.atlas.repository.impexp.UniqueListTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.089 sec - in org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateV1Test
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.888 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreV1Test
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.302 sec - in org.apache.atlas.utils.TestResourceFileUtils
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.4 sec - in org.apache.atlas.repository.impexp.AtlasImportRequestTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.436 sec - in org.apache.atlas.repository.impexp.ImportTransformerTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.221 sec - in org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1BulkImportPercentTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.754 sec - in org.apache.atlas.repository.impexp.TypeAttributeDifferenceTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.979 sec - in org.apache.atlas.repository.impexp.ImportTransformsTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.063 sec - in org.apache.atlas.utils.ObjectUpdateSynchronizerTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.65 sec - in org.apache.atlas.repository.impexp.ZipSourceTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.672 sec - in org.apache.atlas.TestModules
Tests run: 24, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 24.751 sec <<< FAILURE! - in org.apache.atlas.query.GremlinQueryComposerTest
DBOrderBy(org.apache.atlas.query.GremlinQueryComposerTest) Time elapsed: 0.278 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: 25.494 sec - in org.apache.atlas.repository.impexp.ImportTransformerJSONTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 39.951 sec - in org.apache.atlas.services.MetricsServiceTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 44.639 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipDefStoreV1Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 44.673 sec - in org.apache.atlas.repository.store.graph.v1.AtlasEntityDefStoreV1Test
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 54.992 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreHardDeleteV1Test
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 56.335 sec - in org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateSoftDeleteV1Test
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 55.818 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreSoftDeleteV1Test
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 57.378 sec - in org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateHardDeleteV1Test
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 59.776 sec - in org.apache.atlas.repository.userprofile.UserProfileServiceTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 61.053 sec - in org.apache.atlas.repository.impexp.ExportServiceTest
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 62.502 sec - in org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test
Tests run: 9, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 62.272 sec <<< FAILURE! - in org.apache.atlas.repository.impexp.ImportServiceTest
importDB2(org.apache.atlas.repository.impexp.ImportServiceTest) Time elapsed: 0.735 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: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 64.125 sec - in org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
Tests run: 246, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 94.603 sec <<< FAILURE! - in org.apache.atlas.query.DSLQueriesTest
orderBy(org.apache.atlas.query.DSLQueriesTest) Time elapsed: 0.023 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 [ 0.489 s]
[INFO] apache-atlas ....................................... SUCCESS [ 1.697 s]
[INFO] Apache Atlas Test Utility Tools .................... SUCCESS [ 4.030 s]
[INFO] Apache Atlas Integration ........................... SUCCESS [ 33.327 s]
[INFO] Apache Atlas Common ................................ SUCCESS [ 1.639 s]
[INFO] Apache Atlas Client ................................ SUCCESS [ 0.125 s]
[INFO] atlas-client-common ................................ SUCCESS [ 0.596 s]
[INFO] atlas-client-v1 .................................... SUCCESS [ 2.585 s]
[INFO] Apache Atlas Server API ............................ SUCCESS [ 0.771 s]
[INFO] Apache Atlas Notification .......................... SUCCESS [ 10.659 s]
[INFO] atlas-client-v2 .................................... SUCCESS [ 0.639 s]
[INFO] Apache Atlas Graph Database Projects ............... SUCCESS [ 0.079 s]
[INFO] Apache Atlas Graph Database API .................... SUCCESS [ 0.489 s]
[INFO] Graph Database Common Code ......................... SUCCESS [ 0.613 s]
[INFO] Apache Atlas JanusGraph DB Impl .................... SUCCESS [02:15 min]
[INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [ 1.467 s]
[INFO] Shaded version of Apache hbase client .............. SUCCESS [ 7.333 s]
[INFO] Apache Atlas Titan 0.5.4 Graph DB Impl ............. SUCCESS [ 25.074 s]
[INFO] Shaded version of Apache hbase server .............. SUCCESS [ 18.003 s]
[INFO] Apache Atlas Repository ............................ FAILURE [01:43 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: 05:49 min
[INFO] Finished at: 2018-01-09T17:39:01Z
[INFO] Final Memory: 126M/1955M
[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=b51a32db9202873a7c635f7b318ca9718159beee, 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=b51a32db9202873a7c635f7b318ca9718159beee, 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/234/testng/testng-results-1.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/234/testng/testng-results-2.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/234/testng/testng-results-3.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/234/testng/testng-results-4.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/234/testng/testng-results-5.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/234/testng/testng-results.xml'
0.353357% of tests failed, which exceeded threshold of 0%. Marking build as UNSTABLE
TestNG Reports Processing: FINISH
Build failed in Jenkins: Atlas-master-UnitTests #233
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Atlas-master-UnitTests/233/display/redirect?page=changes>
Changes:
[nixon] ATLAS-2310:- Fix URL encoding incase of HA in passive node which caused
------------------------------------------
[...truncated 175.86 KB...]
syntax(org.apache.atlas.query.DSLQueriesTest) Time elapsed: 0.149 sec <<< FAILURE!
java.lang.AssertionError: expected [2] but found [1]
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.query.DSLQueriesTest.assertSearchResult(DSLQueriesTest.java:778)
at org.apache.atlas.query.DSLQueriesTest.syntax(DSLQueriesTest.java:292)
syntax(org.apache.atlas.query.DSLQueriesTest) Time elapsed: 0.12 sec <<< FAILURE!
java.lang.AssertionError: expected [2] but found [1]
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.query.DSLQueriesTest.assertSearchResult(DSLQueriesTest.java:778)
at org.apache.atlas.query.DSLQueriesTest.syntax(DSLQueriesTest.java:292)
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
org.apache.atlas.query.DSLQueriesTest.syntax(org.apache.atlas.query.DSLQueriesTest)
Run 1: PASS
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: DSLQueriesTest.syntax:292->assertSearchResult:778 expected [2] but found [1]
Run 28: DSLQueriesTest.syntax:292->assertSearchResult:778 expected [2] but found [1]
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
Run 55: PASS
Run 56: PASS
Run 57: PASS
Run 58: PASS
Run 59: PASS
Run 60: PASS
Run 61: PASS
Run 62: PASS
Run 63: PASS
Run 64: PASS
Run 65: PASS
Run 66: PASS
Run 67: PASS
Run 68: PASS
Run 69: PASS
Run 70: PASS
Run 71: PASS
Run 72: PASS
Run 73: PASS
Run 74: PASS
Run 75: PASS
Run 76: 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: 297, Failures: 4, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Atlas Server Build Tools .................... SUCCESS [ 0.541 s]
[INFO] apache-atlas ....................................... SUCCESS [ 1.682 s]
[INFO] Apache Atlas Test Utility Tools .................... SUCCESS [ 4.354 s]
[INFO] Apache Atlas Integration ........................... SUCCESS [ 30.995 s]
[INFO] Apache Atlas Common ................................ SUCCESS [ 1.642 s]
[INFO] Apache Atlas Client ................................ SUCCESS [ 0.138 s]
[INFO] atlas-client-common ................................ SUCCESS [ 0.616 s]
[INFO] atlas-client-v1 .................................... SUCCESS [ 2.288 s]
[INFO] Apache Atlas Server API ............................ SUCCESS [ 0.839 s]
[INFO] Apache Atlas Notification .......................... SUCCESS [ 10.758 s]
[INFO] atlas-client-v2 .................................... SUCCESS [ 0.607 s]
[INFO] Apache Atlas Graph Database Projects ............... SUCCESS [ 0.079 s]
[INFO] Apache Atlas Graph Database API .................... SUCCESS [ 0.470 s]
[INFO] Graph Database Common Code ......................... SUCCESS [ 0.561 s]
[INFO] Apache Atlas JanusGraph DB Impl .................... SUCCESS [02:26 min]
[INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [ 1.720 s]
[INFO] Shaded version of Apache hbase client .............. SUCCESS [ 6.837 s]
[INFO] Apache Atlas Titan 0.5.4 Graph DB Impl ............. SUCCESS [ 26.028 s]
[INFO] Shaded version of Apache hbase server .............. SUCCESS [ 18.728 s]
[INFO] Apache Atlas Repository ............................ FAILURE [01:42 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: 05:59 min
[INFO] Finished at: 2018-01-09T09:32:19Z
[INFO] Final Memory: 125M/1943M
[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=4dc953395abbe6b1b884f5190c5a0c2369377516, 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=4dc953395abbe6b1b884f5190c5a0c2369377516, 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/233/testng/testng-results-1.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/233/testng/testng-results-2.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/233/testng/testng-results-3.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/233/testng/testng-results-4.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/233/testng/testng-results-5.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/233/testng/testng-results.xml'
1.060071% of tests failed, which exceeded threshold of 0%. Marking build as UNSTABLE
TestNG Reports Processing: FINISH
Build failed in Jenkins: Atlas-master-UnitTests #232
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Atlas-master-UnitTests/232/display/redirect>
------------------------------------------
[...truncated 166.72 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.repository.impexp.ZipSinkTest
Running org.apache.atlas.repository.impexp.ImportTransformerJSONTest
Running org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateHardDeleteV1Test
Running org.apache.atlas.query.GremlinQueryComposerTest
Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreV1Test
Running org.apache.atlas.repository.impexp.ExportServiceTest
Running org.apache.atlas.repository.impexp.ImportTransformerTest
Running org.apache.atlas.repository.userprofile.UserProfileServiceTest
Running org.apache.atlas.repository.impexp.ImportServiceTest
Running org.apache.atlas.repository.impexp.TypeAttributeDifferenceTest
Running org.apache.atlas.query.DSLQueriesTest
Running org.apache.atlas.repository.impexp.ImportTransformsTest
Running org.apache.atlas.services.MetricsServiceTest
Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreHardDeleteV1Test
Running org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateSoftDeleteV1Test
Running org.apache.atlas.repository.impexp.UniqueListTest
Running org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
Running org.apache.atlas.repository.impexp.ZipSourceTest
Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreSoftDeleteV1Test
Running org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test
Running org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateV1Test
Running org.apache.atlas.repository.store.graph.v1.AtlasEntityDefStoreV1Test
Running org.apache.atlas.repository.impexp.AtlasImportRequestTest
Running org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1BulkImportPercentTest
Running org.apache.atlas.repository.audit.InMemoryAuditRepositoryTest
Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipDefStoreV1Test
Running org.apache.atlas.utils.ObjectUpdateSynchronizerTest
Running org.apache.atlas.utils.TestResourceFileUtils
Running org.apache.atlas.TestModules
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.284 sec - in org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateV1Test
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.431 sec - in org.apache.atlas.repository.audit.InMemoryAuditRepositoryTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.524 sec - in org.apache.atlas.utils.ObjectUpdateSynchronizerTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.44 sec - in org.apache.atlas.repository.impexp.ImportTransformerTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.256 sec - in org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1BulkImportPercentTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.346 sec - in org.apache.atlas.utils.TestResourceFileUtils
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.494 sec - in org.apache.atlas.repository.impexp.TypeAttributeDifferenceTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.945 sec - in org.apache.atlas.repository.impexp.UniqueListTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.054 sec - in org.apache.atlas.TestModules
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 25.048 sec - in org.apache.atlas.repository.impexp.ImportTransformsTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.967 sec - in org.apache.atlas.repository.impexp.AtlasImportRequestTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 25.352 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreV1Test
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 25.261 sec - in org.apache.atlas.repository.impexp.ZipSourceTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 25.457 sec - in org.apache.atlas.repository.impexp.ZipSinkTest
Tests run: 24, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 25.377 sec <<< FAILURE! - in org.apache.atlas.query.GremlinQueryComposerTest
DBOrderBy(org.apache.atlas.query.GremlinQueryComposerTest) Time elapsed: 0.395 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: 25.478 sec - in org.apache.atlas.repository.impexp.ImportTransformerJSONTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 40.554 sec - in org.apache.atlas.services.MetricsServiceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 44.578 sec - in org.apache.atlas.repository.store.graph.v1.AtlasEntityDefStoreV1Test
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 44.658 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipDefStoreV1Test
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 57.371 sec - in org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateHardDeleteV1Test
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 58.243 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreSoftDeleteV1Test
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 58.307 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreHardDeleteV1Test
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 59.018 sec - in org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateSoftDeleteV1Test
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 59.304 sec - in org.apache.atlas.repository.userprofile.UserProfileServiceTest
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 61.356 sec - in org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 62.086 sec - in org.apache.atlas.repository.impexp.ExportServiceTest
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 64.225 sec - in org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
Tests run: 9, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 67.657 sec <<< FAILURE! - in org.apache.atlas.repository.impexp.ImportServiceTest
importDB2(org.apache.atlas.repository.impexp.ImportServiceTest) Time elapsed: 0.452 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: 95.228 sec <<< FAILURE! - in org.apache.atlas.query.DSLQueriesTest
orderBy(org.apache.atlas.query.DSLQueriesTest) Time elapsed: 0.021 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 [ 0.510 s]
[INFO] apache-atlas ....................................... SUCCESS [ 1.677 s]
[INFO] Apache Atlas Test Utility Tools .................... SUCCESS [ 4.329 s]
[INFO] Apache Atlas Integration ........................... SUCCESS [ 31.455 s]
[INFO] Apache Atlas Common ................................ SUCCESS [ 1.652 s]
[INFO] Apache Atlas Client ................................ SUCCESS [ 0.167 s]
[INFO] atlas-client-common ................................ SUCCESS [ 0.761 s]
[INFO] atlas-client-v1 .................................... SUCCESS [ 2.396 s]
[INFO] Apache Atlas Server API ............................ SUCCESS [ 0.736 s]
[INFO] Apache Atlas Notification .......................... SUCCESS [ 9.978 s]
[INFO] atlas-client-v2 .................................... SUCCESS [ 0.635 s]
[INFO] Apache Atlas Graph Database Projects ............... SUCCESS [ 0.071 s]
[INFO] Apache Atlas Graph Database API .................... SUCCESS [ 0.500 s]
[INFO] Graph Database Common Code ......................... SUCCESS [ 0.623 s]
[INFO] Apache Atlas JanusGraph DB Impl .................... SUCCESS [02:27 min]
[INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [ 1.522 s]
[INFO] Shaded version of Apache hbase client .............. SUCCESS [ 6.729 s]
[INFO] Apache Atlas Titan 0.5.4 Graph DB Impl ............. SUCCESS [ 23.958 s]
[INFO] Shaded version of Apache hbase server .............. SUCCESS [ 17.949 s]
[INFO] Apache Atlas Repository ............................ FAILURE [01:43 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: 05:57 min
[INFO] Finished at: 2018-01-09T05:12:53Z
[INFO] Final Memory: 125M/1961M
[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/232/testng/testng-results-1.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/232/testng/testng-results-2.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/232/testng/testng-results-3.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/232/testng/testng-results-4.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/232/testng/testng-results-5.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/232/testng/testng-results.xml'
0.353357% of tests failed, which exceeded threshold of 0%. Marking build as UNSTABLE
TestNG Reports Processing: FINISH
Build failed in Jenkins: Atlas-master-UnitTests #231
Posted by Apache Jenkins Server <je...@builds.apache.org>.
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
Build failed in Jenkins: Atlas-master-UnitTests #230
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Atlas-master-UnitTests/230/display/redirect?page=changes>
Changes:
[apoorvnaik] Bugfixes for ATLAS-2333, ATLAS-2334
------------------------------------------
[...truncated 165.46 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.query.DSLQueriesTest
Running org.apache.atlas.repository.impexp.ZipSinkTest
Running org.apache.atlas.repository.impexp.ZipSourceTest
Running org.apache.atlas.services.MetricsServiceTest
Running org.apache.atlas.repository.impexp.ImportTransformerTest
Running org.apache.atlas.repository.impexp.AtlasImportRequestTest
Running org.apache.atlas.repository.impexp.ImportTransformerJSONTest
Running org.apache.atlas.repository.impexp.ImportTransformsTest
Running org.apache.atlas.repository.impexp.ImportServiceTest
Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreHardDeleteV1Test
Running org.apache.atlas.repository.impexp.UniqueListTest
Running org.apache.atlas.repository.impexp.ExportServiceTest
Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreSoftDeleteV1Test
Running org.apache.atlas.repository.impexp.TypeAttributeDifferenceTest
Running org.apache.atlas.query.GremlinQueryComposerTest
Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipDefStoreV1Test
Running org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateV1Test
Running org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test
Running org.apache.atlas.repository.userprofile.UserProfileServiceTest
Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreV1Test
Running org.apache.atlas.repository.store.graph.v1.AtlasEntityDefStoreV1Test
Running org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
Running org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateSoftDeleteV1Test
Running org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateHardDeleteV1Test
Running org.apache.atlas.repository.audit.InMemoryAuditRepositoryTest
Running org.apache.atlas.utils.ObjectUpdateSynchronizerTest
Running org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1BulkImportPercentTest
Running org.apache.atlas.TestModules
Running org.apache.atlas.utils.TestResourceFileUtils
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.229 sec - in org.apache.atlas.repository.impexp.ImportTransformerJSONTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.992 sec - in org.apache.atlas.repository.impexp.ZipSinkTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.003 sec - in org.apache.atlas.repository.impexp.UniqueListTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.724 sec - in org.apache.atlas.utils.ObjectUpdateSynchronizerTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.908 sec - in org.apache.atlas.TestModules
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.091 sec - in org.apache.atlas.repository.impexp.AtlasImportRequestTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.376 sec - in org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateV1Test
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.105 sec - in org.apache.atlas.repository.audit.InMemoryAuditRepositoryTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.38 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreV1Test
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.878 sec - in org.apache.atlas.repository.impexp.ZipSourceTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 25.013 sec - in org.apache.atlas.repository.impexp.ImportTransformerTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.195 sec - in org.apache.atlas.utils.TestResourceFileUtils
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 25.176 sec - in org.apache.atlas.repository.impexp.ImportTransformsTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.647 sec - in org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1BulkImportPercentTest
Tests run: 24, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 25.368 sec <<< FAILURE! - in org.apache.atlas.query.GremlinQueryComposerTest
DBOrderBy(org.apache.atlas.query.GremlinQueryComposerTest) Time elapsed: 0.31 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: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 25.467 sec - in org.apache.atlas.repository.impexp.TypeAttributeDifferenceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 40.671 sec - in org.apache.atlas.services.MetricsServiceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 45.699 sec - in org.apache.atlas.repository.store.graph.v1.AtlasEntityDefStoreV1Test
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 47.438 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipDefStoreV1Test
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 55.193 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreHardDeleteV1Test
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 56.039 sec - in org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateHardDeleteV1Test
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 56.561 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreSoftDeleteV1Test
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 57.375 sec - in org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateSoftDeleteV1Test
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 57.627 sec - in org.apache.atlas.repository.userprofile.UserProfileServiceTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 61.824 sec - in org.apache.atlas.repository.impexp.ExportServiceTest
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 62.137 sec - in org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 63.883 sec - in org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
Tests run: 9, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 64.903 sec <<< FAILURE! - in org.apache.atlas.repository.impexp.ImportServiceTest
importDB2(org.apache.atlas.repository.impexp.ImportServiceTest) Time elapsed: 0.532 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: 94.012 sec <<< FAILURE! - in org.apache.atlas.query.DSLQueriesTest
orderBy(org.apache.atlas.query.DSLQueriesTest) Time elapsed: 0.02 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 [ 0.485 s]
[INFO] apache-atlas ....................................... SUCCESS [ 1.669 s]
[INFO] Apache Atlas Test Utility Tools .................... SUCCESS [ 4.249 s]
[INFO] Apache Atlas Integration ........................... SUCCESS [ 31.141 s]
[INFO] Apache Atlas Common ................................ SUCCESS [ 1.656 s]
[INFO] Apache Atlas Client ................................ SUCCESS [ 0.128 s]
[INFO] atlas-client-common ................................ SUCCESS [ 0.626 s]
[INFO] atlas-client-v1 .................................... SUCCESS [ 2.562 s]
[INFO] Apache Atlas Server API ............................ SUCCESS [ 0.795 s]
[INFO] Apache Atlas Notification .......................... SUCCESS [ 10.164 s]
[INFO] atlas-client-v2 .................................... SUCCESS [ 0.588 s]
[INFO] Apache Atlas Graph Database Projects ............... SUCCESS [ 0.073 s]
[INFO] Apache Atlas Graph Database API .................... SUCCESS [ 0.450 s]
[INFO] Graph Database Common Code ......................... SUCCESS [ 0.673 s]
[INFO] Apache Atlas JanusGraph DB Impl .................... SUCCESS [02:21 min]
[INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [ 1.600 s]
[INFO] Shaded version of Apache hbase client .............. SUCCESS [ 6.856 s]
[INFO] Apache Atlas Titan 0.5.4 Graph DB Impl ............. SUCCESS [ 24.486 s]
[INFO] Shaded version of Apache hbase server .............. SUCCESS [ 17.914 s]
[INFO] Apache Atlas Repository ............................ FAILURE [01:41 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: 05:50 min
[INFO] Finished at: 2018-01-08T20:32:06Z
[INFO] Final Memory: 122M/2024M
[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=b5989c84435ed6829c2cf48fbcc3efba4814628e, 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=b5989c84435ed6829c2cf48fbcc3efba4814628e, 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/230/testng/testng-results-1.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/230/testng/testng-results-2.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/230/testng/testng-results-3.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/230/testng/testng-results-4.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/230/testng/testng-results-5.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/230/testng/testng-results.xml'
0.353357% of tests failed, which exceeded threshold of 0%. Marking build as UNSTABLE
TestNG Reports Processing: FINISH
Build failed in Jenkins: Atlas-master-UnitTests #229
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Atlas-master-UnitTests/229/display/redirect?page=changes>
Changes:
[madhan] ATLAS-2327: updated V1 to V2 conversion with addition of validation of
[madhan] ATLAS-2339 : UI : Modifications in columns in Basic search result view
------------------------------------------
[...truncated 178.20 KB...]
fromDBSelect(org.apache.atlas.query.GremlinQueryComposerTest) Time elapsed: 0.01 sec <<< FAILURE!
java.lang.AssertionError: expected [def f(r){ return [['DB.name','DB.owner']].plus(r.collect({[it.value('DB.name'),it.value('DB.owner')]})).unique(); }; f(g.V().has('__typeName', 'DB').limit(25).toList())] but found [def f(r){ return [['DB.name','DB.owner']].plus(r.collect({[it.value('DB.name'),it.value('DB.owner')]})).unique(); }; f(g.V().has('__typeName', 'DB').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:260)
at org.apache.atlas.query.GremlinQueryComposerTest.fromDBSelect(GremlinQueryComposerTest.java:143)
nestedQueries(org.apache.atlas.query.GremlinQueryComposerTest) Time elapsed: 0.065 sec <<< FAILURE!
java.lang.AssertionError: expected [g.V().has('__typeName', 'Table').or(__.has('Table.name', eq("sales_fact")),__.has('Table.name', eq("testtable_1"))).limit(25).toList()] but found [g.V().has('__typeName', 'Table').or(__.has('Table.name', eq("sales_fact")),__.has('Table.name', eq("testtable_1"))).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:260)
at org.apache.atlas.query.GremlinQueryComposerTest.nestedQueries(GremlinQueryComposerTest.java:192)
subType(org.apache.atlas.query.GremlinQueryComposerTest) Time elapsed: 0.047 sec <<< FAILURE!
java.lang.AssertionError: expected [def f(r){ return [['name','owner']].plus(r.collect({[it.value('Asset.name'),it.value('Asset.owner')]})).unique(); }; f(g.V().has('__typeName', within('Asset','Table')).limit(25).toList())] but found [def f(r){ return [['name','owner']].plus(r.collect({[it.value('Asset.name'),it.value('Asset.owner')]})).unique(); }; f(g.V().has('__typeName', within('Asset','Table')).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:260)
at org.apache.atlas.query.GremlinQueryComposerTest.subType(GremlinQueryComposerTest.java:182)
tableSelectColumns(org.apache.atlas.query.GremlinQueryComposerTest) Time elapsed: 0.024 sec <<< FAILURE!
java.lang.AssertionError: expected [def f(r){ r }; f(g.V().has('__typeName', 'Table').out('__Table.db').limit(25).toList())] but found [def f(r){ r }; f(g.V().has('__typeName', 'Table').out('__Table.db').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:260)
at org.apache.atlas.query.GremlinQueryComposerTest.tableSelectColumns(GremlinQueryComposerTest.java:98)
whereClauseTextContains(org.apache.atlas.query.GremlinQueryComposerTest) Time elapsed: 0.02 sec <<< FAILURE!
java.lang.AssertionError: expected [def f(r){ return [['name','owner']].plus(r.collect({[it.value('DB.name'),it.value('DB.owner')]})).unique(); }; f(g.V().has('__typeName', 'DB').has('DB.name', eq("Reporting")).limit(25).toList())] but found [def f(r){ return [['name','owner']].plus(r.collect({[it.value('DB.name'),it.value('DB.owner')]})).unique(); }; f(g.V().has('__typeName', 'DB').has('DB.name', eq("Reporting")).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:260)
at org.apache.atlas.query.GremlinQueryComposerTest.whereClauseTextContains(GremlinQueryComposerTest.java:155)
whereClauseWithAsTextContains(org.apache.atlas.query.GremlinQueryComposerTest) Time elapsed: 0.015 sec <<< FAILURE!
java.lang.AssertionError: expected [def f(r){ return [['t.name','t.owner']].plus(r.collect({[it.value('Table.name'),it.value('Table.owner')]})).unique(); }; f(g.V().has('__typeName', 'Table').as('t').has('Table.name', eq("testtable_1")).limit(25).toList())] but found [def f(r){ return [['t.name','t.owner']].plus(r.collect({[it.value('Table.name'),it.value('Table.owner')]})).unique(); }; f(g.V().has('__typeName', 'Table').as('t').has('Table.name', eq("testtable_1")).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:260)
at org.apache.atlas.query.GremlinQueryComposerTest.whereClauseWithAsTextContains(GremlinQueryComposerTest.java:167)
whereClauseWithDateCompare(org.apache.atlas.query.GremlinQueryComposerTest) Time elapsed: 0.169 sec <<< FAILURE!
java.lang.AssertionError: expected [def f(r){ return [['t.name','t.owner']].plus(r.collect({[it.value('Table.name'),it.value('Table.owner')]})).unique(); }; f(g.V().has('__typeName', 'Table').as('t').has('Table.createdTime', eq('1513046158440')).limit(25).toList())] but found [def f(r){ return [['t.name','t.owner']].plus(r.collect({[it.value('Table.name'),it.value('Table.owner')]})).unique(); }; f(g.V().has('__typeName', 'Table').as('t').has('Table.createdTime', eq('1513046158440')).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:260)
at org.apache.atlas.query.GremlinQueryComposerTest.whereClauseWithDateCompare(GremlinQueryComposerTest.java:174)
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 25.02 sec - in org.apache.atlas.repository.impexp.UniqueListTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 25.334 sec - in org.apache.atlas.repository.impexp.ZipSourceTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 25.418 sec - in org.apache.atlas.utils.ObjectUpdateSynchronizerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 25.909 sec - in org.apache.atlas.repository.impexp.ImportTransformerJSONTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 25.817 sec - in org.apache.atlas.repository.impexp.AtlasImportRequestTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 25.942 sec - in org.apache.atlas.repository.audit.InMemoryAuditRepositoryTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.167 sec - in org.apache.atlas.repository.impexp.TypeAttributeDifferenceTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 25.501 sec - in org.apache.atlas.TestModules
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.29 sec - in org.apache.atlas.repository.impexp.ZipSinkTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.265 sec - in org.apache.atlas.utils.TestResourceFileUtils
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.338 sec - in org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1BulkImportPercentTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.783 sec - in org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateV1Test
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 37.358 sec <<< FAILURE! - in org.apache.atlas.services.EntityDiscoveryServiceTest
dslTest(org.apache.atlas.services.EntityDiscoveryServiceTest) Time elapsed: 0.192 sec <<< FAILURE!
java.lang.NullPointerException: null
at org.apache.atlas.query.GremlinQueryComposer$Context.getActiveTypeName(GremlinQueryComposer.java:652)
at org.apache.atlas.query.GremlinQueryComposer.addWhere(GremlinQueryComposer.java:151)
at org.apache.atlas.query.DSLVisitor.processExpr(DSLVisitor.java:257)
at org.apache.atlas.query.DSLVisitor.processExpr(DSLVisitor.java:186)
at org.apache.atlas.query.DSLVisitor.visitWhereClause(DSLVisitor.java:146)
at org.apache.atlas.query.DSLVisitor.visitWhereClause(DSLVisitor.java:31)
at org.apache.atlas.query.antlr4.AtlasDSLParser$WhereClauseContext.accept(AtlasDSLParser.java:1670)
at org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visitChildren(AbstractParseTreeVisitor.java:46)
at org.apache.atlas.query.antlr4.AtlasDSLParserBaseVisitor.visitFromExpression(AtlasDSLParserBaseVisitor.java:223)
at org.apache.atlas.query.DSLVisitor.visitFromExpression(DSLVisitor.java:168)
at org.apache.atlas.query.DSLVisitor.visitFromExpression(DSLVisitor.java:31)
at org.apache.atlas.query.antlr4.AtlasDSLParser$FromExpressionContext.accept(AtlasDSLParser.java:1711)
at org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visitChildren(AbstractParseTreeVisitor.java:46)
at org.apache.atlas.query.antlr4.AtlasDSLParserBaseVisitor.visitSingleQrySrc(AtlasDSLParserBaseVisitor.java:244)
at org.apache.atlas.query.antlr4.AtlasDSLParser$SingleQrySrcContext.accept(AtlasDSLParser.java:1844)
at org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visitChildren(AbstractParseTreeVisitor.java:46)
at org.apache.atlas.query.antlr4.AtlasDSLParserBaseVisitor.visitCommaDelimitedQueries(AtlasDSLParserBaseVisitor.java:258)
at org.apache.atlas.query.antlr4.AtlasDSLParser$CommaDelimitedQueriesContext.accept(AtlasDSLParser.java:1959)
at org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visitChildren(AbstractParseTreeVisitor.java:46)
at org.apache.atlas.query.antlr4.AtlasDSLParserBaseVisitor.visitQuerySrc(AtlasDSLParserBaseVisitor.java:272)
at org.apache.atlas.query.antlr4.AtlasDSLParser$QuerySrcContext.accept(AtlasDSLParser.java:2069)
at org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visitChildren(AbstractParseTreeVisitor.java:46)
at org.apache.atlas.query.antlr4.AtlasDSLParserBaseVisitor.visitQuery(AtlasDSLParserBaseVisitor.java:279)
at org.apache.atlas.query.antlr4.AtlasDSLParser$QueryContext.accept(AtlasDSLParser.java:2130)
at org.apache.atlas.query.AtlasDSL$Translator.translate(AtlasDSL.java:130)
at org.apache.atlas.discovery.EntityDiscoveryService.toGremlinQuery(EntityDiscoveryService.java:679)
at org.apache.atlas.discovery.EntityDiscoveryService.searchUsingDslQuery(EntityDiscoveryService.java:126)
at org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:60)
at org.apache.atlas.services.EntityDiscoveryServiceTest.dslTest(EntityDiscoveryServiceTest.java:52)
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 41.458 sec - in org.apache.atlas.services.MetricsServiceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 46.989 sec - in org.apache.atlas.repository.store.graph.v1.AtlasEntityDefStoreV1Test
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 47.5 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipDefStoreV1Test
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 53.458 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreSoftDeleteV1Test
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 56.307 sec - in org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateSoftDeleteV1Test
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 57.93 sec - in org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateHardDeleteV1Test
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 58.061 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreHardDeleteV1Test
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 58.945 sec - in org.apache.atlas.repository.userprofile.UserProfileServiceTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 62.325 sec - in org.apache.atlas.repository.impexp.ExportServiceTest
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 64.226 sec - in org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
Tests run: 9, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 64.855 sec <<< FAILURE! - in org.apache.atlas.repository.impexp.ImportServiceTest
importDB2(org.apache.atlas.repository.impexp.ImportServiceTest) Time elapsed: 0.695 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: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 65.538 sec - in org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test
Tests run: 212, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 92.86 sec - in org.apache.atlas.query.DSLQueriesTest
Results :
Failed tests:
GremlinQueryComposerTest.DBAsDSelectLimit:113->verify:260 expected [g.V().has('__typeName', 'DB').range(2, 2 + 5).limit(25).toList()] but found [g.V().has('__typeName', 'DB').range(2, 2 + 5).toList()]
GremlinQueryComposerTest.DBHasName:74->verify:260 expected [g.V().has('__typeName', 'DB').has('DB.name').limit(25).toList()] but found [g.V().has('__typeName', 'DB').has('DB.name').toList()]
GremlinQueryComposerTest.DBOrderBy:119->verify:259->getGremlinQuery:295 » NullPointer
GremlinQueryComposerTest.DBasD:80->verify:260 expected [g.V().has('__typeName', 'DB').as('d').limit(25).toList()] but found [g.V().has('__typeName', 'DB').as('d').toList()]
GremlinQueryComposerTest.DBasDSelect:86->verify:260 expected [def f(r){ return [['d.name','d.owner']].plus(r.collect({[it.value('DB.name'),it.value('DB.owner')]})).unique(); }; f(g.V().has('__typeName', 'DB').as('d').limit(25).toList())] but found [def f(r){ return [['d.name','d.owner']].plus(r.collect({[it.value('DB.name'),it.value('DB.owner')]})).unique(); }; f(g.V().has('__typeName', 'DB').as('d').toList())]
GremlinQueryComposerTest.TraitWithSpace:187->verify:260 expected [g.V().has('__typeName', 'Log Data').limit(25).toList()] but found [g.V().has('__typeName', 'Log Data').toList()]
GremlinQueryComposerTest.classification:50->verify:260 expected [g.V().has('__traitNames', within('PII')).limit(25).toList()] but found [g.V().has('__traitNames', within('PII')).toList()]
GremlinQueryComposerTest.dimension:56->verify:260 expected [g.V().has('__typeName', 'Table').has('__traitNames', within('Dimension')).limit(25).toList()] but found [g.V().has('__typeName', 'Table').has('__traitNames', within('Dimension')).toList()]
GremlinQueryComposerTest.fromDB:66->verify:260 expected [g.V().has('__typeName', 'DB').limit(25).toList()] but found [g.V().has('__typeName', 'DB').toList()]
GremlinQueryComposerTest.fromDBGroupBy:148->verify:260 expected [g.V().has('__typeName', 'DB').group().by('DB.owner').limit(25).toList()] but found [g.V().has('__typeName', 'DB').group().by('DB.owner').toList()]
GremlinQueryComposerTest.fromDBOrderByNameDesc:137->verify:259->getGremlinQuery:295 » NullPointer
GremlinQueryComposerTest.fromDBSelect:143->verify:260 expected [def f(r){ return [['DB.name','DB.owner']].plus(r.collect({[it.value('DB.name'),it.value('DB.owner')]})).unique(); }; f(g.V().has('__typeName', 'DB').limit(25).toList())] but found [def f(r){ return [['DB.name','DB.owner']].plus(r.collect({[it.value('DB.name'),it.value('DB.owner')]})).unique(); }; f(g.V().has('__typeName', 'DB').toList())]
GremlinQueryComposerTest.nestedQueries:192->verify:260 expected [g.V().has('__typeName', 'Table').or(__.has('Table.name', eq("sales_fact")),__.has('Table.name', eq("testtable_1"))).limit(25).toList()] but found [g.V().has('__typeName', 'Table').or(__.has('Table.name', eq("sales_fact")),__.has('Table.name', eq("testtable_1"))).toList()]
GremlinQueryComposerTest.subType:182->verify:260 expected [def f(r){ return [['name','owner']].plus(r.collect({[it.value('Asset.name'),it.value('Asset.owner')]})).unique(); }; f(g.V().has('__typeName', within('Asset','Table')).limit(25).toList())] but found [def f(r){ return [['name','owner']].plus(r.collect({[it.value('Asset.name'),it.value('Asset.owner')]})).unique(); }; f(g.V().has('__typeName', within('Asset','Table')).toList())]
GremlinQueryComposerTest.tableSelectColumns:98->verify:260 expected [def f(r){ r }; f(g.V().has('__typeName', 'Table').out('__Table.db').limit(25).toList())] but found [def f(r){ r }; f(g.V().has('__typeName', 'Table').out('__Table.db').toList())]
GremlinQueryComposerTest.whereClauseTextContains:155->verify:260 expected [def f(r){ return [['name','owner']].plus(r.collect({[it.value('DB.name'),it.value('DB.owner')]})).unique(); }; f(g.V().has('__typeName', 'DB').has('DB.name', eq("Reporting")).limit(25).toList())] but found [def f(r){ return [['name','owner']].plus(r.collect({[it.value('DB.name'),it.value('DB.owner')]})).unique(); }; f(g.V().has('__typeName', 'DB').has('DB.name', eq("Reporting")).toList())]
GremlinQueryComposerTest.whereClauseWithAsTextContains:167->verify:260 expected [def f(r){ return [['t.name','t.owner']].plus(r.collect({[it.value('Table.name'),it.value('Table.owner')]})).unique(); }; f(g.V().has('__typeName', 'Table').as('t').has('Table.name', eq("testtable_1")).limit(25).toList())] but found [def f(r){ return [['t.name','t.owner']].plus(r.collect({[it.value('Table.name'),it.value('Table.owner')]})).unique(); }; f(g.V().has('__typeName', 'Table').as('t').has('Table.name', eq("testtable_1")).toList())]
GremlinQueryComposerTest.whereClauseWithDateCompare:174->verify:260 expected [def f(r){ return [['t.name','t.owner']].plus(r.collect({[it.value('Table.name'),it.value('Table.owner')]})).unique(); }; f(g.V().has('__typeName', 'Table').as('t').has('Table.createdTime', eq('1513046158440')).limit(25).toList())] but found [def f(r){ return [['t.name','t.owner']].plus(r.collect({[it.value('Table.name'),it.value('Table.owner')]})).unique(); }; f(g.V().has('__typeName', 'Table').as('t').has('Table.createdTime', eq('1513046158440')).toList())]
ImportServiceTest.importDB2:104 entity:DB_v1 expected [true] but found [false]
EntityDiscoveryServiceTest.dslTest:52 » NullPointer
Tests run: 386, Failures: 20, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Atlas Server Build Tools .................... SUCCESS [ 0.520 s]
[INFO] apache-atlas ....................................... SUCCESS [ 1.777 s]
[INFO] Apache Atlas Test Utility Tools .................... SUCCESS [ 4.264 s]
[INFO] Apache Atlas Integration ........................... SUCCESS [ 32.960 s]
[INFO] Apache Atlas Common ................................ SUCCESS [ 1.686 s]
[INFO] Apache Atlas Client ................................ SUCCESS [ 0.149 s]
[INFO] atlas-client-common ................................ SUCCESS [ 0.702 s]
[INFO] atlas-client-v1 .................................... SUCCESS [ 2.639 s]
[INFO] Apache Atlas Server API ............................ SUCCESS [ 0.728 s]
[INFO] Apache Atlas Notification .......................... SUCCESS [ 9.873 s]
[INFO] atlas-client-v2 .................................... SUCCESS [ 0.532 s]
[INFO] Apache Atlas Graph Database Projects ............... SUCCESS [ 0.070 s]
[INFO] Apache Atlas Graph Database API .................... SUCCESS [ 0.524 s]
[INFO] Graph Database Common Code ......................... SUCCESS [ 0.602 s]
[INFO] Apache Atlas JanusGraph DB Impl .................... SUCCESS [02:14 min]
[INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [ 1.610 s]
[INFO] Shaded version of Apache hbase client .............. SUCCESS [ 7.436 s]
[INFO] Apache Atlas Titan 0.5.4 Graph DB Impl ............. SUCCESS [ 25.508 s]
[INFO] Shaded version of Apache hbase server .............. SUCCESS [ 17.734 s]
[INFO] Apache Atlas Repository ............................ FAILURE [01:40 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: 05:45 min
[INFO] Finished at: 2018-01-08T08:32:15Z
[INFO] Final Memory: 124M/2004M
[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=ab316c9b375931306111c7d075b99ecd50c81803, 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=ab316c9b375931306111c7d075b99ecd50c81803, 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/229/testng/testng-results-1.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/229/testng/testng-results-2.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/229/testng/testng-results-3.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/229/testng/testng-results-4.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/229/testng/testng-results-5.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/229/testng/testng-results.xml'
TestNG Reports Processing: FINISH
Build failed in Jenkins: Atlas-master-UnitTests #228
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Atlas-master-UnitTests/228/display/redirect?page=changes>
Changes:
[madhan] ATLAS-2346: fix V1 REST API to include AttributeDefinition.dataTypeName
------------------------------------------
[...truncated 179.19 KB...]
at org.apache.atlas.query.GremlinQueryComposerTest.fromDBOrderByNameDesc(GremlinQueryComposerTest.java:137)
fromDBSelect(org.apache.atlas.query.GremlinQueryComposerTest) Time elapsed: 0.016 sec <<< FAILURE!
java.lang.AssertionError: expected [def f(r){ return [['DB.name','DB.owner']].plus(r.collect({[it.value('DB.name'),it.value('DB.owner')]})).unique(); }; f(g.V().has('__typeName', 'DB').limit(25).toList())] but found [def f(r){ return [['DB.name','DB.owner']].plus(r.collect({[it.value('DB.name'),it.value('DB.owner')]})).unique(); }; f(g.V().has('__typeName', 'DB').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:260)
at org.apache.atlas.query.GremlinQueryComposerTest.fromDBSelect(GremlinQueryComposerTest.java:143)
nestedQueries(org.apache.atlas.query.GremlinQueryComposerTest) Time elapsed: 0.048 sec <<< FAILURE!
java.lang.AssertionError: expected [g.V().has('__typeName', 'Table').or(__.has('Table.name', eq("sales_fact")),__.has('Table.name', eq("testtable_1"))).limit(25).toList()] but found [g.V().has('__typeName', 'Table').or(__.has('Table.name', eq("sales_fact")),__.has('Table.name', eq("testtable_1"))).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:260)
at org.apache.atlas.query.GremlinQueryComposerTest.nestedQueries(GremlinQueryComposerTest.java:192)
subType(org.apache.atlas.query.GremlinQueryComposerTest) Time elapsed: 0.02 sec <<< FAILURE!
java.lang.AssertionError: expected [def f(r){ return [['name','owner']].plus(r.collect({[it.value('Asset.name'),it.value('Asset.owner')]})).unique(); }; f(g.V().has('__typeName', within('Asset','Table')).limit(25).toList())] but found [def f(r){ return [['name','owner']].plus(r.collect({[it.value('Asset.name'),it.value('Asset.owner')]})).unique(); }; f(g.V().has('__typeName', within('Asset','Table')).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:260)
at org.apache.atlas.query.GremlinQueryComposerTest.subType(GremlinQueryComposerTest.java:182)
tableSelectColumns(org.apache.atlas.query.GremlinQueryComposerTest) Time elapsed: 0.027 sec <<< FAILURE!
java.lang.AssertionError: expected [def f(r){ r }; f(g.V().has('__typeName', 'Table').out('__Table.db').limit(25).toList())] but found [def f(r){ r }; f(g.V().has('__typeName', 'Table').out('__Table.db').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:260)
at org.apache.atlas.query.GremlinQueryComposerTest.tableSelectColumns(GremlinQueryComposerTest.java:98)
whereClauseTextContains(org.apache.atlas.query.GremlinQueryComposerTest) Time elapsed: 0.026 sec <<< FAILURE!
java.lang.AssertionError: expected [def f(r){ return [['name','owner']].plus(r.collect({[it.value('DB.name'),it.value('DB.owner')]})).unique(); }; f(g.V().has('__typeName', 'DB').has('DB.name', eq("Reporting")).limit(25).toList())] but found [def f(r){ return [['name','owner']].plus(r.collect({[it.value('DB.name'),it.value('DB.owner')]})).unique(); }; f(g.V().has('__typeName', 'DB').has('DB.name', eq("Reporting")).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:260)
at org.apache.atlas.query.GremlinQueryComposerTest.whereClauseTextContains(GremlinQueryComposerTest.java:155)
whereClauseWithAsTextContains(org.apache.atlas.query.GremlinQueryComposerTest) Time elapsed: 0.015 sec <<< FAILURE!
java.lang.AssertionError: expected [def f(r){ return [['t.name','t.owner']].plus(r.collect({[it.value('Table.name'),it.value('Table.owner')]})).unique(); }; f(g.V().has('__typeName', 'Table').as('t').has('Table.name', eq("testtable_1")).limit(25).toList())] but found [def f(r){ return [['t.name','t.owner']].plus(r.collect({[it.value('Table.name'),it.value('Table.owner')]})).unique(); }; f(g.V().has('__typeName', 'Table').as('t').has('Table.name', eq("testtable_1")).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:260)
at org.apache.atlas.query.GremlinQueryComposerTest.whereClauseWithAsTextContains(GremlinQueryComposerTest.java:167)
whereClauseWithDateCompare(org.apache.atlas.query.GremlinQueryComposerTest) Time elapsed: 0.108 sec <<< FAILURE!
java.lang.AssertionError: expected [def f(r){ return [['t.name','t.owner']].plus(r.collect({[it.value('Table.name'),it.value('Table.owner')]})).unique(); }; f(g.V().has('__typeName', 'Table').as('t').has('Table.createdTime', eq('1513046158440')).limit(25).toList())] but found [def f(r){ return [['t.name','t.owner']].plus(r.collect({[it.value('Table.name'),it.value('Table.owner')]})).unique(); }; f(g.V().has('__typeName', 'Table').as('t').has('Table.createdTime', eq('1513046158440')).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:260)
at org.apache.atlas.query.GremlinQueryComposerTest.whereClauseWithDateCompare(GremlinQueryComposerTest.java:174)
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 29.654 sec - in org.apache.atlas.utils.ObjectUpdateSynchronizerTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 30.397 sec - in org.apache.atlas.repository.impexp.UniqueListTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 30.519 sec - in org.apache.atlas.repository.impexp.ImportTransformerTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 30.717 sec - in org.apache.atlas.utils.TestResourceFileUtils
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 30.786 sec - in org.apache.atlas.repository.impexp.TypeAttributeDifferenceTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 31.065 sec - in org.apache.atlas.repository.impexp.AtlasImportRequestTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 30.983 sec - in org.apache.atlas.repository.impexp.ZipSinkTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 30.96 sec - in org.apache.atlas.repository.impexp.ImportTransformerJSONTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 31.128 sec - in org.apache.atlas.repository.impexp.ImportTransformsTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 31.083 sec - in org.apache.atlas.TestModules
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 31.371 sec - in org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1BulkImportPercentTest
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 40.656 sec <<< FAILURE! - in org.apache.atlas.services.EntityDiscoveryServiceTest
dslTest(org.apache.atlas.services.EntityDiscoveryServiceTest) Time elapsed: 0.246 sec <<< FAILURE!
java.lang.NullPointerException: null
at org.apache.atlas.query.GremlinQueryComposer$Context.getActiveTypeName(GremlinQueryComposer.java:652)
at org.apache.atlas.query.GremlinQueryComposer.addWhere(GremlinQueryComposer.java:151)
at org.apache.atlas.query.DSLVisitor.processExpr(DSLVisitor.java:257)
at org.apache.atlas.query.DSLVisitor.processExpr(DSLVisitor.java:186)
at org.apache.atlas.query.DSLVisitor.visitWhereClause(DSLVisitor.java:146)
at org.apache.atlas.query.DSLVisitor.visitWhereClause(DSLVisitor.java:31)
at org.apache.atlas.query.antlr4.AtlasDSLParser$WhereClauseContext.accept(AtlasDSLParser.java:1670)
at org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visitChildren(AbstractParseTreeVisitor.java:46)
at org.apache.atlas.query.antlr4.AtlasDSLParserBaseVisitor.visitFromExpression(AtlasDSLParserBaseVisitor.java:223)
at org.apache.atlas.query.DSLVisitor.visitFromExpression(DSLVisitor.java:168)
at org.apache.atlas.query.DSLVisitor.visitFromExpression(DSLVisitor.java:31)
at org.apache.atlas.query.antlr4.AtlasDSLParser$FromExpressionContext.accept(AtlasDSLParser.java:1711)
at org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visitChildren(AbstractParseTreeVisitor.java:46)
at org.apache.atlas.query.antlr4.AtlasDSLParserBaseVisitor.visitSingleQrySrc(AtlasDSLParserBaseVisitor.java:244)
at org.apache.atlas.query.antlr4.AtlasDSLParser$SingleQrySrcContext.accept(AtlasDSLParser.java:1844)
at org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visitChildren(AbstractParseTreeVisitor.java:46)
at org.apache.atlas.query.antlr4.AtlasDSLParserBaseVisitor.visitCommaDelimitedQueries(AtlasDSLParserBaseVisitor.java:258)
at org.apache.atlas.query.antlr4.AtlasDSLParser$CommaDelimitedQueriesContext.accept(AtlasDSLParser.java:1959)
at org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visitChildren(AbstractParseTreeVisitor.java:46)
at org.apache.atlas.query.antlr4.AtlasDSLParserBaseVisitor.visitQuerySrc(AtlasDSLParserBaseVisitor.java:272)
at org.apache.atlas.query.antlr4.AtlasDSLParser$QuerySrcContext.accept(AtlasDSLParser.java:2069)
at org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visitChildren(AbstractParseTreeVisitor.java:46)
at org.apache.atlas.query.antlr4.AtlasDSLParserBaseVisitor.visitQuery(AtlasDSLParserBaseVisitor.java:279)
at org.apache.atlas.query.antlr4.AtlasDSLParser$QueryContext.accept(AtlasDSLParser.java:2130)
at org.apache.atlas.query.AtlasDSL$Translator.translate(AtlasDSL.java:130)
at org.apache.atlas.discovery.EntityDiscoveryService.toGremlinQuery(EntityDiscoveryService.java:679)
at org.apache.atlas.discovery.EntityDiscoveryService.searchUsingDslQuery(EntityDiscoveryService.java:126)
at org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:60)
at org.apache.atlas.services.EntityDiscoveryServiceTest.dslTest(EntityDiscoveryServiceTest.java:52)
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 47.816 sec - in org.apache.atlas.services.MetricsServiceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 49.357 sec - in org.apache.atlas.repository.store.graph.v1.AtlasEntityDefStoreV1Test
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 53.921 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipDefStoreV1Test
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 73.841 sec - in org.apache.atlas.repository.userprofile.UserProfileServiceTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 75.999 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreHardDeleteV1Test
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 75.766 sec - in org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateSoftDeleteV1Test
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 77.487 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreSoftDeleteV1Test
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 77.852 sec - in org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateHardDeleteV1Test
Tests run: 9, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 81.029 sec <<< FAILURE! - in org.apache.atlas.repository.impexp.ImportServiceTest
importDB2(org.apache.atlas.repository.impexp.ImportServiceTest) Time elapsed: 0.665 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: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 82.687 sec - in org.apache.atlas.repository.impexp.ExportServiceTest
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 83.751 sec - in org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 83.402 sec - in org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
Tests run: 212, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 111.299 sec - in org.apache.atlas.query.DSLQueriesTest
Results :
Failed tests:
GremlinQueryComposerTest.DBAsDSelectLimit:113->verify:260 expected [g.V().has('__typeName', 'DB').range(2, 2 + 5).limit(25).toList()] but found [g.V().has('__typeName', 'DB').range(2, 2 + 5).toList()]
GremlinQueryComposerTest.DBHasName:74->verify:260 expected [g.V().has('__typeName', 'DB').has('DB.name').limit(25).toList()] but found [g.V().has('__typeName', 'DB').has('DB.name').toList()]
GremlinQueryComposerTest.DBOrderBy:119->verify:259->getGremlinQuery:295 » NullPointer
GremlinQueryComposerTest.DBasD:80->verify:260 expected [g.V().has('__typeName', 'DB').as('d').limit(25).toList()] but found [g.V().has('__typeName', 'DB').as('d').toList()]
GremlinQueryComposerTest.DBasDSelect:86->verify:260 expected [def f(r){ return [['d.name','d.owner']].plus(r.collect({[it.value('DB.name'),it.value('DB.owner')]})).unique(); }; f(g.V().has('__typeName', 'DB').as('d').limit(25).toList())] but found [def f(r){ return [['d.name','d.owner']].plus(r.collect({[it.value('DB.name'),it.value('DB.owner')]})).unique(); }; f(g.V().has('__typeName', 'DB').as('d').toList())]
GremlinQueryComposerTest.TraitWithSpace:187->verify:260 expected [g.V().has('__typeName', 'Log Data').limit(25).toList()] but found [g.V().has('__typeName', 'Log Data').toList()]
GremlinQueryComposerTest.classification:50->verify:260 expected [g.V().has('__traitNames', within('PII')).limit(25).toList()] but found [g.V().has('__traitNames', within('PII')).toList()]
GremlinQueryComposerTest.dimension:56->verify:260 expected [g.V().has('__typeName', 'Table').has('__traitNames', within('Dimension')).limit(25).toList()] but found [g.V().has('__typeName', 'Table').has('__traitNames', within('Dimension')).toList()]
GremlinQueryComposerTest.fromDB:66->verify:260 expected [g.V().has('__typeName', 'DB').limit(25).toList()] but found [g.V().has('__typeName', 'DB').toList()]
GremlinQueryComposerTest.fromDBGroupBy:148->verify:260 expected [g.V().has('__typeName', 'DB').group().by('DB.owner').limit(25).toList()] but found [g.V().has('__typeName', 'DB').group().by('DB.owner').toList()]
GremlinQueryComposerTest.fromDBOrderByNameDesc:137->verify:259->getGremlinQuery:295 » NullPointer
GremlinQueryComposerTest.fromDBSelect:143->verify:260 expected [def f(r){ return [['DB.name','DB.owner']].plus(r.collect({[it.value('DB.name'),it.value('DB.owner')]})).unique(); }; f(g.V().has('__typeName', 'DB').limit(25).toList())] but found [def f(r){ return [['DB.name','DB.owner']].plus(r.collect({[it.value('DB.name'),it.value('DB.owner')]})).unique(); }; f(g.V().has('__typeName', 'DB').toList())]
GremlinQueryComposerTest.nestedQueries:192->verify:260 expected [g.V().has('__typeName', 'Table').or(__.has('Table.name', eq("sales_fact")),__.has('Table.name', eq("testtable_1"))).limit(25).toList()] but found [g.V().has('__typeName', 'Table').or(__.has('Table.name', eq("sales_fact")),__.has('Table.name', eq("testtable_1"))).toList()]
GremlinQueryComposerTest.subType:182->verify:260 expected [def f(r){ return [['name','owner']].plus(r.collect({[it.value('Asset.name'),it.value('Asset.owner')]})).unique(); }; f(g.V().has('__typeName', within('Asset','Table')).limit(25).toList())] but found [def f(r){ return [['name','owner']].plus(r.collect({[it.value('Asset.name'),it.value('Asset.owner')]})).unique(); }; f(g.V().has('__typeName', within('Asset','Table')).toList())]
GremlinQueryComposerTest.tableSelectColumns:98->verify:260 expected [def f(r){ r }; f(g.V().has('__typeName', 'Table').out('__Table.db').limit(25).toList())] but found [def f(r){ r }; f(g.V().has('__typeName', 'Table').out('__Table.db').toList())]
GremlinQueryComposerTest.whereClauseTextContains:155->verify:260 expected [def f(r){ return [['name','owner']].plus(r.collect({[it.value('DB.name'),it.value('DB.owner')]})).unique(); }; f(g.V().has('__typeName', 'DB').has('DB.name', eq("Reporting")).limit(25).toList())] but found [def f(r){ return [['name','owner']].plus(r.collect({[it.value('DB.name'),it.value('DB.owner')]})).unique(); }; f(g.V().has('__typeName', 'DB').has('DB.name', eq("Reporting")).toList())]
GremlinQueryComposerTest.whereClauseWithAsTextContains:167->verify:260 expected [def f(r){ return [['t.name','t.owner']].plus(r.collect({[it.value('Table.name'),it.value('Table.owner')]})).unique(); }; f(g.V().has('__typeName', 'Table').as('t').has('Table.name', eq("testtable_1")).limit(25).toList())] but found [def f(r){ return [['t.name','t.owner']].plus(r.collect({[it.value('Table.name'),it.value('Table.owner')]})).unique(); }; f(g.V().has('__typeName', 'Table').as('t').has('Table.name', eq("testtable_1")).toList())]
GremlinQueryComposerTest.whereClauseWithDateCompare:174->verify:260 expected [def f(r){ return [['t.name','t.owner']].plus(r.collect({[it.value('Table.name'),it.value('Table.owner')]})).unique(); }; f(g.V().has('__typeName', 'Table').as('t').has('Table.createdTime', eq('1513046158440')).limit(25).toList())] but found [def f(r){ return [['t.name','t.owner']].plus(r.collect({[it.value('Table.name'),it.value('Table.owner')]})).unique(); }; f(g.V().has('__typeName', 'Table').as('t').has('Table.createdTime', eq('1513046158440')).toList())]
ImportServiceTest.importDB2:104 entity:DB_v1 expected [true] but found [false]
EntityDiscoveryServiceTest.dslTest:52 » NullPointer
Tests run: 386, Failures: 20, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Atlas Server Build Tools .................... SUCCESS [ 0.510 s]
[INFO] apache-atlas ....................................... SUCCESS [ 1.772 s]
[INFO] Apache Atlas Test Utility Tools .................... SUCCESS [ 3.970 s]
[INFO] Apache Atlas Integration ........................... SUCCESS [ 33.540 s]
[INFO] Apache Atlas Common ................................ SUCCESS [ 4.337 s]
[INFO] Apache Atlas Client ................................ SUCCESS [ 0.150 s]
[INFO] atlas-client-common ................................ SUCCESS [ 0.718 s]
[INFO] atlas-client-v1 .................................... SUCCESS [ 2.402 s]
[INFO] Apache Atlas Server API ............................ SUCCESS [ 0.680 s]
[INFO] Apache Atlas Notification .......................... SUCCESS [ 11.021 s]
[INFO] atlas-client-v2 .................................... SUCCESS [ 0.520 s]
[INFO] Apache Atlas Graph Database Projects ............... SUCCESS [ 0.076 s]
[INFO] Apache Atlas Graph Database API .................... SUCCESS [ 0.474 s]
[INFO] Graph Database Common Code ......................... SUCCESS [ 0.637 s]
[INFO] Apache Atlas JanusGraph DB Impl .................... SUCCESS [02:14 min]
[INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [ 1.411 s]
[INFO] Shaded version of Apache hbase client .............. SUCCESS [ 6.896 s]
[INFO] Apache Atlas Titan 0.5.4 Graph DB Impl ............. SUCCESS [ 23.884 s]
[INFO] Shaded version of Apache hbase server .............. SUCCESS [ 17.797 s]
[INFO] Apache Atlas Repository ............................ FAILURE [01:59 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:06 min
[INFO] Finished at: 2018-01-08T07:32:24Z
[INFO] Final Memory: 129M/1935M
[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=08ac11c091f62ab7e006a0b4491959ebb2949df7, 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=08ac11c091f62ab7e006a0b4491959ebb2949df7, 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/228/testng/testng-results-1.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/228/testng/testng-results-2.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/228/testng/testng-results-3.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/228/testng/testng-results-4.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/228/testng/testng-results-5.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/228/testng/testng-results.xml'
TestNG Reports Processing: FINISH
Build failed in Jenkins: Atlas-master-UnitTests #227
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Atlas-master-UnitTests/227/display/redirect?page=changes>
Changes:
[ssubramanian] ATLAS-2345: v1 schema API response includes partition keys in addition
[ssubramanian] ATLAS-2344: Creating an entity of unknown type throws 404 error code ,
------------------------------------------
[...truncated 187.45 KB...]
at org.apache.atlas.query.DSLVisitor.visitFromExpression(DSLVisitor.java:31)
at org.apache.atlas.query.antlr4.AtlasDSLParser$FromExpressionContext.accept(AtlasDSLParser.java:1711)
at org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visitChildren(AbstractParseTreeVisitor.java:46)
at org.apache.atlas.query.antlr4.AtlasDSLParserBaseVisitor.visitSingleQrySrc(AtlasDSLParserBaseVisitor.java:244)
at org.apache.atlas.query.antlr4.AtlasDSLParser$SingleQrySrcContext.accept(AtlasDSLParser.java:1844)
at org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visitChildren(AbstractParseTreeVisitor.java:46)
at org.apache.atlas.query.antlr4.AtlasDSLParserBaseVisitor.visitCommaDelimitedQueries(AtlasDSLParserBaseVisitor.java:258)
at org.apache.atlas.query.antlr4.AtlasDSLParser$CommaDelimitedQueriesContext.accept(AtlasDSLParser.java:1959)
at org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visitChildren(AbstractParseTreeVisitor.java:46)
at org.apache.atlas.query.antlr4.AtlasDSLParserBaseVisitor.visitQuerySrc(AtlasDSLParserBaseVisitor.java:272)
at org.apache.atlas.query.antlr4.AtlasDSLParser$QuerySrcContext.accept(AtlasDSLParser.java:2069)
at org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visitChildren(AbstractParseTreeVisitor.java:46)
at org.apache.atlas.query.antlr4.AtlasDSLParserBaseVisitor.visitQuery(AtlasDSLParserBaseVisitor.java:279)
at org.apache.atlas.query.antlr4.AtlasDSLParser$QueryContext.accept(AtlasDSLParser.java:2130)
at org.apache.atlas.query.AtlasDSL$Translator.translate(AtlasDSL.java:130)
at org.apache.atlas.discovery.EntityDiscoveryService.toGremlinQuery(EntityDiscoveryService.java:679)
at org.apache.atlas.discovery.EntityDiscoveryService.searchUsingDslQuery(EntityDiscoveryService.java:126)
at org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:60)
at org.apache.atlas.services.EntityDiscoveryServiceTest.dslTest(EntityDiscoveryServiceTest.java:52)
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 41.899 sec - in org.apache.atlas.services.MetricsServiceTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 44.539 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipDefStoreV1Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 46.883 sec - in org.apache.atlas.repository.store.graph.v1.AtlasEntityDefStoreV1Test
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 58.884 sec - in org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateSoftDeleteV1Test
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 58.728 sec - in org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateHardDeleteV1Test
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 58.784 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreHardDeleteV1Test
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 59.376 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreSoftDeleteV1Test
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 60.057 sec - in org.apache.atlas.repository.userprofile.UserProfileServiceTest
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 62.462 sec - in org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 65.633 sec - in org.apache.atlas.repository.impexp.ExportServiceTest
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 65.358 sec - in org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
Tests run: 9, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 67.251 sec <<< FAILURE! - in org.apache.atlas.repository.impexp.ImportServiceTest
importDB2(org.apache.atlas.repository.impexp.ImportServiceTest) Time elapsed: 0.555 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: 212, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 96.295 sec <<< FAILURE! - in org.apache.atlas.query.DSLQueriesTest
syntax(org.apache.atlas.query.DSLQueriesTest) Time elapsed: 0.137 sec <<< FAILURE!
java.lang.AssertionError: expected [2] but found [1]
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.query.DSLQueriesTest.assertSearchResult(DSLQueriesTest.java:375)
at org.apache.atlas.query.DSLQueriesTest.syntax(DSLQueriesTest.java:266)
syntax(org.apache.atlas.query.DSLQueriesTest) Time elapsed: 0.146 sec <<< FAILURE!
java.lang.AssertionError: expected [2] but found [1]
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.query.DSLQueriesTest.assertSearchResult(DSLQueriesTest.java:375)
at org.apache.atlas.query.DSLQueriesTest.syntax(DSLQueriesTest.java:266)
Results :
Failed tests:
org.apache.atlas.query.DSLQueriesTest.syntax(org.apache.atlas.query.DSLQueriesTest)
Run 1: PASS
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: DSLQueriesTest.syntax:266->assertSearchResult:375 expected [2] but found [1]
Run 28: DSLQueriesTest.syntax:266->assertSearchResult:375 expected [2] but found [1]
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
Run 55: PASS
Run 56: PASS
Run 57: PASS
Run 58: PASS
Run 59: PASS
Run 60: PASS
Run 61: PASS
Run 62: PASS
Run 63: PASS
Run 64: PASS
Run 65: PASS
Run 66: PASS
Run 67: PASS
Run 68: PASS
Run 69: PASS
Run 70: PASS
Run 71: PASS
Run 72: PASS
Run 73: PASS
GremlinQueryComposerTest.DBAsDSelectLimit:113->verify:260 expected [g.V().has('__typeName', 'DB').range(2, 2 + 5).limit(25).toList()] but found [g.V().has('__typeName', 'DB').range(2, 2 + 5).toList()]
GremlinQueryComposerTest.DBHasName:74->verify:260 expected [g.V().has('__typeName', 'DB').has('DB.name').limit(25).toList()] but found [g.V().has('__typeName', 'DB').has('DB.name').toList()]
GremlinQueryComposerTest.DBOrderBy:119->verify:259->getGremlinQuery:295 » NullPointer
GremlinQueryComposerTest.DBasD:80->verify:260 expected [g.V().has('__typeName', 'DB').as('d').limit(25).toList()] but found [g.V().has('__typeName', 'DB').as('d').toList()]
GremlinQueryComposerTest.DBasDSelect:86->verify:260 expected [def f(r){ return [['d.name','d.owner']].plus(r.collect({[it.value('DB.name'),it.value('DB.owner')]})).unique(); }; f(g.V().has('__typeName', 'DB').as('d').limit(25).toList())] but found [def f(r){ return [['d.name','d.owner']].plus(r.collect({[it.value('DB.name'),it.value('DB.owner')]})).unique(); }; f(g.V().has('__typeName', 'DB').as('d').toList())]
GremlinQueryComposerTest.TraitWithSpace:187->verify:260 expected [g.V().has('__typeName', 'Log Data').limit(25).toList()] but found [g.V().has('__typeName', 'Log Data').toList()]
GremlinQueryComposerTest.classification:50->verify:260 expected [g.V().has('__traitNames', within('PII')).limit(25).toList()] but found [g.V().has('__traitNames', within('PII')).toList()]
GremlinQueryComposerTest.dimension:56->verify:260 expected [g.V().has('__typeName', 'Table').has('__traitNames', within('Dimension')).limit(25).toList()] but found [g.V().has('__typeName', 'Table').has('__traitNames', within('Dimension')).toList()]
GremlinQueryComposerTest.fromDB:66->verify:260 expected [g.V().has('__typeName', 'DB').limit(25).toList()] but found [g.V().has('__typeName', 'DB').toList()]
GremlinQueryComposerTest.fromDBGroupBy:148->verify:260 expected [g.V().has('__typeName', 'DB').group().by('DB.owner').limit(25).toList()] but found [g.V().has('__typeName', 'DB').group().by('DB.owner').toList()]
GremlinQueryComposerTest.fromDBOrderByNameDesc:137->verify:259->getGremlinQuery:295 » NullPointer
GremlinQueryComposerTest.fromDBSelect:143->verify:260 expected [def f(r){ return [['DB.name','DB.owner']].plus(r.collect({[it.value('DB.name'),it.value('DB.owner')]})).unique(); }; f(g.V().has('__typeName', 'DB').limit(25).toList())] but found [def f(r){ return [['DB.name','DB.owner']].plus(r.collect({[it.value('DB.name'),it.value('DB.owner')]})).unique(); }; f(g.V().has('__typeName', 'DB').toList())]
GremlinQueryComposerTest.nestedQueries:192->verify:260 expected [g.V().has('__typeName', 'Table').or(__.has('Table.name', eq("sales_fact")),__.has('Table.name', eq("testtable_1"))).limit(25).toList()] but found [g.V().has('__typeName', 'Table').or(__.has('Table.name', eq("sales_fact")),__.has('Table.name', eq("testtable_1"))).toList()]
GremlinQueryComposerTest.subType:182->verify:260 expected [def f(r){ return [['name','owner']].plus(r.collect({[it.value('Asset.name'),it.value('Asset.owner')]})).unique(); }; f(g.V().has('__typeName', within('Asset','Table')).limit(25).toList())] but found [def f(r){ return [['name','owner']].plus(r.collect({[it.value('Asset.name'),it.value('Asset.owner')]})).unique(); }; f(g.V().has('__typeName', within('Asset','Table')).toList())]
GremlinQueryComposerTest.tableSelectColumns:98->verify:260 expected [def f(r){ r }; f(g.V().has('__typeName', 'Table').out('__Table.db').limit(25).toList())] but found [def f(r){ r }; f(g.V().has('__typeName', 'Table').out('__Table.db').toList())]
GremlinQueryComposerTest.whereClauseTextContains:155->verify:260 expected [def f(r){ return [['name','owner']].plus(r.collect({[it.value('DB.name'),it.value('DB.owner')]})).unique(); }; f(g.V().has('__typeName', 'DB').has('DB.name', eq("Reporting")).limit(25).toList())] but found [def f(r){ return [['name','owner']].plus(r.collect({[it.value('DB.name'),it.value('DB.owner')]})).unique(); }; f(g.V().has('__typeName', 'DB').has('DB.name', eq("Reporting")).toList())]
GremlinQueryComposerTest.whereClauseWithAsTextContains:167->verify:260 expected [def f(r){ return [['t.name','t.owner']].plus(r.collect({[it.value('Table.name'),it.value('Table.owner')]})).unique(); }; f(g.V().has('__typeName', 'Table').as('t').has('Table.name', eq("testtable_1")).limit(25).toList())] but found [def f(r){ return [['t.name','t.owner']].plus(r.collect({[it.value('Table.name'),it.value('Table.owner')]})).unique(); }; f(g.V().has('__typeName', 'Table').as('t').has('Table.name', eq("testtable_1")).toList())]
GremlinQueryComposerTest.whereClauseWithDateCompare:174->verify:260 expected [def f(r){ return [['t.name','t.owner']].plus(r.collect({[it.value('Table.name'),it.value('Table.owner')]})).unique(); }; f(g.V().has('__typeName', 'Table').as('t').has('Table.createdTime', eq('1513046158440')).limit(25).toList())] but found [def f(r){ return [['t.name','t.owner']].plus(r.collect({[it.value('Table.name'),it.value('Table.owner')]})).unique(); }; f(g.V().has('__typeName', 'Table').as('t').has('Table.createdTime', eq('1513046158440')).toList())]
ImportServiceTest.importDB2:104 entity:DB_v1 expected [true] but found [false]
EntityDiscoveryServiceTest.dslTest:52 » NullPointer
Tests run: 314, Failures: 21, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Atlas Server Build Tools .................... SUCCESS [ 0.496 s]
[INFO] apache-atlas ....................................... SUCCESS [ 1.658 s]
[INFO] Apache Atlas Test Utility Tools .................... SUCCESS [ 4.047 s]
[INFO] Apache Atlas Integration ........................... SUCCESS [ 31.688 s]
[INFO] Apache Atlas Common ................................ SUCCESS [ 1.640 s]
[INFO] Apache Atlas Client ................................ SUCCESS [ 0.122 s]
[INFO] atlas-client-common ................................ SUCCESS [ 0.635 s]
[INFO] atlas-client-v1 .................................... SUCCESS [ 2.681 s]
[INFO] Apache Atlas Server API ............................ SUCCESS [ 0.832 s]
[INFO] Apache Atlas Notification .......................... SUCCESS [ 11.044 s]
[INFO] atlas-client-v2 .................................... SUCCESS [ 0.576 s]
[INFO] Apache Atlas Graph Database Projects ............... SUCCESS [ 0.085 s]
[INFO] Apache Atlas Graph Database API .................... SUCCESS [ 0.488 s]
[INFO] Graph Database Common Code ......................... SUCCESS [ 0.610 s]
[INFO] Apache Atlas JanusGraph DB Impl .................... SUCCESS [01:52 min]
[INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [ 1.574 s]
[INFO] Shaded version of Apache hbase client .............. SUCCESS [ 7.082 s]
[INFO] Apache Atlas Titan 0.5.4 Graph DB Impl ............. SUCCESS [ 24.737 s]
[INFO] Shaded version of Apache hbase server .............. SUCCESS [ 18.112 s]
[INFO] Apache Atlas Repository ............................ FAILURE [01:44 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: 05:25 min
[INFO] Finished at: 2018-01-05T22:31:44Z
[INFO] Final Memory: 121M/1958M
[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=413aa88e61b899792678135a3c66754be4d93583, 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=413aa88e61b899792678135a3c66754be4d93583, 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/227/testng/testng-results-1.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/227/testng/testng-results-2.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/227/testng/testng-results-3.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/227/testng/testng-results-4.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/227/testng/testng-results-5.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/227/testng/testng-results.xml'
0.803213% of tests failed, which exceeded threshold of 0%. Marking build as UNSTABLE
TestNG Reports Processing: FINISH