git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Build failed in Jenkins: PreCommit-ATLAS-Build-Test #350-master-0001-Use-relationships-to-retrieve-array-elements-propert.6-rebased.patch


See <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/350/display/redirect>

------------------------------------------
[...truncated 241.80 KB...]
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1199)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1124)
	at org.testng.TestNG.run(TestNG.java:1032)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:115)
	at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeSingleClass(TestNGDirectoryTestSuite.java:129)
	at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:113)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)

Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 56.807 sec - in org.apache.atlas.repository.userprofile.UserProfileServiceTest
Tests run: 11, Failures: 0, Errors: 0, Skipped: 11, Time elapsed: 55.938 sec - in org.apache.atlas.repository.tagpropagation.ClassificationPropagationTest
Tests run: 35, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 62.147 sec - in org.apache.atlas.glossary.GlossaryServiceTest
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 62.423 sec - in org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 62.482 sec - in org.apache.atlas.repository.migration.PathTest
Tests run: 16, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 62.8 sec <<< FAILURE! - in org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test
testArrayOfStructs(org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test)  Time elapsed: 0.073 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)

testUpdateEntityWithMap(org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test)  Time elapsed: 0.402 sec  <<< FAILURE!
java.lang.NullPointerException: null
	at org.apache.atlas.repository.graph.GraphHelper.lambda$sortRelationshipElements$0(GraphHelper.java:1640)
	at java.util.TimSort.binarySort(TimSort.java:296)
	at java.util.TimSort.sort(TimSort.java:221)
	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: 72.428 sec - in org.apache.atlas.repository.migration.HiveStocksTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 72.837 sec - in org.apache.atlas.repository.migration.HiveParititionTest
Tests run: 14, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 71.3 sec <<< FAILURE! - in org.apache.atlas.repository.impexp.ImportServiceTest
importCTAS(org.apache.atlas.repository.impexp.ImportServiceTest)  Time elapsed: 17.682 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.427 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.303 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: 134.955 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.testUpdateEntityWithMap:409 » NullPointer
  InverseReferenceUpdateHardDeleteV1Test>InverseReferenceUpdateV1Test.testInverseReferenceAutoUpdate_NonCompositeManyToOne:195 expected [4] but found [2]
  InverseReferenceUpdateSoftDeleteV1Test>InverseReferenceUpdateV1Test.testInverseReferenceAutoUpdate_NonCompositeManyToOne:195 expected [4] but found [2]

Tests run: 541, Failures: 7, Errors: 0, Skipped: 11

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Atlas Server Build Tools .................... SUCCESS [  0.626 s]
[INFO] apache-atlas ....................................... SUCCESS [  3.543 s]
[INFO] Apache Atlas Test Utility Tools .................... SUCCESS [  4.204 s]
[INFO] Open Connector Framework (OCF) ..................... SUCCESS [  1.664 s]
[INFO] Open Metadata Repository Services (OMRS) ........... SUCCESS [  4.947 s]
[INFO] Open Metadata and Governance (OMAG) Server APIs .... SUCCESS [  0.922 s]
[INFO] Connected Asset Open Metadata Access Service (OMAS)  SUCCESS [  1.023 s]
[INFO] Asset Consumer Open Metadata Access Service (OMAS) . SUCCESS [  0.862 s]
[INFO] Open Metadata and Governance (OMAG) Server ......... SUCCESS [  0.735 s]
[INFO] Apache Atlas Integration ........................... SUCCESS [ 31.297 s]
[INFO] Apache Atlas Common ................................ SUCCESS [  2.205 s]
[INFO] Apache Atlas Client ................................ SUCCESS [  0.155 s]
[INFO] atlas-client-common ................................ SUCCESS [  0.753 s]
[INFO] atlas-client-v1 .................................... SUCCESS [  2.789 s]
[INFO] Apache Atlas Server API ............................ SUCCESS [  0.863 s]
[INFO] Apache Atlas Notification .......................... SUCCESS [ 14.856 s]
[INFO] atlas-client-v2 .................................... SUCCESS [  0.802 s]
[INFO] Apache Atlas Graph Database Projects ............... SUCCESS [  0.100 s]
[INFO] Apache Atlas Graph Database API .................... SUCCESS [  0.692 s]
[INFO] Graph Database Common Code ......................... SUCCESS [  0.713 s]
[INFO] Apache Atlas JanusGraph DB Impl .................... SUCCESS [01:57 min]
[INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [  1.951 s]
[INFO] Shaded version of Apache hbase client .............. SUCCESS [  7.501 s]
[INFO] Shaded version of Apache hbase server .............. SUCCESS [ 19.982 s]
[INFO] Apache Atlas Authorization ......................... SUCCESS [  2.624 s]
[INFO] Apache Atlas Repository ............................ FAILURE [02:24 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: 06:08 min
[INFO] Finished at: 2018-05-04T23:33:42Z
[INFO] Final Memory: 145M/2591M
[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/350//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_3852> ']'
+ '[' -d <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/atlas_patchprocess_3852> ']'
+ mv <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/atlas_patchprocess_3852> <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_3852>
+ exit 1
Build step 'Execute shell' marked build as failure
Set build name.
New build name is '#350-master-0001-Use-relationships-to-retrieve-array-elements-propert.6-rebased.patch'
Archiving artifacts