See
<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/347/display/redirect>
------------------------------------------
[...truncated 246.37 KB...]
Tests run: 11, Failures: 0, Errors: 0, Skipped: 11, Time elapsed: 84.147 sec -
in org.apache.atlas.repository.tagpropagation.ClassificationPropagationTest
Tests run: 35, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 92.396 sec -
in org.apache.atlas.glossary.GlossaryServiceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 98.525 sec - in
org.apache.atlas.repository.migration.PathTest
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 99.67 sec - in
org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
Tests run: 16, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 98.702 sec <<<
FAILURE! - in org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test
testArrayOfStructs(org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test)
Time elapsed: 0.086 sec <<< FAILURE!
java.lang.AssertionError: expected [part1] but found [part0]
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:167)
at
org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test.validateAttribute(AtlasEntityStoreV1Test.java:1071)
at
org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test.validateEntity(AtlasEntityStoreV1Test.java:1057)
at
org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test.validateAttribute(AtlasEntityStoreV1Test.java:1113)
at
org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test.validateAttribute(AtlasEntityStoreV1Test.java:1105)
at
org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test.validateEntity(AtlasEntityStoreV1Test.java:1057)
at
org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test.validateEntity(AtlasEntityStoreV1Test.java:1039)
at
org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test.testArrayOfStructs(AtlasEntityStoreV1Test.java:495)
testMapOfPrimitivesUpdate(org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test)
Time elapsed: 0.057 sec <<< FAILURE!
java.lang.AssertionError: expected [1] but found [2]
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.repository.store.graph.v1.AtlasEntityStoreV1Test.validateMutationResponse(AtlasEntityStoreV1Test.java:1035)
at
org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test.testMapOfPrimitivesUpdate(AtlasEntityStoreV1Test.java:467)
testUpdateEntityWithMap(org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test)
Time elapsed: 0.532 sec <<< FAILURE!
java.lang.NullPointerException: null
at
org.apache.atlas.repository.graph.GraphHelper.lambda$sortRelationshipElements$0(GraphHelper.java:1640)
at java.util.TimSort.countRunAndMakeAscending(TimSort.java:360)
at java.util.TimSort.sort(TimSort.java:220)
at java.util.Arrays.sort(Arrays.java:1512)
at java.util.ArrayList.sort(ArrayList.java:1462)
at java.util.Collections.sort(Collections.java:175)
at
org.apache.atlas.repository.graph.GraphHelper.sortRelationshipElements(GraphHelper.java:1636)
at
org.apache.atlas.repository.graph.GraphHelper.getArrayElementsUsingRelationship(GraphHelper.java:1629)
at
org.apache.atlas.repository.graph.GraphHelper.getArrayElementsProperty(GraphHelper.java:1612)
at
org.apache.atlas.repository.store.graph.v1.EntityGraphRetriever.mapVertexToArray(EntityGraphRetriever.java:681)
at
org.apache.atlas.repository.store.graph.v1.EntityGraphRetriever.mapVertexToAttribute(EntityGraphRetriever.java:630)
at
org.apache.atlas.repository.store.graph.v1.EntityGraphRetriever.mapAttributes(EntityGraphRetriever.java:481)
at
org.apache.atlas.repository.store.graph.v1.EntityGraphRetriever.mapVertexToAtlasEntity(EntityGraphRetriever.java:366)
at
org.apache.atlas.repository.store.graph.v1.EntityGraphRetriever.toAtlasEntity(EntityGraphRetriever.java:152)
at
org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1.createOrUpdate(AtlasEntityStoreV1.java:614)
at
org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1.createOrUpdate(AtlasEntityStoreV1.java:167)
at
org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test.testUpdateEntityWithMap(AtlasEntityStoreV1Test.java:409)
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 101.359 sec -
in org.apache.atlas.repository.migration.HiveStocksTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 102.764 sec -
in org.apache.atlas.repository.migration.HiveParititionTest
Tests run: 14, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 112.84 sec <<<
FAILURE! - in org.apache.atlas.repository.impexp.ImportServiceTest
importCTAS(org.apache.atlas.repository.impexp.ImportServiceTest) Time elapsed:
27.135 sec <<< FAILURE!
org.apache.atlas.exception.AtlasBaseException: java.lang.NullPointerException
at
org.apache.atlas.repository.graph.GraphHelper.lambda$sortRelationshipElements$0(GraphHelper.java:1640)
at java.util.TimSort.countRunAndMakeAscending(TimSort.java:355)
at java.util.TimSort.sort(TimSort.java:220)
at java.util.Arrays.sort(Arrays.java:1512)
at java.util.ArrayList.sort(ArrayList.java:1462)
at java.util.Collections.sort(Collections.java:175)
at
org.apache.atlas.repository.graph.GraphHelper.sortRelationshipElements(GraphHelper.java:1636)
at
org.apache.atlas.repository.graph.GraphHelper.getArrayElementsUsingRelationship(GraphHelper.java:1629)
at
org.apache.atlas.repository.store.graph.v1.EntityGraphMapper.mapArrayValue(EntityGraphMapper.java:891)
at
org.apache.atlas.repository.store.graph.v1.EntityGraphMapper.mapToVertexByTypeCategory(EntityGraphMapper.java:471)
at
org.apache.atlas.repository.store.graph.v1.EntityGraphMapper.mapAttribute(EntityGraphMapper.java:369)
at
org.apache.atlas.repository.store.graph.v1.EntityGraphMapper.mapAttributes(EntityGraphMapper.java:300)
at
org.apache.atlas.repository.store.graph.v1.EntityGraphMapper.mapAttributesAndClassifications(EntityGraphMapper.java:208)
at
org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1.createOrUpdate(AtlasEntityStoreV1.java:642)
at
org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1.createOrUpdateForImport(AtlasEntityStoreV1.java:173)
at
org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:60)
at
org.apache.atlas.repository.store.graph.v1.BulkImporterImpl.bulkImport(BulkImporterImpl.java:83)
at
org.apache.atlas.repository.impexp.ImportService.processEntities(ImportService.java:161)
at
org.apache.atlas.repository.impexp.ImportService.run(ImportService.java:82)
at
org.apache.atlas.repository.impexp.ImportService.run(ImportService.java:61)
at
org.apache.atlas.repository.impexp.ZipFileResourceTestUtils.runImportWithNoParameters(ZipFileResourceTestUtils.java:241)
at
org.apache.atlas.repository.impexp.ImportServiceTest.importCTAS(ImportServiceTest.java:194)
importDB7(org.apache.atlas.repository.impexp.ImportServiceTest) Time elapsed:
0.578 sec <<< FAILURE!
org.apache.atlas.exception.AtlasBaseException: java.lang.NullPointerException
at
org.apache.atlas.repository.graph.GraphHelper.lambda$sortRelationshipElements$0(GraphHelper.java:1640)
at java.util.TimSort.countRunAndMakeAscending(TimSort.java:355)
at java.util.TimSort.sort(TimSort.java:220)
at java.util.Arrays.sort(Arrays.java:1512)
at java.util.ArrayList.sort(ArrayList.java:1462)
at java.util.Collections.sort(Collections.java:175)
at
org.apache.atlas.repository.graph.GraphHelper.sortRelationshipElements(GraphHelper.java:1636)
at
org.apache.atlas.repository.graph.GraphHelper.getArrayElementsUsingRelationship(GraphHelper.java:1629)
at
org.apache.atlas.repository.store.graph.v1.EntityGraphMapper.mapArrayValue(EntityGraphMapper.java:891)
at
org.apache.atlas.repository.store.graph.v1.EntityGraphMapper.mapToVertexByTypeCategory(EntityGraphMapper.java:471)
at
org.apache.atlas.repository.store.graph.v1.EntityGraphMapper.mapAttribute(EntityGraphMapper.java:369)
at
org.apache.atlas.repository.store.graph.v1.EntityGraphMapper.mapRelationshipAttributes(EntityGraphMapper.java:337)
at
org.apache.atlas.repository.store.graph.v1.EntityGraphMapper.mapAttributesAndClassifications(EntityGraphMapper.java:206)
at
org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1.createOrUpdate(AtlasEntityStoreV1.java:642)
at
org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1.createOrUpdateForImport(AtlasEntityStoreV1.java:173)
at
org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:60)
at
org.apache.atlas.repository.store.graph.v1.BulkImporterImpl.bulkImport(BulkImporterImpl.java:83)
at
org.apache.atlas.repository.impexp.ImportService.processEntities(ImportService.java:161)
at
org.apache.atlas.repository.impexp.ImportService.run(ImportService.java:82)
at
org.apache.atlas.repository.impexp.ZipFileResourceTestUtils.runImportWithParameters(ZipFileResourceTestUtils.java:231)
at
org.apache.atlas.repository.impexp.ImportServiceTest.importDB7(ImportServiceTest.java:310)
importDB8(org.apache.atlas.repository.impexp.ImportServiceTest) Time elapsed:
0.381 sec <<< FAILURE!
org.apache.atlas.exception.AtlasBaseException: java.lang.NullPointerException
at
org.apache.atlas.repository.graph.GraphHelper.lambda$sortRelationshipElements$0(GraphHelper.java:1640)
at java.util.TimSort.countRunAndMakeAscending(TimSort.java:355)
at java.util.TimSort.sort(TimSort.java:220)
at java.util.Arrays.sort(Arrays.java:1512)
at java.util.ArrayList.sort(ArrayList.java:1462)
at java.util.Collections.sort(Collections.java:175)
at
org.apache.atlas.repository.graph.GraphHelper.sortRelationshipElements(GraphHelper.java:1636)
at
org.apache.atlas.repository.graph.GraphHelper.getArrayElementsUsingRelationship(GraphHelper.java:1629)
at
org.apache.atlas.repository.store.graph.v1.EntityGraphMapper.mapArrayValue(EntityGraphMapper.java:891)
at
org.apache.atlas.repository.store.graph.v1.EntityGraphMapper.mapToVertexByTypeCategory(EntityGraphMapper.java:471)
at
org.apache.atlas.repository.store.graph.v1.EntityGraphMapper.mapAttribute(EntityGraphMapper.java:369)
at
org.apache.atlas.repository.store.graph.v1.EntityGraphMapper.mapRelationshipAttributes(EntityGraphMapper.java:337)
at
org.apache.atlas.repository.store.graph.v1.EntityGraphMapper.mapAttributesAndClassifications(EntityGraphMapper.java:206)
at
org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1.createOrUpdate(AtlasEntityStoreV1.java:642)
at
org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1.createOrUpdateForImport(AtlasEntityStoreV1.java:173)
at
org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:60)
at
org.apache.atlas.repository.store.graph.v1.BulkImporterImpl.bulkImport(BulkImporterImpl.java:83)
at
org.apache.atlas.repository.impexp.ImportService.processEntities(ImportService.java:161)
at
org.apache.atlas.repository.impexp.ImportService.run(ImportService.java:82)
at
org.apache.atlas.repository.impexp.ZipFileResourceTestUtils.runImportWithParameters(ZipFileResourceTestUtils.java:231)
at
org.apache.atlas.repository.impexp.ImportServiceTest.importDB8(ImportServiceTest.java:297)
Tests run: 246, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 165.263 sec -
in org.apache.atlas.query.DSLQueriesTest
Results :
Failed tests:
ImportServiceTest.importCTAS:194 » AtlasBase java.lang.NullPointerException
ImportServiceTest.importDB7:310 » AtlasBase java.lang.NullPointerException
ImportServiceTest.importDB8:297 » AtlasBase java.lang.NullPointerException
AtlasEntityStoreV1Test.testArrayOfStructs:495->validateEntity:1039->validateEntity:1057->validateAttribute:1105->validateAttribute:1113->validateEntity:1057->validateAttribute:1071
expected [part1] but found [part0]
AtlasEntityStoreV1Test.testMapOfPrimitivesUpdate:467->validateMutationResponse:1035
expected [1] but found [2]
AtlasEntityStoreV1Test.testUpdateEntityWithMap:409 » NullPointer
InverseReferenceUpdateHardDeleteV1Test>InverseReferenceUpdateV1Test.testInverseReferenceAutoUpdate_Map:354->verify_testInverseReferenceAutoUpdate_Map:71->InverseReferenceUpdateV1Test.verifyReferenceValue:362
expected [null] but found
[AtlasObjectId{guid='b444a51c-1c77-4b47-a5e9-104b83ac9d12', typeName='A',
uniqueAttributes={}}]
InverseReferenceUpdateHardDeleteV1Test>InverseReferenceUpdateV1Test.testInverseReferenceAutoUpdate_NonCompositeManyToOne:195
expected [4] but found [2]
InverseReferenceUpdateHardDeleteV1Test>InverseReferenceUpdateV1Test.testInverseReferenceAutoUpdate_NonComposite_OneToMany:141->verify_testInverseReferenceAutoUpdate_NonComposite_OneToMany:42->InverseReferenceUpdateV1Test.verifyReferenceList:375
expected [1] but found [2]
InverseReferenceUpdateHardDeleteV1Test>InverseReferenceUpdateV1Test.testInverseReferenceAutoUpdate_NonComposite_OneToOne:255->verify_testInverseReferenceAutoUpdate_NonComposite_OneToOne:58->InverseReferenceUpdateV1Test.verifyReferenceValue:362
expected [null] but found
[AtlasObjectId{guid='c65adf53-b544-4275-be8a-832b86cdd7b1', typeName='B',
uniqueAttributes={}}]
InverseReferenceUpdateSoftDeleteV1Test>InverseReferenceUpdateV1Test.testInverseReferenceAutoUpdate_NonCompositeManyToOne:195
expected [4] but found [2]
Tests run: 542, Failures: 11, Errors: 0, Skipped: 18
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Atlas Server Build Tools .................... SUCCESS [ 0.857 s]
[INFO] apache-atlas ....................................... SUCCESS [ 5.078 s]
[INFO] Apache Atlas Test Utility Tools .................... SUCCESS [ 7.467 s]
[INFO] Open Connector Framework (OCF) ..................... SUCCESS [ 2.044 s]
[INFO] Open Metadata Repository Services (OMRS) ........... SUCCESS [ 7.221 s]
[INFO] Open Metadata and Governance (OMAG) Server APIs .... SUCCESS [ 1.027 s]
[INFO] Connected Asset Open Metadata Access Service (OMAS) SUCCESS [ 1.150 s]
[INFO] Asset Consumer Open Metadata Access Service (OMAS) . SUCCESS [ 1.140 s]
[INFO] Open Metadata and Governance (OMAG) Server ......... SUCCESS [ 0.927 s]
[INFO] Apache Atlas Integration ........................... SUCCESS [ 40.590 s]
[INFO] Apache Atlas Common ................................ SUCCESS [ 2.416 s]
[INFO] Apache Atlas Client ................................ SUCCESS [ 0.216 s]
[INFO] atlas-client-common ................................ SUCCESS [ 0.780 s]
[INFO] atlas-client-v1 .................................... SUCCESS [ 2.788 s]
[INFO] Apache Atlas Server API ............................ SUCCESS [ 0.868 s]
[INFO] Apache Atlas Notification .......................... SUCCESS [ 19.604 s]
[INFO] atlas-client-v2 .................................... SUCCESS [ 0.751 s]
[INFO] Apache Atlas Graph Database Projects ............... SUCCESS [ 0.094 s]
[INFO] Apache Atlas Graph Database API .................... SUCCESS [ 0.724 s]
[INFO] Graph Database Common Code ......................... SUCCESS [ 0.817 s]
[INFO] Apache Atlas JanusGraph DB Impl .................... SUCCESS [02:19 min]
[INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [ 2.070
s]
[INFO] Shaded version of Apache hbase client .............. SUCCESS [ 8.530 s]
[INFO] Shaded version of Apache hbase server .............. SUCCESS [ 25.472 s]
[INFO] Apache Atlas Authorization ......................... SUCCESS [ 2.700 s]
[INFO] Apache Atlas Repository ............................ FAILURE [03:04 min]
[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 Kafka Bridge .......................... SKIPPED
[INFO] Apache Atlas Distribution .......................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 07:40 min
[INFO] Finished at: 2018-05-04T21:37:29Z
[INFO] Final Memory: 146M/1529M
[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/PreCommit-ATLAS-Build-Test/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
{color:red}-1 overall{color}.
{color:green}+1 @author{color}. The patch does not contain any @author
tags.
Console output:
https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/347//console
This message is automatically generated.
======================================================================
======================================================================
Adding comment to Jira.
======================================================================
======================================================================
======================================================================
======================================================================
Finished build.
======================================================================
======================================================================
+ EXIT_CODE=1
+ '[' -d
<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/../atlas_patchprocess_22958>
']'
+ '[' -d
<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/atlas_patchprocess_22958>
']'
+ mv
<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/atlas_patchprocess_22958>
<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/patchprocess>
+ rm -f
<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/../atlas_patchprocess_22958>
+ exit 1
Build step 'Execute shell' marked build as failure
Set build name.
New build name is
'#347-master-0001-Use-relationships-to-retrieve-array-elements-propert.6-rebased.patch'
Archiving artifacts