See <https://builds.apache.org/job/Atlas-master-UnitTests/1480/display/redirect?page=changes>
Changes: [madhan] ATLAS-2721: rename attribute displayName as name in classes ------------------------------------------ [...truncated 170.84 KB...] [INFO] Exclude: **/${sys:atlas.data}/** [INFO] Exclude: **/policy-store.txt [INFO] Exclude: **/*rebel*.xml [INFO] Exclude: **/*rebel*.xml.bak [INFO] Exclude: **/test/resources/** [INFO] 175 resources included (use -debug for more details) [INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 0, approved: 175 licenses. [INFO] [INFO] --- maven-resources-plugin:2.7:copy-resources (copy-resources-solr) @ atlas-repository --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 9 resources [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ atlas-repository --- [INFO] [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ atlas-repository --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory <https://builds.apache.org/job/Atlas-master-UnitTests/ws/repository/src/main/resources> [INFO] Copying 2 resources to META-INF [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ atlas-repository --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 131 source files to <https://builds.apache.org/job/Atlas-master-UnitTests/ws/repository/target/classes> [INFO] <https://builds.apache.org/job/Atlas-master-UnitTests/ws/repository/src/main/java/org/apache/atlas/repository/converters/AtlasInstanceConverter.java>: Some input files use or override a deprecated API. [INFO] <https://builds.apache.org/job/Atlas-master-UnitTests/ws/repository/src/main/java/org/apache/atlas/repository/converters/AtlasInstanceConverter.java>: Recompile with -Xlint:deprecation for details. [INFO] <https://builds.apache.org/job/Atlas-master-UnitTests/ws/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/AtlasGraphUtilsV2.java>: Some input files use unchecked or unsafe operations. [INFO] <https://builds.apache.org/job/Atlas-master-UnitTests/ws/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/AtlasGraphUtilsV2.java>: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ atlas-repository --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 37 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ atlas-repository --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 47 source files to <https://builds.apache.org/job/Atlas-master-UnitTests/ws/repository/target/test-classes> [INFO] <https://builds.apache.org/job/Atlas-master-UnitTests/ws/repository/src/test/java/org/apache/atlas/query/BasicTestSetup.java>: <https://builds.apache.org/job/Atlas-master-UnitTests/ws/repository/src/test/java/org/apache/atlas/query/BasicTestSetup.java> uses or overrides a deprecated API. [INFO] <https://builds.apache.org/job/Atlas-master-UnitTests/ws/repository/src/test/java/org/apache/atlas/query/BasicTestSetup.java>: Recompile with -Xlint:deprecation for details. [INFO] <https://builds.apache.org/job/Atlas-master-UnitTests/ws/repository/src/test/java/org/apache/atlas/repository/store/graph/v2/AtlasEntityStoreV2Test.java>: Some input files use unchecked or unsafe operations. [INFO] <https://builds.apache.org/job/Atlas-master-UnitTests/ws/repository/src/test/java/org/apache/atlas/repository/store/graph/v2/AtlasEntityStoreV2Test.java>: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ atlas-repository --- [INFO] Surefire report directory: <https://builds.apache.org/job/Atlas-master-UnitTests/ws/repository/target/surefire-reports> [INFO] Using configured provider org.apache.maven.surefire.testng.TestNGProvider ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.apache.atlas.TestModules Running org.apache.atlas.repository.store.graph.v2.AtlasComplexAttributesTest Running org.apache.atlas.repository.impexp.ImportTransformerJSONTest Running org.apache.atlas.repository.impexp.ImportTransformsTest Running org.apache.atlas.query.DSLQueriesTest Running org.apache.atlas.repository.store.graph.v2.AtlasEntityStoreV2Test Running org.apache.atlas.glossary.GlossaryServiceTest Running org.apache.atlas.repository.store.graph.v2.InverseReferenceUpdateSoftDeleteV2Test Running org.apache.atlas.glossary.PaginationHelperTest Running org.apache.atlas.repository.impexp.ImportTransformerTest Running org.apache.atlas.repository.impexp.UniqueListTest Running org.apache.atlas.repository.migration.RelationshipCacheGeneratorTest Running org.apache.atlas.repository.store.graph.v2.AtlasRelationshipStoreV2Test Running org.apache.atlas.repository.impexp.TypeAttributeDifferenceTest Running org.apache.atlas.repository.store.graph.v2.AtlasRelationshipStoreHardDeleteV2Test Running org.apache.atlas.repository.impexp.AtlasImportRequestTest Running org.apache.atlas.repository.migration.PathTest Running org.apache.atlas.repository.store.graph.v2.AtlasEntityDefStoreV2Test Running org.apache.atlas.query.DSLParsingTest Running org.apache.atlas.repository.store.graph.v2.AtlasRelationshipStoreSoftDeleteV2Test Running org.apache.atlas.repository.impexp.ZipSinkTest Running org.apache.atlas.services.MetricsServiceTest Running org.apache.atlas.repository.migration.TypesWithCollectionsFinderTest Running org.apache.atlas.repository.store.graph.v2.InverseReferenceUpdateHardDeleteV2Test Running org.apache.atlas.repository.migration.MigrationProgressServiceTest Running org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest Running org.apache.atlas.repository.store.graph.v2.InverseReferenceUpdateV2Test Running org.apache.atlas.repository.store.graph.v2.AtlasRelationshipDefStoreV2Test Running org.apache.atlas.repository.audit.CassandraAuditRepositoryTest Running org.apache.atlas.repository.migration.HiveStocksTest Running org.apache.atlas.repository.migration.HiveParititionTest Running org.apache.atlas.query.GremlinQueryComposerTest Running org.apache.atlas.repository.userprofile.UserProfileServiceTest Running org.apache.atlas.utils.ObjectUpdateSynchronizerTest Running org.apache.atlas.repository.impexp.ExportServiceTest Running org.apache.atlas.repository.audit.InMemoryAuditRepositoryTest Running org.apache.atlas.repository.store.graph.v2.AtlasEntityStoreV2BulkImportPercentTest Running org.apache.atlas.repository.impexp.ZipSourceTest Running org.apache.atlas.utils.TestResourceFileUtils Running org.apache.atlas.repository.tagpropagation.ClassificationPropagationTest Running org.apache.atlas.repository.impexp.ImportServiceTest Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.743 sec - in org.apache.atlas.repository.store.graph.v2.AtlasRelationshipStoreV2Test Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.862 sec - in org.apache.atlas.repository.impexp.UniqueListTest Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.36 sec - in org.apache.atlas.TestModules Running org.apache.atlas.repository.migration.ComplexAttributesTest Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.426 sec - in org.apache.atlas.repository.impexp.ImportTransformerTest Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.134 sec - in org.apache.atlas.repository.store.graph.v2.InverseReferenceUpdateV2Test Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.228 sec - in org.apache.atlas.glossary.PaginationHelperTest Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.575 sec - in org.apache.atlas.utils.TestResourceFileUtils Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.771 sec - in org.apache.atlas.repository.impexp.ImportTransformsTest Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.36 sec - in org.apache.atlas.repository.audit.InMemoryAuditRepositoryTest Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.416 sec - in org.apache.atlas.query.DSLParsingTest Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.672 sec - in org.apache.atlas.repository.impexp.AtlasImportRequestTest Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.897 sec - in org.apache.atlas.repository.impexp.TypeAttributeDifferenceTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.731 sec - in org.apache.atlas.repository.impexp.ImportTransformerJSONTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.07 sec - in org.apache.atlas.repository.migration.MigrationProgressServiceTest Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.276 sec - in org.apache.atlas.repository.impexp.ZipSourceTest Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.565 sec - in org.apache.atlas.repository.impexp.ZipSinkTest Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.228 sec - in org.apache.atlas.utils.ObjectUpdateSynchronizerTest Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.23 sec - in org.apache.atlas.repository.store.graph.v2.AtlasEntityStoreV2BulkImportPercentTest Tests run: 39, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.37 sec - in org.apache.atlas.query.GremlinQueryComposerTest Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.661 sec - in org.apache.atlas.repository.audit.CassandraAuditRepositoryTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 35.111 sec - in org.apache.atlas.services.MetricsServiceTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 44.955 sec - in org.apache.atlas.repository.store.graph.v2.AtlasEntityDefStoreV2Test Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 48.694 sec - in org.apache.atlas.repository.store.graph.v2.AtlasRelationshipDefStoreV2Test Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 63.04 sec - in org.apache.atlas.repository.store.graph.v2.AtlasComplexAttributesTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 64.43 sec - in org.apache.atlas.repository.migration.RelationshipCacheGeneratorTest Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 67.94 sec - in org.apache.atlas.repository.impexp.ExportServiceTest Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 69.139 sec - in org.apache.atlas.repository.store.graph.v2.InverseReferenceUpdateSoftDeleteV2Test Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 69.412 sec - in org.apache.atlas.repository.migration.TypesWithCollectionsFinderTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 70.074 sec - in org.apache.atlas.repository.store.graph.v2.AtlasRelationshipStoreHardDeleteV2Test Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 69.966 sec - in org.apache.atlas.repository.store.graph.v2.AtlasRelationshipStoreSoftDeleteV2Test Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 70.047 sec - in org.apache.atlas.repository.userprofile.UserProfileServiceTest Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 75.245 sec - in org.apache.atlas.repository.store.graph.v2.InverseReferenceUpdateHardDeleteV2Test Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 82.386 sec - in org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest Tests run: 35, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 85.308 sec - in org.apache.atlas.glossary.GlossaryServiceTest Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 86.918 sec - in org.apache.atlas.repository.store.graph.v2.AtlasEntityStoreV2Test Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 87.502 sec - in org.apache.atlas.repository.migration.HiveParititionTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 90.448 sec - in org.apache.atlas.repository.migration.PathTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 91.672 sec - in org.apache.atlas.repository.migration.HiveStocksTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 90.624 sec - in org.apache.atlas.repository.migration.ComplexAttributesTest Tests run: 14, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 99.677 sec <<< FAILURE! - in org.apache.atlas.repository.impexp.ImportServiceTest importGlossary(org.apache.atlas.repository.impexp.ImportServiceTest) Time elapsed: 1.834 sec <<< FAILURE! org.apache.atlas.exception.AtlasBaseException: AtlasGlossaryTerm.displayName : can not add mandatory attribute at org.apache.atlas.repository.store.graph.v2.AtlasStructDefStoreV2.updateVertexPreUpdate(AtlasStructDefStoreV2.java:397) at org.apache.atlas.repository.store.graph.v2.AtlasEntityDefStoreV2.updateVertexPreUpdate(AtlasEntityDefStoreV2.java:336) at org.apache.atlas.repository.store.graph.v2.AtlasEntityDefStoreV2.updateByName(AtlasEntityDefStoreV2.java:212) at org.apache.atlas.repository.store.graph.v2.AtlasEntityDefStoreV2.updateByName(AtlasEntityDefStoreV2.java:44) at org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStore.updateEntityDefByName(AtlasTypeDefGraphStore.java:284) at org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:75) at org.apache.atlas.repository.impexp.TypeAttributeDifference.updateEntityDef(TypeAttributeDifference.java:60) at org.apache.atlas.repository.impexp.TypeAttributeDifference.updateTypes(TypeAttributeDifference.java:50) at org.apache.atlas.repository.impexp.ImportTypeDefProcessor.processTypes(ImportTypeDefProcessor.java:45) at org.apache.atlas.repository.impexp.ImportService.processTypes(ImportService.java:157) at org.apache.atlas.repository.impexp.ImportService.run(ImportService.java:80) at org.apache.atlas.repository.impexp.ImportService.run(ImportService.java:61) at org.apache.atlas.repository.impexp.ZipFileResourceTestUtils.runImportWithNoParameters(ZipFileResourceTestUtils.java:241) at org.apache.atlas.repository.impexp.ImportServiceTest.importGlossary(ImportServiceTest.java:247) Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 103.815 sec - in org.apache.atlas.repository.tagpropagation.ClassificationPropagationTest Tests run: 246, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 150.943 sec - in org.apache.atlas.query.DSLQueriesTest Results : Failed tests: ImportServiceTest.importGlossary:247 » AtlasBase AtlasGlossaryTerm.displayName... Tests run: 548, Failures: 1, Errors: 0, Skipped: 0 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Apache Atlas Server Build Tools .................... SUCCESS [ 0.560 s] [INFO] apache-atlas ....................................... SUCCESS [ 2.093 s] [INFO] Apache Atlas Test Utility Tools .................... SUCCESS [ 5.138 s] [INFO] Open Connector Framework (OCF) ..................... SUCCESS [ 1.434 s] [INFO] Open Metadata Repository Services (OMRS) ........... SUCCESS [ 6.212 s] [INFO] Open Metadata and Governance (OMAG) Server APIs .... SUCCESS [ 0.738 s] [INFO] Connected Asset Open Metadata Access Service (OMAS) SUCCESS [ 0.920 s] [INFO] Asset Consumer Open Metadata Access Service (OMAS) . SUCCESS [ 0.942 s] [INFO] Open Metadata and Governance (OMAG) Server ......... SUCCESS [ 1.068 s] [INFO] Apache Atlas Integration ........................... SUCCESS [ 33.455 s] [INFO] Apache Atlas Common ................................ SUCCESS [ 2.270 s] [INFO] Apache Atlas Client ................................ SUCCESS [ 0.112 s] [INFO] atlas-client-common ................................ SUCCESS [ 0.742 s] [INFO] atlas-client-v1 .................................... SUCCESS [ 2.625 s] [INFO] Apache Atlas Server API ............................ SUCCESS [ 0.640 s] [INFO] Apache Atlas Notification .......................... SUCCESS [ 15.896 s] [INFO] atlas-client-v2 .................................... SUCCESS [ 0.644 s] [INFO] Apache Atlas Graph Database Projects ............... SUCCESS [ 0.068 s] [INFO] Apache Atlas Graph Database API .................... SUCCESS [ 0.605 s] [INFO] Graph Database Common Code ......................... SUCCESS [ 0.700 s] [INFO] Apache Atlas JanusGraph DB Impl .................... SUCCESS [02:21 min] [INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [ 1.663 s] [INFO] Shaded version of Apache hbase client .............. SUCCESS [ 7.880 s] [INFO] Shaded version of Apache hbase server .............. SUCCESS [ 19.919 s] [INFO] Apache Atlas Authorization ......................... SUCCESS [ 2.485 s] [INFO] Apache Atlas Repository ............................ FAILURE [02:42 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: 06:53 min [INFO] Finished at: 2018-05-25T15:33:04Z [INFO] Final Memory: 141M/1869M [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=54f5e16a74ed83e841c0eb573c79ec5a190e3676, workspace=<https://builds.apache.org/job/Atlas-master-UnitTests/ws/> [CHECKSTYLE] Computing warning deltas based on reference build #1479 [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=54f5e16a74ed83e841c0eb573c79ec5a190e3676, workspace=<https://builds.apache.org/job/Atlas-master-UnitTests/ws/> [FINDBUGS] Computing warning deltas based on reference build #1479 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/1480/testng/testng-results-1.xml' Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/1480/testng/testng-results-2.xml' Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/1480/testng/testng-results-3.xml' Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/1480/testng/testng-results-4.xml' Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/1480/testng/testng-results-5.xml' Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/1480/testng/testng-results-6.xml' Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/1480/testng/testng-results-7.xml' Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/1480/testng/testng-results.xml' TestNG Reports Processing: FINISH