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/05/09 22:40:44 UTC
Build failed in Jenkins: PreCommit-ATLAS-Build-Test
#367-master-0001-ATLAS-2662-Remove-complex-array-and-map-attribute-s-.patch
See <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/367/display/redirect>
------------------------------------------
[...truncated 226.79 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] 174 resources included (use -debug for more details)
[INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 0, approved: 174 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/PreCommit-ATLAS-Build-Test/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 132 source files to <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/repository/target/classes>
[INFO] <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/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/PreCommit-ATLAS-Build-Test/ws/repository/src/main/java/org/apache/atlas/repository/converters/AtlasInstanceConverter.java>: Recompile with -Xlint:deprecation for details.
[INFO] <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/repository/src/main/java/org/apache/atlas/util/SearchPredicateUtil.java>: Some input files use unchecked or unsafe operations.
[INFO] <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/repository/src/main/java/org/apache/atlas/util/SearchPredicateUtil.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 35 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 45 source files to <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/repository/target/test-classes>
[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.AtlasEntityDefStoreV1Test
Running org.apache.atlas.repository.impexp.ExportServiceTest
Running org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1BulkImportPercentTest
Running org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateHardDeleteV1Test
Running org.apache.atlas.repository.tagpropagation.ClassificationPropagationTest
Running org.apache.atlas.repository.impexp.ImportTransformerTest
Running org.apache.atlas.repository.migration.HiveParititionTest
Running org.apache.atlas.repository.migration.RelationshipMappingTest
Running org.apache.atlas.repository.impexp.AtlasImportRequestTest
Running org.apache.atlas.repository.impexp.ImportTransformerJSONTest
Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreSoftDeleteV1Test
Running org.apache.atlas.repository.migration.HiveStocksTest
Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipDefStoreV1Test
Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreV1Test
Running org.apache.atlas.repository.impexp.UniqueListTest
Running org.apache.atlas.repository.audit.CassandraAuditRepositoryTest
Running org.apache.atlas.repository.store.graph.v1.AtlasComplexAttributesTest
Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreHardDeleteV1Test
Running org.apache.atlas.repository.impexp.ImportTransformsTest
Running org.apache.atlas.TestModules
Running org.apache.atlas.repository.migration.MigrationProgressServiceTest
Running org.apache.atlas.repository.userprofile.UserProfileServiceTest
Running org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test
Running org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateV1Test
Running org.apache.atlas.repository.migration.PathTest
Running org.apache.atlas.repository.impexp.ZipSinkTest
Running org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
Running org.apache.atlas.repository.audit.InMemoryAuditRepositoryTest
Running org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateSoftDeleteV1Test
Running org.apache.atlas.repository.impexp.TypeAttributeDifferenceTest
Running org.apache.atlas.repository.impexp.ImportServiceTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.109 sec - in org.apache.atlas.repository.impexp.ImportTransformerTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.773 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreV1Test
Running org.apache.atlas.repository.impexp.ZipSourceTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.911 sec - in org.apache.atlas.repository.impexp.UniqueListTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.725 sec - in org.apache.atlas.TestModules
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.873 sec - in org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateV1Test
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.801 sec - in org.apache.atlas.repository.audit.InMemoryAuditRepositoryTest
Running org.apache.atlas.utils.ObjectUpdateSynchronizerTest
Running org.apache.atlas.services.MetricsServiceTest
Running org.apache.atlas.utils.TestResourceFileUtils
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.001 sec - in org.apache.atlas.repository.impexp.AtlasImportRequestTest
Running org.apache.atlas.query.DSLQueriesTest
Running org.apache.atlas.query.DSLParsingTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.612 sec - in org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1BulkImportPercentTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.844 sec - in org.apache.atlas.repository.impexp.ImportTransformerJSONTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.389 sec - in org.apache.atlas.repository.impexp.ImportTransformsTest
Running org.apache.atlas.query.GremlinQueryComposerTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.737 sec - in org.apache.atlas.utils.TestResourceFileUtils
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.068 sec - in org.apache.atlas.repository.impexp.TypeAttributeDifferenceTest
Running org.apache.atlas.glossary.GlossaryServiceTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.585 sec - in org.apache.atlas.repository.impexp.ZipSinkTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.106 sec - in org.apache.atlas.repository.migration.MigrationProgressServiceTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.732 sec - in org.apache.atlas.repository.impexp.ZipSourceTest
Running org.apache.atlas.glossary.PaginationHelperTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.596 sec - in org.apache.atlas.utils.ObjectUpdateSynchronizerTest
Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.967 sec - in org.apache.atlas.glossary.PaginationHelperTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.946 sec - in org.apache.atlas.query.DSLParsingTest
Tests run: 39, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.348 sec - in org.apache.atlas.query.GremlinQueryComposerTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 7, Time elapsed: 25.178 sec - in org.apache.atlas.repository.audit.CassandraAuditRepositoryTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 37.548 sec - in org.apache.atlas.services.MetricsServiceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 60.902 sec - in org.apache.atlas.repository.store.graph.v1.AtlasEntityDefStoreV1Test
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 60.488 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipDefStoreV1Test
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 85.164 sec - in org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateHardDeleteV1Test
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 84.899 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreSoftDeleteV1Test
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 85.844 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreHardDeleteV1Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 86.522 sec - in org.apache.atlas.repository.migration.RelationshipMappingTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 89.464 sec - in org.apache.atlas.repository.store.graph.v1.AtlasComplexAttributesTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 89.483 sec - in org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateSoftDeleteV1Test
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 92.959 sec - in org.apache.atlas.repository.impexp.ExportServiceTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 92.627 sec - in org.apache.atlas.repository.userprofile.UserProfileServiceTest
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 101.054 sec - in org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
Tests run: 35, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 97.929 sec - in org.apache.atlas.glossary.GlossaryServiceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 107.211 sec - in org.apache.atlas.repository.migration.HiveStocksTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 108.477 sec - in org.apache.atlas.repository.migration.HiveParititionTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 107.753 sec - in org.apache.atlas.repository.migration.PathTest
Tests run: 16, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 107.46 sec <<< FAILURE! - in org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test
testCheckOptionalAttrValueRetention(org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test) Time elapsed: 0.198 sec <<< FAILURE!
java.lang.AssertionError: expected [null] but found [{}]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotSame(Assert.java:492)
at org.testng.Assert.assertNull(Assert.java:428)
at org.testng.Assert.assertNull(Assert.java:417)
at org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test.testCheckOptionalAttrValueRetention(AtlasEntityStoreV1Test.java:544)
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 118.945 sec - in org.apache.atlas.repository.impexp.ImportServiceTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 125.08 sec - in org.apache.atlas.repository.tagpropagation.ClassificationPropagationTest
Tests run: 246, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 172.196 sec - in org.apache.atlas.query.DSLQueriesTest
Results :
Failed tests:
AtlasEntityStoreV1Test.testCheckOptionalAttrValueRetention:544 expected [null] but found [{}]
Tests run: 546, Failures: 1, Errors: 0, Skipped: 7
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Atlas Server Build Tools .................... SUCCESS [ 1.109 s]
[INFO] apache-atlas ....................................... SUCCESS [ 5.629 s]
[INFO] Apache Atlas Test Utility Tools .................... SUCCESS [ 10.515 s]
[INFO] Open Connector Framework (OCF) ..................... SUCCESS [ 2.167 s]
[INFO] Open Metadata Repository Services (OMRS) ........... SUCCESS [ 7.470 s]
[INFO] Open Metadata and Governance (OMAG) Server APIs .... SUCCESS [ 1.026 s]
[INFO] Connected Asset Open Metadata Access Service (OMAS) SUCCESS [ 1.409 s]
[INFO] Asset Consumer Open Metadata Access Service (OMAS) . SUCCESS [ 1.209 s]
[INFO] Open Metadata and Governance (OMAG) Server ......... SUCCESS [ 1.096 s]
[INFO] Apache Atlas Integration ........................... SUCCESS [ 49.212 s]
[INFO] Apache Atlas Common ................................ SUCCESS [ 2.788 s]
[INFO] Apache Atlas Client ................................ SUCCESS [ 0.247 s]
[INFO] atlas-client-common ................................ SUCCESS [ 0.719 s]
[INFO] atlas-client-v1 .................................... SUCCESS [ 2.793 s]
[INFO] Apache Atlas Server API ............................ SUCCESS [ 0.856 s]
[INFO] Apache Atlas Notification .......................... SUCCESS [ 19.846 s]
[INFO] atlas-client-v2 .................................... SUCCESS [ 0.725 s]
[INFO] Apache Atlas Graph Database Projects ............... SUCCESS [ 0.086 s]
[INFO] Apache Atlas Graph Database API .................... SUCCESS [ 0.766 s]
[INFO] Graph Database Common Code ......................... SUCCESS [ 0.897 s]
[INFO] Apache Atlas JanusGraph DB Impl .................... SUCCESS [02:45 min]
[INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [ 2.270 s]
[INFO] Shaded version of Apache hbase client .............. SUCCESS [ 9.684 s]
[INFO] Shaded version of Apache hbase server .............. SUCCESS [ 23.021 s]
[INFO] Apache Atlas Authorization ......................... SUCCESS [ 2.603 s]
[INFO] Apache Atlas Repository ............................ FAILURE [03:11 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: 08:27 min
[INFO] Finished at: 2018-05-09T22:40:42Z
[INFO] Final Memory: 148M/1716M
[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/367//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_12414> ']'
+ '[' -d <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/atlas_patchprocess_12414> ']'
+ mv <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/atlas_patchprocess_12414> <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_12414>
+ exit 1
Build step 'Execute shell' marked build as failure
Set build name.
New build name is '#367-master-0001-ATLAS-2662-Remove-complex-array-and-map-attribute-s-.patch'
Archiving artifacts
Jenkins build is back to normal : PreCommit-ATLAS-Build-Test
#369-master-ATLAS-2662.3.patch
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/369/display/redirect>
Build failed in Jenkins: PreCommit-ATLAS-Build-Test
#368-master-0001-ATLAS-2667-Enhance-GraphTransactionInterceptor-to-de.patch
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/368/display/redirect>
------------------------------------------
[...truncated 263.47 KB...]
at org.apache.atlas.repository.store.graph.v1.AtlasEntityGraphDiscoveryV1.walkEntityGraph(AtlasEntityGraphDiscoveryV1.java:353)
at org.apache.atlas.repository.store.graph.v1.AtlasEntityGraphDiscoveryV1.discover(AtlasEntityGraphDiscoveryV1.java:142)
at org.apache.atlas.repository.store.graph.v1.AtlasEntityGraphDiscoveryV1.discoverEntities(AtlasEntityGraphDiscoveryV1.java:69)
at org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1.preCreateOrUpdate(AtlasEntityStoreV1.java:644)
at org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1.createOrUpdate(AtlasEntityStoreV1.java:580)
at org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1.createOrUpdate(AtlasEntityStoreV1.java:167)
at org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test.testCheckOptionalAttrValueRetention(AtlasEntityStoreV1Test.java:599)
testCreate(org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test) Time elapsed: 0.001 sec <<< FAILURE!
org.apache.atlas.exception.AtlasBaseException: Type ENTITY with name Department does not exist
at org.apache.atlas.repository.store.graph.v1.AtlasEntityGraphDiscoveryV1.walkEntityGraph(AtlasEntityGraphDiscoveryV1.java:353)
at org.apache.atlas.repository.store.graph.v1.AtlasEntityGraphDiscoveryV1.discover(AtlasEntityGraphDiscoveryV1.java:142)
at org.apache.atlas.repository.store.graph.v1.AtlasEntityGraphDiscoveryV1.discoverEntities(AtlasEntityGraphDiscoveryV1.java:69)
at org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1.preCreateOrUpdate(AtlasEntityStoreV1.java:644)
at org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1.createOrUpdate(AtlasEntityStoreV1.java:580)
at org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1.createOrUpdate(AtlasEntityStoreV1.java:167)
at org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test.testCreate(AtlasEntityStoreV1Test.java:199)
testDefaultValueForPrimitiveTypes(org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test) Time elapsed: 0.001 sec <<< FAILURE!
org.apache.atlas.exception.AtlasBaseException: Type ENTITY with name newtest does not exist
at org.apache.atlas.repository.store.graph.v1.AtlasEntityGraphDiscoveryV1.walkEntityGraph(AtlasEntityGraphDiscoveryV1.java:353)
at org.apache.atlas.repository.store.graph.v1.AtlasEntityGraphDiscoveryV1.discover(AtlasEntityGraphDiscoveryV1.java:142)
at org.apache.atlas.repository.store.graph.v1.AtlasEntityGraphDiscoveryV1.discoverEntities(AtlasEntityGraphDiscoveryV1.java:69)
at org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1.preCreateOrUpdate(AtlasEntityStoreV1.java:644)
at org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1.createOrUpdate(AtlasEntityStoreV1.java:580)
at org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1.createOrUpdate(AtlasEntityStoreV1.java:167)
at org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test.testDefaultValueForPrimitiveTypes(AtlasEntityStoreV1Test.java:168)
testPartialUpdateArrayAttr(org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test) Time elapsed: 0.001 sec <<< FAILURE!
org.apache.atlas.exception.AtlasBaseException: Type ENTITY with name hive_database does not exist
at org.apache.atlas.repository.store.graph.v1.AtlasEntityGraphDiscoveryV1.walkEntityGraph(AtlasEntityGraphDiscoveryV1.java:353)
at org.apache.atlas.repository.store.graph.v1.AtlasEntityGraphDiscoveryV1.discover(AtlasEntityGraphDiscoveryV1.java:142)
at org.apache.atlas.repository.store.graph.v1.AtlasEntityGraphDiscoveryV1.discoverEntities(AtlasEntityGraphDiscoveryV1.java:69)
at org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1.preCreateOrUpdate(AtlasEntityStoreV1.java:644)
at org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1.createOrUpdate(AtlasEntityStoreV1.java:580)
at org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1.createOrUpdate(AtlasEntityStoreV1.java:167)
at org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test.testPartialUpdateArrayAttr(AtlasEntityStoreV1Test.java:812)
testTagAssociationAfterRedefinition(org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test) Time elapsed: 0.315 sec <<< FAILURE!
java.lang.AssertionError: DB entity creation should've succeeded, e.getMessage() => Type ENTITY with name hive_database does not exist
at org.testng.Assert.fail(Assert.java:94)
at org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test.testTagAssociationAfterRedefinition(AtlasEntityStoreV1Test.java:944)
testPartialUpdateAttr(org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test) Time elapsed: 0 sec <<< FAILURE!
org.apache.atlas.exception.AtlasBaseException: Type ENTITY with name hive_database does not exist
at org.apache.atlas.repository.store.graph.v1.AtlasEntityGraphDiscoveryV1.walkEntityGraph(AtlasEntityGraphDiscoveryV1.java:353)
at org.apache.atlas.repository.store.graph.v1.AtlasEntityGraphDiscoveryV1.discover(AtlasEntityGraphDiscoveryV1.java:142)
at org.apache.atlas.repository.store.graph.v1.AtlasEntityGraphDiscoveryV1.discoverEntities(AtlasEntityGraphDiscoveryV1.java:69)
at org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1.preCreateOrUpdate(AtlasEntityStoreV1.java:644)
at org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1.createOrUpdate(AtlasEntityStoreV1.java:580)
at org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1.createOrUpdate(AtlasEntityStoreV1.java:167)
at org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test.testPartialUpdateAttr(AtlasEntityStoreV1Test.java:710)
testSetObjectIdAttrToNull(org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test) Time elapsed: 0 sec <<< FAILURE!
org.apache.atlas.exception.AtlasBaseException: Type ENTITY with name hive_database does not exist
at org.apache.atlas.repository.store.graph.v1.AtlasEntityGraphDiscoveryV1.walkEntityGraph(AtlasEntityGraphDiscoveryV1.java:353)
at org.apache.atlas.repository.store.graph.v1.AtlasEntityGraphDiscoveryV1.discover(AtlasEntityGraphDiscoveryV1.java:142)
at org.apache.atlas.repository.store.graph.v1.AtlasEntityGraphDiscoveryV1.discoverEntities(AtlasEntityGraphDiscoveryV1.java:69)
at org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1.preCreateOrUpdate(AtlasEntityStoreV1.java:644)
at org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1.createOrUpdate(AtlasEntityStoreV1.java:580)
at org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1.createOrUpdate(AtlasEntityStoreV1.java:167)
at org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test.testSetObjectIdAttrToNull(AtlasEntityStoreV1Test.java:887)
Tests run: 12, Failures: 1, Errors: 0, Skipped: 10, Time elapsed: 68.783 sec <<< FAILURE! - in org.apache.atlas.repository.userprofile.UserProfileServiceTest
createsNewProfile(org.apache.atlas.repository.userprofile.UserProfileServiceTest) Time elapsed: 0.018 sec <<< FAILURE!
java.lang.NullPointerException: null
at org.apache.atlas.repository.ogm.AbstractDataTransferObject.getDefaultAtlasEntity(AbstractDataTransferObject.java:58)
at org.apache.atlas.repository.ogm.profiles.AtlasUserProfileDTO.toEntity(AtlasUserProfileDTO.java:82)
at org.apache.atlas.repository.ogm.profiles.AtlasUserProfileDTO.toEntityWithExtInfo(AtlasUserProfileDTO.java:92)
at org.apache.atlas.repository.ogm.profiles.AtlasUserProfileDTO.toEntityWithExtInfo(AtlasUserProfileDTO.java:33)
at org.apache.atlas.repository.ogm.DataAccess.save(DataAccess.java:67)
at org.apache.atlas.repository.userprofile.UserProfileService.saveUserProfile(UserProfileService.java:45)
at org.apache.atlas.repository.userprofile.UserProfileServiceTest.assertSaveLoadUserProfile(UserProfileServiceTest.java:268)
at org.apache.atlas.repository.userprofile.UserProfileServiceTest.createsNewProfile(UserProfileServiceTest.java:92)
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 70.08 sec <<< FAILURE! - in org.apache.atlas.repository.migration.PathTest
migrationImport(org.apache.atlas.repository.migration.PathTest) Time elapsed: 7.473 sec <<< FAILURE!
org.apache.atlas.exception.AtlasBaseException: Given typename DataSet was invalid
at org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStore.tryTypeCreation(AtlasTypeDefGraphStore.java:1010)
at org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStore.createTypesDef(AtlasTypeDefGraphStore.java:324)
at org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:75)
at org.apache.atlas.repository.impexp.ZipFileResourceTestUtils.createTypesAsNeeded(ZipFileResourceTestUtils.java:206)
at org.apache.atlas.repository.impexp.ZipFileResourceTestUtils.loadModelFromJson(ZipFileResourceTestUtils.java:183)
at org.apache.atlas.repository.migration.MigrationBaseAsserts.loadTypesFromJson(MigrationBaseAsserts.java:79)
at org.apache.atlas.repository.migration.MigrationBaseAsserts.runFileImporter(MigrationBaseAsserts.java:84)
at org.apache.atlas.repository.migration.PathTest.migrationImport(PathTest.java:49)
Tests run: 18, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 74.43 sec <<< FAILURE! - in org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
testCreateWithValidSuperTypes(org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest) Time elapsed: 0.552 sec <<< FAILURE!
java.lang.AssertionError: Entity creation with valid supertype should've succeeded
at org.testng.Assert.fail(Assert.java:94)
at org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest.testCreateWithValidSuperTypes(AtlasTypeDefGraphStoreTest.java:383)
testSearchFunctionality(org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest) Time elapsed: 0.003 sec <<< FAILURE!
java.lang.AssertionError: expected [3] 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.repository.store.graph.AtlasTypeDefGraphStoreTest.testSearchFunctionality(AtlasTypeDefGraphStoreTest.java:562)
testDelete(org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest) Time elapsed: 0.033 sec <<< FAILURE!
java.lang.AssertionError: Deletion should've succeeded
at org.testng.Assert.fail(Assert.java:94)
at org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest.testDelete(AtlasTypeDefGraphStoreTest.java:318)
Results :
Failed tests:
DSLQueriesTest.setup:60->BasicTestSetup.setupTestData:73->BasicTestSetup.loadHiveDataset:94 Hive model setup is required for test to run
ExportServiceTest.setupSampleData:106 » AtlasBase Type ENTITY with name Depart...
ImportServiceTest.importCTAS:192->loadHiveModel:363 » AtlasBase Given typename...
ImportServiceTest.importDB1:104->loadBaseModel:367 » AtlasBase Given type Refe...
ImportServiceTest.importDB2:121->loadBaseModel:367 » AtlasBase Given type Refe...
ImportServiceTest.importDB3:132->loadBaseModel:367 » AtlasBase Given type Refe...
ImportServiceTest.importDB7:307->loadBaseModel:367 » AtlasBase Given type Refe...
ImportServiceTest.importDB8:294->loadBaseModel:367 » AtlasBase Given type Refe...
ImportServiceTest.importGlossary:245->loadBaseModel:367 » AtlasBase Given type...
ImportServiceTest.importLegacy:204->loadBaseModel:367 » AtlasBase Given type R...
ImportServiceTest.importTagProp2:224->loadBaseModel:367 » AtlasBase Given type...
HiveParititionTest.fileImporterTest:51->MigrationBaseAsserts.runFileImporter:84->MigrationBaseAsserts.loadTypesFromJson:79 » AtlasBase
HiveStocksTest.migrateStocks:45->MigrationBaseAsserts.runFileImporter:84->MigrationBaseAsserts.loadTypesFromJson:79 » AtlasBase
PathTest.migrationImport:49->MigrationBaseAsserts.runFileImporter:84->MigrationBaseAsserts.loadTypesFromJson:79 » AtlasBase
RelationshipMappingTest.setup:59 » AtlasBase Given typename DataSet was invali...
AtlasTypeDefGraphStoreTest.testCreateWithValidSuperTypes:383 Entity creation with valid supertype should've succeeded
AtlasTypeDefGraphStoreTest.testDelete:318 Deletion should've succeeded
AtlasTypeDefGraphStoreTest.testSearchFunctionality:562 expected [3] but found [0]
AtlasEntityStoreV1Test.testCheckOptionalAttrValueRetention:599 » AtlasBase Typ...
AtlasEntityStoreV1Test.testCreate:199 » AtlasBase Type ENTITY with name Depart...
AtlasEntityStoreV1Test.testDefaultValueForPrimitiveTypes:168 » AtlasBase Type ...
AtlasEntityStoreV1Test.testPartialUpdateArrayAttr:812 » AtlasBase Type ENTITY ...
AtlasEntityStoreV1Test.testPartialUpdateAttr:710 » AtlasBase Type ENTITY with ...
AtlasEntityStoreV1Test.testSetObjectIdAttrToNull:887 » AtlasBase Type ENTITY w...
AtlasEntityStoreV1Test.testTagAssociationAfterRedefinition:944 DB entity creation should've succeeded, e.getMessage() => Type ENTITY with name hive_database does not exist
AtlasRelationshipStoreHardDeleteV1Test>AtlasRelationshipStoreV1Test.setUp:103 » AtlasBase
AtlasRelationshipStoreSoftDeleteV1Test>AtlasRelationshipStoreV1Test.setUp:103 » AtlasBase
InverseReferenceUpdateHardDeleteV1Test>InverseReferenceUpdateV1Test.setUp:94 » AtlasBase
InverseReferenceUpdateSoftDeleteV1Test>InverseReferenceUpdateV1Test.setUp:94 » AtlasBase
UserProfileServiceTest.createsNewProfile:92->assertSaveLoadUserProfile:268 » NullPointer
Tests run: 307, Failures: 30, Errors: 0, Skipped: 109
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Atlas Server Build Tools .................... SUCCESS [ 1.425 s]
[INFO] apache-atlas ....................................... SUCCESS [ 8.035 s]
[INFO] Apache Atlas Test Utility Tools .................... SUCCESS [ 6.847 s]
[INFO] Open Connector Framework (OCF) ..................... SUCCESS [ 2.171 s]
[INFO] Open Metadata Repository Services (OMRS) ........... SUCCESS [ 6.390 s]
[INFO] Open Metadata and Governance (OMAG) Server APIs .... SUCCESS [ 1.065 s]
[INFO] Connected Asset Open Metadata Access Service (OMAS) SUCCESS [ 1.243 s]
[INFO] Asset Consumer Open Metadata Access Service (OMAS) . SUCCESS [ 1.040 s]
[INFO] Open Metadata and Governance (OMAG) Server ......... SUCCESS [ 0.945 s]
[INFO] Apache Atlas Integration ........................... SUCCESS [ 38.837 s]
[INFO] Apache Atlas Common ................................ SUCCESS [ 2.975 s]
[INFO] Apache Atlas Client ................................ SUCCESS [ 0.247 s]
[INFO] atlas-client-common ................................ SUCCESS [ 0.792 s]
[INFO] atlas-client-v1 .................................... SUCCESS [ 2.640 s]
[INFO] Apache Atlas Server API ............................ SUCCESS [ 0.885 s]
[INFO] Apache Atlas Notification .......................... SUCCESS [ 19.433 s]
[INFO] atlas-client-v2 .................................... SUCCESS [ 0.742 s]
[INFO] Apache Atlas Graph Database Projects ............... SUCCESS [ 0.106 s]
[INFO] Apache Atlas Graph Database API .................... SUCCESS [ 0.654 s]
[INFO] Graph Database Common Code ......................... SUCCESS [ 0.885 s]
[INFO] Apache Atlas JanusGraph DB Impl .................... SUCCESS [02:40 min]
[INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [ 1.822 s]
[INFO] Shaded version of Apache hbase client .............. SUCCESS [ 8.275 s]
[INFO] Shaded version of Apache hbase server .............. SUCCESS [ 22.038 s]
[INFO] Apache Atlas Authorization ......................... SUCCESS [ 2.622 s]
[INFO] Apache Atlas Repository ............................ FAILURE [01:28 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:23 min
[INFO] Finished at: 2018-05-09T22:56:30Z
[INFO] Final Memory: 146M/1981M
[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/368//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_7864> ']'
+ '[' -d <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/atlas_patchprocess_7864> ']'
+ mv <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/atlas_patchprocess_7864> <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_7864>
+ exit 1
Build step 'Execute shell' marked build as failure
Set build name.
New build name is '#368-master-0001-ATLAS-2667-Enhance-GraphTransactionInterceptor-to-de.patch'
Archiving artifacts