git.net

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

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


See <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/353/display/redirect?page=changes>

Changes:

[ssubramanian] ATLAS-2565: Remove REST API to disable propagated classification in

[ssubramanian] ATLAS-2651: Tag Propagation , Deleted Entities : Relationships having

------------------------------------------
[...truncated 241.91 KB...]
	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: 86.686 sec - in org.apache.atlas.repository.impexp.ExportServiceTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 86.359 sec - in org.apache.atlas.repository.userprofile.UserProfileServiceTest
Tests run: 11, Failures: 0, Errors: 0, Skipped: 11, Time elapsed: 88.497 sec - in org.apache.atlas.repository.tagpropagation.ClassificationPropagationTest
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 97.106 sec - in org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
Tests run: 16, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 96.454 sec <<< FAILURE! - in org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test
testArrayOfStructs(org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test)  Time elapsed: 0.131 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.521 sec  <<< FAILURE!
java.lang.NullPointerException: null
	at org.apache.atlas.repository.graph.GraphHelper.lambda$sortRelationshipElements$0(GraphHelper.java:1626)
	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:1622)
	at org.apache.atlas.repository.graph.GraphHelper.getArrayElementsUsingRelationship(GraphHelper.java:1615)
	at org.apache.atlas.repository.graph.GraphHelper.getArrayElementsProperty(GraphHelper.java:1598)
	at org.apache.atlas.repository.store.graph.v1.EntityGraphRetriever.mapVertexToArray(EntityGraphRetriever.java:669)
	at org.apache.atlas.repository.store.graph.v1.EntityGraphRetriever.mapVertexToAttribute(EntityGraphRetriever.java:618)
	at org.apache.atlas.repository.store.graph.v1.EntityGraphRetriever.mapAttributes(EntityGraphRetriever.java:476)
	at org.apache.atlas.repository.store.graph.v1.EntityGraphRetriever.mapVertexToAtlasEntity(EntityGraphRetriever.java:361)
	at org.apache.atlas.repository.store.graph.v1.EntityGraphRetriever.toAtlasEntity(EntityGraphRetriever.java:147)
	at org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1.createOrUpdate(AtlasEntityStoreV1.java:597)
	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: 35, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 98.617 sec - in org.apache.atlas.glossary.GlossaryServiceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 102.75 sec - in org.apache.atlas.repository.migration.PathTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 104.88 sec - in org.apache.atlas.repository.migration.HiveParititionTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 105.315 sec - in org.apache.atlas.repository.migration.HiveStocksTest
Tests run: 14, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 111.121 sec <<< FAILURE! - in org.apache.atlas.repository.impexp.ImportServiceTest
importCTAS(org.apache.atlas.repository.impexp.ImportServiceTest)  Time elapsed: 26.834 sec  <<< FAILURE!
org.apache.atlas.exception.AtlasBaseException: java.lang.NullPointerException
	at org.apache.atlas.repository.graph.GraphHelper.lambda$sortRelationshipElements$0(GraphHelper.java:1626)
	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:1622)
	at org.apache.atlas.repository.graph.GraphHelper.getArrayElementsUsingRelationship(GraphHelper.java:1615)
	at org.apache.atlas.repository.store.graph.v1.EntityGraphMapper.mapArrayValue(EntityGraphMapper.java:885)
	at org.apache.atlas.repository.store.graph.v1.EntityGraphMapper.mapToVertexByTypeCategory(EntityGraphMapper.java:465)
	at org.apache.atlas.repository.store.graph.v1.EntityGraphMapper.mapAttribute(EntityGraphMapper.java:363)
	at org.apache.atlas.repository.store.graph.v1.EntityGraphMapper.mapAttributes(EntityGraphMapper.java:294)
	at org.apache.atlas.repository.store.graph.v1.EntityGraphMapper.mapAttributesAndClassifications(EntityGraphMapper.java:202)
	at org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1.createOrUpdate(AtlasEntityStoreV1.java:625)
	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.595 sec  <<< FAILURE!
