See 
<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/236/display/redirect?page=changes>

Changes:

[madhan] ATLAS-2530 trim query string before using it as name attribute for Hive

[madhan] ATLAS-2536: fix NPE in Hive hook

[madhan] ATLAS-2460: fix for regression in handling HA mode

[nixon] ATLAS-2528 : UI : Allow user to empty date for validity period.

[nixon] ATLAS-2533: AtlasEntity is double classified

[david_radley] ATLAS-2122 OMAG Server Application and OMRS APIs

[madhan] ATLAS-2535: import-hive doesn't update entity already present in Atlas

------------------------------------------
[...truncated 237.70 KB...]
[INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ 
atlas-repository ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 40 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.migration.HiveParititionTest
Running org.apache.atlas.repository.impexp.ImportTransformsTest
Running org.apache.atlas.repository.migration.HiveStocksTest
Running org.apache.atlas.services.MetricsServiceTest
Running org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test
Running org.apache.atlas.utils.ObjectUpdateSynchronizerTest
Running org.apache.atlas.utils.TestResourceFileUtils
Running org.apache.atlas.repository.impexp.AtlasImportRequestTest
Running 
org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreHardDeleteV1Test
Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreV1Test
Running org.apache.atlas.repository.audit.InMemoryAuditRepositoryTest
Running org.apache.atlas.repository.impexp.ZipSinkTest
Running org.apache.atlas.repository.store.graph.v1.AtlasEntityDefStoreV1Test
Running org.apache.atlas.repository.impexp.TypeAttributeDifferenceTest
Running org.apache.atlas.TestModules
Running org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
Running 
org.apache.atlas.repository.store.graph.v1.AtlasRelationshipDefStoreV1Test
Running org.apache.atlas.repository.userprofile.UserProfileServiceTest
Running 
org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1BulkImportPercentTest
Running org.apache.atlas.repository.impexp.ExportServiceTest
Running 
org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreSoftDeleteV1Test
Running org.apache.atlas.repository.impexp.ImportTransformerJSONTest
Running org.apache.atlas.repository.impexp.UniqueListTest
Running org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateV1Test
Running org.apache.atlas.repository.impexp.ImportTransformerTest
Running org.apache.atlas.repository.audit.CassandraAuditRepositoryTest
Running org.apache.atlas.repository.impexp.ZipSourceTest
Running org.apache.atlas.repository.migration.RelationshipMappingTest
Running 
org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateHardDeleteV1Test
Running org.apache.atlas.repository.impexp.ImportServiceTest
Running org.apache.atlas.query.DSLQueriesTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.753 sec - in 
org.apache.atlas.utils.TestResourceFileUtils
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.652 sec - in 
org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreV1Test
Running 
org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateSoftDeleteV1Test
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.461 sec - in 
org.apache.atlas.TestModules
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.81 sec - in 
org.apache.atlas.repository.impexp.UniqueListTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.6 sec - in 
org.apache.atlas.repository.audit.InMemoryAuditRepositoryTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.006 sec - in 
org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateV1Test
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.495 sec - in 
org.apache.atlas.repository.impexp.ImportTransformerTest
Running org.apache.atlas.query.DSLParsingTest
Running org.apache.atlas.query.GremlinQueryComposerTest
Running org.apache.atlas.glossary.GlossaryServiceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.768 sec - in 
org.apache.atlas.repository.impexp.ImportTransformerJSONTest
Running org.apache.atlas.glossary.PaginationHelperTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.348 sec - in 
org.apache.atlas.repository.impexp.TypeAttributeDifferenceTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.294 sec - in 
org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1BulkImportPercentTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.403 sec - in 
org.apache.atlas.utils.ObjectUpdateSynchronizerTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.716 sec - in 
org.apache.atlas.repository.impexp.ImportTransformsTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.712 sec - in 
org.apache.atlas.repository.impexp.AtlasImportRequestTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.363 sec - in 
org.apache.atlas.repository.impexp.ZipSourceTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.252 sec - in 
org.apache.atlas.repository.impexp.ZipSinkTest
Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.907 sec - in 
org.apache.atlas.glossary.PaginationHelperTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.065 sec - in 
org.apache.atlas.query.DSLParsingTest
Tests run: 39, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.155 sec - 
in org.apache.atlas.query.GremlinQueryComposerTest
Tests run: 7, Failures: 1, Errors: 0, Skipped: 6, Time elapsed: 17.872 sec <<< 
FAILURE! - in org.apache.atlas.repository.audit.CassandraAuditRepositoryTest
setup(org.apache.atlas.repository.audit.CassandraAuditRepositoryTest)  Time 
elapsed: 17.709 sec  <<< FAILURE!
org.apache.atlas.AtlasException: 
com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried 
for query failed (tried: localhost/127.0.0.1:9042 
(com.datastax.driver.core.exceptions.TransportException: 
[localhost/127.0.0.1:9042] Cannot connect))
        at 
com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:233)
        at 
