See
<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/384/display/redirect>
------------------------------------------
[...truncated 226.87 KB...]
Running org.apache.atlas.glossary.PaginationHelperTest
Running org.apache.atlas.utils.ObjectUpdateSynchronizerTest
Running org.apache.atlas.repository.impexp.ZipSinkTest
Running org.apache.atlas.repository.impexp.ImportServiceTest
Running org.apache.atlas.repository.impexp.UniqueListTest
Running org.apache.atlas.repository.store.graph.v1.AtlasEntityDefStoreV1Test
Running org.apache.atlas.repository.impexp.TypeAttributeDifferenceTest
Running org.apache.atlas.repository.audit.CassandraAuditRepositoryTest
Running org.apache.atlas.utils.TestResourceFileUtils
Running org.apache.atlas.repository.impexp.ImportTransformerJSONTest
Running org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
Running org.apache.atlas.glossary.GlossaryServiceTest
Running org.apache.atlas.repository.migration.RelationshipMappingTest
Running org.apache.atlas.repository.impexp.ImportTransformerTest
Running org.apache.atlas.repository.migration.PathTest
Running
org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1BulkImportPercentTest
Running org.apache.atlas.repository.tagpropagation.ClassificationPropagationTest
Running org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test
Running org.apache.atlas.repository.impexp.AtlasImportRequestTest
Running org.apache.atlas.repository.impexp.ImportTransformsTest
Running org.apache.atlas.repository.impexp.ExportServiceTest
Running org.apache.atlas.repository.impexp.ZipSourceTest
Running
org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateHardDeleteV1Test
Running org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateV1Test
Running org.apache.atlas.repository.migration.HiveStocksTest
Running
org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreHardDeleteV1Test
Running
org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreSoftDeleteV1Test
Running org.apache.atlas.repository.migration.HiveParititionTest
Running org.apache.atlas.repository.audit.InMemoryAuditRepositoryTest
Running org.apache.atlas.repository.userprofile.UserProfileServiceTest
Running org.apache.atlas.repository.migration.MigrationProgressServiceTest
Running
org.apache.atlas.repository.store.graph.v1.AtlasRelationshipDefStoreV1Test
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.396 sec - in
org.apache.atlas.utils.TestResourceFileUtils
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.073 sec - in
org.apache.atlas.repository.impexp.UniqueListTest
Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.804 sec - in
org.apache.atlas.glossary.PaginationHelperTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.342 sec - in
org.apache.atlas.repository.impexp.ImportTransformerTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.336 sec - in
org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateV1Test
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.19 sec - in
org.apache.atlas.repository.audit.InMemoryAuditRepositoryTest
Running
org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateSoftDeleteV1Test
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.571 sec - in
org.apache.atlas.repository.impexp.AtlasImportRequestTest
Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreV1Test
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.219 sec - in
org.apache.atlas.repository.impexp.TypeAttributeDifferenceTest
Running org.apache.atlas.TestModules
Running org.apache.atlas.repository.store.graph.v1.AtlasComplexAttributesTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.163 sec - in
org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1BulkImportPercentTest
Running org.apache.atlas.query.DSLParsingTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.202 sec - in
org.apache.atlas.utils.ObjectUpdateSynchronizerTest
Running org.apache.atlas.query.GremlinQueryComposerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.391 sec - in
org.apache.atlas.repository.impexp.ImportTransformerJSONTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.69 sec - in
org.apache.atlas.repository.impexp.ZipSourceTest
Running org.apache.atlas.query.DSLQueriesTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.089 sec - in
org.apache.atlas.repository.impexp.ZipSinkTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.46 sec - in
org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreV1Test
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.119 sec - in
org.apache.atlas.repository.impexp.ImportTransformsTest
Running org.apache.atlas.services.MetricsServiceTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.163 sec - in
org.apache.atlas.TestModules
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.769 sec - in
org.apache.atlas.repository.migration.MigrationProgressServiceTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.971 sec - in
org.apache.atlas.query.DSLParsingTest
Tests run: 39, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.163 sec -
in org.apache.atlas.query.GremlinQueryComposerTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 29.506 sec - in
org.apache.atlas.repository.audit.CassandraAuditRepositoryTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 33.67 sec - in
org.apache.atlas.services.MetricsServiceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 56.619 sec - in
org.apache.atlas.repository.store.graph.v1.AtlasEntityDefStoreV1Test
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 55.079 sec -
in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipDefStoreV1Test
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 72.705 sec - in
org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreHardDeleteV1Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 77.718 sec - in
org.apache.atlas.repository.migration.RelationshipMappingTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 77.679 sec - in
org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreSoftDeleteV1Test
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 75.163 sec - in
org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateSoftDeleteV1Test
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 79.518 sec - in
org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateHardDeleteV1Test
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 74.461 sec - in
org.apache.atlas.repository.store.graph.v1.AtlasComplexAttributesTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 80.362 sec -
in org.apache.atlas.repository.userprofile.UserProfileServiceTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 83.782 sec -
in org.apache.atlas.repository.impexp.ExportServiceTest
Tests run: 31, Failures: 6, Errors: 0, Skipped: 6, Time elapsed: 89.633 sec <<<
FAILURE! - in org.apache.atlas.glossary.GlossaryServiceTest
testAddGlossaryCategoryChildren(org.apache.atlas.glossary.GlossaryServiceTest)
Time elapsed: 0.677 sec <<< FAILURE!
java.lang.AssertionError: Sub category addition should've succeeded
at org.apache.atlas.repository.ogm.DataAccess.save(DataAccess.java:71)
at
org.apache.atlas.glossary.GlossaryService.updateCategory(GlossaryService.java:581)
at
org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:75)
at
org.apache.atlas.glossary.GlossaryServiceTest.testAddGlossaryCategoryChildren(GlossaryServiceTest.java:630)
testAddTermsToCategory(org.apache.atlas.glossary.GlossaryServiceTest) Time
elapsed: 0.371 sec <<< FAILURE!
java.lang.AssertionError: Glossary category update should've succeeded
at org.apache.atlas.repository.ogm.DataAccess.save(DataAccess.java:71)
at
org.apache.atlas.glossary.GlossaryService.updateCategory(GlossaryService.java:581)
at
org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:75)
at
org.apache.atlas.glossary.GlossaryServiceTest.testAddTermsToCategory(GlossaryServiceTest.java:571)
testGetCategoryTerms(org.apache.atlas.glossary.GlossaryServiceTest) Time
elapsed: 0.056 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:798)
testGetCategoryTerms(org.apache.atlas.glossary.GlossaryServiceTest) Time
elapsed: 0.036 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:798)
testGetCategoryTerms(org.apache.atlas.glossary.GlossaryServiceTest) Time
elapsed: 0.022 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:798)
testUpdateGlossaryCategory(org.apache.atlas.glossary.GlossaryServiceTest) Time
elapsed: 0.27 sec <<< FAILURE!
java.lang.AssertionError: Glossary category fetching should've succeeded
at org.apache.atlas.repository.ogm.DataAccess.save(DataAccess.java:71)
at
org.apache.atlas.glossary.GlossaryService.updateCategory(GlossaryService.java:581)
at
org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:75)
at
org.apache.atlas.glossary.GlossaryServiceTest.testUpdateGlossaryCategory(GlossaryServiceTest.java:453)
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 91.968 sec -
in org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 91.505 sec - in
org.apache.atlas.repository.migration.HiveParititionTest
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 93.966 sec -
in org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 97.242 sec - in
org.apache.atlas.repository.migration.PathTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 100.716 sec -
in org.apache.atlas.repository.migration.HiveStocksTest
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 109.028 sec -
in org.apache.atlas.repository.impexp.ImportServiceTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 115.053 sec -
in org.apache.atlas.repository.tagpropagation.ClassificationPropagationTest
Tests run: 246, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 159.349 sec -
in org.apache.atlas.query.DSLQueriesTest
Results :
Failed tests:
GlossaryServiceTest.testAddGlossaryCategoryChildren:635 Sub category addition
should've succeeded
GlossaryServiceTest.testAddTermsToCategory:576 Glossary category update
should've succeeded
org.apache.atlas.glossary.GlossaryServiceTest.testGetCategoryTerms(org.apache.atlas.glossary.GlossaryServiceTest)
Run 1: GlossaryServiceTest.testGetCategoryTerms:798 expected [2] but found [0]
Run 2: GlossaryServiceTest.testGetCategoryTerms:798 expected [2] but found [0]
Run 3: GlossaryServiceTest.testGetCategoryTerms:798 expected [1] but found [0]
Run 4: PASS
GlossaryServiceTest.testUpdateGlossaryCategory:457 Glossary category fetching
should've succeeded
Tests run: 538, Failures: 4, Errors: 0, Skipped: 6
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Atlas Server Build Tools .................... SUCCESS [ 0.700 s]
[INFO] apache-atlas ....................................... SUCCESS [ 3.507 s]
[INFO] Apache Atlas Test Utility Tools .................... SUCCESS [ 4.548 s]
[INFO] Open Connector Framework (OCF) ..................... SUCCESS [ 2.073 s]
[INFO] Open Metadata Repository Services (OMRS) ........... SUCCESS [ 6.125 s]
[INFO] Open Metadata and Governance (OMAG) Server APIs .... SUCCESS [ 1.111 s]
[INFO] Connected Asset Open Metadata Access Service (OMAS) SUCCESS [ 1.245 s]
[INFO] Asset Consumer Open Metadata Access Service (OMAS) . SUCCESS [ 1.162 s]
[INFO] Open Metadata and Governance (OMAG) Server ......... SUCCESS [ 0.899 s]
[INFO] Apache Atlas Integration ........................... SUCCESS [ 40.664 s]
[INFO] Apache Atlas Common ................................ SUCCESS [ 2.234 s]
[INFO] Apache Atlas Client ................................ SUCCESS [ 0.114 s]
[INFO] atlas-client-common ................................ SUCCESS [ 0.772 s]
[INFO] atlas-client-v1 .................................... SUCCESS [ 2.709 s]
[INFO] Apache Atlas Server API ............................ SUCCESS [ 0.839 s]
[INFO] Apache Atlas Notification .......................... SUCCESS [ 15.683 s]
[INFO] atlas-client-v2 .................................... SUCCESS [ 0.661 s]
[INFO] Apache Atlas Graph Database Projects ............... SUCCESS [ 0.083 s]
[INFO] Apache Atlas Graph Database API .................... SUCCESS [ 0.661 s]
[INFO] Graph Database Common Code ......................... SUCCESS [ 0.732 s]
[INFO] Apache Atlas JanusGraph DB Impl .................... SUCCESS [02:10 min]
[INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [ 1.867
s]
[INFO] Shaded version of Apache hbase client .............. SUCCESS [ 8.364 s]
[INFO] Shaded version of Apache hbase server .............. SUCCESS [ 20.548 s]
[INFO] Apache Atlas Authorization ......................... SUCCESS [ 2.351 s]
[INFO] Apache Atlas Repository ............................ FAILURE [02:57 min]
[INFO] Apache Atlas UI .................................... SKIPPED
[INFO] Apache Atlas Web Application ....................... SKIPPED
[INFO] Apache Atlas Documentation ......................... SKIPPED
[INFO] Apache Atlas FileSystem Model ...................... SKIPPED
[INFO] Apache Atlas Plugin Classloader .................... SKIPPED
[INFO] Apache Atlas Hive Bridge Shim ...................... SKIPPED
[INFO] Apache Atlas Hive Bridge ........................... SKIPPED
[INFO] Apache Atlas Falcon Bridge Shim .................... SKIPPED
[INFO] Apache Atlas Falcon Bridge ......................... SKIPPED
[INFO] Apache Atlas Sqoop Bridge Shim ..................... SKIPPED
[INFO] Apache Atlas Sqoop Bridge .......................... SKIPPED
[INFO] Apache Atlas Storm Bridge Shim ..................... SKIPPED
[INFO] Apache Atlas Storm Bridge .......................... SKIPPED
[INFO] Apache Atlas Hbase Bridge Shim ..................... SKIPPED
[INFO] Apache Atlas Hbase Bridge .......................... SKIPPED
[INFO] Apache Atlas Kafka Bridge .......................... SKIPPED
[INFO] Apache Atlas Distribution .......................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 07:08 min
[INFO] Finished at: 2018-05-11T05:26:18Z
[INFO] Final Memory: 143M/1853M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on
project atlas-repository: There are test failures.
[ERROR]
[ERROR] Please refer to
<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/repository/target/surefire-reports>
for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :atlas-repository
{color:red}-1 overall{color}.
{color:green}+1 @author{color}. The patch does not contain any @author
tags.
Console output:
https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/384//console
This message is automatically generated.
======================================================================
======================================================================
Adding comment to Jira.
======================================================================
======================================================================
======================================================================
======================================================================
Finished build.
======================================================================
======================================================================
+ EXIT_CODE=1
+ '[' -d
<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/../atlas_patchprocess_14914>
']'
+ '[' -d
<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/atlas_patchprocess_14914>
']'
+ mv
<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/atlas_patchprocess_14914>
<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/patchprocess>
+ rm -f
<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/../atlas_patchprocess_14914>
+ exit 1
Build step 'Execute shell' marked build as failure
Set build name.
New build name is
'#384-master-0001-Update-qualifiedName-category-hierarchy-correspondin.patch'
Archiving artifacts