org.apache.atlas.exception.AtlasBaseException: java.lang.NullPointerException
	at org.apache.atlas.repository.graph.GraphHelper.lambda$sortRelationshipElements$0(GraphHelper.java:1626)
	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:1622)
	at org.apache.atlas.repository.graph.GraphHelper.getArrayElementsUsingRelationship(GraphHelper.java:1615)
	at org.apache.atlas.repository.store.graph.v1.EntityGraphMapper.mapArrayValue(EntityGraphMapper.java:885)
	at org.apache.atlas.repository.store.graph.v1.EntityGraphMapper.mapToVertexByTypeCategory(EntityGraphMapper.java:465)
	at org.apache.atlas.repository.store.graph.v1.EntityGraphMapper.mapAttribute(EntityGraphMapper.java:363)
	at org.apache.atlas.repository.store.graph.v1.EntityGraphMapper.mapRelationshipAttributes(EntityGraphMapper.java:331)
	at org.apache.atlas.repository.store.graph.v1.EntityGraphMapper.mapAttributesAndClassifications(EntityGraphMapper.java:200)
	at org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1.createOrUpdate(AtlasEntityStoreV1.java:625)
	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.376 sec  <<< FAILURE!
org.apache.atlas.exception.AtlasBaseException: java.lang.NullPointerException
	at org.apache.atlas.repository.graph.GraphHelper.lambda$sortRelationshipElements$0(GraphHelper.java:1626)
	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:1622)
	at org.apache.atlas.repository.graph.GraphHelper.getArrayElementsUsingRelationship(GraphHelper.java:1615)
	at org.apache.atlas.repository.store.graph.v1.EntityGraphMapper.mapArrayValue(EntityGraphMapper.java:885)
	at org.apache.atlas.repository.store.graph.v1.EntityGraphMapper.mapToVertexByTypeCategory(EntityGraphMapper.java:465)
	at org.apache.atlas.repository.store.graph.v1.EntityGraphMapper.mapAttribute(EntityGraphMapper.java:363)
	at org.apache.atlas.repository.store.graph.v1.EntityGraphMapper.mapRelationshipAttributes(EntityGraphMapper.java:331)
	at org.apache.atlas.repository.store.graph.v1.EntityGraphMapper.mapAttributesAndClassifications(EntityGraphMapper.java:200)
	at org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1.createOrUpdate(AtlasEntityStoreV1.java:625)
	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: 168.732 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.621 s]
[INFO] apache-atlas ....................................... SUCCESS [  3.296 s]
[INFO] Apache Atlas Test Utility Tools .................... SUCCESS [  4.399 s]
[INFO] Open Connector Framework (OCF) ..................... SUCCESS [  1.897 s]
[INFO] Open Metadata Repository Services (OMRS) ........... SUCCESS [  5.689 s]
[INFO] Open Metadata and Governance (OMAG) Server APIs .... SUCCESS [  1.076 s]
[INFO] Connected Asset Open Metadata Access Service (OMAS)  SUCCESS [  1.151 s]
[INFO] Asset Consumer Open Metadata Access Service (OMAS) . SUCCESS [  1.087 s]
[INFO] Open Metadata and Governance (OMAG) Server ......... SUCCESS [  0.798 s]
[INFO] Apache Atlas Integration ........................... SUCCESS [ 39.684 s]
[INFO] Apache Atlas Common ................................ SUCCESS [  2.250 s]
[INFO] Apache Atlas Client ................................ SUCCESS [  0.125 s]
[INFO] atlas-client-common ................................ SUCCESS [  0.742 s]
[INFO] atlas-client-v1 .................................... SUCCESS [  2.605 s]
[INFO] Apache Atlas Server API ............................ SUCCESS [  0.812 s]
[INFO] Apache Atlas Notification .......................... SUCCESS [ 15.769 s]
[INFO] atlas-client-v2 .................................... SUCCESS [  0.678 s]
[INFO] Apache Atlas Graph Database Projects ............... SUCCESS [  0.091 s]
[INFO] Apache Atlas Graph Database API .................... SUCCESS [  0.622 s]
[INFO] Graph Database Common Code ......................... SUCCESS [  0.784 s]
[INFO] Apache Atlas JanusGraph DB Impl .................... SUCCESS [02:22 min]
[INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [  1.896 s]
[INFO] Shaded version of Apache hbase client .............. SUCCESS [  7.526 s]
[INFO] Shaded version of Apache hbase server .............. SUCCESS [ 20.594 s]
[INFO] Apache Atlas Authorization ......................... SUCCESS [  2.408 s]
[INFO] Apache Atlas Repository ............................ FAILURE [03:07 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:27 min
[INFO] Finished at: 2018-05-07T21:13:50Z
[INFO] Final Memory: 151M/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/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/353//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_13940> ']'
+ '[' -d <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/atlas_patchprocess_13940> ']'
+ mv <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/atlas_patchprocess_13940> <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_13940>
+ exit 1
Build step 'Execute shell' marked build as failure
Set build name.
New build name is '#353-master-0001-Use-relationships-to-retrieve-array-elements-propert.6-rebased1.patch'
Archiving artifacts