com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:79)
        at com.datastax.driver.core.Cluster$Manager.init(Cluster.java:1483)
        at com.datastax.driver.core.Cluster.init(Cluster.java:159)
        at com.datastax.driver.core.Cluster.connectAsync(Cluster.java:330)
        at com.datastax.driver.core.Cluster.connectAsync(Cluster.java:305)
        at com.datastax.driver.core.Cluster.connect(Cluster.java:247)
        at 
org.apache.atlas.repository.audit.CassandraBasedAuditRepository.createSession(CassandraBasedAuditRepository.java:217)
        at 
org.apache.atlas.repository.audit.CassandraBasedAuditRepository.startInternal(CassandraBasedAuditRepository.java:208)
        at 
org.apache.atlas.repository.audit.CassandraBasedAuditRepository.start(CassandraBasedAuditRepository.java:196)
        at 
org.apache.atlas.repository.audit.CassandraAuditRepositoryTest.setup(CassandraAuditRepositoryTest.java:48)

Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 50.855 sec - 
in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipDefStoreV1Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 55.75 sec - in 
org.apache.atlas.services.MetricsServiceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 56.484 sec - in 
org.apache.atlas.repository.store.graph.v1.AtlasEntityDefStoreV1Test
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 63.978 sec - in 
org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreHardDeleteV1Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 63.29 sec - in 
org.apache.atlas.repository.migration.RelationshipMappingTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 66.912 sec - in 
org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreSoftDeleteV1Test
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 69.367 sec - in 
org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateSoftDeleteV1Test
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 71.167 sec - in 
org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateHardDeleteV1Test
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 72.861 sec - 
in org.apache.atlas.repository.userprofile.UserProfileServiceTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 74.218 sec - 
in org.apache.atlas.repository.impexp.ExportServiceTest
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 81.998 sec - 
in org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test
Tests run: 27, Failures: 3, Errors: 0, Skipped: 6, Time elapsed: 78.197 sec <<< 
FAILURE! - in org.apache.atlas.glossary.GlossaryServiceTest
testUpdateGlossary(org.apache.atlas.glossary.GlossaryServiceTest)  Time 
elapsed: 0.161 sec  <<< FAILURE!
java.lang.NullPointerException: atlasGlossary qualifiedName must be specified
        at java.util.Objects.requireNonNull(Objects.java:228)
        at 
org.apache.atlas.repository.ogm.glossary.AtlasGlossaryDTO.toEntity(AtlasGlossaryDTO.java:112)
        at 
org.apache.atlas.repository.ogm.glossary.AtlasGlossaryDTO.toEntityWithExtInfo(AtlasGlossaryDTO.java:135)
        at 
org.apache.atlas.repository.ogm.glossary.AtlasGlossaryDTO.toEntityWithExtInfo(AtlasGlossaryDTO.java:35)
        at org.apache.atlas.repository.ogm.DataAccess.save(DataAccess.java:67)
        at 
org.apache.atlas.glossary.GlossaryService.updateGlossary(GlossaryService.java:217)
        at 
org.apache.atlas.glossary.GlossaryServiceTest.testUpdateGlossary(GlossaryServiceTest.java:231)

testUpdateGlossaryCategory(org.apache.atlas.glossary.GlossaryServiceTest)  Time 
elapsed: 0.064 sec  <<< FAILURE!
java.lang.NullPointerException: atlasGlossaryCategory qualifiedName must be 
specified
        at java.util.Objects.requireNonNull(Objects.java:228)
        at 
org.apache.atlas.repository.ogm.glossary.AtlasGlossaryCategoryDTO.toEntity(AtlasGlossaryCategoryDTO.java:114)
        at 
org.apache.atlas.repository.ogm.glossary.AtlasGlossaryCategoryDTO.toEntityWithExtInfo(AtlasGlossaryCategoryDTO.java:136)
        at 
org.apache.atlas.repository.ogm.glossary.AtlasGlossaryCategoryDTO.toEntityWithExtInfo(AtlasGlossaryCategoryDTO.java:35)
        at org.apache.atlas.repository.ogm.DataAccess.save(DataAccess.java:67)
        at 
org.apache.atlas.glossary.GlossaryService.updateCategory(GlossaryService.java:456)
        at 
org.apache.atlas.glossary.GlossaryServiceTest.testUpdateGlossaryCategory(GlossaryServiceTest.java:305)

testUpdateGlossaryTerm(org.apache.atlas.glossary.GlossaryServiceTest)  Time 
elapsed: 0.098 sec  <<< FAILURE!
java.lang.NullPointerException: atlasGlossaryTerm qualifiedName must be 
specified
        at java.util.Objects.requireNonNull(Objects.java:228)
        at 
org.apache.atlas.repository.ogm.glossary.AtlasGlossaryTermDTO.toEntity(AtlasGlossaryTermDTO.java:171)
        at 
org.apache.atlas.repository.ogm.glossary.AtlasGlossaryTermDTO.toEntityWithExtInfo(AtlasGlossaryTermDTO.java:196)
        at 
