See <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/441/display/redirect?page=changes>
Changes: [madhan] ATLAS-2637: migration-import updates for changes in collection attribute [madhan] ATLAS-2712: Update v2 Audit API to handle v1 to v2 conversion [madhan] ATLAS-2637: migration-import updates - fix for UT failure ------------------------------------------ [...truncated 226.87 KB...] [INFO] <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/repository/src/test/java/org/apache/atlas/query/BasicTestSetup.java>: <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/repository/src/test/java/org/apache/atlas/query/BasicTestSetup.java> uses or overrides a deprecated API. [INFO] <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/repository/src/test/java/org/apache/atlas/query/BasicTestSetup.java>: Recompile with -Xlint:deprecation for details. [INFO] <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/repository/src/test/java/org/apache/atlas/repository/impexp/UniqueListTest.java>: Some input files use unchecked or unsafe operations. [INFO] <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/repository/src/test/java/org/apache/atlas/repository/impexp/UniqueListTest.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/PreCommit-ATLAS-Build-Test/ws/repository/target/surefire-reports> [INFO] Using configured provider org.apache.maven.surefire.testng.TestNGProvider ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateV1Test Running org.apache.atlas.repository.userprofile.UserProfileServiceTest Running org.apache.atlas.utils.ObjectUpdateSynchronizerTest Running org.apache.atlas.repository.migration.HiveParititionTest Running org.apache.atlas.services.MetricsServiceTest Running org.apache.atlas.repository.impexp.ExportServiceTest Running org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateHardDeleteV1Test Running org.apache.atlas.repository.impexp.AtlasImportRequestTest Running org.apache.atlas.repository.impexp.UniqueListTest Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreSoftDeleteV1Test Running org.apache.atlas.repository.store.graph.v1.AtlasComplexAttributesTest Running org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1BulkImportPercentTest Running org.apache.atlas.repository.migration.RelationshipCacheGeneratorTest Running org.apache.atlas.repository.impexp.ImportTransformsTest Running org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateSoftDeleteV1Test Running org.apache.atlas.query.DSLParsingTest Running org.apache.atlas.repository.migration.PathTest Running org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest Running org.apache.atlas.repository.migration.ComplexAttributesTest Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreHardDeleteV1Test Running org.apache.atlas.repository.store.graph.v1.AtlasEntityDefStoreV1Test Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreV1Test Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipDefStoreV1Test Running org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test Running org.apache.atlas.TestModules Running org.apache.atlas.repository.migration.HiveStocksTest Running org.apache.atlas.query.DSLQueriesTest Running org.apache.atlas.repository.impexp.ImportTransformerJSONTest Running org.apache.atlas.utils.TestResourceFileUtils Running org.apache.atlas.repository.migration.TypesWithCollectionsFinderTest Running org.apache.atlas.query.GremlinQueryComposerTest Running org.apache.atlas.repository.migration.MigrationProgressServiceTest Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.935 sec - in org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateV1Test Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.071 sec - in org.apache.atlas.repository.impexp.UniqueListTest Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.474 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreV1Test Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.856 sec - in org.apache.atlas.TestModules Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.698 sec - in org.apache.atlas.utils.TestResourceFileUtils Running org.apache.atlas.repository.impexp.ZipSinkTest Running org.apache.atlas.repository.impexp.ZipSourceTest Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.823 sec - in org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1BulkImportPercentTest Running org.apache.atlas.repository.impexp.TypeAttributeDifferenceTest Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.158 sec - in org.apache.atlas.utils.ObjectUpdateSynchronizerTest Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.688 sec - in org.apache.atlas.repository.impexp.AtlasImportRequestTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.922 sec - in org.apache.atlas.repository.impexp.ImportTransformsTest Running org.apache.atlas.repository.impexp.ImportTransformerTest Running org.apache.atlas.repository.audit.InMemoryAuditRepositoryTest Running org.apache.atlas.repository.impexp.ImportServiceTest Running org.apache.atlas.repository.audit.CassandraAuditRepositoryTest Running org.apache.atlas.glossary.PaginationHelperTest Running org.apache.atlas.repository.tagpropagation.ClassificationPropagationTest Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.719 sec - in org.apache.atlas.query.DSLParsingTest Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.107 sec - in org.apache.atlas.repository.impexp.ImportTransformerTest Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.811 sec - in org.apache.atlas.repository.audit.InMemoryAuditRepositoryTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.429 sec - in org.apache.atlas.repository.impexp.ImportTransformerJSONTest Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.815 sec - in org.apache.atlas.repository.impexp.TypeAttributeDifferenceTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.938 sec - in org.apache.atlas.repository.migration.MigrationProgressServiceTest Running org.apache.atlas.glossary.GlossaryServiceTest Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.96 sec - in org.apache.atlas.glossary.PaginationHelperTest Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.52 sec - in org.apache.atlas.repository.impexp.ZipSinkTest Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.731 sec - in org.apache.atlas.repository.impexp.ZipSourceTest Tests run: 39, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.245 sec - in org.apache.atlas.query.GremlinQueryComposerTest Tests run: 7, Failures: 0, Errors: 0, Skipped: 7, Time elapsed: 25.233 sec - in org.apache.atlas.repository.audit.CassandraAuditRepositoryTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 42.492 sec - in org.apache.atlas.services.MetricsServiceTest Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 66.799 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipDefStoreV1Test Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 70.292 sec - in org.apache.atlas.repository.store.graph.v1.AtlasEntityDefStoreV1Test Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 83.849 sec - in org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateHardDeleteV1Test Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 87.271 sec - in org.apache.atlas.repository.migration.RelationshipCacheGeneratorTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 89.113 sec - in org.apache.atlas.repository.migration.TypesWithCollectionsFinderTest Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 91.265 sec - in org.apache.atlas.repository.impexp.ExportServiceTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 93.244 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreHardDeleteV1Test Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 94.266 sec - in org.apache.atlas.repository.store.graph.v1.AtlasComplexAttributesTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 95.426 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreSoftDeleteV1Test Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 98.285 sec - in org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateSoftDeleteV1Test Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 104.3 sec - in org.apache.atlas.repository.userprofile.UserProfileServiceTest Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 109.995 sec - in org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 112.772 sec - in org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test Tests run: 35, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 104.011 sec - in org.apache.atlas.glossary.GlossaryServiceTest Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 112.942 sec <<< FAILURE! - in org.apache.atlas.repository.migration.PathTest migrationImport(org.apache.atlas.repository.migration.PathTest) Time elapsed: 49.418 sec <<< FAILURE! java.lang.AssertionError: expected [89] but found [90] 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:267) at org.testng.Assert.assertEquals(Assert.java:277) at org.apache.atlas.repository.migration.MigrationBaseAsserts.assertMigrationStatus(MigrationBaseAsserts.java:194) at org.apache.atlas.repository.migration.PathTest.migrationImport(PathTest.java:53) Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 115.937 sec <<< FAILURE! - in org.apache.atlas.repository.migration.HiveParititionTest fileImporterTest(org.apache.atlas.repository.migration.HiveParititionTest) Time elapsed: 47.796 sec <<< FAILURE! java.lang.AssertionError: hive_db_tables expected [hive_db_tables] but found [hive_table_db] 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.apache.atlas.repository.migration.MigrationBaseAsserts.assertEdges(MigrationBaseAsserts.java:148) at org.apache.atlas.repository.migration.MigrationBaseAsserts.assertEdges(MigrationBaseAsserts.java:134) at org.apache.atlas.repository.migration.HiveParititionTest.fileImporterTest(HiveParititionTest.java:54) Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 115.351 sec <<< FAILURE! - in org.apache.atlas.repository.migration.HiveStocksTest migrateStocks(org.apache.atlas.repository.migration.HiveStocksTest) Time elapsed: 53.015 sec <<< FAILURE! java.lang.AssertionError: hive_db_tables expected [hive_db_tables] but found [hive_table_db] 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.apache.atlas.repository.migration.MigrationBaseAsserts.assertEdges(MigrationBaseAsserts.java:148) at org.apache.atlas.repository.migration.HiveStocksTest.migrateStocks(HiveStocksTest.java:62) Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 115.586 sec <<< FAILURE! - in org.apache.atlas.repository.migration.ComplexAttributesTest verify(org.apache.atlas.repository.migration.ComplexAttributesTest) Time elapsed: 51.448 sec <<< FAILURE! java.lang.AssertionError: expected [214] but found [215] 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:267) at org.testng.Assert.assertEquals(Assert.java:277) at org.apache.atlas.repository.migration.MigrationBaseAsserts.assertMigrationStatus(MigrationBaseAsserts.java:194) at org.apache.atlas.repository.migration.ComplexAttributesTest.verify(ComplexAttributesTest.java:59) Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 124.155 sec - in org.apache.atlas.repository.impexp.ImportServiceTest Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 128.124 sec - in org.apache.atlas.repository.tagpropagation.ClassificationPropagationTest Tests run: 246, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 189.03 sec - in org.apache.atlas.query.DSLQueriesTest Results : Failed tests: ComplexAttributesTest.verify:59->MigrationBaseAsserts.assertMigrationStatus:194 expected [214] but found [215] HiveParititionTest.fileImporterTest:54->MigrationBaseAsserts.assertEdges:134->MigrationBaseAsserts.assertEdges:148 hive_db_tables expected [hive_db_tables] but found [hive_table_db] HiveStocksTest.migrateStocks:62->MigrationBaseAsserts.assertEdges:148 hive_db_tables expected [hive_db_tables] but found [hive_table_db] PathTest.migrationImport:53->MigrationBaseAsserts.assertMigrationStatus:194 expected [89] but found [90] Tests run: 549, Failures: 4, Errors: 0, Skipped: 7 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Apache Atlas Server Build Tools .................... SUCCESS [ 0.782 s] [INFO] apache-atlas ....................................... SUCCESS [ 3.685 s] [INFO] Apache Atlas Test Utility Tools .................... SUCCESS [ 4.689 s] [INFO] Open Connector Framework (OCF) ..................... SUCCESS [ 1.820 s] [INFO] Open Metadata Repository Services (OMRS) ........... SUCCESS [ 5.818 s] [INFO] Open Metadata and Governance (OMAG) Server APIs .... SUCCESS [ 1.002 s] [INFO] Connected Asset Open Metadata Access Service (OMAS) SUCCESS [ 1.344 s] [INFO] Asset Consumer Open Metadata Access Service (OMAS) . SUCCESS [ 1.040 s] [INFO] Open Metadata and Governance (OMAG) Server ......... SUCCESS [ 1.340 s] [INFO] Apache Atlas Integration ........................... SUCCESS [ 39.690 s] [INFO] Apache Atlas Common ................................ SUCCESS [ 2.422 s] [INFO] Apache Atlas Client ................................ SUCCESS [ 0.132 s] [INFO] atlas-client-common ................................ SUCCESS [ 0.660 s] [INFO] atlas-client-v1 .................................... SUCCESS [ 2.653 s] [INFO] Apache Atlas Server API ............................ SUCCESS [ 0.823 s] [INFO] Apache Atlas Notification .......................... SUCCESS [ 17.068 s] [INFO] atlas-client-v2 .................................... SUCCESS [ 0.688 s] [INFO] Apache Atlas Graph Database Projects ............... SUCCESS [ 0.080 s] [INFO] Apache Atlas Graph Database API .................... SUCCESS [ 1.278 s] [INFO] Graph Database Common Code ......................... SUCCESS [ 0.811 s] [INFO] Apache Atlas JanusGraph DB Impl .................... SUCCESS [02:06 min] [INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [ 1.891 s] [INFO] Shaded version of Apache hbase client .............. SUCCESS [ 7.462 s] [INFO] Shaded version of Apache hbase server .............. SUCCESS [ 20.647 s] [INFO] Apache Atlas Authorization ......................... SUCCESS [ 2.363 s] [INFO] Apache Atlas Repository ............................ FAILURE [03:22 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:30 min [INFO] Finished at: 2018-05-23T19:45:35Z [INFO] Final Memory: 161M/1923M [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/441//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_25555> ']' + '[' -d <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/atlas_patchprocess_25555> ']' + mv <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/atlas_patchprocess_25555> <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_25555> + exit 1 Build step 'Execute shell' marked build as failure Set build name. New build name is '#441-master-ATLAS-2714.patch' Archiving artifacts
