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