org.apache.atlas.repository.ogm.glossary.AtlasGlossaryTermDTO.toEntityWithExtInfo(AtlasGlossaryTermDTO.java:37)
        at org.apache.atlas.repository.ogm.DataAccess.save(DataAccess.java:67)
        at 
org.apache.atlas.glossary.GlossaryService.updateTerm(GlossaryService.java:329)
        at 
org.apache.atlas.glossary.GlossaryServiceTest.testUpdateGlossaryTerm(GlossaryServiceTest.java:275)

Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 83.623 sec - 
in org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 92.64 sec - in 
org.apache.atlas.repository.migration.HiveParititionTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 92.254 sec - 
in org.apache.atlas.repository.impexp.ImportServiceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 94.488 sec - in 
org.apache.atlas.repository.migration.HiveStocksTest
Tests run: 246, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 153.827 sec - 
in org.apache.atlas.query.DSLQueriesTest

Results :

Failed tests: 
  GlossaryServiceTest.testUpdateGlossary:231 » NullPointer atlasGlossary 
qualifi...
  GlossaryServiceTest.testUpdateGlossaryCategory:305 » NullPointer 
atlasGlossary...
  GlossaryServiceTest.testUpdateGlossaryTerm:275 » NullPointer 
atlasGlossaryTerm...
  CassandraAuditRepositoryTest.setup:48 » Atlas 
com.datastax.driver.core.excepti...

Tests run: 510, Failures: 4, Errors: 0, Skipped: 12

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Atlas Server Build Tools .................... SUCCESS [  0.615 s]
[INFO] apache-atlas ....................................... SUCCESS [  3.342 s]
[INFO] Apache Atlas Test Utility Tools .................... SUCCESS [  4.551 s]
[INFO] Open Connector Framework (OCF) ..................... SUCCESS [  1.912 s]
[INFO] Open Metadata Repository Services (OMRS) ........... SUCCESS [  4.407 s]
[INFO] Open Metadata and Governance (OMAG) Server APIs .... SUCCESS [  1.064 s]
[INFO] Apache Atlas Integration ........................... SUCCESS [ 38.095 s]
[INFO] Apache Atlas Common ................................ SUCCESS [  2.226 s]
[INFO] Apache Atlas Client ................................ SUCCESS [  0.134 s]
[INFO] atlas-client-common ................................ SUCCESS [  0.738 s]
[INFO] atlas-client-v1 .................................... SUCCESS [  2.678 s]
[INFO] Apache Atlas Server API ............................ SUCCESS [  0.783 s]
[INFO] Apache Atlas Notification .......................... SUCCESS [ 16.927 s]
[INFO] atlas-client-v2 .................................... SUCCESS [  0.623 s]
[INFO] Apache Atlas Graph Database Projects ............... SUCCESS [  0.151 s]
[INFO] Apache Atlas Graph Database API .................... SUCCESS [  0.675 s]
[INFO] Graph Database Common Code ......................... SUCCESS [  0.758 s]
[INFO] Apache Atlas JanusGraph DB Impl .................... SUCCESS [02:19 min]
[INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [  2.096 
s]
[INFO] Shaded version of Apache hbase client .............. SUCCESS [  8.239 s]
[INFO] Apache Atlas Titan 0.5.4 Graph DB Impl ............. SUCCESS [ 29.865 s]
[INFO] Shaded version of Apache hbase server .............. SUCCESS [ 20.617 s]
[INFO] Apache Atlas Authorization ......................... SUCCESS [  2.316 s]
[INFO] Apache Atlas Repository ............................ FAILURE [02:45 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 Migration Exporter .................... SKIPPED
[INFO] Apache Atlas Distribution .......................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 07:29 min
[INFO] Finished at: 2018-04-07T00:55:50Z
[INFO] Final Memory: 156M/2007M
[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:green}+1 overall{color}.  

    {color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

Test results: 
https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/236//testReport/
Console output: 
https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/236//console

This message is automatically generated.


======================================================================
======================================================================
    Adding comment to Jira.
======================================================================
======================================================================




======================================================================
======================================================================
    Finished build.
======================================================================
======================================================================


+ EXIT_CODE=0
+ '[' -d 
<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/../atlas_patchprocess_28937>
 ']'
+ '[' -d 
<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/atlas_patchprocess_28937>
 ']'
+ mv 
<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/atlas_patchprocess_28937>
 <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_28937>
+ exit 0
[description-setter] Description set: 
0001-ATLAS-2534-Atlas-Glossary-support.patch
Set build name.
New build name is '#236-master-0001-ATLAS-2534-Atlas-Glossary-support.patch'
Archiving artifacts
ERROR: No artifacts found that match the file pattern "distro/target/*.tar.gz, 
webapp/target/*.war, **/target/**/*application.log". Configuration error?
ERROR: ?distro/target/*.tar.gz? doesn?t match anything: ?distro? exists but not 
?distro/target/*.tar.gz?
Build step 'Archive the artifacts' changed build result to FAILURE

Reply via email to