See
<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/107/display/redirect>
------------------------------------------
[...truncated 335.18 KB...]
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
at org.testng.SuiteRunner.run(SuiteRunner.java:259)
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)
testLowerBoundsIgnoredWhenDeletingCompositeEntitesOwnedByMap(org.apache.atlas.repository.store.graph.v1.SoftDeleteHandlerV1Test)
Time elapsed: 2.681 sec <<< FAILURE!
org.apache.atlas.exception.AtlasBaseException: Cannot unset required attribute
MapValueReferencer.refToMapValue on v[19456], Properties[__version=[0],
__modifiedBy=[testUser], __state=[ACTIVE], __createdBy=[testUser],
__typeName=[MapValueReferencer], __modificationTimestamp=[1519166927145],
__guid=[e6ba078f-06e7-4a0f-ac12-aebc4094d383], __timestamp=[1519166926372], ]
edge = __MapValueReferencer.refToMapValue
at
org.apache.atlas.repository.store.graph.v1.DeleteHandlerV1.deleteEdgeBetweenVertices(DeleteHandlerV1.java:439)
at
org.apache.atlas.repository.store.graph.v1.DeleteHandlerV1.deleteVertex(DeleteHandlerV1.java:553)
at
org.apache.atlas.repository.store.graph.v1.DeleteHandlerV1.deleteTypeVertex(DeleteHandlerV1.java:359)
at
org.apache.atlas.repository.store.graph.v1.DeleteHandlerV1.deleteEntities(DeleteHandlerV1.java:123)
at
org.apache.atlas.repository.store.graph.v1.DeleteHandlerV1.deleteTypeVertex(DeleteHandlerV1.java:281)
at
org.apache.atlas.repository.store.graph.v1.DeleteHandlerV1.deleteEdgeReference(DeleteHandlerV1.java:239)
at
org.apache.atlas.repository.store.graph.v1.DeleteHandlerV1.deleteEdgeReference(DeleteHandlerV1.java:366)
at
org.apache.atlas.repository.store.graph.v1.DeleteHandlerV1.deleteTypeVertex(DeleteHandlerV1.java:351)
at
org.apache.atlas.repository.store.graph.v1.DeleteHandlerV1.deleteEntities(DeleteHandlerV1.java:123)
at
org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1.deleteVertices(AtlasEntityStoreV1.java:595)
at
org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1.deleteByIds(AtlasEntityStoreV1.java:347)
at
org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:60)
at
org.apache.atlas.repository.store.graph.v1.AtlasDeleteHandlerV1Test.testLowerBoundsIgnoredWhenDeletingCompositeEntitesOwnedByMap(AtlasDeleteHandlerV1Test.java:1072)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:659)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:845)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1153)
at
org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
at org.testng.TestRunner.privateRun(TestRunner.java:771)
at org.testng.TestRunner.run(TestRunner.java:621)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
at org.testng.SuiteRunner.run(SuiteRunner.java:259)
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)
testUpdateEntity_MultiplicityOneNonCompositeReference(org.apache.atlas.repository.store.graph.v1.SoftDeleteHandlerV1Test)
Time elapsed: 0.287 sec <<< FAILURE!
java.lang.NullPointerException: null
at
org.apache.atlas.type.AtlasTypeUtil.getAtlasObjectId(AtlasTypeUtil.java:328)
at
org.apache.atlas.repository.store.graph.v1.AtlasDeleteHandlerV1Test.testUpdateEntity_MultiplicityOneNonCompositeReference(AtlasDeleteHandlerV1Test.java:360)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:659)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:845)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1153)
at
org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
at org.testng.TestRunner.privateRun(TestRunner.java:771)
at org.testng.TestRunner.run(TestRunner.java:621)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
at org.testng.SuiteRunner.run(SuiteRunner.java:259)
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: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 75.907 sec - in
org.apache.atlas.service.StoreBackedTypeCacheMetadataServiceTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 80.595 sec -
in org.apache.atlas.repository.impexp.ExportServiceTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 81.105 sec - in
org.apache.atlas.repository.audit.HBaseBasedAuditRepositoryTest
Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 87.616 sec <<<
FAILURE! - in org.apache.atlas.service.DefaultMetadataServiceTest
testDeleteEntityByUniqueAttribute(org.apache.atlas.service.DefaultMetadataServiceTest)
Time elapsed: 0.503 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.service.DefaultMetadataServiceTest.testDeleteEntityByUniqueAttribute(DefaultMetadataServiceTest.java:1106)
Tests run: 338, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 204.868 sec -
in org.apache.atlas.discovery.GraphBackedDiscoveryServiceTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 316.002 sec -
in org.apache.atlas.repository.graph.GraphRepoMapperScaleTest
Results :
Failed tests:
GraphBackedRepositoryHardDeleteTest>GraphBackedMetadataRepositoryDeleteTestBase.testDeleteEntities:289
expected [2] but found [1]
GraphBackedRepositoryHardDeleteTest>GraphBackedMetadataRepositoryDeleteTestBase.testDeleteEntitiesWithCompositeArrayReference:329->GraphBackedMetadataRepositoryDeleteTestBase.deleteEntities:236
» Repository
GraphBackedRepositoryHardDeleteTest>GraphBackedMetadataRepositoryDeleteTestBase.testDeleteEntitiesWithCompositeMapReference:372->GraphBackedMetadataRepositoryDeleteTestBase.deleteEntities:236
» IllegalArgument
GraphBackedRepositoryHardDeleteTest>GraphBackedMetadataRepositoryDeleteTestBase.testDeleteTargetOfMultiplicityOneRequiredReference:795->GraphBackedMetadataRepositoryDeleteTestBase.deleteEntities:236
» IllegalArgument
GraphBackedRepositoryHardDeleteTest>GraphBackedMetadataRepositoryDeleteTestBase.testDisconnectBidirectionalReferences:525
expected [true] but found [false]
GraphBackedRepositoryHardDeleteTest>GraphBackedMetadataRepositoryDeleteTestBase.testDisconnectUnidirectionalArrayReferenceFromClassType:570
expected [1] but found [2]
GraphBackedRepositoryHardDeleteTest>GraphBackedMetadataRepositoryDeleteTestBase.testLowerBoundsIgnoredOnCompositeDeletedEntities:932->GraphBackedMetadataRepositoryDeleteTestBase.deleteEntities:236
» Repository
GraphBackedRepositoryHardDeleteTest>GraphBackedMetadataRepositoryDeleteTestBase.testLowerBoundsIgnoredWhenDeletingCompositeEntitesOwnedByMap:999
» Repository
GraphBackedRepositorySoftDeleteTest>GraphBackedMetadataRepositoryDeleteTestBase.testDeleteEntitiesWithCompositeArrayReference:335
expected [true] but found [false]
GraphBackedRepositorySoftDeleteTest>GraphBackedMetadataRepositoryDeleteTestBase.testDeleteEntitiesWithCompositeMapReference:373
expected [2] but found [1]
GraphBackedRepositorySoftDeleteTest>GraphBackedMetadataRepositoryDeleteTestBase.testLowerBoundsIgnoredOnCompositeDeletedEntities:933
expected [5] but found [3]
GraphBackedRepositorySoftDeleteTest>GraphBackedMetadataRepositoryDeleteTestBase.testLowerBoundsIgnoredWhenDeletingCompositeEntitesOwnedByMap:1000
expected [4] but found [3]
AtlasEntityStoreV1Test.testArrayOfEntityUpdate:265 NullPointer
HardDeleteHandlerV1Test>AtlasDeleteHandlerV1Test.testDeleteAndCreate:167 »
NullPointer
HardDeleteHandlerV1Test>AtlasDeleteHandlerV1Test.testDeleteByUniqueAttribute:867
» NullPointer
HardDeleteHandlerV1Test>AtlasDeleteHandlerV1Test.testDeleteEntities:272 »
NullPointer
HardDeleteHandlerV1Test>AtlasDeleteHandlerV1Test.testDeleteEntitiesWithCompositeMapReference:899
» IllegalState
HardDeleteHandlerV1Test>AtlasDeleteHandlerV1Test.testDeleteReference:210 »
NullPointer
HardDeleteHandlerV1Test>AtlasDeleteHandlerV1Test.testDisconnectBidirectionalReferences:492
» NullPointer
HardDeleteHandlerV1Test>AtlasDeleteHandlerV1Test.testDisconnectUnidirectionalArrayReferenceFromStructAndTraitTypes:696
» NullPointer
HardDeleteHandlerV1Test>AtlasDeleteHandlerV1Test.testLowerBoundsIgnoredWhenDeletingCompositeEntitesOwnedByMap:1072
» AtlasBase
HardDeleteHandlerV1Test>AtlasDeleteHandlerV1Test.testUpdateEntity_MultiplicityOneNonCompositeReference:360
» NullPointer
SoftDeleteHandlerV1Test>AtlasDeleteHandlerV1Test.testDeleteAndCreate:167 »
NullPointer
SoftDeleteHandlerV1Test>AtlasDeleteHandlerV1Test.testDeleteByUniqueAttribute:867
» NullPointer
SoftDeleteHandlerV1Test>AtlasDeleteHandlerV1Test.testDeleteEntities:272 »
NullPointer
SoftDeleteHandlerV1Test>AtlasDeleteHandlerV1Test.testDeleteEntitiesWithCompositeMapReference:900
» NullPointer
SoftDeleteHandlerV1Test>AtlasDeleteHandlerV1Test.testDeleteReference:210 »
NullPointer
SoftDeleteHandlerV1Test>AtlasDeleteHandlerV1Test.testDisconnectBidirectionalReferences:492
» NullPointer
SoftDeleteHandlerV1Test>AtlasDeleteHandlerV1Test.testDisconnectUnidirectionalArrayReferenceFromStructAndTraitTypes:696
» NullPointer
SoftDeleteHandlerV1Test>AtlasDeleteHandlerV1Test.testLowerBoundsIgnoredWhenDeletingCompositeEntitesOwnedByMap:1072
» AtlasBase
SoftDeleteHandlerV1Test>AtlasDeleteHandlerV1Test.testUpdateEntity_MultiplicityOneNonCompositeReference:360
» NullPointer
DefaultMetadataServiceTest.testDeleteEntityByUniqueAttribute:1106 expected
[true] but found [false]
Tests run: 811, Failures: 32, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Atlas Server Build Tools .................... SUCCESS [ 0.596 s]
[INFO] apache-atlas ....................................... SUCCESS [ 4.781 s]
[INFO] Apache Atlas Integration ........................... SUCCESS [ 10.170 s]
[INFO] Apache Atlas Common ................................ SUCCESS [ 1.926 s]
[INFO] Apache Atlas Typesystem ............................ SUCCESS [ 32.786 s]
[INFO] Apache Atlas Client ................................ SUCCESS [ 0.191 s]
[INFO] atlas-client-common ................................ SUCCESS [ 0.605 s]
[INFO] atlas-client-v1 .................................... SUCCESS [ 3.151 s]
[INFO] Apache Atlas Server API ............................ SUCCESS [ 0.760 s]
[INFO] Apache Atlas Notification .......................... SUCCESS [ 12.474 s]
[INFO] atlas-client-v2 .................................... SUCCESS [ 0.581 s]
[INFO] Apache Atlas Graph Database Projects ............... SUCCESS [ 0.098 s]
[INFO] Apache Atlas Graph Database API .................... SUCCESS [ 0.662 s]
[INFO] Graph Database Common Code ......................... SUCCESS [ 0.643 s]
[INFO] Apache Atlas Titan 1.0.0 GraphDB Impl .............. SUCCESS [ 32.928 s]
[INFO] Shaded version of Apache hbase client .............. SUCCESS [ 6.896 s]
[INFO] Apache Atlas Titan 0.5.4 Graph DB Impl ............. SUCCESS [01:04 min]
[INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [ 0.226
s]
[INFO] Shaded version of Apache hbase server .............. SUCCESS [ 20.350 s]
[INFO] Apache Atlas Repository ............................ FAILURE [05:58 min]
[INFO] Apache Atlas Authorization ......................... SKIPPED
[INFO] Apache Atlas Business Catalog ...................... 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: 09:14 min
[INFO] Finished at: 2018-02-20T22:52:05Z
[INFO] Final Memory: 151M/2420M
[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:green}+1 overall{color}.
{color:green}+1 @author{color}. The patch does not contain any @author
tags.
Test results:
https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/107//testReport/
Console output:
https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/107//console
This message is automatically generated.
======================================================================
======================================================================
Adding comment to Jira.
======================================================================
======================================================================
======================================================================
======================================================================
Finished build.
======================================================================
======================================================================
+ EXIT_CODE=0
+ '[' -d
<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/../atlas_patchprocess_7031>
']'
+ '[' -d
<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/atlas_patchprocess_7031>
']'
+ mv
<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/atlas_patchprocess_7031>
<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_7031>
+ exit 0
[description-setter] Description set: 0001-Changes-to-ATLAS-2444-impl.patch
Set build name.
New build name is '#107-branch-0.8-0001-Changes-to-ATLAS-2444-impl.patch'
Archiving artifacts
ERROR: No artifacts found that match the file pattern "distro/target/*.tar.gz,
webapp/target/*.war". Configuration error?
ERROR: ?distro/target/*.tar.gz? doesn?t match anything: ?distro? exists but not
?distro/target/*.tar.gz?
Build step 'Archive the artifacts' changed build result to FAILURE