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/08/08 03:39:15 UTC
Build failed in Jenkins: Atlas-master-UnitTests #2118
See <https://builds.apache.org/job/Atlas-master-UnitTests/2118/display/redirect>
------------------------------------------
[...truncated 204.74 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: 70.516 sec - in org.apache.atlas.repository.impexp.ExportServiceTest
Tests run: 31, Failures: 10, Errors: 0, Skipped: 6, Time elapsed: 70.986 sec <<< FAILURE! - in org.apache.atlas.glossary.GlossaryServiceTest
testAddGlossaryCategoryChildren(org.apache.atlas.glossary.GlossaryServiceTest) Time elapsed: 0.066 sec <<< FAILURE!
java.lang.NullPointerException: atlasGlossaryCategory anchor must be specified
at java.util.Objects.requireNonNull(Objects.java:228)
at org.apache.atlas.repository.ogm.glossary.AtlasGlossaryCategoryDTO.toEntity(AtlasGlossaryCategoryDTO.java:118)
at org.apache.atlas.repository.ogm.glossary.AtlasGlossaryCategoryDTO.toEntityWithExtInfo(AtlasGlossaryCategoryDTO.java:139)
at org.apache.atlas.repository.ogm.glossary.AtlasGlossaryCategoryDTO.toEntityWithExtInfo(AtlasGlossaryCategoryDTO.java:36)
at org.apache.atlas.repository.ogm.DataAccess.save(DataAccess.java:67)
at org.apache.atlas.glossary.GlossaryService.updateCategory(GlossaryService.java:641)
at org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:75)
at org.apache.atlas.glossary.GlossaryServiceTest.testAddGlossaryCategoryChildren(GlossaryServiceTest.java:733)
testAddTermsToCategory(org.apache.atlas.glossary.GlossaryServiceTest) Time elapsed: 0.09 sec <<< FAILURE!
java.lang.NullPointerException: atlasGlossaryCategory anchor must be specified
at java.util.Objects.requireNonNull(Objects.java:228)
at org.apache.atlas.repository.ogm.glossary.AtlasGlossaryCategoryDTO.toEntity(AtlasGlossaryCategoryDTO.java:118)
at org.apache.atlas.repository.ogm.glossary.AtlasGlossaryCategoryDTO.toEntityWithExtInfo(AtlasGlossaryCategoryDTO.java:139)
at org.apache.atlas.repository.ogm.glossary.AtlasGlossaryCategoryDTO.toEntityWithExtInfo(AtlasGlossaryCategoryDTO.java:36)
at org.apache.atlas.repository.ogm.DataAccess.save(DataAccess.java:67)
at org.apache.atlas.glossary.GlossaryService.updateCategory(GlossaryService.java:641)
at org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:75)
at org.apache.atlas.glossary.GlossaryServiceTest.testAddTermsToCategory(GlossaryServiceTest.java:674)
testGetCategoryTerms(org.apache.atlas.glossary.GlossaryServiceTest) Time elapsed: 0.027 sec <<< FAILURE!
java.lang.AssertionError: expected [2] but found [0]
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:372)
at org.testng.Assert.assertEquals(Assert.java:382)
at org.apache.atlas.glossary.GlossaryServiceTest.testGetCategoryTerms(GlossaryServiceTest.java:907)
testGetCategoryTerms(org.apache.atlas.glossary.GlossaryServiceTest) Time elapsed: 0.014 sec <<< FAILURE!
java.lang.AssertionError: expected [2] but found [0]
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:372)
at org.testng.Assert.assertEquals(Assert.java:382)
at org.apache.atlas.glossary.GlossaryServiceTest.testGetCategoryTerms(GlossaryServiceTest.java:907)
testGetCategoryTerms(org.apache.atlas.glossary.GlossaryServiceTest) Time elapsed: 0.036 sec <<< FAILURE!
java.lang.AssertionError: expected [1] but found [0]
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:372)
at org.testng.Assert.assertEquals(Assert.java:382)
at org.apache.atlas.glossary.GlossaryServiceTest.testGetCategoryTerms(GlossaryServiceTest.java:907)
testTermAssignmentAndDissociation(org.apache.atlas.glossary.GlossaryServiceTest) Time elapsed: 0.573 sec <<< FAILURE!
java.lang.AssertionError: expected [1] but found [0]
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:372)
at org.testng.Assert.assertEquals(Assert.java:382)
at org.apache.atlas.glossary.GlossaryServiceTest.testTermAssignmentAndDissociation(GlossaryServiceTest.java:778)
testTermRelation(org.apache.atlas.glossary.GlossaryServiceTest) Time elapsed: 0.062 sec <<< FAILURE!
java.lang.NullPointerException: atlasGlossaryTerm anchor must be specified
at java.util.Objects.requireNonNull(Objects.java:228)
at org.apache.atlas.repository.ogm.glossary.AtlasGlossaryTermDTO.toEntity(AtlasGlossaryTermDTO.java:210)
at org.apache.atlas.repository.ogm.glossary.AtlasGlossaryTermDTO.toEntityWithExtInfo(AtlasGlossaryTermDTO.java:242)
at org.apache.atlas.repository.ogm.glossary.AtlasGlossaryTermDTO.toEntityWithExtInfo(AtlasGlossaryTermDTO.java:38)
at org.apache.atlas.repository.ogm.DataAccess.save(DataAccess.java:67)
at org.apache.atlas.glossary.GlossaryService.updateTerm(GlossaryService.java:415)
at org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:75)
at org.apache.atlas.glossary.GlossaryServiceTest.testTermRelation(GlossaryServiceTest.java:823)
testUpdateGlossary(org.apache.atlas.glossary.GlossaryServiceTest) Time elapsed: 0.138 sec <<< FAILURE!
java.lang.NullPointerException: null
at java.util.ArrayList.<init>(ArrayList.java:178)
at org.apache.atlas.glossary.GlossaryServiceTest.testUpdateGlossary(GlossaryServiceTest.java:366)
testUpdateGlossaryCategory(org.apache.atlas.glossary.GlossaryServiceTest) Time elapsed: 0.074 sec <<< FAILURE!
java.lang.NullPointerException: atlasGlossaryCategory anchor must be specified
at java.util.Objects.requireNonNull(Objects.java:228)
at org.apache.atlas.repository.ogm.glossary.AtlasGlossaryCategoryDTO.toEntity(AtlasGlossaryCategoryDTO.java:118)
at org.apache.atlas.repository.ogm.glossary.AtlasGlossaryCategoryDTO.toEntityWithExtInfo(AtlasGlossaryCategoryDTO.java:139)
at org.apache.atlas.repository.ogm.glossary.AtlasGlossaryCategoryDTO.toEntityWithExtInfo(AtlasGlossaryCategoryDTO.java:36)
at org.apache.atlas.repository.ogm.DataAccess.save(DataAccess.java:67)
at org.apache.atlas.glossary.GlossaryService.updateCategory(GlossaryService.java:641)
at org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:75)
at org.apache.atlas.glossary.GlossaryServiceTest.testUpdateGlossaryCategory(GlossaryServiceTest.java:494)
testUpdateGlossaryTerm(org.apache.atlas.glossary.GlossaryServiceTest) Time elapsed: 3.169 sec <<< FAILURE!
java.lang.NullPointerException: atlasGlossaryTerm anchor must be specified
at java.util.Objects.requireNonNull(Objects.java:228)
at org.apache.atlas.repository.ogm.glossary.AtlasGlossaryTermDTO.toEntity(AtlasGlossaryTermDTO.java:210)
at org.apache.atlas.repository.ogm.glossary.AtlasGlossaryTermDTO.toEntityWithExtInfo(AtlasGlossaryTermDTO.java:242)
at org.apache.atlas.repository.ogm.glossary.AtlasGlossaryTermDTO.toEntityWithExtInfo(AtlasGlossaryTermDTO.java:38)
at org.apache.atlas.repository.ogm.DataAccess.save(DataAccess.java:67)
at org.apache.atlas.glossary.GlossaryService.updateTerm(GlossaryService.java:415)
at org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:75)
at org.apache.atlas.glossary.GlossaryServiceTest.testUpdateGlossaryTerm(GlossaryServiceTest.java:467)
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 71.984 sec - in org.apache.atlas.repository.userprofile.UserProfileServiceTest
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 76.354 sec - in org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 80.447 sec - in org.apache.atlas.repository.store.graph.v2.AtlasEntityStoreV2Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 82.071 sec - in org.apache.atlas.repository.migration.TypesWithClassificationTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 84.077 sec - in org.apache.atlas.repository.migration.PathTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 85.813 sec - in org.apache.atlas.repository.migration.HiveParititionTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 87.4 sec - in org.apache.atlas.repository.migration.HiveStocksTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 89.91 sec - in org.apache.atlas.repository.migration.ComplexAttributesTest
Tests run: 14, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 92.628 sec <<< FAILURE! - in org.apache.atlas.repository.impexp.ImportServiceTest
importLegacy(org.apache.atlas.repository.impexp.ImportServiceTest) Time elapsed: 1.533 sec <<< FAILURE!
java.lang.AssertionError: expected object to not be null
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.assertNotNull(Assert.java:406)
at org.testng.Assert.assertNotNull(Assert.java:391)
at org.apache.atlas.repository.impexp.ImportServiceTest.importLegacy(ImportServiceTest.java:214)
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 96.69 sec - in org.apache.atlas.repository.tagpropagation.ClassificationPropagationTest
Tests run: 246, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 145.957 sec - in org.apache.atlas.query.DSLQueriesTest
Results :
Failed tests:
GlossaryServiceTest.testAddGlossaryCategoryChildren:733 » NullPointer atlasGlo...
GlossaryServiceTest.testAddTermsToCategory:674 » NullPointer atlasGlossaryCate...
org.apache.atlas.glossary.GlossaryServiceTest.testGetCategoryTerms(org.apache.atlas.glossary.GlossaryServiceTest)
Run 1: GlossaryServiceTest.testGetCategoryTerms:907 expected [2] but found [0]
Run 2: GlossaryServiceTest.testGetCategoryTerms:907 expected [2] but found [0]
Run 3: GlossaryServiceTest.testGetCategoryTerms:907 expected [1] but found [0]
Run 4: PASS
GlossaryServiceTest.testTermAssignmentAndDissociation:778 expected [1] but found [0]
GlossaryServiceTest.testTermRelation:823 » NullPointer atlasGlossaryTerm ancho...
GlossaryServiceTest.testUpdateGlossary:366 » NullPointer
GlossaryServiceTest.testUpdateGlossaryCategory:494 » NullPointer atlasGlossary...
GlossaryServiceTest.testUpdateGlossaryTerm:467 » NullPointer atlasGlossaryTerm...
ImportServiceTest.importLegacy:214 expected object to not be null
AtlasRelationshipStoreHardDeleteV2Test>AtlasRelationshipStoreV2Test.testDepartmentEmployeeEntitiesUsingRelationship:156 expected [5] but found [0]
AtlasRelationshipStoreHardDeleteV2Test>AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_ManyToMany:544->AtlasRelationshipStoreV2Test.verifyRelationshipAttributeList:612 expected [true] but found [false]
AtlasRelationshipStoreHardDeleteV2Test>AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_ManyToOne:411->AtlasRelationshipStoreV2Test.verifyRelationshipAttributeValue:628 expected [true] but found [false]
AtlasRelationshipStoreHardDeleteV2Test>AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_OneToOne:477->AtlasRelationshipStoreV2Test.verifyRelationshipAttributeValue:628 expected [true] but found [false]
AtlasRelationshipStoreSoftDeleteV2Test>AtlasRelationshipStoreV2Test.testDepartmentEmployeeEntitiesUsingRelationship:156 expected [5] but found [0]
AtlasRelationshipStoreSoftDeleteV2Test>AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_ManyToMany:544->AtlasRelationshipStoreV2Test.verifyRelationshipAttributeList:612 expected [true] but found [false]
AtlasRelationshipStoreSoftDeleteV2Test>AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_ManyToOne:411->AtlasRelationshipStoreV2Test.verifyRelationshipAttributeValue:628 expected [true] but found [false]
AtlasRelationshipStoreSoftDeleteV2Test>AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_OneToOne:477->AtlasRelationshipStoreV2Test.verifyRelationshipAttributeValue:628 expected [true] but found [false]
Tests run: 543, Failures: 17, Errors: 0, Skipped: 6
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Atlas Server Build Tools 1.0 ................ SUCCESS [ 0.544 s]
[INFO] apache-atlas 2.0.0-SNAPSHOT ........................ SUCCESS [ 1.960 s]
[INFO] Apache Atlas Test Utility Tools .................... SUCCESS [ 4.225 s]
[INFO] Open Connector Framework (OCF) ..................... SUCCESS [ 1.454 s]
[INFO] Open Metadata Repository Services (OMRS) ........... SUCCESS [ 4.871 s]
[INFO] Open Metadata and Governance (OMAG) Server APIs .... SUCCESS [ 0.847 s]
[INFO] Connected Asset Open Metadata Access Service (OMAS) SUCCESS [ 0.879 s]
[INFO] Asset Consumer Open Metadata Access Service (OMAS) . SUCCESS [ 0.854 s]
[INFO] Open Metadata and Governance (OMAG) Server ......... SUCCESS [ 1.050 s]
[INFO] Apache Atlas Integration ........................... SUCCESS [ 32.410 s]
[INFO] Apache Atlas Common ................................ SUCCESS [ 1.985 s]
[INFO] Apache Atlas Client ................................ SUCCESS [ 0.109 s]
[INFO] atlas-client-common ................................ SUCCESS [ 0.576 s]
[INFO] atlas-client-v1 .................................... SUCCESS [ 2.679 s]
[INFO] Apache Atlas Server API ............................ SUCCESS [ 0.809 s]
[INFO] Apache Atlas Notification .......................... SUCCESS [ 14.697 s]
[INFO] atlas-client-v2 .................................... SUCCESS [ 0.645 s]
[INFO] Apache Atlas Graph Database Projects ............... SUCCESS [ 0.083 s]
[INFO] Apache Atlas Graph Database API .................... SUCCESS [ 0.611 s]
[INFO] Graph Database Common Code ......................... SUCCESS [ 0.915 s]
[INFO] Apache Atlas JanusGraph DB Impl .................... SUCCESS [02:06 min]
[INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [ 1.818 s]
[INFO] Shaded version of Apache hbase client .............. SUCCESS [ 6.871 s]
[INFO] Shaded version of Apache hbase server .............. SUCCESS [ 18.557 s]
[INFO] Apache Atlas Authorization ......................... SUCCESS [ 2.273 s]
[INFO] Apache Atlas Repository ............................ FAILURE [02:36 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 2.0.0-SNAPSHOT ........... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 06:25 min
[INFO] Finished at: 2018-08-08T03:39:08Z
[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-master-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-master-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=fbb244c2e4feb90949c7e3c1cbbf4bd2fe729a68, workspace=<https://builds.apache.org/job/Atlas-master-UnitTests/ws/>
[CHECKSTYLE] Computing warning deltas based on reference build #2116
[FINDBUGS] Collecting findbugs analysis files...
[FINDBUGS] Searching for all files in <https://builds.apache.org/job/Atlas-master-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=fbb244c2e4feb90949c7e3c1cbbf4bd2fe729a68, workspace=<https://builds.apache.org/job/Atlas-master-UnitTests/ws/>
[FINDBUGS] Computing warning deltas based on reference build #2116
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-master-UnitTests/builds/2118/testng/testng-results-1.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2118/testng/testng-results-2.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2118/testng/testng-results-3.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2118/testng/testng-results-4.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2118/testng/testng-results-5.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2118/testng/testng-results-6.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2118/testng/testng-results-7.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2118/testng/testng-results.xml'
TestNG Reports Processing: FINISH
Jenkins build is back to normal : Atlas-master-UnitTests #2127
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Atlas-master-UnitTests/2127/display/redirect?page=changes>
Build failed in Jenkins: Atlas-master-UnitTests #2126
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Atlas-master-UnitTests/2126/display/redirect?page=changes>
Changes:
[amestry] ATLAS-2801: Fix for tools directory absent in tar.gz
------------------------------------------
[...truncated 169.96 KB...]
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)
testRelationshipAttributeUpdate_NonComposite_ManyToMany(org.apache.atlas.repository.store.graph.v2.AtlasRelationshipStoreSoftDeleteV2Test) Time elapsed: 0.61 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.v2.AtlasRelationshipStoreV2Test.verifyRelationshipAttributeList(AtlasRelationshipStoreV2Test.java:612)
at org.apache.atlas.repository.store.graph.v2.AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_ManyToMany(AtlasRelationshipStoreV2Test.java:544)
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)
testRelationshipAttributeUpdate_NonComposite_ManyToOne(org.apache.atlas.repository.store.graph.v2.AtlasRelationshipStoreSoftDeleteV2Test) Time elapsed: 0.228 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.v2.AtlasRelationshipStoreV2Test.verifyRelationshipAttributeValue(AtlasRelationshipStoreV2Test.java:628)
at org.apache.atlas.repository.store.graph.v2.AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_ManyToOne(AtlasRelationshipStoreV2Test.java:411)
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)
testRelationshipAttributeUpdate_NonComposite_OneToOne(org.apache.atlas.repository.store.graph.v2.AtlasRelationshipStoreSoftDeleteV2Test) Time elapsed: 0.057 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.v2.AtlasRelationshipStoreV2Test.verifyRelationshipAttributeValue(AtlasRelationshipStoreV2Test.java:628)
at org.apache.atlas.repository.store.graph.v2.AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_OneToOne(AtlasRelationshipStoreV2Test.java:477)
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: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 92.57 sec - in org.apache.atlas.repository.store.graph.v2.InverseReferenceUpdateSoftDeleteV2Test
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 98.857 sec - in org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 100.135 sec - in org.apache.atlas.repository.store.graph.v2.AtlasEntityStoreV2Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 102.925 sec - in org.apache.atlas.repository.migration.PathTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 106.874 sec - in org.apache.atlas.repository.migration.ComplexAttributesTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 107.869 sec - in org.apache.atlas.repository.migration.TypesWithClassificationTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 107.605 sec - in org.apache.atlas.repository.migration.HiveParititionTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 110.68 sec - in org.apache.atlas.repository.migration.HiveStocksTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 116.922 sec - in org.apache.atlas.repository.tagpropagation.ClassificationPropagationTest
Tests run: 14, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 116.604 sec <<< FAILURE! - in org.apache.atlas.repository.impexp.ImportServiceTest
importLegacy(org.apache.atlas.repository.impexp.ImportServiceTest) Time elapsed: 1.991 sec <<< FAILURE!
java.lang.AssertionError: expected object to not be null
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.assertNotNull(Assert.java:406)
at org.testng.Assert.assertNotNull(Assert.java:391)
at org.apache.atlas.repository.impexp.ImportServiceTest.importLegacy(ImportServiceTest.java:214)
Tests run: 246, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 174.473 sec - in org.apache.atlas.query.DSLQueriesTest
Results :
Failed tests:
GlossaryServiceTest.testAddGlossaryCategoryChildren:733 » NullPointer atlasGlo...
GlossaryServiceTest.testAddTermsToCategory:674 » NullPointer atlasGlossaryCate...
org.apache.atlas.glossary.GlossaryServiceTest.testGetCategoryTerms(org.apache.atlas.glossary.GlossaryServiceTest)
Run 1: GlossaryServiceTest.testGetCategoryTerms:907 expected [2] but found [0]
Run 2: GlossaryServiceTest.testGetCategoryTerms:907 expected [2] but found [0]
Run 3: GlossaryServiceTest.testGetCategoryTerms:907 expected [1] but found [0]
Run 4: PASS
GlossaryServiceTest.testTermAssignmentAndDissociation:778 expected [1] but found [0]
GlossaryServiceTest.testTermRelation:823 » NullPointer atlasGlossaryTerm ancho...
GlossaryServiceTest.testUpdateGlossary:366 » NullPointer
GlossaryServiceTest.testUpdateGlossaryCategory:494 » NullPointer atlasGlossary...
GlossaryServiceTest.testUpdateGlossaryTerm:467 » NullPointer atlasGlossaryTerm...
ImportServiceTest.importLegacy:214 expected object to not be null
AtlasRelationshipStoreHardDeleteV2Test>AtlasRelationshipStoreV2Test.testDepartmentEmployeeEntitiesUsingRelationship:156 expected [5] but found [0]
AtlasRelationshipStoreHardDeleteV2Test>AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_ManyToMany:544->AtlasRelationshipStoreV2Test.verifyRelationshipAttributeList:612 expected [true] but found [false]
AtlasRelationshipStoreHardDeleteV2Test>AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_ManyToOne:411->AtlasRelationshipStoreV2Test.verifyRelationshipAttributeValue:628 expected [true] but found [false]
AtlasRelationshipStoreHardDeleteV2Test>AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_OneToOne:477->AtlasRelationshipStoreV2Test.verifyRelationshipAttributeValue:628 expected [true] but found [false]
AtlasRelationshipStoreSoftDeleteV2Test>AtlasRelationshipStoreV2Test.testDepartmentEmployeeEntitiesUsingRelationship:156 expected [5] but found [0]
AtlasRelationshipStoreSoftDeleteV2Test>AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_ManyToMany:544->AtlasRelationshipStoreV2Test.verifyRelationshipAttributeList:612 expected [true] but found [false]
AtlasRelationshipStoreSoftDeleteV2Test>AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_ManyToOne:411->AtlasRelationshipStoreV2Test.verifyRelationshipAttributeValue:628 expected [true] but found [false]
AtlasRelationshipStoreSoftDeleteV2Test>AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_OneToOne:477->AtlasRelationshipStoreV2Test.verifyRelationshipAttributeValue:628 expected [true] but found [false]
Tests run: 544, Failures: 17, Errors: 0, Skipped: 13
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Atlas Server Build Tools 1.0 ................ SUCCESS [ 0.618 s]
[INFO] apache-atlas 2.0.0-SNAPSHOT ........................ SUCCESS [ 1.910 s]
[INFO] Apache Atlas Test Utility Tools .................... SUCCESS [ 4.813 s]
[INFO] Apache Atlas Integration ........................... SUCCESS [ 33.640 s]
[INFO] Apache Atlas Common ................................ SUCCESS [ 2.372 s]
[INFO] Apache Atlas Client ................................ SUCCESS [ 0.168 s]
[INFO] atlas-client-common ................................ SUCCESS [ 0.954 s]
[INFO] atlas-client-v1 .................................... SUCCESS [ 3.155 s]
[INFO] Apache Atlas Server API ............................ SUCCESS [ 0.947 s]
[INFO] Apache Atlas Notification .......................... SUCCESS [ 18.687 s]
[INFO] atlas-client-v2 .................................... SUCCESS [ 0.803 s]
[INFO] Apache Atlas Graph Database Projects ............... SUCCESS [ 0.114 s]
[INFO] Apache Atlas Graph Database API .................... SUCCESS [ 0.852 s]
[INFO] Graph Database Common Code ......................... SUCCESS [ 0.766 s]
[INFO] Apache Atlas JanusGraph DB Impl .................... SUCCESS [02:33 min]
[INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [ 2.118 s]
[INFO] Shaded version of Apache hbase client .............. SUCCESS [ 8.300 s]
[INFO] Shaded version of Apache hbase server .............. SUCCESS [ 21.006 s]
[INFO] Apache Atlas Authorization ......................... SUCCESS [ 2.493 s]
[INFO] Apache Atlas Repository ............................ FAILURE [03:06 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 2.0.0-SNAPSHOT ........... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 07:24 min
[INFO] Finished at: 2018-08-08T23:33:44Z
[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-master-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-master-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=e8a777807bebe6e35bbbbd67285408f6533dd024, workspace=<https://builds.apache.org/job/Atlas-master-UnitTests/ws/>
[CHECKSTYLE] Computing warning deltas based on reference build #2116
[FINDBUGS] Collecting findbugs analysis files...
[FINDBUGS] Searching for all files in <https://builds.apache.org/job/Atlas-master-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=e8a777807bebe6e35bbbbd67285408f6533dd024, workspace=<https://builds.apache.org/job/Atlas-master-UnitTests/ws/>
[FINDBUGS] Computing warning deltas based on reference build #2116
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-master-UnitTests/builds/2126/testng/testng-results-1.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2126/testng/testng-results-2.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2126/testng/testng-results-3.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2126/testng/testng-results-4.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2126/testng/testng-results-5.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2126/testng/testng-results-6.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2126/testng/testng-results.xml'
TestNG Reports Processing: FINISH
Build failed in Jenkins: Atlas-master-UnitTests #2125
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Atlas-master-UnitTests/2125/display/redirect>
------------------------------------------
[...truncated 170.22 KB...]
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: 31, Failures: 10, Errors: 0, Skipped: 6, Time elapsed: 99.559 sec <<< FAILURE! - in org.apache.atlas.glossary.GlossaryServiceTest
testAddGlossaryCategoryChildren(org.apache.atlas.glossary.GlossaryServiceTest) Time elapsed: 0.18 sec <<< FAILURE!
java.lang.NullPointerException: atlasGlossaryCategory anchor must be specified
at java.util.Objects.requireNonNull(Objects.java:228)
at org.apache.atlas.repository.ogm.glossary.AtlasGlossaryCategoryDTO.toEntity(AtlasGlossaryCategoryDTO.java:118)
at org.apache.atlas.repository.ogm.glossary.AtlasGlossaryCategoryDTO.toEntityWithExtInfo(AtlasGlossaryCategoryDTO.java:139)
at org.apache.atlas.repository.ogm.glossary.AtlasGlossaryCategoryDTO.toEntityWithExtInfo(AtlasGlossaryCategoryDTO.java:36)
at org.apache.atlas.repository.ogm.DataAccess.save(DataAccess.java:67)
at org.apache.atlas.glossary.GlossaryService.updateCategory(GlossaryService.java:641)
at org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:75)
at org.apache.atlas.glossary.GlossaryServiceTest.testAddGlossaryCategoryChildren(GlossaryServiceTest.java:733)
testAddTermsToCategory(org.apache.atlas.glossary.GlossaryServiceTest) Time elapsed: 0.223 sec <<< FAILURE!
java.lang.NullPointerException: atlasGlossaryCategory anchor must be specified
at java.util.Objects.requireNonNull(Objects.java:228)
at org.apache.atlas.repository.ogm.glossary.AtlasGlossaryCategoryDTO.toEntity(AtlasGlossaryCategoryDTO.java:118)
at org.apache.atlas.repository.ogm.glossary.AtlasGlossaryCategoryDTO.toEntityWithExtInfo(AtlasGlossaryCategoryDTO.java:139)
at org.apache.atlas.repository.ogm.glossary.AtlasGlossaryCategoryDTO.toEntityWithExtInfo(AtlasGlossaryCategoryDTO.java:36)
at org.apache.atlas.repository.ogm.DataAccess.save(DataAccess.java:67)
at org.apache.atlas.glossary.GlossaryService.updateCategory(GlossaryService.java:641)
at org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:75)
at org.apache.atlas.glossary.GlossaryServiceTest.testAddTermsToCategory(GlossaryServiceTest.java:674)
testGetCategoryTerms(org.apache.atlas.glossary.GlossaryServiceTest) Time elapsed: 0.092 sec <<< FAILURE!
java.lang.AssertionError: expected [2] but found [0]
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:372)
at org.testng.Assert.assertEquals(Assert.java:382)
at org.apache.atlas.glossary.GlossaryServiceTest.testGetCategoryTerms(GlossaryServiceTest.java:907)
testGetCategoryTerms(org.apache.atlas.glossary.GlossaryServiceTest) Time elapsed: 0.064 sec <<< FAILURE!
java.lang.AssertionError: expected [2] but found [0]
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:372)
at org.testng.Assert.assertEquals(Assert.java:382)
at org.apache.atlas.glossary.GlossaryServiceTest.testGetCategoryTerms(GlossaryServiceTest.java:907)
testGetCategoryTerms(org.apache.atlas.glossary.GlossaryServiceTest) Time elapsed: 0.046 sec <<< FAILURE!
java.lang.AssertionError: expected [1] but found [0]
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:372)
at org.testng.Assert.assertEquals(Assert.java:382)
at org.apache.atlas.glossary.GlossaryServiceTest.testGetCategoryTerms(GlossaryServiceTest.java:907)
testTermAssignmentAndDissociation(org.apache.atlas.glossary.GlossaryServiceTest) Time elapsed: 0.67 sec <<< FAILURE!
java.lang.AssertionError: expected [1] but found [0]
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:372)
at org.testng.Assert.assertEquals(Assert.java:382)
at org.apache.atlas.glossary.GlossaryServiceTest.testTermAssignmentAndDissociation(GlossaryServiceTest.java:778)
testTermRelation(org.apache.atlas.glossary.GlossaryServiceTest) Time elapsed: 0.091 sec <<< FAILURE!
java.lang.NullPointerException: atlasGlossaryTerm anchor must be specified
at java.util.Objects.requireNonNull(Objects.java:228)
at org.apache.atlas.repository.ogm.glossary.AtlasGlossaryTermDTO.toEntity(AtlasGlossaryTermDTO.java:210)
at org.apache.atlas.repository.ogm.glossary.AtlasGlossaryTermDTO.toEntityWithExtInfo(AtlasGlossaryTermDTO.java:242)
at org.apache.atlas.repository.ogm.glossary.AtlasGlossaryTermDTO.toEntityWithExtInfo(AtlasGlossaryTermDTO.java:38)
at org.apache.atlas.repository.ogm.DataAccess.save(DataAccess.java:67)
at org.apache.atlas.glossary.GlossaryService.updateTerm(GlossaryService.java:415)
at org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:75)
at org.apache.atlas.glossary.GlossaryServiceTest.testTermRelation(GlossaryServiceTest.java:823)
testUpdateGlossary(org.apache.atlas.glossary.GlossaryServiceTest) Time elapsed: 0.265 sec <<< FAILURE!
java.lang.NullPointerException: null
at java.util.ArrayList.<init>(ArrayList.java:178)
at org.apache.atlas.glossary.GlossaryServiceTest.testUpdateGlossary(GlossaryServiceTest.java:366)
testUpdateGlossaryCategory(org.apache.atlas.glossary.GlossaryServiceTest) Time elapsed: 0.102 sec <<< FAILURE!
java.lang.NullPointerException: atlasGlossaryCategory anchor must be specified
at java.util.Objects.requireNonNull(Objects.java:228)
at org.apache.atlas.repository.ogm.glossary.AtlasGlossaryCategoryDTO.toEntity(AtlasGlossaryCategoryDTO.java:118)
at org.apache.atlas.repository.ogm.glossary.AtlasGlossaryCategoryDTO.toEntityWithExtInfo(AtlasGlossaryCategoryDTO.java:139)
at org.apache.atlas.repository.ogm.glossary.AtlasGlossaryCategoryDTO.toEntityWithExtInfo(AtlasGlossaryCategoryDTO.java:36)
at org.apache.atlas.repository.ogm.DataAccess.save(DataAccess.java:67)
at org.apache.atlas.glossary.GlossaryService.updateCategory(GlossaryService.java:641)
at org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:75)
at org.apache.atlas.glossary.GlossaryServiceTest.testUpdateGlossaryCategory(GlossaryServiceTest.java:494)
testUpdateGlossaryTerm(org.apache.atlas.glossary.GlossaryServiceTest) Time elapsed: 5.636 sec <<< FAILURE!
java.lang.NullPointerException: atlasGlossaryTerm anchor must be specified
at java.util.Objects.requireNonNull(Objects.java:228)
at org.apache.atlas.repository.ogm.glossary.AtlasGlossaryTermDTO.toEntity(AtlasGlossaryTermDTO.java:210)
at org.apache.atlas.repository.ogm.glossary.AtlasGlossaryTermDTO.toEntityWithExtInfo(AtlasGlossaryTermDTO.java:242)
at org.apache.atlas.repository.ogm.glossary.AtlasGlossaryTermDTO.toEntityWithExtInfo(AtlasGlossaryTermDTO.java:38)
at org.apache.atlas.repository.ogm.DataAccess.save(DataAccess.java:67)
at org.apache.atlas.glossary.GlossaryService.updateTerm(GlossaryService.java:415)
at org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:75)
at org.apache.atlas.glossary.GlossaryServiceTest.testUpdateGlossaryTerm(GlossaryServiceTest.java:467)
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 97.762 sec - in org.apache.atlas.repository.impexp.ExportServiceTest
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 106.976 sec - in org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 109.818 sec - in org.apache.atlas.repository.store.graph.v2.AtlasEntityStoreV2Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 110.902 sec - in org.apache.atlas.repository.migration.TypesWithClassificationTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 111.522 sec - in org.apache.atlas.repository.migration.HiveParititionTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 113.007 sec - in org.apache.atlas.repository.migration.PathTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 112.791 sec - in org.apache.atlas.repository.migration.HiveStocksTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 115.177 sec - in org.apache.atlas.repository.migration.ComplexAttributesTest
Tests run: 14, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 119.546 sec <<< FAILURE! - in org.apache.atlas.repository.impexp.ImportServiceTest
importLegacy(org.apache.atlas.repository.impexp.ImportServiceTest) Time elapsed: 1.928 sec <<< FAILURE!
java.lang.AssertionError: expected object to not be null
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.assertNotNull(Assert.java:406)
at org.testng.Assert.assertNotNull(Assert.java:391)
at org.apache.atlas.repository.impexp.ImportServiceTest.importLegacy(ImportServiceTest.java:214)
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 130.421 sec - in org.apache.atlas.repository.tagpropagation.ClassificationPropagationTest
Tests run: 246, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 185.119 sec - in org.apache.atlas.query.DSLQueriesTest
Results :
Failed tests:
GlossaryServiceTest.testAddGlossaryCategoryChildren:733 » NullPointer atlasGlo...
GlossaryServiceTest.testAddTermsToCategory:674 » NullPointer atlasGlossaryCate...
org.apache.atlas.glossary.GlossaryServiceTest.testGetCategoryTerms(org.apache.atlas.glossary.GlossaryServiceTest)
Run 1: GlossaryServiceTest.testGetCategoryTerms:907 expected [2] but found [0]
Run 2: GlossaryServiceTest.testGetCategoryTerms:907 expected [2] but found [0]
Run 3: GlossaryServiceTest.testGetCategoryTerms:907 expected [1] but found [0]
Run 4: PASS
GlossaryServiceTest.testTermAssignmentAndDissociation:778 expected [1] but found [0]
GlossaryServiceTest.testTermRelation:823 » NullPointer atlasGlossaryTerm ancho...
GlossaryServiceTest.testUpdateGlossary:366 » NullPointer
GlossaryServiceTest.testUpdateGlossaryCategory:494 » NullPointer atlasGlossary...
GlossaryServiceTest.testUpdateGlossaryTerm:467 » NullPointer atlasGlossaryTerm...
ImportServiceTest.importLegacy:214 expected object to not be null
AtlasRelationshipStoreHardDeleteV2Test>AtlasRelationshipStoreV2Test.testDepartmentEmployeeEntitiesUsingRelationship:156 expected [5] but found [0]
AtlasRelationshipStoreHardDeleteV2Test>AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_ManyToMany:544->AtlasRelationshipStoreV2Test.verifyRelationshipAttributeList:612 expected [true] but found [false]
AtlasRelationshipStoreHardDeleteV2Test>AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_ManyToOne:411->AtlasRelationshipStoreV2Test.verifyRelationshipAttributeValue:628 expected [true] but found [false]
AtlasRelationshipStoreHardDeleteV2Test>AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_OneToOne:477->AtlasRelationshipStoreV2Test.verifyRelationshipAttributeValue:628 expected [true] but found [false]
AtlasRelationshipStoreSoftDeleteV2Test>AtlasRelationshipStoreV2Test.testDepartmentEmployeeEntitiesUsingRelationship:156 expected [5] but found [0]
AtlasRelationshipStoreSoftDeleteV2Test>AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_ManyToMany:544->AtlasRelationshipStoreV2Test.verifyRelationshipAttributeList:612 expected [true] but found [false]
AtlasRelationshipStoreSoftDeleteV2Test>AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_ManyToOne:411->AtlasRelationshipStoreV2Test.verifyRelationshipAttributeValue:628 expected [true] but found [false]
AtlasRelationshipStoreSoftDeleteV2Test>AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_OneToOne:477->AtlasRelationshipStoreV2Test.verifyRelationshipAttributeValue:628 expected [true] but found [false]
Tests run: 543, Failures: 17, Errors: 0, Skipped: 6
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Atlas Server Build Tools 1.0 ................ SUCCESS [ 0.661 s]
[INFO] apache-atlas 2.0.0-SNAPSHOT ........................ SUCCESS [ 2.208 s]
[INFO] Apache Atlas Test Utility Tools .................... SUCCESS [ 4.361 s]
[INFO] Apache Atlas Integration ........................... SUCCESS [ 40.459 s]
[INFO] Apache Atlas Common ................................ SUCCESS [ 2.291 s]
[INFO] Apache Atlas Client ................................ SUCCESS [ 0.135 s]
[INFO] atlas-client-common ................................ SUCCESS [ 0.712 s]
[INFO] atlas-client-v1 .................................... SUCCESS [ 2.849 s]
[INFO] Apache Atlas Server API ............................ SUCCESS [ 0.785 s]
[INFO] Apache Atlas Notification .......................... SUCCESS [ 15.925 s]
[INFO] atlas-client-v2 .................................... SUCCESS [ 0.725 s]
[INFO] Apache Atlas Graph Database Projects ............... SUCCESS [ 0.097 s]
[INFO] Apache Atlas Graph Database API .................... SUCCESS [ 0.679 s]
[INFO] Graph Database Common Code ......................... SUCCESS [ 0.760 s]
[INFO] Apache Atlas JanusGraph DB Impl .................... SUCCESS [02:12 min]
[INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [ 2.743 s]
[INFO] Shaded version of Apache hbase client .............. SUCCESS [ 7.723 s]
[INFO] Shaded version of Apache hbase server .............. SUCCESS [ 20.381 s]
[INFO] Apache Atlas Authorization ......................... SUCCESS [ 2.286 s]
[INFO] Apache Atlas Repository ............................ FAILURE [03:16 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 2.0.0-SNAPSHOT ........... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 07:16 min
[INFO] Finished at: 2018-08-08T21:33:26Z
[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-master-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-master-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=7bf4bf4902b72b42ed4ee22da43890e7cee2a85a, workspace=<https://builds.apache.org/job/Atlas-master-UnitTests/ws/>
[CHECKSTYLE] Computing warning deltas based on reference build #2116
[FINDBUGS] Collecting findbugs analysis files...
[FINDBUGS] Searching for all files in <https://builds.apache.org/job/Atlas-master-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=7bf4bf4902b72b42ed4ee22da43890e7cee2a85a, workspace=<https://builds.apache.org/job/Atlas-master-UnitTests/ws/>
[FINDBUGS] Computing warning deltas based on reference build #2116
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-master-UnitTests/builds/2125/testng/testng-results-1.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2125/testng/testng-results-2.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2125/testng/testng-results-3.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2125/testng/testng-results-4.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2125/testng/testng-results-5.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2125/testng/testng-results-6.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2125/testng/testng-results.xml'
TestNG Reports Processing: FINISH
Build failed in Jenkins: Atlas-master-UnitTests #2124
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Atlas-master-UnitTests/2124/display/redirect>
------------------------------------------
[...truncated 169.96 KB...]
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)
testRelationshipAttributeUpdate_NonComposite_ManyToMany(org.apache.atlas.repository.store.graph.v2.AtlasRelationshipStoreSoftDeleteV2Test) Time elapsed: 0.485 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.v2.AtlasRelationshipStoreV2Test.verifyRelationshipAttributeList(AtlasRelationshipStoreV2Test.java:612)
at org.apache.atlas.repository.store.graph.v2.AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_ManyToMany(AtlasRelationshipStoreV2Test.java:544)
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)
testRelationshipAttributeUpdate_NonComposite_ManyToOne(org.apache.atlas.repository.store.graph.v2.AtlasRelationshipStoreSoftDeleteV2Test) Time elapsed: 0.15 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.v2.AtlasRelationshipStoreV2Test.verifyRelationshipAttributeValue(AtlasRelationshipStoreV2Test.java:628)
at org.apache.atlas.repository.store.graph.v2.AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_ManyToOne(AtlasRelationshipStoreV2Test.java:411)
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)
testRelationshipAttributeUpdate_NonComposite_OneToOne(org.apache.atlas.repository.store.graph.v2.AtlasRelationshipStoreSoftDeleteV2Test) Time elapsed: 0.148 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.v2.AtlasRelationshipStoreV2Test.verifyRelationshipAttributeValue(AtlasRelationshipStoreV2Test.java:628)
at org.apache.atlas.repository.store.graph.v2.AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_OneToOne(AtlasRelationshipStoreV2Test.java:477)
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: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 94.09 sec - in org.apache.atlas.repository.impexp.ExportServiceTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 96.482 sec - in org.apache.atlas.repository.userprofile.UserProfileServiceTest
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 105.464 sec - in org.apache.atlas.repository.store.graph.v2.AtlasEntityStoreV2Test
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 105.939 sec - in org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 107.259 sec - in org.apache.atlas.repository.migration.TypesWithClassificationTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 107.885 sec - in org.apache.atlas.repository.migration.PathTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 108.681 sec - in org.apache.atlas.repository.migration.HiveParititionTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 111.284 sec - in org.apache.atlas.repository.migration.HiveStocksTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 112.519 sec - in org.apache.atlas.repository.migration.ComplexAttributesTest
Tests run: 14, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 119.699 sec <<< FAILURE! - in org.apache.atlas.repository.impexp.ImportServiceTest
importLegacy(org.apache.atlas.repository.impexp.ImportServiceTest) Time elapsed: 2.242 sec <<< FAILURE!
java.lang.AssertionError: expected object to not be null
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.assertNotNull(Assert.java:406)
at org.testng.Assert.assertNotNull(Assert.java:391)
at org.apache.atlas.repository.impexp.ImportServiceTest.importLegacy(ImportServiceTest.java:214)
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 125.95 sec - in org.apache.atlas.repository.tagpropagation.ClassificationPropagationTest
Tests run: 246, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 169.142 sec - in org.apache.atlas.query.DSLQueriesTest
Results :
Failed tests:
GlossaryServiceTest.testAddGlossaryCategoryChildren:733 » NullPointer atlasGlo...
GlossaryServiceTest.testAddTermsToCategory:674 » NullPointer atlasGlossaryCate...
org.apache.atlas.glossary.GlossaryServiceTest.testGetCategoryTerms(org.apache.atlas.glossary.GlossaryServiceTest)
Run 1: GlossaryServiceTest.testGetCategoryTerms:907 expected [2] but found [0]
Run 2: GlossaryServiceTest.testGetCategoryTerms:907 expected [2] but found [0]
Run 3: GlossaryServiceTest.testGetCategoryTerms:907 expected [1] but found [0]
Run 4: PASS
GlossaryServiceTest.testTermAssignmentAndDissociation:778 expected [1] but found [0]
GlossaryServiceTest.testTermRelation:823 » NullPointer atlasGlossaryTerm ancho...
GlossaryServiceTest.testUpdateGlossary:366 » NullPointer
GlossaryServiceTest.testUpdateGlossaryCategory:494 » NullPointer atlasGlossary...
GlossaryServiceTest.testUpdateGlossaryTerm:467 » NullPointer atlasGlossaryTerm...
ImportServiceTest.importLegacy:214 expected object to not be null
AtlasRelationshipStoreHardDeleteV2Test>AtlasRelationshipStoreV2Test.testDepartmentEmployeeEntitiesUsingRelationship:156 expected [5] but found [0]
AtlasRelationshipStoreHardDeleteV2Test>AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_ManyToMany:544->AtlasRelationshipStoreV2Test.verifyRelationshipAttributeList:612 expected [true] but found [false]
AtlasRelationshipStoreHardDeleteV2Test>AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_ManyToOne:411->AtlasRelationshipStoreV2Test.verifyRelationshipAttributeValue:628 expected [true] but found [false]
AtlasRelationshipStoreHardDeleteV2Test>AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_OneToOne:477->AtlasRelationshipStoreV2Test.verifyRelationshipAttributeValue:628 expected [true] but found [false]
AtlasRelationshipStoreSoftDeleteV2Test>AtlasRelationshipStoreV2Test.testDepartmentEmployeeEntitiesUsingRelationship:156 expected [5] but found [0]
AtlasRelationshipStoreSoftDeleteV2Test>AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_ManyToMany:544->AtlasRelationshipStoreV2Test.verifyRelationshipAttributeList:612 expected [true] but found [false]
AtlasRelationshipStoreSoftDeleteV2Test>AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_ManyToOne:411->AtlasRelationshipStoreV2Test.verifyRelationshipAttributeValue:628 expected [true] but found [false]
AtlasRelationshipStoreSoftDeleteV2Test>AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_OneToOne:477->AtlasRelationshipStoreV2Test.verifyRelationshipAttributeValue:628 expected [true] but found [false]
Tests run: 544, Failures: 17, Errors: 0, Skipped: 13
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Atlas Server Build Tools 1.0 ................ SUCCESS [ 0.657 s]
[INFO] apache-atlas 2.0.0-SNAPSHOT ........................ SUCCESS [ 1.985 s]
[INFO] Apache Atlas Test Utility Tools .................... SUCCESS [ 4.960 s]
[INFO] Apache Atlas Integration ........................... SUCCESS [ 35.025 s]
[INFO] Apache Atlas Common ................................ SUCCESS [ 2.453 s]
[INFO] Apache Atlas Client ................................ SUCCESS [ 0.137 s]
[INFO] atlas-client-common ................................ SUCCESS [ 0.781 s]
[INFO] atlas-client-v1 .................................... SUCCESS [ 3.192 s]
[INFO] Apache Atlas Server API ............................ SUCCESS [ 0.908 s]
[INFO] Apache Atlas Notification .......................... SUCCESS [ 18.162 s]
[INFO] atlas-client-v2 .................................... SUCCESS [ 0.893 s]
[INFO] Apache Atlas Graph Database Projects ............... SUCCESS [ 0.100 s]
[INFO] Apache Atlas Graph Database API .................... SUCCESS [ 0.760 s]
[INFO] Graph Database Common Code ......................... SUCCESS [ 0.784 s]
[INFO] Apache Atlas JanusGraph DB Impl .................... SUCCESS [02:28 min]
[INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [ 2.447 s]
[INFO] Shaded version of Apache hbase client .............. SUCCESS [ 7.851 s]
[INFO] Shaded version of Apache hbase server .............. SUCCESS [ 20.921 s]
[INFO] Apache Atlas Authorization ......................... SUCCESS [ 2.283 s]
[INFO] Apache Atlas Repository ............................ FAILURE [03:01 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 2.0.0-SNAPSHOT ........... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 07:15 min
[INFO] Finished at: 2018-08-08T18:33:25Z
[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-master-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-master-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=7bf4bf4902b72b42ed4ee22da43890e7cee2a85a, workspace=<https://builds.apache.org/job/Atlas-master-UnitTests/ws/>
[CHECKSTYLE] Computing warning deltas based on reference build #2116
[FINDBUGS] Collecting findbugs analysis files...
[FINDBUGS] Searching for all files in <https://builds.apache.org/job/Atlas-master-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=7bf4bf4902b72b42ed4ee22da43890e7cee2a85a, workspace=<https://builds.apache.org/job/Atlas-master-UnitTests/ws/>
[FINDBUGS] Computing warning deltas based on reference build #2116
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-master-UnitTests/builds/2124/testng/testng-results-1.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2124/testng/testng-results-2.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2124/testng/testng-results-3.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2124/testng/testng-results-4.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2124/testng/testng-results-5.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2124/testng/testng-results-6.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2124/testng/testng-results.xml'
TestNG Reports Processing: FINISH
Build failed in Jenkins: Atlas-master-UnitTests #2123
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Atlas-master-UnitTests/2123/display/redirect>
------------------------------------------
[...truncated 170.11 KB...]
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)
testRelationshipAttributeUpdate_NonComposite_ManyToMany(org.apache.atlas.repository.store.graph.v2.AtlasRelationshipStoreHardDeleteV2Test) Time elapsed: 0.217 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.v2.AtlasRelationshipStoreV2Test.verifyRelationshipAttributeList(AtlasRelationshipStoreV2Test.java:612)
at org.apache.atlas.repository.store.graph.v2.AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_ManyToMany(AtlasRelationshipStoreV2Test.java:544)
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)
testRelationshipAttributeUpdate_NonComposite_ManyToOne(org.apache.atlas.repository.store.graph.v2.AtlasRelationshipStoreHardDeleteV2Test) Time elapsed: 0.131 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.v2.AtlasRelationshipStoreV2Test.verifyRelationshipAttributeValue(AtlasRelationshipStoreV2Test.java:628)
at org.apache.atlas.repository.store.graph.v2.AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_ManyToOne(AtlasRelationshipStoreV2Test.java:411)
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)
testRelationshipAttributeUpdate_NonComposite_OneToOne(org.apache.atlas.repository.store.graph.v2.AtlasRelationshipStoreHardDeleteV2Test) Time elapsed: 0.048 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.v2.AtlasRelationshipStoreV2Test.verifyRelationshipAttributeValue(AtlasRelationshipStoreV2Test.java:628)
at org.apache.atlas.repository.store.graph.v2.AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_OneToOne(AtlasRelationshipStoreV2Test.java:477)
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: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 96.616 sec - in org.apache.atlas.repository.store.graph.v2.AtlasEntityStoreV2Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 98.711 sec - in org.apache.atlas.repository.migration.PathTest
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 101.497 sec - in org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 102.51 sec - in org.apache.atlas.repository.migration.HiveStocksTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 107.256 sec - in org.apache.atlas.repository.migration.TypesWithClassificationTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 107.907 sec - in org.apache.atlas.repository.migration.HiveParititionTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 109.693 sec - in org.apache.atlas.repository.migration.ComplexAttributesTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 119.189 sec - in org.apache.atlas.repository.tagpropagation.ClassificationPropagationTest
Tests run: 14, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 119.768 sec <<< FAILURE! - in org.apache.atlas.repository.impexp.ImportServiceTest
importLegacy(org.apache.atlas.repository.impexp.ImportServiceTest) Time elapsed: 2.313 sec <<< FAILURE!
java.lang.AssertionError: expected object to not be null
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.assertNotNull(Assert.java:406)
at org.testng.Assert.assertNotNull(Assert.java:391)
at org.apache.atlas.repository.impexp.ImportServiceTest.importLegacy(ImportServiceTest.java:214)
Tests run: 246, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 166.458 sec - in org.apache.atlas.query.DSLQueriesTest
Results :
Failed tests:
GlossaryServiceTest.testAddGlossaryCategoryChildren:733 » NullPointer atlasGlo...
GlossaryServiceTest.testAddTermsToCategory:674 » NullPointer atlasGlossaryCate...
org.apache.atlas.glossary.GlossaryServiceTest.testGetCategoryTerms(org.apache.atlas.glossary.GlossaryServiceTest)
Run 1: GlossaryServiceTest.testGetCategoryTerms:907 expected [2] but found [0]
Run 2: GlossaryServiceTest.testGetCategoryTerms:907 expected [2] but found [0]
Run 3: GlossaryServiceTest.testGetCategoryTerms:907 expected [1] but found [0]
Run 4: PASS
GlossaryServiceTest.testTermAssignmentAndDissociation:778 expected [1] but found [0]
GlossaryServiceTest.testTermRelation:823 » NullPointer atlasGlossaryTerm ancho...
GlossaryServiceTest.testUpdateGlossary:366 » NullPointer
GlossaryServiceTest.testUpdateGlossaryCategory:494 » NullPointer atlasGlossary...
GlossaryServiceTest.testUpdateGlossaryTerm:467 » NullPointer atlasGlossaryTerm...
ImportServiceTest.importLegacy:214 expected object to not be null
AtlasRelationshipStoreHardDeleteV2Test>AtlasRelationshipStoreV2Test.testDepartmentEmployeeEntitiesUsingRelationship:156 expected [5] but found [0]
AtlasRelationshipStoreHardDeleteV2Test>AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_ManyToMany:544->AtlasRelationshipStoreV2Test.verifyRelationshipAttributeList:612 expected [true] but found [false]
AtlasRelationshipStoreHardDeleteV2Test>AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_ManyToOne:411->AtlasRelationshipStoreV2Test.verifyRelationshipAttributeValue:628 expected [true] but found [false]
AtlasRelationshipStoreHardDeleteV2Test>AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_OneToOne:477->AtlasRelationshipStoreV2Test.verifyRelationshipAttributeValue:628 expected [true] but found [false]
AtlasRelationshipStoreSoftDeleteV2Test>AtlasRelationshipStoreV2Test.testDepartmentEmployeeEntitiesUsingRelationship:156 expected [5] but found [0]
AtlasRelationshipStoreSoftDeleteV2Test>AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_ManyToMany:544->AtlasRelationshipStoreV2Test.verifyRelationshipAttributeList:612 expected [true] but found [false]
AtlasRelationshipStoreSoftDeleteV2Test>AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_ManyToOne:411->AtlasRelationshipStoreV2Test.verifyRelationshipAttributeValue:628 expected [true] but found [false]
AtlasRelationshipStoreSoftDeleteV2Test>AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_OneToOne:477->AtlasRelationshipStoreV2Test.verifyRelationshipAttributeValue:628 expected [true] but found [false]
Tests run: 544, Failures: 17, Errors: 0, Skipped: 13
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Atlas Server Build Tools 1.0 ................ SUCCESS [ 0.661 s]
[INFO] apache-atlas 2.0.0-SNAPSHOT ........................ SUCCESS [ 2.075 s]
[INFO] Apache Atlas Test Utility Tools .................... SUCCESS [ 5.128 s]
[INFO] Apache Atlas Integration ........................... SUCCESS [ 34.248 s]
[INFO] Apache Atlas Common ................................ SUCCESS [ 2.411 s]
[INFO] Apache Atlas Client ................................ SUCCESS [ 0.191 s]
[INFO] atlas-client-common ................................ SUCCESS [ 1.009 s]
[INFO] atlas-client-v1 .................................... SUCCESS [ 3.033 s]
[INFO] Apache Atlas Server API ............................ SUCCESS [ 0.992 s]
[INFO] Apache Atlas Notification .......................... SUCCESS [ 18.577 s]
[INFO] atlas-client-v2 .................................... SUCCESS [ 1.008 s]
[INFO] Apache Atlas Graph Database Projects ............... SUCCESS [ 0.115 s]
[INFO] Apache Atlas Graph Database API .................... SUCCESS [ 0.799 s]
[INFO] Graph Database Common Code ......................... SUCCESS [ 0.983 s]
[INFO] Apache Atlas JanusGraph DB Impl .................... SUCCESS [02:12 min]
[INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [ 2.243 s]
[INFO] Shaded version of Apache hbase client .............. SUCCESS [ 8.180 s]
[INFO] Shaded version of Apache hbase server .............. SUCCESS [ 20.686 s]
[INFO] Apache Atlas Authorization ......................... SUCCESS [ 2.757 s]
[INFO] Apache Atlas Repository ............................ FAILURE [02:59 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 2.0.0-SNAPSHOT ........... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 06:58 min
[INFO] Finished at: 2018-08-08T15:33:08Z
[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-master-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-master-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=7bf4bf4902b72b42ed4ee22da43890e7cee2a85a, workspace=<https://builds.apache.org/job/Atlas-master-UnitTests/ws/>
[CHECKSTYLE] Computing warning deltas based on reference build #2116
[FINDBUGS] Collecting findbugs analysis files...
[FINDBUGS] Searching for all files in <https://builds.apache.org/job/Atlas-master-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=7bf4bf4902b72b42ed4ee22da43890e7cee2a85a, workspace=<https://builds.apache.org/job/Atlas-master-UnitTests/ws/>
[FINDBUGS] Computing warning deltas based on reference build #2116
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-master-UnitTests/builds/2123/testng/testng-results-1.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2123/testng/testng-results-2.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2123/testng/testng-results-3.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2123/testng/testng-results-4.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2123/testng/testng-results-5.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2123/testng/testng-results-6.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2123/testng/testng-results.xml'
TestNG Reports Processing: FINISH
Build failed in Jenkins: Atlas-master-UnitTests #2122
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Atlas-master-UnitTests/2122/display/redirect?page=changes>
Changes:
[graham_wallis] ATLAS-2787; Removed redundant OM modules
[nixon] ATLAS-2809 : - Fix typo's in relationship permission in
------------------------------------------
[...truncated 170.03 KB...]
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: 31, Failures: 10, Errors: 0, Skipped: 6, Time elapsed: 156.601 sec <<< FAILURE! - in org.apache.atlas.glossary.GlossaryServiceTest
testAddGlossaryCategoryChildren(org.apache.atlas.glossary.GlossaryServiceTest) Time elapsed: 0.224 sec <<< FAILURE!
java.lang.NullPointerException: atlasGlossaryCategory anchor must be specified
at java.util.Objects.requireNonNull(Objects.java:228)
at org.apache.atlas.repository.ogm.glossary.AtlasGlossaryCategoryDTO.toEntity(AtlasGlossaryCategoryDTO.java:118)
at org.apache.atlas.repository.ogm.glossary.AtlasGlossaryCategoryDTO.toEntityWithExtInfo(AtlasGlossaryCategoryDTO.java:139)
at org.apache.atlas.repository.ogm.glossary.AtlasGlossaryCategoryDTO.toEntityWithExtInfo(AtlasGlossaryCategoryDTO.java:36)
at org.apache.atlas.repository.ogm.DataAccess.save(DataAccess.java:67)
at org.apache.atlas.glossary.GlossaryService.updateCategory(GlossaryService.java:641)
at org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:75)
at org.apache.atlas.glossary.GlossaryServiceTest.testAddGlossaryCategoryChildren(GlossaryServiceTest.java:733)
testAddTermsToCategory(org.apache.atlas.glossary.GlossaryServiceTest) Time elapsed: 0.508 sec <<< FAILURE!
java.lang.NullPointerException: atlasGlossaryCategory anchor must be specified
at java.util.Objects.requireNonNull(Objects.java:228)
at org.apache.atlas.repository.ogm.glossary.AtlasGlossaryCategoryDTO.toEntity(AtlasGlossaryCategoryDTO.java:118)
at org.apache.atlas.repository.ogm.glossary.AtlasGlossaryCategoryDTO.toEntityWithExtInfo(AtlasGlossaryCategoryDTO.java:139)
at org.apache.atlas.repository.ogm.glossary.AtlasGlossaryCategoryDTO.toEntityWithExtInfo(AtlasGlossaryCategoryDTO.java:36)
at org.apache.atlas.repository.ogm.DataAccess.save(DataAccess.java:67)
at org.apache.atlas.glossary.GlossaryService.updateCategory(GlossaryService.java:641)
at org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:75)
at org.apache.atlas.glossary.GlossaryServiceTest.testAddTermsToCategory(GlossaryServiceTest.java:674)
testGetCategoryTerms(org.apache.atlas.glossary.GlossaryServiceTest) Time elapsed: 0.068 sec <<< FAILURE!
java.lang.AssertionError: expected [2] but found [0]
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:372)
at org.testng.Assert.assertEquals(Assert.java:382)
at org.apache.atlas.glossary.GlossaryServiceTest.testGetCategoryTerms(GlossaryServiceTest.java:907)
testGetCategoryTerms(org.apache.atlas.glossary.GlossaryServiceTest) Time elapsed: 0.093 sec <<< FAILURE!
java.lang.AssertionError: expected [2] but found [0]
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:372)
at org.testng.Assert.assertEquals(Assert.java:382)
at org.apache.atlas.glossary.GlossaryServiceTest.testGetCategoryTerms(GlossaryServiceTest.java:907)
testGetCategoryTerms(org.apache.atlas.glossary.GlossaryServiceTest) Time elapsed: 0.118 sec <<< FAILURE!
java.lang.AssertionError: expected [1] but found [0]
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:372)
at org.testng.Assert.assertEquals(Assert.java:382)
at org.apache.atlas.glossary.GlossaryServiceTest.testGetCategoryTerms(GlossaryServiceTest.java:907)
testTermAssignmentAndDissociation(org.apache.atlas.glossary.GlossaryServiceTest) Time elapsed: 1.393 sec <<< FAILURE!
java.lang.AssertionError: expected [1] but found [0]
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:372)
at org.testng.Assert.assertEquals(Assert.java:382)
at org.apache.atlas.glossary.GlossaryServiceTest.testTermAssignmentAndDissociation(GlossaryServiceTest.java:778)
testTermRelation(org.apache.atlas.glossary.GlossaryServiceTest) Time elapsed: 0.22 sec <<< FAILURE!
java.lang.NullPointerException: atlasGlossaryTerm anchor must be specified
at java.util.Objects.requireNonNull(Objects.java:228)
at org.apache.atlas.repository.ogm.glossary.AtlasGlossaryTermDTO.toEntity(AtlasGlossaryTermDTO.java:210)
at org.apache.atlas.repository.ogm.glossary.AtlasGlossaryTermDTO.toEntityWithExtInfo(AtlasGlossaryTermDTO.java:242)
at org.apache.atlas.repository.ogm.glossary.AtlasGlossaryTermDTO.toEntityWithExtInfo(AtlasGlossaryTermDTO.java:38)
at org.apache.atlas.repository.ogm.DataAccess.save(DataAccess.java:67)
at org.apache.atlas.glossary.GlossaryService.updateTerm(GlossaryService.java:415)
at org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:75)
at org.apache.atlas.glossary.GlossaryServiceTest.testTermRelation(GlossaryServiceTest.java:823)
testUpdateGlossary(org.apache.atlas.glossary.GlossaryServiceTest) Time elapsed: 0.533 sec <<< FAILURE!
java.lang.NullPointerException: null
at java.util.ArrayList.<init>(ArrayList.java:178)
at org.apache.atlas.glossary.GlossaryServiceTest.testUpdateGlossary(GlossaryServiceTest.java:366)
testUpdateGlossaryCategory(org.apache.atlas.glossary.GlossaryServiceTest) Time elapsed: 0.22 sec <<< FAILURE!
java.lang.NullPointerException: atlasGlossaryCategory anchor must be specified
at java.util.Objects.requireNonNull(Objects.java:228)
at org.apache.atlas.repository.ogm.glossary.AtlasGlossaryCategoryDTO.toEntity(AtlasGlossaryCategoryDTO.java:118)
at org.apache.atlas.repository.ogm.glossary.AtlasGlossaryCategoryDTO.toEntityWithExtInfo(AtlasGlossaryCategoryDTO.java:139)
at org.apache.atlas.repository.ogm.glossary.AtlasGlossaryCategoryDTO.toEntityWithExtInfo(AtlasGlossaryCategoryDTO.java:36)
at org.apache.atlas.repository.ogm.DataAccess.save(DataAccess.java:67)
at org.apache.atlas.glossary.GlossaryService.updateCategory(GlossaryService.java:641)
at org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:75)
at org.apache.atlas.glossary.GlossaryServiceTest.testUpdateGlossaryCategory(GlossaryServiceTest.java:494)
testUpdateGlossaryTerm(org.apache.atlas.glossary.GlossaryServiceTest) Time elapsed: 11.42 sec <<< FAILURE!
java.lang.NullPointerException: atlasGlossaryTerm anchor must be specified
at java.util.Objects.requireNonNull(Objects.java:228)
at org.apache.atlas.repository.ogm.glossary.AtlasGlossaryTermDTO.toEntity(AtlasGlossaryTermDTO.java:210)
at org.apache.atlas.repository.ogm.glossary.AtlasGlossaryTermDTO.toEntityWithExtInfo(AtlasGlossaryTermDTO.java:242)
at org.apache.atlas.repository.ogm.glossary.AtlasGlossaryTermDTO.toEntityWithExtInfo(AtlasGlossaryTermDTO.java:38)
at org.apache.atlas.repository.ogm.DataAccess.save(DataAccess.java:67)
at org.apache.atlas.glossary.GlossaryService.updateTerm(GlossaryService.java:415)
at org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:75)
at org.apache.atlas.glossary.GlossaryServiceTest.testUpdateGlossaryTerm(GlossaryServiceTest.java:467)
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 157.833 sec - in org.apache.atlas.repository.store.graph.v2.AtlasComplexAttributesTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 159.409 sec - in org.apache.atlas.repository.store.graph.v2.InverseReferenceUpdateHardDeleteV2Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 161.705 sec - in org.apache.atlas.repository.migration.TypesWithClassificationTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 163.472 sec - in org.apache.atlas.repository.userprofile.UserProfileServiceTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 165.686 sec - in org.apache.atlas.repository.impexp.ExportServiceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 171.635 sec - in org.apache.atlas.repository.migration.HiveStocksTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 170.954 sec - in org.apache.atlas.repository.migration.PathTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 179.207 sec - in org.apache.atlas.repository.migration.HiveParititionTest
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 177.768 sec - in org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 180.661 sec - in org.apache.atlas.repository.store.graph.v2.AtlasEntityStoreV2Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 183.444 sec - in org.apache.atlas.repository.migration.ComplexAttributesTest
Tests run: 14, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 210.3 sec <<< FAILURE! - in org.apache.atlas.repository.impexp.ImportServiceTest
importLegacy(org.apache.atlas.repository.impexp.ImportServiceTest) Time elapsed: 3.564 sec <<< FAILURE!
java.lang.AssertionError: expected object to not be null
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.assertNotNull(Assert.java:406)
at org.testng.Assert.assertNotNull(Assert.java:391)
at org.apache.atlas.repository.impexp.ImportServiceTest.importLegacy(ImportServiceTest.java:214)
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 216.99 sec - in org.apache.atlas.repository.tagpropagation.ClassificationPropagationTest
Tests run: 246, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 299.216 sec - in org.apache.atlas.query.DSLQueriesTest
Results :
Failed tests:
GlossaryServiceTest.testAddGlossaryCategoryChildren:733 » NullPointer atlasGlo...
GlossaryServiceTest.testAddTermsToCategory:674 » NullPointer atlasGlossaryCate...
org.apache.atlas.glossary.GlossaryServiceTest.testGetCategoryTerms(org.apache.atlas.glossary.GlossaryServiceTest)
Run 1: GlossaryServiceTest.testGetCategoryTerms:907 expected [2] but found [0]
Run 2: GlossaryServiceTest.testGetCategoryTerms:907 expected [2] but found [0]
Run 3: GlossaryServiceTest.testGetCategoryTerms:907 expected [1] but found [0]
Run 4: PASS
GlossaryServiceTest.testTermAssignmentAndDissociation:778 expected [1] but found [0]
GlossaryServiceTest.testTermRelation:823 » NullPointer atlasGlossaryTerm ancho...
GlossaryServiceTest.testUpdateGlossary:366 » NullPointer
GlossaryServiceTest.testUpdateGlossaryCategory:494 » NullPointer atlasGlossary...
GlossaryServiceTest.testUpdateGlossaryTerm:467 » NullPointer atlasGlossaryTerm...
ImportServiceTest.importLegacy:214 expected object to not be null
AtlasRelationshipStoreHardDeleteV2Test>AtlasRelationshipStoreV2Test.testDepartmentEmployeeEntitiesUsingRelationship:156 expected [5] but found [0]
AtlasRelationshipStoreHardDeleteV2Test>AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_ManyToMany:544->AtlasRelationshipStoreV2Test.verifyRelationshipAttributeList:612 expected [true] but found [false]
AtlasRelationshipStoreHardDeleteV2Test>AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_ManyToOne:411->AtlasRelationshipStoreV2Test.verifyRelationshipAttributeValue:628 expected [true] but found [false]
AtlasRelationshipStoreHardDeleteV2Test>AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_OneToOne:477->AtlasRelationshipStoreV2Test.verifyRelationshipAttributeValue:628 expected [true] but found [false]
AtlasRelationshipStoreSoftDeleteV2Test>AtlasRelationshipStoreV2Test.testDepartmentEmployeeEntitiesUsingRelationship:156 expected [5] but found [0]
AtlasRelationshipStoreSoftDeleteV2Test>AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_ManyToMany:544->AtlasRelationshipStoreV2Test.verifyRelationshipAttributeList:612 expected [true] but found [false]
AtlasRelationshipStoreSoftDeleteV2Test>AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_ManyToOne:411->AtlasRelationshipStoreV2Test.verifyRelationshipAttributeValue:628 expected [true] but found [false]
AtlasRelationshipStoreSoftDeleteV2Test>AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_OneToOne:477->AtlasRelationshipStoreV2Test.verifyRelationshipAttributeValue:628 expected [true] but found [false]
Tests run: 544, Failures: 17, Errors: 0, Skipped: 13
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Atlas Server Build Tools 1.0 ................ SUCCESS [ 0.563 s]
[INFO] apache-atlas 2.0.0-SNAPSHOT ........................ SUCCESS [ 2.144 s]
[INFO] Apache Atlas Test Utility Tools .................... SUCCESS [ 4.783 s]
[INFO] Apache Atlas Integration ........................... SUCCESS [ 50.632 s]
[INFO] Apache Atlas Common ................................ SUCCESS [ 2.251 s]
[INFO] Apache Atlas Client ................................ SUCCESS [ 0.132 s]
[INFO] atlas-client-common ................................ SUCCESS [ 0.853 s]
[INFO] atlas-client-v1 .................................... SUCCESS [ 2.729 s]
[INFO] Apache Atlas Server API ............................ SUCCESS [ 0.783 s]
[INFO] Apache Atlas Notification .......................... SUCCESS [ 17.912 s]
[INFO] atlas-client-v2 .................................... SUCCESS [ 0.866 s]
[INFO] Apache Atlas Graph Database Projects ............... SUCCESS [ 0.106 s]
[INFO] Apache Atlas Graph Database API .................... SUCCESS [ 0.669 s]
[INFO] Graph Database Common Code ......................... SUCCESS [ 0.783 s]
[INFO] Apache Atlas JanusGraph DB Impl .................... SUCCESS [02:20 min]
[INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [ 2.266 s]
[INFO] Shaded version of Apache hbase client .............. SUCCESS [ 10.130 s]
[INFO] Shaded version of Apache hbase server .............. SUCCESS [ 31.300 s]
[INFO] Apache Atlas Authorization ......................... SUCCESS [ 5.373 s]
[INFO] Apache Atlas Repository ............................ FAILURE [05:23 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 2.0.0-SNAPSHOT ........... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 09:59 min
[INFO] Finished at: 2018-08-08T14:36:18Z
[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-master-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-master-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=7bf4bf4902b72b42ed4ee22da43890e7cee2a85a, workspace=<https://builds.apache.org/job/Atlas-master-UnitTests/ws/>
[CHECKSTYLE] Computing warning deltas based on reference build #2116
[FINDBUGS] Collecting findbugs analysis files...
[FINDBUGS] Searching for all files in <https://builds.apache.org/job/Atlas-master-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=7bf4bf4902b72b42ed4ee22da43890e7cee2a85a, workspace=<https://builds.apache.org/job/Atlas-master-UnitTests/ws/>
[FINDBUGS] Computing warning deltas based on reference build #2116
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-master-UnitTests/builds/2122/testng/testng-results-1.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2122/testng/testng-results-2.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2122/testng/testng-results-3.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2122/testng/testng-results-4.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2122/testng/testng-results-5.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2122/testng/testng-results-6.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2122/testng/testng-results.xml'
TestNG Reports Processing: FINISH
Build failed in Jenkins: Atlas-master-UnitTests #2121
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Atlas-master-UnitTests/2121/display/redirect>
------------------------------------------
[...truncated 204.80 KB...]
testRelationshipAttributeUpdate_NonComposite_ManyToMany(org.apache.atlas.repository.store.graph.v2.AtlasRelationshipStoreSoftDeleteV2Test) Time elapsed: 0.266 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.v2.AtlasRelationshipStoreV2Test.verifyRelationshipAttributeList(AtlasRelationshipStoreV2Test.java:612)
at org.apache.atlas.repository.store.graph.v2.AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_ManyToMany(AtlasRelationshipStoreV2Test.java:544)
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)
testRelationshipAttributeUpdate_NonComposite_ManyToOne(org.apache.atlas.repository.store.graph.v2.AtlasRelationshipStoreSoftDeleteV2Test) Time elapsed: 0.104 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.v2.AtlasRelationshipStoreV2Test.verifyRelationshipAttributeValue(AtlasRelationshipStoreV2Test.java:628)
at org.apache.atlas.repository.store.graph.v2.AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_ManyToOne(AtlasRelationshipStoreV2Test.java:411)
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)
testRelationshipAttributeUpdate_NonComposite_OneToOne(org.apache.atlas.repository.store.graph.v2.AtlasRelationshipStoreSoftDeleteV2Test) Time elapsed: 0.058 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.v2.AtlasRelationshipStoreV2Test.verifyRelationshipAttributeValue(AtlasRelationshipStoreV2Test.java:628)
at org.apache.atlas.repository.store.graph.v2.AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_OneToOne(AtlasRelationshipStoreV2Test.java:477)
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: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 92.154 sec - in org.apache.atlas.repository.userprofile.UserProfileServiceTest
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 100.717 sec - in org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 103.278 sec - in org.apache.atlas.repository.migration.HiveParititionTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 104.571 sec - in org.apache.atlas.repository.migration.TypesWithClassificationTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 105.419 sec - in org.apache.atlas.repository.migration.PathTest
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 105.682 sec - in org.apache.atlas.repository.store.graph.v2.AtlasEntityStoreV2Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 108.029 sec - in org.apache.atlas.repository.migration.ComplexAttributesTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 108.679 sec - in org.apache.atlas.repository.migration.HiveStocksTest
Tests run: 14, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 114.374 sec <<< FAILURE! - in org.apache.atlas.repository.impexp.ImportServiceTest
importLegacy(org.apache.atlas.repository.impexp.ImportServiceTest) Time elapsed: 2.969 sec <<< FAILURE!
java.lang.AssertionError: expected object to not be null
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.assertNotNull(Assert.java:406)
at org.testng.Assert.assertNotNull(Assert.java:391)
at org.apache.atlas.repository.impexp.ImportServiceTest.importLegacy(ImportServiceTest.java:214)
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 118.911 sec - in org.apache.atlas.repository.tagpropagation.ClassificationPropagationTest
Tests run: 246, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 164.549 sec - in org.apache.atlas.query.DSLQueriesTest
Results :
Failed tests:
GlossaryServiceTest.testAddGlossaryCategoryChildren:733 » NullPointer atlasGlo...
GlossaryServiceTest.testAddTermsToCategory:674 » NullPointer atlasGlossaryCate...
org.apache.atlas.glossary.GlossaryServiceTest.testGetCategoryTerms(org.apache.atlas.glossary.GlossaryServiceTest)
Run 1: GlossaryServiceTest.testGetCategoryTerms:907 expected [2] but found [0]
Run 2: GlossaryServiceTest.testGetCategoryTerms:907 expected [2] but found [0]
Run 3: GlossaryServiceTest.testGetCategoryTerms:907 expected [1] but found [0]
Run 4: PASS
GlossaryServiceTest.testTermAssignmentAndDissociation:778 expected [1] but found [0]
GlossaryServiceTest.testTermRelation:823 » NullPointer atlasGlossaryTerm ancho...
GlossaryServiceTest.testUpdateGlossary:366 » NullPointer
GlossaryServiceTest.testUpdateGlossaryCategory:494 » NullPointer atlasGlossary...
GlossaryServiceTest.testUpdateGlossaryTerm:467 » NullPointer atlasGlossaryTerm...
ImportServiceTest.importLegacy:214 expected object to not be null
AtlasRelationshipStoreHardDeleteV2Test>AtlasRelationshipStoreV2Test.testDepartmentEmployeeEntitiesUsingRelationship:156 expected [5] but found [0]
AtlasRelationshipStoreHardDeleteV2Test>AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_ManyToMany:544->AtlasRelationshipStoreV2Test.verifyRelationshipAttributeList:612 expected [true] but found [false]
AtlasRelationshipStoreHardDeleteV2Test>AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_ManyToOne:411->AtlasRelationshipStoreV2Test.verifyRelationshipAttributeValue:628 expected [true] but found [false]
AtlasRelationshipStoreHardDeleteV2Test>AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_OneToOne:477->AtlasRelationshipStoreV2Test.verifyRelationshipAttributeValue:628 expected [true] but found [false]
AtlasRelationshipStoreSoftDeleteV2Test>AtlasRelationshipStoreV2Test.testDepartmentEmployeeEntitiesUsingRelationship:156 expected [5] but found [0]
AtlasRelationshipStoreSoftDeleteV2Test>AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_ManyToMany:544->AtlasRelationshipStoreV2Test.verifyRelationshipAttributeList:612 expected [true] but found [false]
AtlasRelationshipStoreSoftDeleteV2Test>AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_ManyToOne:411->AtlasRelationshipStoreV2Test.verifyRelationshipAttributeValue:628 expected [true] but found [false]
AtlasRelationshipStoreSoftDeleteV2Test>AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_OneToOne:477->AtlasRelationshipStoreV2Test.verifyRelationshipAttributeValue:628 expected [true] but found [false]
Tests run: 544, Failures: 17, Errors: 0, Skipped: 13
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Atlas Server Build Tools 1.0 ................ SUCCESS [ 0.545 s]
[INFO] apache-atlas 2.0.0-SNAPSHOT ........................ SUCCESS [ 1.889 s]
[INFO] Apache Atlas Test Utility Tools .................... SUCCESS [ 4.907 s]
[INFO] Open Connector Framework (OCF) ..................... SUCCESS [ 1.544 s]
[INFO] Open Metadata Repository Services (OMRS) ........... SUCCESS [ 5.208 s]
[INFO] Open Metadata and Governance (OMAG) Server APIs .... SUCCESS [ 0.943 s]
[INFO] Connected Asset Open Metadata Access Service (OMAS) SUCCESS [ 1.046 s]
[INFO] Asset Consumer Open Metadata Access Service (OMAS) . SUCCESS [ 0.974 s]
[INFO] Open Metadata and Governance (OMAG) Server ......... SUCCESS [ 1.121 s]
[INFO] Apache Atlas Integration ........................... SUCCESS [ 31.744 s]
[INFO] Apache Atlas Common ................................ SUCCESS [ 2.432 s]
[INFO] Apache Atlas Client ................................ SUCCESS [ 0.150 s]
[INFO] atlas-client-common ................................ SUCCESS [ 0.809 s]
[INFO] atlas-client-v1 .................................... SUCCESS [ 3.092 s]
[INFO] Apache Atlas Server API ............................ SUCCESS [ 0.983 s]
[INFO] Apache Atlas Notification .......................... SUCCESS [ 18.682 s]
[INFO] atlas-client-v2 .................................... SUCCESS [ 0.823 s]
[INFO] Apache Atlas Graph Database Projects ............... SUCCESS [ 0.100 s]
[INFO] Apache Atlas Graph Database API .................... SUCCESS [ 0.701 s]
[INFO] Graph Database Common Code ......................... SUCCESS [ 0.983 s]
[INFO] Apache Atlas JanusGraph DB Impl .................... SUCCESS [02:21 min]
[INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [ 1.885 s]
[INFO] Shaded version of Apache hbase client .............. SUCCESS [ 8.294 s]
[INFO] Shaded version of Apache hbase server .............. SUCCESS [ 20.093 s]
[INFO] Apache Atlas Authorization ......................... SUCCESS [ 2.471 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 2.0.0-SNAPSHOT ........... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 07:10 min
[INFO] Finished at: 2018-08-08T12:33:21Z
[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-master-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-master-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=fbb244c2e4feb90949c7e3c1cbbf4bd2fe729a68, workspace=<https://builds.apache.org/job/Atlas-master-UnitTests/ws/>
[CHECKSTYLE] Computing warning deltas based on reference build #2116
[FINDBUGS] Collecting findbugs analysis files...
[FINDBUGS] Searching for all files in <https://builds.apache.org/job/Atlas-master-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=fbb244c2e4feb90949c7e3c1cbbf4bd2fe729a68, workspace=<https://builds.apache.org/job/Atlas-master-UnitTests/ws/>
[FINDBUGS] Computing warning deltas based on reference build #2116
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-master-UnitTests/builds/2121/testng/testng-results-1.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2121/testng/testng-results-2.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2121/testng/testng-results-3.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2121/testng/testng-results-4.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2121/testng/testng-results-5.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2121/testng/testng-results-6.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2121/testng/testng-results-7.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2121/testng/testng-results.xml'
TestNG Reports Processing: FINISH
Build failed in Jenkins: Atlas-master-UnitTests #2120
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Atlas-master-UnitTests/2120/display/redirect>
------------------------------------------
[...truncated 204.78 KB...]
testRelationshipAttributeUpdate_NonComposite_ManyToMany(org.apache.atlas.repository.store.graph.v2.AtlasRelationshipStoreSoftDeleteV2Test) Time elapsed: 1.515 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.v2.AtlasRelationshipStoreV2Test.verifyRelationshipAttributeList(AtlasRelationshipStoreV2Test.java:612)
at org.apache.atlas.repository.store.graph.v2.AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_ManyToMany(AtlasRelationshipStoreV2Test.java:544)
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)
testRelationshipAttributeUpdate_NonComposite_ManyToOne(org.apache.atlas.repository.store.graph.v2.AtlasRelationshipStoreSoftDeleteV2Test) Time elapsed: 0.309 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.v2.AtlasRelationshipStoreV2Test.verifyRelationshipAttributeValue(AtlasRelationshipStoreV2Test.java:628)
at org.apache.atlas.repository.store.graph.v2.AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_ManyToOne(AtlasRelationshipStoreV2Test.java:411)
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)
testRelationshipAttributeUpdate_NonComposite_OneToOne(org.apache.atlas.repository.store.graph.v2.AtlasRelationshipStoreSoftDeleteV2Test) Time elapsed: 0.172 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.v2.AtlasRelationshipStoreV2Test.verifyRelationshipAttributeValue(AtlasRelationshipStoreV2Test.java:628)
at org.apache.atlas.repository.store.graph.v2.AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_OneToOne(AtlasRelationshipStoreV2Test.java:477)
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: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 93.854 sec - in org.apache.atlas.repository.store.graph.v2.InverseReferenceUpdateSoftDeleteV2Test
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 101.905 sec - in org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 104.386 sec - in org.apache.atlas.repository.migration.ComplexAttributesTest
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 104.467 sec - in org.apache.atlas.repository.store.graph.v2.AtlasEntityStoreV2Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 106.792 sec - in org.apache.atlas.repository.migration.HiveParititionTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 107.791 sec - in org.apache.atlas.repository.migration.TypesWithClassificationTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 109.78 sec - in org.apache.atlas.repository.migration.PathTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 110.454 sec - in org.apache.atlas.repository.migration.HiveStocksTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 120.598 sec - in org.apache.atlas.repository.tagpropagation.ClassificationPropagationTest
Tests run: 14, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 121.144 sec <<< FAILURE! - in org.apache.atlas.repository.impexp.ImportServiceTest
importLegacy(org.apache.atlas.repository.impexp.ImportServiceTest) Time elapsed: 2.104 sec <<< FAILURE!
java.lang.AssertionError: expected object to not be null
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.assertNotNull(Assert.java:406)
at org.testng.Assert.assertNotNull(Assert.java:391)
at org.apache.atlas.repository.impexp.ImportServiceTest.importLegacy(ImportServiceTest.java:214)
Tests run: 246, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 171.241 sec - in org.apache.atlas.query.DSLQueriesTest
Results :
Failed tests:
GlossaryServiceTest.testAddGlossaryCategoryChildren:733 » NullPointer atlasGlo...
GlossaryServiceTest.testAddTermsToCategory:674 » NullPointer atlasGlossaryCate...
org.apache.atlas.glossary.GlossaryServiceTest.testGetCategoryTerms(org.apache.atlas.glossary.GlossaryServiceTest)
Run 1: GlossaryServiceTest.testGetCategoryTerms:907 expected [2] but found [0]
Run 2: GlossaryServiceTest.testGetCategoryTerms:907 expected [2] but found [0]
Run 3: GlossaryServiceTest.testGetCategoryTerms:907 expected [1] but found [0]
Run 4: PASS
GlossaryServiceTest.testTermAssignmentAndDissociation:778 expected [1] but found [0]
GlossaryServiceTest.testTermRelation:823 » NullPointer atlasGlossaryTerm ancho...
GlossaryServiceTest.testUpdateGlossary:366 » NullPointer
GlossaryServiceTest.testUpdateGlossaryCategory:494 » NullPointer atlasGlossary...
GlossaryServiceTest.testUpdateGlossaryTerm:467 » NullPointer atlasGlossaryTerm...
ImportServiceTest.importLegacy:214 expected object to not be null
AtlasRelationshipStoreHardDeleteV2Test>AtlasRelationshipStoreV2Test.testDepartmentEmployeeEntitiesUsingRelationship:156 expected [5] but found [0]
AtlasRelationshipStoreHardDeleteV2Test>AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_ManyToMany:544->AtlasRelationshipStoreV2Test.verifyRelationshipAttributeList:612 expected [true] but found [false]
AtlasRelationshipStoreHardDeleteV2Test>AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_ManyToOne:411->AtlasRelationshipStoreV2Test.verifyRelationshipAttributeValue:628 expected [true] but found [false]
AtlasRelationshipStoreHardDeleteV2Test>AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_OneToOne:477->AtlasRelationshipStoreV2Test.verifyRelationshipAttributeValue:628 expected [true] but found [false]
AtlasRelationshipStoreSoftDeleteV2Test>AtlasRelationshipStoreV2Test.testDepartmentEmployeeEntitiesUsingRelationship:156 expected [5] but found [0]
AtlasRelationshipStoreSoftDeleteV2Test>AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_ManyToMany:544->AtlasRelationshipStoreV2Test.verifyRelationshipAttributeList:612 expected [true] but found [false]
AtlasRelationshipStoreSoftDeleteV2Test>AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_ManyToOne:411->AtlasRelationshipStoreV2Test.verifyRelationshipAttributeValue:628 expected [true] but found [false]
AtlasRelationshipStoreSoftDeleteV2Test>AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_OneToOne:477->AtlasRelationshipStoreV2Test.verifyRelationshipAttributeValue:628 expected [true] but found [false]
Tests run: 544, Failures: 17, Errors: 0, Skipped: 13
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Atlas Server Build Tools 1.0 ................ SUCCESS [ 0.531 s]
[INFO] apache-atlas 2.0.0-SNAPSHOT ........................ SUCCESS [ 2.009 s]
[INFO] Apache Atlas Test Utility Tools .................... SUCCESS [ 5.245 s]
[INFO] Open Connector Framework (OCF) ..................... SUCCESS [ 1.593 s]
[INFO] Open Metadata Repository Services (OMRS) ........... SUCCESS [ 5.302 s]
[INFO] Open Metadata and Governance (OMAG) Server APIs .... SUCCESS [ 0.929 s]
[INFO] Connected Asset Open Metadata Access Service (OMAS) SUCCESS [ 1.010 s]
[INFO] Asset Consumer Open Metadata Access Service (OMAS) . SUCCESS [ 1.111 s]
[INFO] Open Metadata and Governance (OMAG) Server ......... SUCCESS [ 1.151 s]
[INFO] Apache Atlas Integration ........................... SUCCESS [ 33.856 s]
[INFO] Apache Atlas Common ................................ SUCCESS [ 2.378 s]
[INFO] Apache Atlas Client ................................ SUCCESS [ 0.181 s]
[INFO] atlas-client-common ................................ SUCCESS [ 0.798 s]
[INFO] atlas-client-v1 .................................... SUCCESS [ 3.114 s]
[INFO] Apache Atlas Server API ............................ SUCCESS [ 0.848 s]
[INFO] Apache Atlas Notification .......................... SUCCESS [ 17.561 s]
[INFO] atlas-client-v2 .................................... SUCCESS [ 0.704 s]
[INFO] Apache Atlas Graph Database Projects ............... SUCCESS [ 0.083 s]
[INFO] Apache Atlas Graph Database API .................... SUCCESS [ 0.818 s]
[INFO] Graph Database Common Code ......................... SUCCESS [ 0.920 s]
[INFO] Apache Atlas JanusGraph DB Impl .................... SUCCESS [02:32 min]
[INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [ 2.041 s]
[INFO] Shaded version of Apache hbase client .............. SUCCESS [ 8.054 s]
[INFO] Shaded version of Apache hbase server .............. SUCCESS [ 19.367 s]
[INFO] Apache Atlas Authorization ......................... SUCCESS [ 2.517 s]
[INFO] Apache Atlas Repository ............................ FAILURE [03:02 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 2.0.0-SNAPSHOT ........... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 07:28 min
[INFO] Finished at: 2018-08-08T09:33:39Z
[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-master-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-master-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=fbb244c2e4feb90949c7e3c1cbbf4bd2fe729a68, workspace=<https://builds.apache.org/job/Atlas-master-UnitTests/ws/>
[CHECKSTYLE] Computing warning deltas based on reference build #2116
[FINDBUGS] Collecting findbugs analysis files...
[FINDBUGS] Searching for all files in <https://builds.apache.org/job/Atlas-master-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=fbb244c2e4feb90949c7e3c1cbbf4bd2fe729a68, workspace=<https://builds.apache.org/job/Atlas-master-UnitTests/ws/>
[FINDBUGS] Computing warning deltas based on reference build #2116
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-master-UnitTests/builds/2120/testng/testng-results-1.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2120/testng/testng-results-2.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2120/testng/testng-results-3.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2120/testng/testng-results-4.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2120/testng/testng-results-5.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2120/testng/testng-results-6.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2120/testng/testng-results-7.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2120/testng/testng-results.xml'
TestNG Reports Processing: FINISH
Build failed in Jenkins: Atlas-master-UnitTests #2119
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Atlas-master-UnitTests/2119/display/redirect>
------------------------------------------
[...truncated 204.56 KB...]
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.v2.AtlasRelationshipStoreV2Test.verifyRelationshipAttributeList(AtlasRelationshipStoreV2Test.java:612)
at org.apache.atlas.repository.store.graph.v2.AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_ManyToMany(AtlasRelationshipStoreV2Test.java:544)
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)
testRelationshipAttributeUpdate_NonComposite_ManyToOne(org.apache.atlas.repository.store.graph.v2.AtlasRelationshipStoreSoftDeleteV2Test) Time elapsed: 0.367 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.v2.AtlasRelationshipStoreV2Test.verifyRelationshipAttributeValue(AtlasRelationshipStoreV2Test.java:628)
at org.apache.atlas.repository.store.graph.v2.AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_ManyToOne(AtlasRelationshipStoreV2Test.java:411)
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)
testRelationshipAttributeUpdate_NonComposite_OneToOne(org.apache.atlas.repository.store.graph.v2.AtlasRelationshipStoreSoftDeleteV2Test) Time elapsed: 0.18 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.v2.AtlasRelationshipStoreV2Test.verifyRelationshipAttributeValue(AtlasRelationshipStoreV2Test.java:628)
at org.apache.atlas.repository.store.graph.v2.AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_OneToOne(AtlasRelationshipStoreV2Test.java:477)
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: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 92.239 sec - in org.apache.atlas.repository.store.graph.v2.AtlasComplexAttributesTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 93.076 sec - in org.apache.atlas.repository.store.graph.v2.InverseReferenceUpdateSoftDeleteV2Test
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 93.208 sec - in org.apache.atlas.repository.store.graph.v2.InverseReferenceUpdateHardDeleteV2Test
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 94.525 sec - in org.apache.atlas.repository.userprofile.UserProfileServiceTest
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 106.698 sec - in org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 107.434 sec - in org.apache.atlas.repository.migration.PathTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 107.71 sec - in org.apache.atlas.repository.migration.HiveParititionTest
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 109.774 sec - in org.apache.atlas.repository.store.graph.v2.AtlasEntityStoreV2Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 110.515 sec - in org.apache.atlas.repository.migration.ComplexAttributesTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 110.866 sec - in org.apache.atlas.repository.migration.TypesWithClassificationTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 113.369 sec - in org.apache.atlas.repository.migration.HiveStocksTest
Tests run: 14, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 116.045 sec <<< FAILURE! - in org.apache.atlas.repository.impexp.ImportServiceTest
importLegacy(org.apache.atlas.repository.impexp.ImportServiceTest) Time elapsed: 2.384 sec <<< FAILURE!
java.lang.AssertionError: expected object to not be null
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.assertNotNull(Assert.java:406)
at org.testng.Assert.assertNotNull(Assert.java:391)
at org.apache.atlas.repository.impexp.ImportServiceTest.importLegacy(ImportServiceTest.java:214)
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 118.274 sec - in org.apache.atlas.repository.tagpropagation.ClassificationPropagationTest
Tests run: 246, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 167.739 sec - in org.apache.atlas.query.DSLQueriesTest
Results :
Failed tests:
GlossaryServiceTest.testAddGlossaryCategoryChildren:733 » NullPointer atlasGlo...
GlossaryServiceTest.testAddTermsToCategory:674 » NullPointer atlasGlossaryCate...
org.apache.atlas.glossary.GlossaryServiceTest.testGetCategoryTerms(org.apache.atlas.glossary.GlossaryServiceTest)
Run 1: GlossaryServiceTest.testGetCategoryTerms:907 expected [2] but found [0]
Run 2: GlossaryServiceTest.testGetCategoryTerms:907 expected [2] but found [0]
Run 3: GlossaryServiceTest.testGetCategoryTerms:907 expected [1] but found [0]
Run 4: PASS
GlossaryServiceTest.testTermAssignmentAndDissociation:778 expected [1] but found [0]
GlossaryServiceTest.testTermRelation:823 » NullPointer atlasGlossaryTerm ancho...
GlossaryServiceTest.testUpdateGlossary:366 » NullPointer
GlossaryServiceTest.testUpdateGlossaryCategory:494 » NullPointer atlasGlossary...
GlossaryServiceTest.testUpdateGlossaryTerm:467 » NullPointer atlasGlossaryTerm...
ImportServiceTest.importLegacy:214 expected object to not be null
AtlasRelationshipStoreHardDeleteV2Test>AtlasRelationshipStoreV2Test.testDepartmentEmployeeEntitiesUsingRelationship:156 expected [5] but found [0]
AtlasRelationshipStoreHardDeleteV2Test>AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_ManyToMany:544->AtlasRelationshipStoreV2Test.verifyRelationshipAttributeList:612 expected [true] but found [false]
AtlasRelationshipStoreHardDeleteV2Test>AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_ManyToOne:411->AtlasRelationshipStoreV2Test.verifyRelationshipAttributeValue:628 expected [true] but found [false]
AtlasRelationshipStoreHardDeleteV2Test>AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_OneToOne:477->AtlasRelationshipStoreV2Test.verifyRelationshipAttributeValue:628 expected [true] but found [false]
AtlasRelationshipStoreSoftDeleteV2Test>AtlasRelationshipStoreV2Test.testDepartmentEmployeeEntitiesUsingRelationship:156 expected [5] but found [0]
AtlasRelationshipStoreSoftDeleteV2Test>AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_ManyToMany:544->AtlasRelationshipStoreV2Test.verifyRelationshipAttributeList:612 expected [true] but found [false]
AtlasRelationshipStoreSoftDeleteV2Test>AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_ManyToOne:411->AtlasRelationshipStoreV2Test.verifyRelationshipAttributeValue:628 expected [true] but found [false]
AtlasRelationshipStoreSoftDeleteV2Test>AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_OneToOne:477->AtlasRelationshipStoreV2Test.verifyRelationshipAttributeValue:628 expected [true] but found [false]
Tests run: 544, Failures: 17, Errors: 0, Skipped: 13
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Atlas Server Build Tools 1.0 ................ SUCCESS [ 0.559 s]
[INFO] apache-atlas 2.0.0-SNAPSHOT ........................ SUCCESS [ 1.940 s]
[INFO] Apache Atlas Test Utility Tools .................... SUCCESS [ 4.753 s]
[INFO] Open Connector Framework (OCF) ..................... SUCCESS [ 1.446 s]
[INFO] Open Metadata Repository Services (OMRS) ........... SUCCESS [ 5.154 s]
[INFO] Open Metadata and Governance (OMAG) Server APIs .... SUCCESS [ 1.057 s]
[INFO] Connected Asset Open Metadata Access Service (OMAS) SUCCESS [ 1.012 s]
[INFO] Asset Consumer Open Metadata Access Service (OMAS) . SUCCESS [ 0.991 s]
[INFO] Open Metadata and Governance (OMAG) Server ......... SUCCESS [ 1.153 s]
[INFO] Apache Atlas Integration ........................... SUCCESS [ 31.347 s]
[INFO] Apache Atlas Common ................................ SUCCESS [ 2.273 s]
[INFO] Apache Atlas Client ................................ SUCCESS [ 0.137 s]
[INFO] atlas-client-common ................................ SUCCESS [ 0.832 s]
[INFO] atlas-client-v1 .................................... SUCCESS [ 2.833 s]
[INFO] Apache Atlas Server API ............................ SUCCESS [ 0.913 s]
[INFO] Apache Atlas Notification .......................... SUCCESS [ 18.700 s]
[INFO] atlas-client-v2 .................................... SUCCESS [ 0.785 s]
[INFO] Apache Atlas Graph Database Projects ............... SUCCESS [ 0.093 s]
[INFO] Apache Atlas Graph Database API .................... SUCCESS [ 0.744 s]
[INFO] Graph Database Common Code ......................... SUCCESS [ 1.048 s]
[INFO] Apache Atlas JanusGraph DB Impl .................... SUCCESS [02:28 min]
[INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [ 1.734 s]
[INFO] Shaded version of Apache hbase client .............. SUCCESS [ 7.908 s]
[INFO] Shaded version of Apache hbase server .............. SUCCESS [ 19.736 s]
[INFO] Apache Atlas Authorization ......................... SUCCESS [ 2.658 s]
[INFO] Apache Atlas Repository ............................ FAILURE [02:58 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 2.0.0-SNAPSHOT ........... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 07:19 min
[INFO] Finished at: 2018-08-08T06:33:29Z
[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-master-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-master-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=fbb244c2e4feb90949c7e3c1cbbf4bd2fe729a68, workspace=<https://builds.apache.org/job/Atlas-master-UnitTests/ws/>
[CHECKSTYLE] Computing warning deltas based on reference build #2116
[FINDBUGS] Collecting findbugs analysis files...
[FINDBUGS] Searching for all files in <https://builds.apache.org/job/Atlas-master-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=fbb244c2e4feb90949c7e3c1cbbf4bd2fe729a68, workspace=<https://builds.apache.org/job/Atlas-master-UnitTests/ws/>
[FINDBUGS] Computing warning deltas based on reference build #2116
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-master-UnitTests/builds/2119/testng/testng-results-1.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2119/testng/testng-results-2.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2119/testng/testng-results-3.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2119/testng/testng-results-4.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2119/testng/testng-results-5.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2119/testng/testng-results-6.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2119/testng/testng-results-7.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/2119/testng/testng-results.xml'
TestNG Reports Processing: FINISH