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/05/09 07:58:03 UTC
Build failed in Jenkins: PreCommit-ATLAS-Build-Test
#361-master-ATLAS-2662.1.patch
See <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/361/display/redirect>
------------------------------------------
[...truncated 234.88 KB...]
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 54.395 sec - in org.apache.atlas.repository.store.graph.v1.AtlasEntityDefStoreV1Test
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 57.949 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipDefStoreV1Test
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 66.417 sec - in org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateSoftDeleteV1Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 73.805 sec - in org.apache.atlas.repository.migration.RelationshipMappingTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 78.158 sec - in org.apache.atlas.repository.userprofile.UserProfileServiceTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 78.007 sec - in org.apache.atlas.repository.impexp.ExportServiceTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 77.768 sec - in org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateHardDeleteV1Test
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 77.187 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreSoftDeleteV1Test
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 78.856 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreHardDeleteV1Test
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 79.365 sec - in org.apache.atlas.repository.store.graph.v1.AtlasComplexAttributesTest
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 85.273 sec - in org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
Tests run: 11, Failures: 0, Errors: 0, Skipped: 11, Time elapsed: 81.181 sec - in org.apache.atlas.repository.tagpropagation.ClassificationPropagationTest
Tests run: 35, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 84.438 sec - in org.apache.atlas.glossary.GlossaryServiceTest
Tests run: 16, Failures: 3, Errors: 0, Skipped: 8, Time elapsed: 88.038 sec <<< FAILURE! - in org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test
testCheckOptionalAttrValueRetention(org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test) Time elapsed: 0.215 sec <<< FAILURE!
java.lang.AssertionError: expected [{param1=val1, param2=val2}] but found [null]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:496)
at org.testng.Assert.assertEquals(Assert.java:116)
at org.testng.Assert.assertEquals(Assert.java:167)
at org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test.testCheckOptionalAttrValueRetention(AtlasEntityStoreV1Test.java:560)
testCreate(org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test) Time elapsed: 1.019 sec <<< FAILURE!
java.lang.AssertionError: 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.testng.Assert.assertTrue(Assert.java:52)
at org.apache.atlas.repository.store.graph.v1.AtlasEntityTestBase.validateAttribute(AtlasEntityTestBase.java:185)
at org.apache.atlas.repository.store.graph.v1.AtlasEntityTestBase.validateEntity(AtlasEntityTestBase.java:161)
at org.apache.atlas.repository.store.graph.v1.AtlasEntityTestBase.validateEntity(AtlasEntityTestBase.java:143)
at org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test.testCreate(AtlasEntityStoreV1Test.java:176)
testPartialUpdateAttr(org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test) Time elapsed: 0.286 sec <<< FAILURE!
java.lang.NullPointerException: null
at java.lang.Integer.compareTo(Integer.java:1216)
at org.apache.atlas.repository.graph.GraphHelper.lambda$sortRelationshipElements$0(GraphHelper.java:1657)
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:1653)
at org.apache.atlas.repository.graph.GraphHelper.getCollectionElementsUsingRelationship(GraphHelper.java:1645)
at org.apache.atlas.repository.store.graph.v1.EntityGraphMapper.mapArrayValue(EntityGraphMapper.java:877)
at org.apache.atlas.repository.store.graph.v1.EntityGraphMapper.mapToVertexByTypeCategory(EntityGraphMapper.java:470)
at org.apache.atlas.repository.store.graph.v1.EntityGraphMapper.mapAttribute(EntityGraphMapper.java:368)
at org.apache.atlas.repository.store.graph.v1.EntityGraphMapper.mapAttributes(EntityGraphMapper.java:299)
at org.apache.atlas.repository.store.graph.v1.EntityGraphMapper.mapAttributesAndClassifications(EntityGraphMapper.java:207)
at org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1.createOrUpdate(AtlasEntityStoreV1.java:625)
at org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1.createOrUpdate(AtlasEntityStoreV1.java:167)
at org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test.testPartialUpdateAttr(AtlasEntityStoreV1Test.java:735)
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 96.829 sec - in org.apache.atlas.repository.migration.HiveParititionTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 97.405 sec - in org.apache.atlas.repository.migration.PathTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 98.112 sec - in org.apache.atlas.repository.migration.HiveStocksTest
Tests run: 14, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 102.369 sec <<< FAILURE! - in org.apache.atlas.repository.impexp.ImportServiceTest
importCTAS(org.apache.atlas.repository.impexp.ImportServiceTest) Time elapsed: 25.226 sec <<< FAILURE!
org.apache.atlas.exception.AtlasBaseException: java.lang.NullPointerException
at org.apache.atlas.repository.graph.GraphHelper.lambda$sortRelationshipElements$0(GraphHelper.java:1657)
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:1653)
at org.apache.atlas.repository.graph.GraphHelper.getCollectionElementsUsingRelationship(GraphHelper.java:1645)
at org.apache.atlas.repository.store.graph.v1.EntityGraphMapper.mapArrayValue(EntityGraphMapper.java:877)
at org.apache.atlas.repository.store.graph.v1.EntityGraphMapper.mapToVertexByTypeCategory(EntityGraphMapper.java:470)
at org.apache.atlas.repository.store.graph.v1.EntityGraphMapper.mapAttribute(EntityGraphMapper.java:368)
at org.apache.atlas.repository.store.graph.v1.EntityGraphMapper.mapAttributes(EntityGraphMapper.java:299)
at org.apache.atlas.repository.store.graph.v1.EntityGraphMapper.mapAttributesAndClassifications(EntityGraphMapper.java:207)
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.416 sec <<< FAILURE!
org.apache.atlas.exception.AtlasBaseException: java.lang.NullPointerException
at org.apache.atlas.repository.graph.GraphHelper.lambda$sortRelationshipElements$0(GraphHelper.java:1657)
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:1653)
at org.apache.atlas.repository.graph.GraphHelper.getCollectionElementsUsingRelationship(GraphHelper.java:1645)
at org.apache.atlas.repository.store.graph.v1.EntityGraphMapper.mapArrayValue(EntityGraphMapper.java:877)
at org.apache.atlas.repository.store.graph.v1.EntityGraphMapper.mapToVertexByTypeCategory(EntityGraphMapper.java:470)
at org.apache.atlas.repository.store.graph.v1.EntityGraphMapper.mapAttribute(EntityGraphMapper.java:368)
at org.apache.atlas.repository.store.graph.v1.EntityGraphMapper.mapRelationshipAttributes(EntityGraphMapper.java:336)
at org.apache.atlas.repository.store.graph.v1.EntityGraphMapper.mapAttributesAndClassifications(EntityGraphMapper.java:205)
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.323 sec <<< FAILURE!
org.apache.atlas.exception.AtlasBaseException: java.lang.NullPointerException
at org.apache.atlas.repository.graph.GraphHelper.lambda$sortRelationshipElements$0(GraphHelper.java:1657)
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:1653)
at org.apache.atlas.repository.graph.GraphHelper.getCollectionElementsUsingRelationship(GraphHelper.java:1645)
at org.apache.atlas.repository.store.graph.v1.EntityGraphMapper.mapArrayValue(EntityGraphMapper.java:877)
at org.apache.atlas.repository.store.graph.v1.EntityGraphMapper.mapToVertexByTypeCategory(EntityGraphMapper.java:470)
at org.apache.atlas.repository.store.graph.v1.EntityGraphMapper.mapAttribute(EntityGraphMapper.java:368)
at org.apache.atlas.repository.store.graph.v1.EntityGraphMapper.mapRelationshipAttributes(EntityGraphMapper.java:336)
at org.apache.atlas.repository.store.graph.v1.EntityGraphMapper.mapAttributesAndClassifications(EntityGraphMapper.java:205)
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: 159.369 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.testCheckOptionalAttrValueRetention:560 expected [{param1=val1, param2=val2}] but found [null]
AtlasEntityStoreV1Test.testCreate:176->AtlasEntityTestBase.validateEntity:143->AtlasEntityTestBase.validateEntity:161->AtlasEntityTestBase.validateAttribute:185 expected [true] but found [false]
AtlasEntityStoreV1Test.testPartialUpdateAttr:735 » NullPointer
Tests run: 547, Failures: 6, Errors: 0, Skipped: 19
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Atlas Server Build Tools .................... SUCCESS [ 0.665 s]
[INFO] apache-atlas ....................................... SUCCESS [ 3.655 s]
[INFO] Apache Atlas Test Utility Tools .................... SUCCESS [ 4.934 s]
[INFO] Open Connector Framework (OCF) ..................... SUCCESS [ 1.860 s]
[INFO] Open Metadata Repository Services (OMRS) ........... SUCCESS [ 5.694 s]
[INFO] Open Metadata and Governance (OMAG) Server APIs .... SUCCESS [ 1.033 s]
[INFO] Connected Asset Open Metadata Access Service (OMAS) SUCCESS [ 1.286 s]
[INFO] Asset Consumer Open Metadata Access Service (OMAS) . SUCCESS [ 1.033 s]
[INFO] Open Metadata and Governance (OMAG) Server ......... SUCCESS [ 0.800 s]
[INFO] Apache Atlas Integration ........................... SUCCESS [ 44.439 s]
[INFO] Apache Atlas Common ................................ SUCCESS [ 2.432 s]
[INFO] Apache Atlas Client ................................ SUCCESS [ 0.136 s]
[INFO] atlas-client-common ................................ SUCCESS [ 0.734 s]
[INFO] atlas-client-v1 .................................... SUCCESS [ 2.618 s]
[INFO] Apache Atlas Server API ............................ SUCCESS [ 0.757 s]
[INFO] Apache Atlas Notification .......................... SUCCESS [ 15.951 s]
[INFO] atlas-client-v2 .................................... SUCCESS [ 0.863 s]
[INFO] Apache Atlas Graph Database Projects ............... SUCCESS [ 0.124 s]
[INFO] Apache Atlas Graph Database API .................... SUCCESS [ 0.676 s]
[INFO] Graph Database Common Code ......................... SUCCESS [ 0.823 s]
[INFO] Apache Atlas JanusGraph DB Impl .................... SUCCESS [02:32 min]
[INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [ 1.933 s]
[INFO] Shaded version of Apache hbase client .............. SUCCESS [ 7.328 s]
[INFO] Shaded version of Apache hbase server .............. SUCCESS [ 20.330 s]
[INFO] Apache Atlas Authorization ......................... SUCCESS [ 2.296 s]
[INFO] Apache Atlas Repository ............................ FAILURE [02:56 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:32 min
[INFO] Finished at: 2018-05-09T07:58:01Z
[INFO] Final Memory: 151M/1917M
[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/361//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_18162> ']'
+ '[' -d <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/atlas_patchprocess_18162> ']'
+ mv <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/atlas_patchprocess_18162> <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_18162>
+ exit 1
Build step 'Execute shell' marked build as failure
Set build name.
New build name is '#361-master-ATLAS-2662.1.patch'
Archiving artifacts
Jenkins build is back to normal : PreCommit-ATLAS-Build-Test
#362-master-KafkaTest.patch
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/362/display/redirect>