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/15 01:35:01 UTC

Build failed in Jenkins: Atlas-master-UnitTests #1365

See <https://builds.apache.org/job/Atlas-master-UnitTests/1365/display/redirect?page=changes>

Changes:

[madhan] ATLAS-2680: import-hbase fails to match namespaces for the given regex

------------------------------------------
[...truncated 191.99 KB...]
[INFO] Exclude: **/public/js/external_lib/**
[INFO] Exclude: **/node_modules/**
[INFO] Exclude: **/public/js/libs/**
[INFO] Exclude: **/atlas.data/**
[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/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 132 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/v1/AtlasGraphUtilsV1.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/v1/AtlasGraphUtilsV1.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/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/v1/InverseReferenceUpdateV1Test.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/v1/InverseReferenceUpdateV1Test.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.repository.store.graph.v1.AtlasRelationshipDefStoreV1Test
Running org.apache.atlas.TestModules
Running org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1BulkImportPercentTest
Running org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateHardDeleteV1Test
Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreV1Test
Running org.apache.atlas.repository.impexp.ImportTransformerJSONTest
Running org.apache.atlas.repository.store.graph.v1.AtlasComplexAttributesTest
Running org.apache.atlas.repository.userprofile.UserProfileServiceTest
Running org.apache.atlas.query.DSLParsingTest
Running org.apache.atlas.repository.impexp.UniqueListTest
Running org.apache.atlas.repository.migration.HiveStocksTest
Running org.apache.atlas.repository.impexp.ZipSourceTest
Running org.apache.atlas.repository.impexp.ZipSinkTest
Running org.apache.atlas.repository.impexp.ExportServiceTest
Running org.apache.atlas.utils.ObjectUpdateSynchronizerTest
Running org.apache.atlas.query.DSLQueriesTest
Running org.apache.atlas.repository.migration.HiveParititionTest
Running org.apache.atlas.repository.migration.PathTest
Running org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateV1Test
Running org.apache.atlas.repository.migration.MigrationProgressServiceTest
Running org.apache.atlas.repository.store.graph.v1.AtlasEntityDefStoreV1Test
Running org.apache.atlas.utils.TestResourceFileUtils
Running org.apache.atlas.services.MetricsServiceTest
Running org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreHardDeleteV1Test
Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreSoftDeleteV1Test
Running org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test
Running org.apache.atlas.repository.migration.RelationshipMappingTest
Running org.apache.atlas.repository.impexp.ImportTransformsTest
Running org.apache.atlas.repository.impexp.AtlasImportRequestTest
Running org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateSoftDeleteV1Test
Running org.apache.atlas.query.GremlinQueryComposerTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.991 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreV1Test
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.777 sec - in org.apache.atlas.repository.impexp.UniqueListTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.382 sec - in org.apache.atlas.TestModules
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.569 sec - in org.apache.atlas.utils.TestResourceFileUtils
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.748 sec - in org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateV1Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.164 sec - in org.apache.atlas.repository.impexp.ImportTransformerJSONTest
Running org.apache.atlas.repository.impexp.TypeAttributeDifferenceTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.671 sec - in org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1BulkImportPercentTest
Running org.apache.atlas.repository.impexp.ImportTransformerTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.134 sec - in org.apache.atlas.utils.ObjectUpdateSynchronizerTest
Running org.apache.atlas.repository.audit.CassandraAuditRepositoryTest
Running org.apache.atlas.repository.audit.InMemoryAuditRepositoryTest
Running org.apache.atlas.repository.impexp.ImportServiceTest
Running org.apache.atlas.repository.tagpropagation.ClassificationPropagationTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.509 sec - in org.apache.atlas.repository.impexp.AtlasImportRequestTest
Running org.apache.atlas.glossary.PaginationHelperTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.973 sec - in org.apache.atlas.query.DSLParsingTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.171 sec - in org.apache.atlas.repository.impexp.ImportTransformsTest
Running org.apache.atlas.glossary.GlossaryServiceTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.945 sec - in org.apache.atlas.repository.impexp.ImportTransformerTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.393 sec - in org.apache.atlas.repository.impexp.ZipSourceTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.462 sec - in org.apache.atlas.repository.impexp.ZipSinkTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.69 sec - in org.apache.atlas.repository.audit.InMemoryAuditRepositoryTest
Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.971 sec - in org.apache.atlas.glossary.PaginationHelperTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.571 sec - in org.apache.atlas.repository.migration.MigrationProgressServiceTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.219 sec - in org.apache.atlas.repository.impexp.TypeAttributeDifferenceTest
Tests run: 39, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 21.33 sec - in org.apache.atlas.query.GremlinQueryComposerTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 7, Time elapsed: 28.299 sec - in org.apache.atlas.repository.audit.CassandraAuditRepositoryTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 42.017 sec - in org.apache.atlas.services.MetricsServiceTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 66.53 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipDefStoreV1Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 68.456 sec - in org.apache.atlas.repository.store.graph.v1.AtlasEntityDefStoreV1Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 83.134 sec - in org.apache.atlas.repository.migration.RelationshipMappingTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 83.58 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreSoftDeleteV1Test
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 89.759 sec - in org.apache.atlas.repository.userprofile.UserProfileServiceTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 90.662 sec - in org.apache.atlas.repository.store.graph.v1.AtlasComplexAttributesTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 94.157 sec - in org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateHardDeleteV1Test
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 91.906 sec - in org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateSoftDeleteV1Test
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 95.582 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreHardDeleteV1Test
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 98.92 sec - in org.apache.atlas.repository.impexp.ExportServiceTest
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 110.294 sec - in org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
Tests run: 35, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 104.413 sec - in org.apache.atlas.glossary.GlossaryServiceTest
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 106.946 sec <<< FAILURE! - in org.apache.atlas.repository.migration.HiveParititionTest
fileImporterTest(org.apache.atlas.repository.migration.HiveParititionTest)  Time elapsed: 40.306 sec  <<< FAILURE!
java.lang.NullPointerException: null
	at org.apache.atlas.repository.graph.GraphHelper.getListProperty(GraphHelper.java:1789)
	at org.apache.atlas.repository.migration.HiveParititionTest.assertPartitionKeyProperty(HiveParititionTest.java:67)
	at org.apache.atlas.repository.migration.HiveParititionTest.fileImporterTest(HiveParititionTest.java:53)

Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 114.504 sec - in org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 116.477 sec - in org.apache.atlas.repository.migration.PathTest
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 116.583 sec <<< FAILURE! - in org.apache.atlas.repository.migration.HiveStocksTest
migrateStocks(org.apache.atlas.repository.migration.HiveStocksTest)  Time elapsed: 42.361 sec  <<< FAILURE!
java.lang.AssertionError: expected [1] but found [0]
	at org.testng.Assert.fail(Assert.java:94)
	at org.testng.Assert.failNotEquals(Assert.java:496)
	at org.testng.Assert.assertEquals(Assert.java:125)
	at org.testng.Assert.assertEquals(Assert.java:372)
	at org.testng.Assert.assertEquals(Assert.java:382)
	at org.apache.atlas.repository.migration.MigrationBaseAsserts.assertHiveVertices(MigrationBaseAsserts.java:99)
	at org.apache.atlas.repository.migration.HiveStocksTest.migrateStocks(HiveStocksTest.java:47)

Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 124.208 sec - in org.apache.atlas.repository.impexp.ImportServiceTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 130.394 sec - in org.apache.atlas.repository.tagpropagation.ClassificationPropagationTest
Tests run: 246, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 185.666 sec - in org.apache.atlas.query.DSLQueriesTest

Results :

Failed tests: 
  HiveParititionTest.fileImporterTest:53->assertPartitionKeyProperty:67 » NullPointer
  HiveStocksTest.migrateStocks:47->MigrationBaseAsserts.assertHiveVertices:99 expected [1] but found [0]

Tests run: 547, Failures: 2, Errors: 0, Skipped: 7

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Atlas Server Build Tools .................... SUCCESS [  1.469 s]
[INFO] apache-atlas ....................................... SUCCESS [  5.038 s]
[INFO] Apache Atlas Test Utility Tools .................... SUCCESS [  8.688 s]
[INFO] Open Connector Framework (OCF) ..................... SUCCESS [  1.984 s]
[INFO] Open Metadata Repository Services (OMRS) ........... SUCCESS [  8.799 s]
[INFO] Open Metadata and Governance (OMAG) Server APIs .... SUCCESS [  0.904 s]
[INFO] Connected Asset Open Metadata Access Service (OMAS)  SUCCESS [  0.978 s]
[INFO] Asset Consumer Open Metadata Access Service (OMAS) . SUCCESS [  1.131 s]
[INFO] Open Metadata and Governance (OMAG) Server ......... SUCCESS [  3.713 s]
[INFO] Apache Atlas Integration ........................... SUCCESS [ 46.375 s]
[INFO] Apache Atlas Common ................................ SUCCESS [  2.623 s]
[INFO] Apache Atlas Client ................................ SUCCESS [  0.223 s]
[INFO] atlas-client-common ................................ SUCCESS [  0.727 s]
[INFO] atlas-client-v1 .................................... SUCCESS [  3.006 s]
[INFO] Apache Atlas Server API ............................ SUCCESS [  0.726 s]
[INFO] Apache Atlas Notification .......................... SUCCESS [ 20.134 s]
[INFO] atlas-client-v2 .................................... SUCCESS [  0.637 s]
[INFO] Apache Atlas Graph Database Projects ............... SUCCESS [  0.093 s]
[INFO] Apache Atlas Graph Database API .................... SUCCESS [  0.726 s]
[INFO] Graph Database Common Code ......................... SUCCESS [  0.724 s]
[INFO] Apache Atlas JanusGraph DB Impl .................... SUCCESS [02:37 min]
[INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [  1.831 s]
[INFO] Shaded version of Apache hbase client .............. SUCCESS [  8.890 s]
[INFO] Shaded version of Apache hbase server .............. SUCCESS [ 21.480 s]
[INFO] Apache Atlas Authorization ......................... SUCCESS [  2.321 s]
[INFO] Apache Atlas Repository ............................ FAILURE [03:19 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:21 min
[INFO] Finished at: 2018-05-15T01:34:47Z
[INFO] Final Memory: 148M/1616M
[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=fccfe919d49ca39d111ade8bb2f2688db5e854e7, workspace=<https://builds.apache.org/job/Atlas-master-UnitTests/ws/>
[CHECKSTYLE] Computing warning deltas based on reference build #1359
[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=fccfe919d49ca39d111ade8bb2f2688db5e854e7, workspace=<https://builds.apache.org/job/Atlas-master-UnitTests/ws/>
[FINDBUGS] Computing warning deltas based on reference build #1359
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/1365/testng/testng-results-1.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/1365/testng/testng-results-2.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/1365/testng/testng-results-3.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/1365/testng/testng-results-4.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/1365/testng/testng-results-5.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/1365/testng/testng-results-6.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/1365/testng/testng-results-7.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/1365/testng/testng-results.xml'
TestNG Reports Processing: FINISH

Jenkins build is back to normal : Atlas-master-UnitTests #1371

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Atlas-master-UnitTests/1371/display/redirect?page=changes>


Build failed in Jenkins: Atlas-master-UnitTests #1370

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Atlas-master-UnitTests/1370/display/redirect?page=changes>

Changes:

[madhan] ATLAS-2463: documentation of Atlas authorization model

[madhan] ATLAS-2676 : UI fix to address basic-search handling of term input in IE

------------------------------------------
[...truncated 171.55 KB...]
[INFO] Exclude: **/public/js/external_lib/**
[INFO] Exclude: **/node_modules/**
[INFO] Exclude: **/public/js/libs/**
[INFO] Exclude: **/atlas.data/**
[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/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 132 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/v1/AtlasGraphUtilsV1.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/v1/AtlasGraphUtilsV1.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/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/v1/InverseReferenceUpdateV1Test.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/v1/InverseReferenceUpdateV1Test.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.repository.impexp.AtlasImportRequestTest
Running org.apache.atlas.services.MetricsServiceTest
Running org.apache.atlas.repository.impexp.ExportServiceTest
Running org.apache.atlas.repository.impexp.TypeAttributeDifferenceTest
Running org.apache.atlas.repository.impexp.ZipSourceTest
Running org.apache.atlas.query.GremlinQueryComposerTest
Running org.apache.atlas.repository.audit.InMemoryAuditRepositoryTest
Running org.apache.atlas.repository.store.graph.v1.AtlasComplexAttributesTest
Running org.apache.atlas.query.DSLQueriesTest
Running org.apache.atlas.glossary.GlossaryServiceTest
Running org.apache.atlas.repository.impexp.UniqueListTest
Running org.apache.atlas.glossary.PaginationHelperTest
Running org.apache.atlas.repository.userprofile.UserProfileServiceTest
Running org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1BulkImportPercentTest
Running org.apache.atlas.repository.impexp.ImportTransformerJSONTest
Running org.apache.atlas.query.DSLParsingTest
Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreV1Test
Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreSoftDeleteV1Test
Running org.apache.atlas.repository.impexp.ImportServiceTest
Running org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
Running org.apache.atlas.repository.impexp.ImportTransformsTest
Running org.apache.atlas.repository.impexp.ImportTransformerTest
Running org.apache.atlas.repository.tagpropagation.ClassificationPropagationTest
Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreHardDeleteV1Test
Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipDefStoreV1Test
Running org.apache.atlas.repository.impexp.ZipSinkTest
Running org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateSoftDeleteV1Test
Running org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateHardDeleteV1Test
Running org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test
Running org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateV1Test
Running org.apache.atlas.repository.store.graph.v1.AtlasEntityDefStoreV1Test
Running org.apache.atlas.repository.audit.CassandraAuditRepositoryTest
Running org.apache.atlas.repository.migration.MigrationProgressServiceTest
Running org.apache.atlas.repository.migration.RelationshipMappingTest
Running org.apache.atlas.repository.migration.PathTest
Running org.apache.atlas.utils.ObjectUpdateSynchronizerTest
Running org.apache.atlas.utils.TestResourceFileUtils
Running org.apache.atlas.repository.migration.HiveStocksTest
Running org.apache.atlas.repository.migration.HiveParititionTest
Running org.apache.atlas.TestModules
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.491 sec - in org.apache.atlas.repository.audit.InMemoryAuditRepositoryTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.469 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreV1Test
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.664 sec - in org.apache.atlas.repository.impexp.UniqueListTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.86 sec - in org.apache.atlas.repository.impexp.ImportTransformerTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.011 sec - in org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateV1Test
Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.681 sec - in org.apache.atlas.glossary.PaginationHelperTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.694 sec - in org.apache.atlas.TestModules
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.337 sec - in org.apache.atlas.repository.impexp.ImportTransformerJSONTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.876 sec - in org.apache.atlas.utils.TestResourceFileUtils
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.269 sec - in org.apache.atlas.repository.impexp.ImportTransformsTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.655 sec - in org.apache.atlas.repository.impexp.TypeAttributeDifferenceTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.673 sec - in org.apache.atlas.repository.impexp.ZipSourceTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.844 sec - in org.apache.atlas.repository.impexp.AtlasImportRequestTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.65 sec - in org.apache.atlas.query.DSLParsingTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.483 sec - in org.apache.atlas.repository.impexp.ZipSinkTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.734 sec - in org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1BulkImportPercentTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.424 sec - in org.apache.atlas.utils.ObjectUpdateSynchronizerTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.913 sec - in org.apache.atlas.repository.migration.MigrationProgressServiceTest
Tests run: 39, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.821 sec - in org.apache.atlas.query.GremlinQueryComposerTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.749 sec - in org.apache.atlas.repository.audit.CassandraAuditRepositoryTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 30.843 sec - in org.apache.atlas.services.MetricsServiceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 42.369 sec - in org.apache.atlas.repository.store.graph.v1.AtlasEntityDefStoreV1Test
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 43.807 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipDefStoreV1Test
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 49.498 sec - in org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateHardDeleteV1Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 55.569 sec - in org.apache.atlas.repository.migration.RelationshipMappingTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 58.491 sec - in org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateSoftDeleteV1Test
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 59.559 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreHardDeleteV1Test
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 60.321 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreSoftDeleteV1Test
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 62.569 sec - in org.apache.atlas.repository.store.graph.v1.AtlasComplexAttributesTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 62.978 sec - in org.apache.atlas.repository.impexp.ExportServiceTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 64.461 sec - in org.apache.atlas.repository.userprofile.UserProfileServiceTest
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 66.807 sec - in org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
Tests run: 35, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 69.375 sec - in org.apache.atlas.glossary.GlossaryServiceTest
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 72.117 sec - in org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 70.877 sec <<< FAILURE! - in org.apache.atlas.repository.migration.HiveParititionTest
fileImporterTest(org.apache.atlas.repository.migration.HiveParititionTest)  Time elapsed: 30.89 sec  <<< FAILURE!
java.lang.NullPointerException: null
	at org.apache.atlas.repository.graph.GraphHelper.getListProperty(GraphHelper.java:1789)
	at org.apache.atlas.repository.migration.HiveParititionTest.assertPartitionKeyProperty(HiveParititionTest.java:67)
	at org.apache.atlas.repository.migration.HiveParititionTest.fileImporterTest(HiveParititionTest.java:53)

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 77.829 sec - in org.apache.atlas.repository.migration.PathTest
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 73.83 sec <<< FAILURE! - in org.apache.atlas.repository.migration.HiveStocksTest
migrateStocks(org.apache.atlas.repository.migration.HiveStocksTest)  Time elapsed: 32.249 sec  <<< FAILURE!
java.lang.AssertionError: expected [1] but found [0]
	at org.testng.Assert.fail(Assert.java:94)
	at org.testng.Assert.failNotEquals(Assert.java:496)
	at org.testng.Assert.assertEquals(Assert.java:125)
	at org.testng.Assert.assertEquals(Assert.java:372)
	at org.testng.Assert.assertEquals(Assert.java:382)
	at org.apache.atlas.repository.migration.MigrationBaseAsserts.assertHiveVertices(MigrationBaseAsserts.java:99)
	at org.apache.atlas.repository.migration.HiveStocksTest.migrateStocks(HiveStocksTest.java:47)

Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 82.446 sec - in org.apache.atlas.repository.impexp.ImportServiceTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 87.425 sec - in org.apache.atlas.repository.tagpropagation.ClassificationPropagationTest
Tests run: 246, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 144.203 sec - in org.apache.atlas.query.DSLQueriesTest

Results :

Failed tests: 
  HiveParititionTest.fileImporterTest:53->assertPartitionKeyProperty:67 » NullPointer
  HiveStocksTest.migrateStocks:47->MigrationBaseAsserts.assertHiveVertices:99 expected [1] but found [0]

Tests run: 546, Failures: 2, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Atlas Server Build Tools .................... SUCCESS [  0.538 s]
[INFO] apache-atlas ....................................... SUCCESS [  2.062 s]
[INFO] Apache Atlas Test Utility Tools .................... SUCCESS [  4.317 s]
[INFO] Open Connector Framework (OCF) ..................... SUCCESS [  1.564 s]
[INFO] Open Metadata Repository Services (OMRS) ........... SUCCESS [  6.157 s]
[INFO] Open Metadata and Governance (OMAG) Server APIs .... SUCCESS [  0.771 s]
[INFO] Connected Asset Open Metadata Access Service (OMAS)  SUCCESS [  0.887 s]
[INFO] Asset Consumer Open Metadata Access Service (OMAS) . SUCCESS [  1.006 s]
[INFO] Open Metadata and Governance (OMAG) Server ......... SUCCESS [  1.055 s]
[INFO] Apache Atlas Integration ........................... SUCCESS [ 37.063 s]
[INFO] Apache Atlas Common ................................ SUCCESS [  2.304 s]
[INFO] Apache Atlas Client ................................ SUCCESS [  0.123 s]
[INFO] atlas-client-common ................................ SUCCESS [  0.553 s]
[INFO] atlas-client-v1 .................................... SUCCESS [  2.812 s]
[INFO] Apache Atlas Server API ............................ SUCCESS [  0.707 s]
[INFO] Apache Atlas Notification .......................... SUCCESS [ 15.281 s]
[INFO] atlas-client-v2 .................................... SUCCESS [  0.542 s]
[INFO] Apache Atlas Graph Database Projects ............... SUCCESS [  0.079 s]
[INFO] Apache Atlas Graph Database API .................... SUCCESS [  0.689 s]
[INFO] Graph Database Common Code ......................... SUCCESS [  0.763 s]
[INFO] Apache Atlas JanusGraph DB Impl .................... SUCCESS [02:06 min]
[INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [  1.830 s]
[INFO] Shaded version of Apache hbase client .............. SUCCESS [  6.893 s]
[INFO] Shaded version of Apache hbase server .............. SUCCESS [ 19.066 s]
[INFO] Apache Atlas Authorization ......................... SUCCESS [  2.346 s]
[INFO] Apache Atlas Repository ............................ FAILURE [02:33 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:30 min
[INFO] Finished at: 2018-05-15T15:32:49Z
[INFO] Final Memory: 139M/1836M
[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=fa712590e929d0c8c3ee7c048687bd1fe4ddd59e, workspace=<https://builds.apache.org/job/Atlas-master-UnitTests/ws/>
[CHECKSTYLE] Computing warning deltas based on reference build #1359
[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=fa712590e929d0c8c3ee7c048687bd1fe4ddd59e, workspace=<https://builds.apache.org/job/Atlas-master-UnitTests/ws/>
[FINDBUGS] Computing warning deltas based on reference build #1359
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/1370/testng/testng-results-1.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/1370/testng/testng-results-2.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/1370/testng/testng-results-3.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/1370/testng/testng-results-4.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/1370/testng/testng-results-5.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/1370/testng/testng-results-6.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/1370/testng/testng-results-7.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/1370/testng/testng-results.xml'
TestNG Reports Processing: FINISH

Build failed in Jenkins: Atlas-master-UnitTests #1369

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Atlas-master-UnitTests/1369/display/redirect>

------------------------------------------
[...truncated 171.45 KB...]
[INFO] Exclude: **/public/js/external_lib/**
[INFO] Exclude: **/node_modules/**
[INFO] Exclude: **/public/js/libs/**
[INFO] Exclude: **/atlas.data/**
[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/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 132 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/v1/AtlasGraphUtilsV1.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/v1/AtlasGraphUtilsV1.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/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/v1/InverseReferenceUpdateV1Test.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/v1/InverseReferenceUpdateV1Test.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.repository.impexp.ExportServiceTest
Running org.apache.atlas.repository.tagpropagation.ClassificationPropagationTest
Running org.apache.atlas.repository.userprofile.UserProfileServiceTest
Running org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateHardDeleteV1Test
Running org.apache.atlas.repository.impexp.TypeAttributeDifferenceTest
Running org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateV1Test
Running org.apache.atlas.repository.impexp.ImportTransformerJSONTest
Running org.apache.atlas.repository.impexp.ImportTransformerTest
Running org.apache.atlas.glossary.PaginationHelperTest
Running org.apache.atlas.query.DSLParsingTest
Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipDefStoreV1Test
Running org.apache.atlas.repository.store.graph.v1.AtlasComplexAttributesTest
Running org.apache.atlas.services.MetricsServiceTest
Running org.apache.atlas.repository.impexp.ImportTransformsTest
Running org.apache.atlas.glossary.GlossaryServiceTest
Running org.apache.atlas.repository.impexp.UniqueListTest
Running org.apache.atlas.repository.impexp.AtlasImportRequestTest
Running org.apache.atlas.query.GremlinQueryComposerTest
Running org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1BulkImportPercentTest
Running org.apache.atlas.repository.impexp.ZipSinkTest
Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreSoftDeleteV1Test
Running org.apache.atlas.repository.audit.CassandraAuditRepositoryTest
Running org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateSoftDeleteV1Test
Running org.apache.atlas.repository.migration.PathTest
Running org.apache.atlas.repository.migration.RelationshipMappingTest
Running org.apache.atlas.repository.store.graph.v1.AtlasEntityDefStoreV1Test
Running org.apache.atlas.query.DSLQueriesTest
Running org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test
Running org.apache.atlas.repository.impexp.ZipSourceTest
Running org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreV1Test
Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreHardDeleteV1Test
Running org.apache.atlas.repository.impexp.ImportServiceTest
Running org.apache.atlas.repository.audit.InMemoryAuditRepositoryTest
Running org.apache.atlas.repository.migration.MigrationProgressServiceTest
Running org.apache.atlas.TestModules
Running org.apache.atlas.utils.ObjectUpdateSynchronizerTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.137 sec - in org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateV1Test
Running org.apache.atlas.repository.migration.HiveParititionTest
Running org.apache.atlas.utils.TestResourceFileUtils
Running org.apache.atlas.repository.migration.HiveStocksTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.678 sec - in org.apache.atlas.repository.impexp.ImportTransformerTest
Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.87 sec - in org.apache.atlas.glossary.PaginationHelperTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.989 sec - in org.apache.atlas.repository.impexp.UniqueListTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.576 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreV1Test
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.517 sec - in org.apache.atlas.repository.audit.InMemoryAuditRepositoryTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.088 sec - in org.apache.atlas.TestModules
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.705 sec - in org.apache.atlas.utils.TestResourceFileUtils
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.65 sec - in org.apache.atlas.repository.impexp.TypeAttributeDifferenceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.866 sec - in org.apache.atlas.repository.impexp.ImportTransformerJSONTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.998 sec - in org.apache.atlas.query.DSLParsingTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.875 sec - in org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1BulkImportPercentTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.15 sec - in org.apache.atlas.repository.impexp.ImportTransformsTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.656 sec - in org.apache.atlas.repository.impexp.AtlasImportRequestTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.682 sec - in org.apache.atlas.repository.impexp.ZipSinkTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.454 sec - in org.apache.atlas.repository.impexp.ZipSourceTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.76 sec - in org.apache.atlas.utils.ObjectUpdateSynchronizerTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.346 sec - in org.apache.atlas.repository.migration.MigrationProgressServiceTest
Tests run: 39, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.001 sec - in org.apache.atlas.query.GremlinQueryComposerTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 20.26 sec - in org.apache.atlas.repository.audit.CassandraAuditRepositoryTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 27.738 sec - in org.apache.atlas.services.MetricsServiceTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 38.909 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipDefStoreV1Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 39.898 sec - in org.apache.atlas.repository.store.graph.v1.AtlasEntityDefStoreV1Test
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 55.153 sec - in org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateSoftDeleteV1Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 55.624 sec - in org.apache.atlas.repository.migration.RelationshipMappingTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 55.849 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreSoftDeleteV1Test
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 56.692 sec - in org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateHardDeleteV1Test
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 56.492 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreHardDeleteV1Test
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 57.676 sec - in org.apache.atlas.repository.store.graph.v1.AtlasComplexAttributesTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 60.693 sec - in org.apache.atlas.repository.userprofile.UserProfileServiceTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 61.957 sec - in org.apache.atlas.repository.impexp.ExportServiceTest
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 58.06 sec <<< FAILURE! - in org.apache.atlas.repository.migration.HiveParititionTest
fileImporterTest(org.apache.atlas.repository.migration.HiveParititionTest)  Time elapsed: 23.86 sec  <<< FAILURE!
java.lang.NullPointerException: null
	at org.apache.atlas.repository.graph.GraphHelper.getListProperty(GraphHelper.java:1789)
	at org.apache.atlas.repository.migration.HiveParititionTest.assertPartitionKeyProperty(HiveParititionTest.java:67)
	at org.apache.atlas.repository.migration.HiveParititionTest.fileImporterTest(HiveParititionTest.java:53)

Tests run: 35, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 64.874 sec - in org.apache.atlas.glossary.GlossaryServiceTest
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 64.875 sec - in org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 67.738 sec - in org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 74.237 sec - in org.apache.atlas.repository.migration.PathTest
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 68.79 sec <<< FAILURE! - in org.apache.atlas.repository.migration.HiveStocksTest
migrateStocks(org.apache.atlas.repository.migration.HiveStocksTest)  Time elapsed: 29.929 sec  <<< FAILURE!
java.lang.AssertionError: expected [1] but found [0]
	at org.testng.Assert.fail(Assert.java:94)
	at org.testng.Assert.failNotEquals(Assert.java:496)
	at org.testng.Assert.assertEquals(Assert.java:125)
	at org.testng.Assert.assertEquals(Assert.java:372)
	at org.testng.Assert.assertEquals(Assert.java:382)
	at org.apache.atlas.repository.migration.MigrationBaseAsserts.assertHiveVertices(MigrationBaseAsserts.java:99)
	at org.apache.atlas.repository.migration.HiveStocksTest.migrateStocks(HiveStocksTest.java:47)

Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 77.991 sec - in org.apache.atlas.repository.impexp.ImportServiceTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 84.098 sec - in org.apache.atlas.repository.tagpropagation.ClassificationPropagationTest
Tests run: 246, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 136.111 sec - in org.apache.atlas.query.DSLQueriesTest

Results :

Failed tests: 
  HiveParititionTest.fileImporterTest:53->assertPartitionKeyProperty:67 » NullPointer
  HiveStocksTest.migrateStocks:47->MigrationBaseAsserts.assertHiveVertices:99 expected [1] but found [0]

Tests run: 546, Failures: 2, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Atlas Server Build Tools .................... SUCCESS [  0.558 s]
[INFO] apache-atlas ....................................... SUCCESS [  1.956 s]
[INFO] Apache Atlas Test Utility Tools .................... SUCCESS [  4.350 s]
[INFO] Open Connector Framework (OCF) ..................... SUCCESS [  1.392 s]
[INFO] Open Metadata Repository Services (OMRS) ........... SUCCESS [  4.609 s]
[INFO] Open Metadata and Governance (OMAG) Server APIs .... SUCCESS [  0.766 s]
[INFO] Connected Asset Open Metadata Access Service (OMAS)  SUCCESS [  0.812 s]
[INFO] Asset Consumer Open Metadata Access Service (OMAS) . SUCCESS [  0.803 s]
[INFO] Open Metadata and Governance (OMAG) Server ......... SUCCESS [  1.108 s]
[INFO] Apache Atlas Integration ........................... SUCCESS [ 30.632 s]
[INFO] Apache Atlas Common ................................ SUCCESS [  2.074 s]
[INFO] Apache Atlas Client ................................ SUCCESS [  0.102 s]
[INFO] atlas-client-common ................................ SUCCESS [  0.551 s]
[INFO] atlas-client-v1 .................................... SUCCESS [  2.669 s]
[INFO] Apache Atlas Server API ............................ SUCCESS [  0.717 s]
[INFO] Apache Atlas Notification .......................... SUCCESS [ 14.380 s]
[INFO] atlas-client-v2 .................................... SUCCESS [  0.589 s]
[INFO] Apache Atlas Graph Database Projects ............... SUCCESS [  0.069 s]
[INFO] Apache Atlas Graph Database API .................... SUCCESS [  0.512 s]
[INFO] Graph Database Common Code ......................... SUCCESS [  0.622 s]
[INFO] Apache Atlas JanusGraph DB Impl .................... SUCCESS [02:01 min]
[INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [  1.887 s]
[INFO] Shaded version of Apache hbase client .............. SUCCESS [  6.551 s]
[INFO] Shaded version of Apache hbase server .............. SUCCESS [ 18.863 s]
[INFO] Apache Atlas Authorization ......................... SUCCESS [  2.160 s]
[INFO] Apache Atlas Repository ............................ FAILURE [02:25 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:07 min
[INFO] Finished at: 2018-05-15T12:32:51Z
[INFO] Final Memory: 139M/1880M
[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=fccfe919d49ca39d111ade8bb2f2688db5e854e7, workspace=<https://builds.apache.org/job/Atlas-master-UnitTests/ws/>
[CHECKSTYLE] Computing warning deltas based on reference build #1359
[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=fccfe919d49ca39d111ade8bb2f2688db5e854e7, workspace=<https://builds.apache.org/job/Atlas-master-UnitTests/ws/>
[FINDBUGS] Computing warning deltas based on reference build #1359
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/1369/testng/testng-results-1.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/1369/testng/testng-results-2.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/1369/testng/testng-results-3.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/1369/testng/testng-results-4.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/1369/testng/testng-results-5.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/1369/testng/testng-results-6.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/1369/testng/testng-results-7.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/1369/testng/testng-results.xml'
TestNG Reports Processing: FINISH

Build failed in Jenkins: Atlas-master-UnitTests #1368

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Atlas-master-UnitTests/1368/display/redirect>

------------------------------------------
[...truncated 171.43 KB...]
[INFO] Exclude: **/public/js/external_lib/**
[INFO] Exclude: **/node_modules/**
[INFO] Exclude: **/public/js/libs/**
[INFO] Exclude: **/atlas.data/**
[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/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 132 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/v1/AtlasGraphUtilsV1.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/v1/AtlasGraphUtilsV1.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/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/v1/InverseReferenceUpdateV1Test.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/v1/InverseReferenceUpdateV1Test.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.utils.TestResourceFileUtils
Running org.apache.atlas.repository.impexp.ImportServiceTest
Running org.apache.atlas.repository.store.graph.v1.AtlasEntityDefStoreV1Test
Running org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test
Running org.apache.atlas.repository.migration.PathTest
Running org.apache.atlas.repository.impexp.ImportTransformerTest
Running org.apache.atlas.repository.audit.CassandraAuditRepositoryTest
Running org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
Running org.apache.atlas.repository.audit.InMemoryAuditRepositoryTest
Running org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateV1Test
Running org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1BulkImportPercentTest
Running org.apache.atlas.repository.impexp.ZipSourceTest
Running org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateHardDeleteV1Test
Running org.apache.atlas.repository.impexp.TypeAttributeDifferenceTest
Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreSoftDeleteV1Test
Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreHardDeleteV1Test
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.198 sec - in org.apache.atlas.utils.TestResourceFileUtils
Running org.apache.atlas.repository.userprofile.UserProfileServiceTest
Running org.apache.atlas.repository.impexp.ExportServiceTest
Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreV1Test
Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipDefStoreV1Test
Running org.apache.atlas.repository.impexp.ImportTransformerJSONTest
Running org.apache.atlas.repository.tagpropagation.ClassificationPropagationTest
Running org.apache.atlas.utils.ObjectUpdateSynchronizerTest
Running org.apache.atlas.repository.migration.MigrationProgressServiceTest
Running org.apache.atlas.repository.impexp.UniqueListTest
Running org.apache.atlas.glossary.GlossaryServiceTest
Running org.apache.atlas.repository.impexp.ZipSinkTest
Running org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateSoftDeleteV1Test
Running org.apache.atlas.glossary.PaginationHelperTest
Running org.apache.atlas.repository.store.graph.v1.AtlasComplexAttributesTest
Running org.apache.atlas.repository.migration.HiveStocksTest
Running org.apache.atlas.query.DSLQueriesTest
Running org.apache.atlas.repository.migration.RelationshipMappingTest
Running org.apache.atlas.repository.migration.HiveParititionTest
Running org.apache.atlas.repository.impexp.AtlasImportRequestTest
Running org.apache.atlas.services.MetricsServiceTest
Running org.apache.atlas.query.GremlinQueryComposerTest
Running org.apache.atlas.repository.impexp.ImportTransformsTest
Running org.apache.atlas.query.DSLParsingTest
Running org.apache.atlas.TestModules
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.858 sec - in org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateV1Test
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.474 sec - in org.apache.atlas.repository.impexp.ImportTransformerTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.374 sec - in org.apache.atlas.repository.impexp.UniqueListTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.635 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreV1Test
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.583 sec - in org.apache.atlas.repository.audit.InMemoryAuditRepositoryTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.514 sec - in org.apache.atlas.TestModules
Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.005 sec - in org.apache.atlas.glossary.PaginationHelperTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.277 sec - in org.apache.atlas.repository.impexp.ZipSinkTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.71 sec - in org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1BulkImportPercentTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.737 sec - in org.apache.atlas.repository.impexp.TypeAttributeDifferenceTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.411 sec - in org.apache.atlas.utils.ObjectUpdateSynchronizerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.68 sec - in org.apache.atlas.repository.impexp.ImportTransformerJSONTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.15 sec - in org.apache.atlas.repository.impexp.ZipSourceTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.982 sec - in org.apache.atlas.repository.impexp.ImportTransformsTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.648 sec - in org.apache.atlas.repository.impexp.AtlasImportRequestTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.426 sec - in org.apache.atlas.query.DSLParsingTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.379 sec - in org.apache.atlas.repository.migration.MigrationProgressServiceTest
Tests run: 39, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.745 sec - in org.apache.atlas.query.GremlinQueryComposerTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 7, Time elapsed: 18.375 sec - in org.apache.atlas.repository.audit.CassandraAuditRepositoryTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 43.512 sec - in org.apache.atlas.services.MetricsServiceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 74.076 sec - in org.apache.atlas.repository.store.graph.v1.AtlasEntityDefStoreV1Test
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 79.304 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipDefStoreV1Test
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 88.389 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreSoftDeleteV1Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 89.946 sec - in org.apache.atlas.repository.migration.RelationshipMappingTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 94.843 sec - in org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateHardDeleteV1Test
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 96.478 sec - in org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateSoftDeleteV1Test
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 98.979 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreHardDeleteV1Test
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 98.65 sec - in org.apache.atlas.repository.store.graph.v1.AtlasComplexAttributesTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 99.73 sec - in org.apache.atlas.repository.userprofile.UserProfileServiceTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 100.671 sec - in org.apache.atlas.repository.impexp.ExportServiceTest
Tests run: 35, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 107.565 sec - in org.apache.atlas.glossary.GlossaryServiceTest
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 110.101 sec - in org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 106.719 sec <<< FAILURE! - in org.apache.atlas.repository.migration.HiveParititionTest
fileImporterTest(org.apache.atlas.repository.migration.HiveParititionTest)  Time elapsed: 31.602 sec  <<< FAILURE!
java.lang.NullPointerException: null
	at org.apache.atlas.repository.graph.GraphHelper.getListProperty(GraphHelper.java:1789)
	at org.apache.atlas.repository.migration.HiveParititionTest.assertPartitionKeyProperty(HiveParititionTest.java:67)
	at org.apache.atlas.repository.migration.HiveParititionTest.fileImporterTest(HiveParititionTest.java:53)

Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 114.584 sec - in org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 115.143 sec - in org.apache.atlas.repository.migration.PathTest
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 113.604 sec <<< FAILURE! - in org.apache.atlas.repository.migration.HiveStocksTest
migrateStocks(org.apache.atlas.repository.migration.HiveStocksTest)  Time elapsed: 38.213 sec  <<< FAILURE!
java.lang.AssertionError: expected [1] but found [0]
	at org.testng.Assert.fail(Assert.java:94)
	at org.testng.Assert.failNotEquals(Assert.java:496)
	at org.testng.Assert.assertEquals(Assert.java:125)
	at org.testng.Assert.assertEquals(Assert.java:372)
	at org.testng.Assert.assertEquals(Assert.java:382)
	at org.apache.atlas.repository.migration.MigrationBaseAsserts.assertHiveVertices(MigrationBaseAsserts.java:99)
	at org.apache.atlas.repository.migration.HiveStocksTest.migrateStocks(HiveStocksTest.java:47)

Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 126.089 sec - in org.apache.atlas.repository.impexp.ImportServiceTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 132.808 sec - in org.apache.atlas.repository.tagpropagation.ClassificationPropagationTest
Tests run: 246, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 177.935 sec - in org.apache.atlas.query.DSLQueriesTest

Results :

Failed tests: 
  HiveParititionTest.fileImporterTest:53->assertPartitionKeyProperty:67 » NullPointer
  HiveStocksTest.migrateStocks:47->MigrationBaseAsserts.assertHiveVertices:99 expected [1] but found [0]

Tests run: 547, Failures: 2, Errors: 0, Skipped: 7

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Atlas Server Build Tools .................... SUCCESS [  0.606 s]
[INFO] apache-atlas ....................................... SUCCESS [  2.207 s]
[INFO] Apache Atlas Test Utility Tools .................... SUCCESS [  4.274 s]
[INFO] Open Connector Framework (OCF) ..................... SUCCESS [  2.164 s]
[INFO] Open Metadata Repository Services (OMRS) ........... SUCCESS [  5.613 s]
[INFO] Open Metadata and Governance (OMAG) Server APIs .... SUCCESS [  0.875 s]
[INFO] Connected Asset Open Metadata Access Service (OMAS)  SUCCESS [  0.887 s]
[INFO] Asset Consumer Open Metadata Access Service (OMAS) . SUCCESS [  0.925 s]
[INFO] Open Metadata and Governance (OMAG) Server ......... SUCCESS [  1.094 s]
[INFO] Apache Atlas Integration ........................... SUCCESS [ 34.390 s]
[INFO] Apache Atlas Common ................................ SUCCESS [  2.035 s]
[INFO] Apache Atlas Client ................................ SUCCESS [  0.106 s]
[INFO] atlas-client-common ................................ SUCCESS [  0.601 s]
[INFO] atlas-client-v1 .................................... SUCCESS [  2.831 s]
[INFO] Apache Atlas Server API ............................ SUCCESS [  0.596 s]
[INFO] Apache Atlas Notification .......................... SUCCESS [ 23.845 s]
[INFO] atlas-client-v2 .................................... SUCCESS [  0.639 s]
[INFO] Apache Atlas Graph Database Projects ............... SUCCESS [  0.084 s]
[INFO] Apache Atlas Graph Database API .................... SUCCESS [  0.553 s]
[INFO] Graph Database Common Code ......................... SUCCESS [  0.673 s]
[INFO] Apache Atlas JanusGraph DB Impl .................... SUCCESS [02:04 min]
[INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [  1.971 s]
[INFO] Shaded version of Apache hbase client .............. SUCCESS [  7.010 s]
[INFO] Shaded version of Apache hbase server .............. SUCCESS [ 19.007 s]
[INFO] Apache Atlas Authorization ......................... SUCCESS [  2.655 s]
[INFO] Apache Atlas Repository ............................ FAILURE [03:09 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:10 min
[INFO] Finished at: 2018-05-15T09:33:23Z
[INFO] Final Memory: 139M/1762M
[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=fccfe919d49ca39d111ade8bb2f2688db5e854e7, workspace=<https://builds.apache.org/job/Atlas-master-UnitTests/ws/>
[CHECKSTYLE] Computing warning deltas based on reference build #1359
[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=fccfe919d49ca39d111ade8bb2f2688db5e854e7, workspace=<https://builds.apache.org/job/Atlas-master-UnitTests/ws/>
[FINDBUGS] Computing warning deltas based on reference build #1359
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/1368/testng/testng-results-1.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/1368/testng/testng-results-2.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/1368/testng/testng-results-3.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/1368/testng/testng-results-4.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/1368/testng/testng-results-5.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/1368/testng/testng-results-6.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/1368/testng/testng-results-7.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/1368/testng/testng-results.xml'
TestNG Reports Processing: FINISH

Build failed in Jenkins: Atlas-master-UnitTests #1367

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Atlas-master-UnitTests/1367/display/redirect>

------------------------------------------
[...truncated 171.45 KB...]
[INFO] Exclude: **/public/js/external_lib/**
[INFO] Exclude: **/node_modules/**
[INFO] Exclude: **/public/js/libs/**
[INFO] Exclude: **/atlas.data/**
[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/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 132 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/v1/AtlasGraphUtilsV1.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/v1/AtlasGraphUtilsV1.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/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/v1/InverseReferenceUpdateV1Test.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/v1/InverseReferenceUpdateV1Test.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.repository.impexp.ImportTransformerTest
Running org.apache.atlas.query.DSLParsingTest
Running org.apache.atlas.repository.impexp.ZipSourceTest
Running org.apache.atlas.repository.store.graph.v1.AtlasComplexAttributesTest
Running org.apache.atlas.repository.impexp.ZipSinkTest
Running org.apache.atlas.query.GremlinQueryComposerTest
Running org.apache.atlas.repository.impexp.AtlasImportRequestTest
Running org.apache.atlas.glossary.GlossaryServiceTest
Running org.apache.atlas.repository.tagpropagation.ClassificationPropagationTest
Running org.apache.atlas.repository.impexp.UniqueListTest
Running org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateHardDeleteV1Test
Running org.apache.atlas.repository.migration.MigrationProgressServiceTest
Running org.apache.atlas.services.MetricsServiceTest
Running org.apache.atlas.repository.audit.InMemoryAuditRepositoryTest
Running org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test
Running org.apache.atlas.glossary.PaginationHelperTest
Running org.apache.atlas.repository.userprofile.UserProfileServiceTest
Running org.apache.atlas.repository.impexp.ExportServiceTest
Running org.apache.atlas.repository.impexp.ImportTransformsTest
Running org.apache.atlas.repository.migration.HiveStocksTest
Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipDefStoreV1Test
Running org.apache.atlas.utils.ObjectUpdateSynchronizerTest
Running org.apache.atlas.repository.audit.CassandraAuditRepositoryTest
Running org.apache.atlas.utils.TestResourceFileUtils
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.impexp.ImportServiceTest
Running org.apache.atlas.repository.impexp.TypeAttributeDifferenceTest
Running org.apache.atlas.TestModules
Running org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1BulkImportPercentTest
Running org.apache.atlas.repository.migration.HiveParititionTest
Running org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateSoftDeleteV1Test
Running org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
Running org.apache.atlas.repository.migration.RelationshipMappingTest
Running org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateV1Test
Running org.apache.atlas.query.DSLQueriesTest
Running org.apache.atlas.repository.migration.PathTest
Running org.apache.atlas.repository.impexp.ImportTransformerJSONTest
Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreSoftDeleteV1Test
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.177 sec - in org.apache.atlas.repository.impexp.ImportTransformerTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.257 sec - in org.apache.atlas.utils.TestResourceFileUtils
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.616 sec - in org.apache.atlas.repository.audit.InMemoryAuditRepositoryTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.234 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreV1Test
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.057 sec - in org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateV1Test
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.943 sec - in org.apache.atlas.repository.impexp.UniqueListTest
Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.973 sec - in org.apache.atlas.glossary.PaginationHelperTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.567 sec - in org.apache.atlas.TestModules
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.599 sec - in org.apache.atlas.query.DSLParsingTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.078 sec - in org.apache.atlas.repository.impexp.TypeAttributeDifferenceTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.638 sec - in org.apache.atlas.repository.impexp.ImportTransformsTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.048 sec - in org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1BulkImportPercentTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.879 sec - in org.apache.atlas.repository.migration.MigrationProgressServiceTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.131 sec - in org.apache.atlas.repository.impexp.AtlasImportRequestTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.982 sec - in org.apache.atlas.utils.ObjectUpdateSynchronizerTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.302 sec - in org.apache.atlas.repository.impexp.ZipSinkTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.995 sec - in org.apache.atlas.repository.impexp.ImportTransformerJSONTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.701 sec - in org.apache.atlas.repository.impexp.ZipSourceTest
Tests run: 39, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.902 sec - in org.apache.atlas.query.GremlinQueryComposerTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.328 sec - in org.apache.atlas.repository.audit.CassandraAuditRepositoryTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 25.611 sec - in org.apache.atlas.services.MetricsServiceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 39.313 sec - in org.apache.atlas.repository.store.graph.v1.AtlasEntityDefStoreV1Test
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 40.417 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipDefStoreV1Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 49.793 sec - in org.apache.atlas.repository.migration.RelationshipMappingTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 50.935 sec - in org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateSoftDeleteV1Test
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 55.321 sec - in org.apache.atlas.repository.userprofile.UserProfileServiceTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 55.629 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreHardDeleteV1Test
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 54.959 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreSoftDeleteV1Test
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 58.473 sec - in org.apache.atlas.repository.store.graph.v1.AtlasComplexAttributesTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 58.591 sec - in org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateHardDeleteV1Test
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 58.747 sec - in org.apache.atlas.repository.impexp.ExportServiceTest
Tests run: 35, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 65.345 sec - in org.apache.atlas.glossary.GlossaryServiceTest
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 64.536 sec - in org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 66.197 sec - in org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 71.137 sec - in org.apache.atlas.repository.migration.PathTest
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 68.253 sec <<< FAILURE! - in org.apache.atlas.repository.migration.HiveParititionTest
fileImporterTest(org.apache.atlas.repository.migration.HiveParititionTest)  Time elapsed: 28.521 sec  <<< FAILURE!
java.lang.NullPointerException: null
	at org.apache.atlas.repository.graph.GraphHelper.getListProperty(GraphHelper.java:1789)
	at org.apache.atlas.repository.migration.HiveParititionTest.assertPartitionKeyProperty(HiveParititionTest.java:67)
	at org.apache.atlas.repository.migration.HiveParititionTest.fileImporterTest(HiveParititionTest.java:53)

Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 71.1 sec <<< FAILURE! - in org.apache.atlas.repository.migration.HiveStocksTest
migrateStocks(org.apache.atlas.repository.migration.HiveStocksTest)  Time elapsed: 31.311 sec  <<< FAILURE!
java.lang.AssertionError: expected [1] but found [0]
	at org.testng.Assert.fail(Assert.java:94)
	at org.testng.Assert.failNotEquals(Assert.java:496)
	at org.testng.Assert.assertEquals(Assert.java:125)
	at org.testng.Assert.assertEquals(Assert.java:372)
	at org.testng.Assert.assertEquals(Assert.java:382)
	at org.apache.atlas.repository.migration.MigrationBaseAsserts.assertHiveVertices(MigrationBaseAsserts.java:99)
	at org.apache.atlas.repository.migration.HiveStocksTest.migrateStocks(HiveStocksTest.java:47)

Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 78.055 sec - in org.apache.atlas.repository.impexp.ImportServiceTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 84.595 sec - in org.apache.atlas.repository.tagpropagation.ClassificationPropagationTest
Tests run: 246, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 131.633 sec - in org.apache.atlas.query.DSLQueriesTest

Results :

Failed tests: 
  HiveParititionTest.fileImporterTest:53->assertPartitionKeyProperty:67 » NullPointer
  HiveStocksTest.migrateStocks:47->MigrationBaseAsserts.assertHiveVertices:99 expected [1] but found [0]

Tests run: 546, Failures: 2, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Atlas Server Build Tools .................... SUCCESS [  0.545 s]
[INFO] apache-atlas ....................................... SUCCESS [  1.835 s]
[INFO] Apache Atlas Test Utility Tools .................... SUCCESS [  4.268 s]
[INFO] Open Connector Framework (OCF) ..................... SUCCESS [  1.433 s]
[INFO] Open Metadata Repository Services (OMRS) ........... SUCCESS [  4.875 s]
[INFO] Open Metadata and Governance (OMAG) Server APIs .... SUCCESS [  0.749 s]
[INFO] Connected Asset Open Metadata Access Service (OMAS)  SUCCESS [  0.796 s]
[INFO] Asset Consumer Open Metadata Access Service (OMAS) . SUCCESS [  0.835 s]
[INFO] Open Metadata and Governance (OMAG) Server ......... SUCCESS [  0.956 s]
[INFO] Apache Atlas Integration ........................... SUCCESS [ 29.422 s]
[INFO] Apache Atlas Common ................................ SUCCESS [  2.100 s]
[INFO] Apache Atlas Client ................................ SUCCESS [  0.124 s]
[INFO] atlas-client-common ................................ SUCCESS [  0.559 s]
[INFO] atlas-client-v1 .................................... SUCCESS [  3.025 s]
[INFO] Apache Atlas Server API ............................ SUCCESS [  0.736 s]
[INFO] Apache Atlas Notification .......................... SUCCESS [ 14.339 s]
[INFO] atlas-client-v2 .................................... SUCCESS [  0.650 s]
[INFO] Apache Atlas Graph Database Projects ............... SUCCESS [  0.092 s]
[INFO] Apache Atlas Graph Database API .................... SUCCESS [  0.598 s]
[INFO] Graph Database Common Code ......................... SUCCESS [  0.696 s]
[INFO] Apache Atlas JanusGraph DB Impl .................... SUCCESS [01:43 min]
[INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [  1.945 s]
[INFO] Shaded version of Apache hbase client .............. SUCCESS [  6.873 s]
[INFO] Shaded version of Apache hbase server .............. SUCCESS [ 19.028 s]
[INFO] Apache Atlas Authorization ......................... SUCCESS [  2.627 s]
[INFO] Apache Atlas Repository ............................ FAILURE [02:21 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: 05:45 min
[INFO] Finished at: 2018-05-15T06:31:57Z
[INFO] Final Memory: 141M/1826M
[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=fccfe919d49ca39d111ade8bb2f2688db5e854e7, workspace=<https://builds.apache.org/job/Atlas-master-UnitTests/ws/>
[CHECKSTYLE] Computing warning deltas based on reference build #1359
[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=fccfe919d49ca39d111ade8bb2f2688db5e854e7, workspace=<https://builds.apache.org/job/Atlas-master-UnitTests/ws/>
[FINDBUGS] Computing warning deltas based on reference build #1359
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/1367/testng/testng-results-1.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/1367/testng/testng-results-2.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/1367/testng/testng-results-3.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/1367/testng/testng-results-4.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/1367/testng/testng-results-5.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/1367/testng/testng-results-6.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/1367/testng/testng-results-7.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/1367/testng/testng-results.xml'
TestNG Reports Processing: FINISH

Build failed in Jenkins: Atlas-master-UnitTests #1366

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Atlas-master-UnitTests/1366/display/redirect>

------------------------------------------
[...truncated 171.45 KB...]
[INFO] Exclude: **/public/js/external_lib/**
[INFO] Exclude: **/node_modules/**
[INFO] Exclude: **/public/js/libs/**
[INFO] Exclude: **/atlas.data/**
[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/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 132 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/v1/AtlasGraphUtilsV1.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/v1/AtlasGraphUtilsV1.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/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/v1/InverseReferenceUpdateV1Test.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/v1/InverseReferenceUpdateV1Test.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.repository.store.graph.v1.AtlasEntityStoreV1Test
Running org.apache.atlas.repository.userprofile.UserProfileServiceTest
Running org.apache.atlas.utils.ObjectUpdateSynchronizerTest
Running org.apache.atlas.repository.impexp.UniqueListTest
Running org.apache.atlas.query.DSLQueriesTest
Running org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1BulkImportPercentTest
Running org.apache.atlas.repository.tagpropagation.ClassificationPropagationTest
Running org.apache.atlas.services.MetricsServiceTest
Running org.apache.atlas.repository.impexp.ImportTransformerJSONTest
Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipDefStoreV1Test
Running org.apache.atlas.repository.impexp.TypeAttributeDifferenceTest
Running org.apache.atlas.repository.migration.RelationshipMappingTest
Running org.apache.atlas.glossary.GlossaryServiceTest
Running org.apache.atlas.repository.impexp.ImportTransformerTest
Running org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateSoftDeleteV1Test
Running org.apache.atlas.repository.impexp.ZipSourceTest
Running org.apache.atlas.repository.store.graph.v1.AtlasComplexAttributesTest
Running org.apache.atlas.repository.store.graph.v1.AtlasEntityDefStoreV1Test
Running org.apache.atlas.glossary.PaginationHelperTest
Running org.apache.atlas.repository.impexp.ImportTransformsTest
Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreSoftDeleteV1Test
Running org.apache.atlas.repository.impexp.ImportServiceTest
Running org.apache.atlas.repository.audit.InMemoryAuditRepositoryTest
Running org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateHardDeleteV1Test
Running org.apache.atlas.query.GremlinQueryComposerTest
Running org.apache.atlas.repository.impexp.ZipSinkTest
Running org.apache.atlas.repository.impexp.ExportServiceTest
Running org.apache.atlas.repository.audit.CassandraAuditRepositoryTest
Running org.apache.atlas.repository.migration.HiveStocksTest
Running org.apache.atlas.repository.impexp.AtlasImportRequestTest
Running org.apache.atlas.repository.migration.PathTest
Running org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
Running org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateV1Test
Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreHardDeleteV1Test
Running org.apache.atlas.repository.migration.MigrationProgressServiceTest
Running org.apache.atlas.utils.TestResourceFileUtils
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.793 sec - in org.apache.atlas.repository.impexp.UniqueListTest
Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreV1Test
Running org.apache.atlas.TestModules
Running org.apache.atlas.repository.migration.HiveParititionTest
Running org.apache.atlas.query.DSLParsingTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.725 sec - in org.apache.atlas.utils.TestResourceFileUtils
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.333 sec - in org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateV1Test
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.703 sec - in org.apache.atlas.repository.audit.InMemoryAuditRepositoryTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.01 sec - in org.apache.atlas.repository.impexp.ImportTransformerTest
Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.378 sec - in org.apache.atlas.glossary.PaginationHelperTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.66 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreV1Test
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.798 sec - in org.apache.atlas.TestModules
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.465 sec - in org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1BulkImportPercentTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.45 sec - in org.apache.atlas.repository.impexp.TypeAttributeDifferenceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.491 sec - in org.apache.atlas.repository.impexp.ImportTransformerJSONTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.361 sec - in org.apache.atlas.repository.impexp.ImportTransformsTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.996 sec - in org.apache.atlas.utils.ObjectUpdateSynchronizerTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.156 sec - in org.apache.atlas.repository.impexp.AtlasImportRequestTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.057 sec - in org.apache.atlas.repository.impexp.ZipSinkTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.619 sec - in org.apache.atlas.repository.impexp.ZipSourceTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.591 sec - in org.apache.atlas.query.DSLParsingTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.112 sec - in org.apache.atlas.repository.migration.MigrationProgressServiceTest
Tests run: 39, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.545 sec - in org.apache.atlas.query.GremlinQueryComposerTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 27.478 sec - in org.apache.atlas.repository.audit.CassandraAuditRepositoryTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 34.09 sec - in org.apache.atlas.services.MetricsServiceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 48.934 sec - in org.apache.atlas.repository.store.graph.v1.AtlasEntityDefStoreV1Test
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 49.801 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipDefStoreV1Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 58.961 sec - in org.apache.atlas.repository.migration.RelationshipMappingTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 64.526 sec - in org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateSoftDeleteV1Test
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 69.382 sec - in org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateHardDeleteV1Test
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 70.26 sec - in org.apache.atlas.repository.userprofile.UserProfileServiceTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 69.179 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreHardDeleteV1Test
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 70.131 sec - in org.apache.atlas.repository.store.graph.v1.AtlasComplexAttributesTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 72.967 sec - in org.apache.atlas.repository.impexp.ExportServiceTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 74.314 sec - in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreSoftDeleteV1Test
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 84.13 sec - in org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test
Tests run: 35, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 83.919 sec - in org.apache.atlas.glossary.GlossaryServiceTest
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 84.157 sec - in org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 78.113 sec <<< FAILURE! - in org.apache.atlas.repository.migration.HiveParititionTest
fileImporterTest(org.apache.atlas.repository.migration.HiveParititionTest)  Time elapsed: 31.404 sec  <<< FAILURE!
java.lang.NullPointerException: null
	at org.apache.atlas.repository.graph.GraphHelper.getListProperty(GraphHelper.java:1789)
	at org.apache.atlas.repository.migration.HiveParititionTest.assertPartitionKeyProperty(HiveParititionTest.java:67)
	at org.apache.atlas.repository.migration.HiveParititionTest.fileImporterTest(HiveParititionTest.java:53)

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 89.302 sec - in org.apache.atlas.repository.migration.PathTest
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 88.031 sec <<< FAILURE! - in org.apache.atlas.repository.migration.HiveStocksTest
migrateStocks(org.apache.atlas.repository.migration.HiveStocksTest)  Time elapsed: 37.196 sec  <<< FAILURE!
java.lang.AssertionError: expected [1] but found [0]
	at org.testng.Assert.fail(Assert.java:94)
	at org.testng.Assert.failNotEquals(Assert.java:496)
	at org.testng.Assert.assertEquals(Assert.java:125)
	at org.testng.Assert.assertEquals(Assert.java:372)
	at org.testng.Assert.assertEquals(Assert.java:382)
	at org.apache.atlas.repository.migration.MigrationBaseAsserts.assertHiveVertices(MigrationBaseAsserts.java:99)
	at org.apache.atlas.repository.migration.HiveStocksTest.migrateStocks(HiveStocksTest.java:47)

Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 99.371 sec - in org.apache.atlas.repository.impexp.ImportServiceTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 109.619 sec - in org.apache.atlas.repository.tagpropagation.ClassificationPropagationTest
Tests run: 246, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 160.856 sec - in org.apache.atlas.query.DSLQueriesTest

Results :

Failed tests: 
  HiveParititionTest.fileImporterTest:53->assertPartitionKeyProperty:67 » NullPointer
  HiveStocksTest.migrateStocks:47->MigrationBaseAsserts.assertHiveVertices:99 expected [1] but found [0]

Tests run: 546, Failures: 2, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Atlas Server Build Tools .................... SUCCESS [  1.035 s]
[INFO] apache-atlas ....................................... SUCCESS [  3.349 s]
[INFO] Apache Atlas Test Utility Tools .................... SUCCESS [  6.746 s]
[INFO] Open Connector Framework (OCF) ..................... SUCCESS [  2.627 s]
[INFO] Open Metadata Repository Services (OMRS) ........... SUCCESS [  7.430 s]
[INFO] Open Metadata and Governance (OMAG) Server APIs .... SUCCESS [  1.018 s]
[INFO] Connected Asset Open Metadata Access Service (OMAS)  SUCCESS [  1.088 s]
[INFO] Asset Consumer Open Metadata Access Service (OMAS) . SUCCESS [  1.110 s]
[INFO] Open Metadata and Governance (OMAG) Server ......... SUCCESS [  1.309 s]
[INFO] Apache Atlas Integration ........................... SUCCESS [ 42.906 s]
[INFO] Apache Atlas Common ................................ SUCCESS [  2.945 s]
[INFO] Apache Atlas Client ................................ SUCCESS [  0.165 s]
[INFO] atlas-client-common ................................ SUCCESS [  0.728 s]
[INFO] atlas-client-v1 .................................... SUCCESS [  3.394 s]
[INFO] Apache Atlas Server API ............................ SUCCESS [  0.814 s]
[INFO] Apache Atlas Notification .......................... SUCCESS [ 17.907 s]
[INFO] atlas-client-v2 .................................... SUCCESS [  0.809 s]
[INFO] Apache Atlas Graph Database Projects ............... SUCCESS [  0.097 s]
[INFO] Apache Atlas Graph Database API .................... SUCCESS [  0.665 s]
[INFO] Graph Database Common Code ......................... SUCCESS [  0.905 s]
[INFO] Apache Atlas JanusGraph DB Impl .................... SUCCESS [01:49 min]
[INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [  2.100 s]
[INFO] Shaded version of Apache hbase client .............. SUCCESS [  7.975 s]
[INFO] Shaded version of Apache hbase server .............. SUCCESS [ 21.925 s]
[INFO] Apache Atlas Authorization ......................... SUCCESS [  2.470 s]
[INFO] Apache Atlas Repository ............................ FAILURE [02:53 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:57 min
[INFO] Finished at: 2018-05-15T03:33:12Z
[INFO] Final Memory: 133M/2290M
[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=fccfe919d49ca39d111ade8bb2f2688db5e854e7, workspace=<https://builds.apache.org/job/Atlas-master-UnitTests/ws/>
[CHECKSTYLE] Computing warning deltas based on reference build #1359
[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=fccfe919d49ca39d111ade8bb2f2688db5e854e7, workspace=<https://builds.apache.org/job/Atlas-master-UnitTests/ws/>
[FINDBUGS] Computing warning deltas based on reference build #1359
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/1366/testng/testng-results-1.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/1366/testng/testng-results-2.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/1366/testng/testng-results-3.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/1366/testng/testng-results-4.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/1366/testng/testng-results-5.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/1366/testng/testng-results-6.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/1366/testng/testng-results-7.xml'
Processing '/x1/jenkins/jenkins-home/jobs/Atlas-master-UnitTests/builds/1366/testng/testng-results.xml'
TestNG Reports Processing: FINISH