See <https://builds.apache.org/job/Atlas-0.8-UnitTests/184/display/redirect?page=changes>
Changes: [amestry] ATLAS-2461: Migration utility. ------------------------------------------ [...truncated 235.74 KB...] at org.apache.atlas.repository.graph.GraphBackedMetadataRepositoryDeleteTestBase.testLowerBoundsIgnoredOnCompositeDeletedEntities(GraphBackedMetadataRepositoryDeleteTestBase.java:932) 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) Caused by: org.apache.atlas.typesystem.exception.NullRequiredAttributeException: Cannot remove array element from required attribute Manager.subordinates on vertex[id=22016 type=Manager guid=6a5bd467-9f66-47f7-a3a1-215cf091ec18] edge[id=1lxc-gzk-28lx-glc label=__Manager.subordinates from vertex[id=22016 type=Manager guid=6a5bd467-9f66-47f7-a3a1-215cf091ec18] -> to vertex[id=21504 type=Person guid=ee880bf5-7bca-4234-b02b-9c4e5124438a]] at org.apache.atlas.repository.graph.DeleteHandler.deleteEdgeBetweenVertices(DeleteHandler.java:365) at org.apache.atlas.repository.graph.DeleteHandler.deleteEdge(DeleteHandler.java:273) at org.apache.atlas.repository.graph.DeleteHandler.deleteEdgeReference(DeleteHandler.java:255) at org.apache.atlas.repository.graph.DeleteHandler.deleteEdgeReference(DeleteHandler.java:264) at org.apache.atlas.repository.graph.DeleteHandler.deleteTypeVertex(DeleteHandler.java:176) at org.apache.atlas.repository.graph.DeleteHandler.deleteEntities(DeleteHandler.java:124) at org.apache.atlas.repository.graph.GraphBackedMetadataRepository.deleteEntities(GraphBackedMetadataRepository.java:485) at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.atlas.TestUtils$3.invoke(TestUtils.java:686) at com.sun.proxy.$Proxy40.deleteEntities(Unknown Source) at org.apache.atlas.repository.graph.GraphBackedMetadataRepositoryDeleteTestBase.deleteEntities(GraphBackedMetadataRepositoryDeleteTestBase.java:236) at org.apache.atlas.repository.graph.GraphBackedMetadataRepositoryDeleteTestBase.testLowerBoundsIgnoredOnCompositeDeletedEntities(GraphBackedMetadataRepositoryDeleteTestBase.java:932) 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) testLowerBoundsIgnoredWhenDeletingCompositeEntitesOwnedByMap(org.apache.atlas.repository.graph.GraphBackedRepositoryHardDeleteTest) Time elapsed: 0.395 sec <<< FAILURE! java.lang.IllegalArgumentException: Cannot access a removed vertex: v[26624] at atlas.shaded.titan.guava.common.base.Preconditions.checkArgument(Preconditions.java:119) at com.thinkaurelius.titan.graphdb.vertices.AbstractVertex.query(AbstractVertex.java:118) at com.thinkaurelius.titan.graphdb.vertices.AbstractVertex.getProperties(AbstractVertex.java:167) at org.apache.atlas.repository.graphdb.titan0.Titan0Vertex.getPropertyValues(Titan0Vertex.java:107) at org.apache.atlas.repository.graph.GraphHelper.getTraitNames(GraphHelper.java:610) at org.apache.atlas.repository.graph.DeleteHandler.deleteAllTraits(DeleteHandler.java:475) at org.apache.atlas.repository.graph.DeleteHandler.deleteEntities(DeleteHandler.java:123) at org.apache.atlas.repository.graph.GraphBackedMetadataRepository.deleteEntities(GraphBackedMetadataRepository.java:485) at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.atlas.TestUtils$3.invoke(TestUtils.java:686) at com.sun.proxy.$Proxy40.deleteEntities(Unknown Source) at org.apache.atlas.repository.graph.GraphBackedMetadataRepositoryDeleteTestBase.testLowerBoundsIgnoredWhenDeletingCompositeEntitesOwnedByMap(GraphBackedMetadataRepositoryDeleteTestBase.java:999) 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: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 139.089 sec - in org.apache.atlas.repository.impexp.ImportServiceTest Tests run: 27, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 140.785 sec <<< FAILURE! - in org.apache.atlas.service.DefaultMetadataServiceTest testDeleteEntities(org.apache.atlas.service.DefaultMetadataServiceTest) Time elapsed: 2.184 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.testDeleteEntities(DefaultMetadataServiceTest.java:1049) testDeleteEntityByUniqueAttribute(org.apache.atlas.service.DefaultMetadataServiceTest) Time elapsed: 1.187 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: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 74.5 sec - in org.apache.atlas.query.LineageQueryTest Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 79.653 sec - in org.apache.atlas.lineage.EntityLineageServiceTest Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 82.695 sec - in org.apache.atlas.query.GremlinTest Tests run: 338, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 203.703 sec - in org.apache.atlas.discovery.GraphBackedDiscoveryServiceTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 268.329 sec - in org.apache.atlas.repository.graph.GraphRepoMapperScaleTest Results : Failed tests: GraphBackedRepositoryHardDeleteTest>GraphBackedMetadataRepositoryDeleteTestBase.testDeleteEntities:288->GraphBackedMetadataRepositoryDeleteTestBase.deleteEntities:236 » IllegalArgument GraphBackedRepositoryHardDeleteTest>GraphBackedMetadataRepositoryDeleteTestBase.testDeleteEntitiesWithCompositeArrayReference:329->GraphBackedMetadataRepositoryDeleteTestBase.deleteEntities:236 » IllegalArgument GraphBackedRepositoryHardDeleteTest>GraphBackedMetadataRepositoryDeleteTestBase.testDeleteEntitiesWithCompositeMapReference:373 expected [2] but found [1] GraphBackedRepositoryHardDeleteTest>GraphBackedMetadataRepositoryDeleteTestBase.testDisconnectBidirectionalReferences:525 expected [true] but found [false] GraphBackedRepositoryHardDeleteTest>GraphBackedMetadataRepositoryDeleteTestBase.testLowerBoundsIgnoredOnCompositeDeletedEntities:932->GraphBackedMetadataRepositoryDeleteTestBase.deleteEntities:236 » Repository GraphBackedRepositoryHardDeleteTest>GraphBackedMetadataRepositoryDeleteTestBase.testLowerBoundsIgnoredWhenDeletingCompositeEntitesOwnedByMap:999 » IllegalArgument 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 [2] SoftDeleteHandlerV1Test>AtlasDeleteHandlerV1Test.testDisconnectBidirectionalReferences:496 Lists differ at element [0]: cd8cdbdd-e180-483b-bd5c-d0c71df30a10 != 3629fd9b-876c-4fa8-8307-c59e301a834a expected [cd8cdbdd-e180-483b-bd5c-d0c71df30a10] but found [3629fd9b-876c-4fa8-8307-c59e301a834a] SoftDeleteHandlerV1Test>AtlasDeleteHandlerV1Test.testUpdateEntity_MultiplicityOneNonCompositeReference:360 » NullPointer DefaultMetadataServiceTest.testDeleteEntities:1049 expected [true] but found [false] DefaultMetadataServiceTest.testDeleteEntityByUniqueAttribute:1106 expected [true] but found [false] Tests run: 811, Failures: 14, Errors: 0, Skipped: 0 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Apache Atlas Server Build Tools .................... SUCCESS [ 0.480 s] [INFO] apache-atlas ....................................... SUCCESS [ 1.865 s] [INFO] Apache Atlas Integration ........................... SUCCESS [ 10.240 s] [INFO] Apache Atlas Common ................................ SUCCESS [ 1.979 s] [INFO] Apache Atlas Typesystem ............................ SUCCESS [ 32.487 s] [INFO] Apache Atlas Client ................................ SUCCESS [ 0.132 s] [INFO] atlas-client-common ................................ SUCCESS [ 0.741 s] [INFO] atlas-client-v1 .................................... SUCCESS [ 4.787 s] [INFO] Apache Atlas Server API ............................ SUCCESS [ 0.713 s] [INFO] Apache Atlas Notification .......................... SUCCESS [ 11.018 s] [INFO] atlas-client-v2 .................................... SUCCESS [ 0.610 s] [INFO] Apache Atlas Graph Database Projects ............... SUCCESS [ 0.085 s] [INFO] Apache Atlas Graph Database API .................... SUCCESS [ 0.605 s] [INFO] Graph Database Common Code ......................... SUCCESS [ 0.557 s] [INFO] Apache Atlas Titan 1.0.0 GraphDB Impl .............. SUCCESS [ 24.665 s] [INFO] Shaded version of Apache hbase client .............. SUCCESS [ 6.593 s] [INFO] Apache Atlas Titan 0.5.4 Graph DB Impl ............. SUCCESS [01:00 min] [INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [ 0.148 s] [INFO] Shaded version of Apache hbase server .............. SUCCESS [ 19.794 s] [INFO] Apache Atlas Repository ............................ FAILURE [05:10 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 Migration Exporter .................... SKIPPED [INFO] Apache Atlas Distribution .......................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 08:10 min [INFO] Finished at: 2018-03-07T19:42:39Z [INFO] Final Memory: 146M/2180M [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/Atlas-0.8-UnitTests/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 Build step 'Execute shell' marked build as failure [CHECKSTYLE] Collecting checkstyle analysis files... [CHECKSTYLE] Searching for all files in <https://builds.apache.org/job/Atlas-0.8-UnitTests/ws/> that match the pattern **/target/checkstyle-result.xml [CHECKSTYLE] No files found. Configuration error? <Git Blamer> Using GitBlamer to create author and commit information for all warnings. <Git Blamer> GIT_COMMIT=2a560ac1091bb4d4e2522f035fd4e0cd39fdaccb, workspace=<https://builds.apache.org/job/Atlas-0.8-UnitTests/ws/> [CHECKSTYLE] Computing warning deltas based on reference build #176 [FINDBUGS] Collecting findbugs analysis files... [FINDBUGS] Searching for all files in <https://builds.apache.org/job/Atlas-0.8-UnitTests/ws/> that match the pattern **/target/findbugs.xml [FINDBUGS] No files found. Configuration error? <Git Blamer> Using GitBlamer to create author and commit information for all warnings. <Git Blamer> GIT_COMMIT=2a560ac1091bb4d4e2522f035fd4e0cd39fdaccb, workspace=<https://builds.apache.org/job/Atlas-0.8-UnitTests/ws/> [FINDBUGS] Computing warning deltas based on reference build #176 Archiving artifacts TestNG Reports Processing: START Looking for TestNG results report in workspace using pattern: **/target/surefire-reports/testng-results.xml,**/target/failsafe-reports/testng-results.xml Saving reports... Processing '/x1/jenkins/jenkins-home/jobs/Atlas-0.8-UnitTests/builds/184/testng/testng-results-1.xml' Processing '/x1/jenkins/jenkins-home/jobs/Atlas-0.8-UnitTests/builds/184/testng/testng-results-2.xml' Processing '/x1/jenkins/jenkins-home/jobs/Atlas-0.8-UnitTests/builds/184/testng/testng-results-3.xml' Processing '/x1/jenkins/jenkins-home/jobs/Atlas-0.8-UnitTests/builds/184/testng/testng-results-4.xml' Processing '/x1/jenkins/jenkins-home/jobs/Atlas-0.8-UnitTests/builds/184/testng/testng-results-5.xml' Processing '/x1/jenkins/jenkins-home/jobs/Atlas-0.8-UnitTests/builds/184/testng/testng-results-6.xml' Processing '/x1/jenkins/jenkins-home/jobs/Atlas-0.8-UnitTests/builds/184/testng/testng-results.xml' TestNG Reports Processing: FINISH