You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Kundhan (JIRA)" <ji...@apache.org> on 2018/01/10 15:34:00 UTC

[jira] [Commented] (ATLAS-1374) Tests are failing in the build

    [ https://issues.apache.org/jira/browse/ATLAS-1374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16320444#comment-16320444 ] 

Kundhan commented on ATLAS-1374:
--------------------------------

I have the same issue while building the Atlas. Below I have pasted the error messages. Please help.



Running org.apache.atlas.query.GremlinQueryComposerTest
Tests run: 24, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 17.825 sec <<< FAILURE! - in org.apache.atlas.query.GremlinQueryComposerTest
DBOrderBy(org.apache.atlas.query.GremlinQueryComposerTest)  Time elapsed: 0.4 sec  <<< FAILURE!
java.lang.AssertionError: expected [def f(r){ t=[['_col_0','_col_1']];  r.each({t.add([it.value('Table.name'),it.value('Table.createTime')])}); t.unique(); }; f(g.V().has('__typeName', 'Table').and(__.has('Table.name', eq("sales_fact")),__.has('Table.createTime', gt('1388563200000'))).order().by('Table.createTime').limit(25).toList())] but found [def f(r){ t=[['_col_0','_col_1']];  r.each({t.add([it.value('Table.name'),it.value('Table.createTime')])}); t.unique(); }; f(g.V().has('__typeName', 'Table').and(__.has('Table.name', eq("sales_fact")),__.has('Table.createTime', gt('1388552400000'))).order().by('Table.createTime').limit(25).toList())]
	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:178)
	at org.testng.Assert.assertEquals(Assert.java:188)
	at org.apache.atlas.query.GremlinQueryComposerTest.verify(GremlinQueryComposerTest.java:298)
	at org.apache.atlas.query.GremlinQueryComposerTest.DBOrderBy(GremlinQueryComposerTest.java:142)

Tests run: 246, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 107.173 sec <<< FAILURE! - in org.apache.atlas.query.DSLQueriesTest
orderBy(org.apache.atlas.query.DSLQueriesTest)  Time elapsed: 0.039 sec  <<< FAILURE!
java.lang.AssertionError: expected [def f(r){ t=[['_col_0','_col_1']];  r.each({t.add([it.value('Asset.name'),it.value('hive_table.createTime')])}); t.unique(); }; f(g.V().has('__typeName', 'hive_table').and(__.has('Asset.name', eq("sales_fact")),__.has('hive_table.createTime', gt('1388563200000'))).order().by('hive_table.createTime').limit(25).toList())] but found [def f(r){ t=[['_col_0','_col_1']];  r.each({t.add([it.value('Asset.name'),it.value('hive_table.createTime')])}); t.unique(); }; f(g.V().has('__typeName', 'hive_table').and(__.has('Asset.name', eq("sales_fact")),__.has('hive_table.createTime', gt('1388552400000'))).order().by('hive_table.createTime').limit(25).toList())]
	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:178)
	at org.testng.Assert.assertEquals(Assert.java:188)
	at org.apache.atlas.query.DSLQueriesTest.verify(DSLQueriesTest.java:732)
	at org.apache.atlas.query.DSLQueriesTest.orderBy(DSLQueriesTest.java:590)


Results :

Failed tests: 
org.apache.atlas.query.DSLQueriesTest.orderBy(org.apache.atlas.query.DSLQueriesTest)
  Run 1: DSLQueriesTest.orderBy:590->verify:732 expected [def f(r){ t=[['_col_0','_col_1']];  r.each({t.add([it.value('Asset.name'),it.value('hive_table.createTime')])}); t.unique(); }; f(g.V().has('__typeName', 'hive_table').and(__.has('Asset.name', eq("sales_fact")),__.has('hive_table.createTime', gt('1388563200000'))).order().by('hive_table.createTime').limit(25).toList())] but found [def f(r){ t=[['_col_0','_col_1']];  r.each({t.add([it.value('Asset.name'),it.value('hive_table.createTime')])}); t.unique(); }; f(g.V().has('__typeName', 'hive_table').and(__.has('Asset.name', eq("sales_fact")),__.has('hive_table.createTime', gt('1388552400000'))).order().by('hive_table.createTime').limit(25).toList())]
  Run 2: PASS
  Run 3: PASS
  Run 4: PASS
  Run 5: PASS
  Run 6: PASS
  Run 7: PASS
  Run 8: PASS
  Run 9: PASS
  Run 10: PASS
  Run 11: PASS
  Run 12: PASS
  Run 13: PASS
  Run 14: PASS
  Run 15: PASS
  Run 16: PASS
  Run 17: PASS
  Run 18: PASS
  Run 19: PASS
  Run 20: PASS
  Run 21: PASS
  Run 22: PASS
  Run 23: PASS
  Run 24: PASS
  Run 25: PASS
  Run 26: PASS
  Run 27: PASS
  Run 28: PASS
  Run 29: PASS
  Run 30: PASS
  Run 31: PASS
  Run 32: PASS
  Run 33: PASS
  Run 34: PASS
  Run 35: PASS
  Run 36: PASS
  Run 37: PASS
  Run 38: PASS
  Run 39: PASS
  Run 40: PASS
  Run 41: PASS
  Run 42: PASS
  Run 43: PASS
  Run 44: PASS
  Run 45: PASS
  Run 46: PASS
  Run 47: PASS
  Run 48: PASS
  Run 49: PASS
  Run 50: PASS
  Run 51: PASS
  Run 52: PASS
  Run 53: PASS
  Run 54: PASS

  GremlinQueryComposerTest.DBOrderBy:142->verify:298 expected [def f(r){ t=[['_col_0','_col_1']];  r.each({t.add([it.value('Table.name'),it.value('Table.createTime')])}); t.unique(); }; f(g.V().has('__typeName', 'Table').and(__.has('Table.name', eq("sales_fact")),__.has('Table.createTime', gt('1388563200000'))).order().by('Table.createTime').limit(25).toList())] but found [def f(r){ t=[['_col_0','_col_1']];  r.each({t.add([it.value('Table.name'),it.value('Table.createTime')])}); t.unique(); }; f(g.V().has('__typeName', 'Table').and(__.has('Table.name', eq("sales_fact")),__.has('Table.createTime', gt('1388552400000'))).order().by('Table.createTime').limit(25).toList())]
  ImportServiceTest.importDB2:104 entity:DB_v1 expected [true] but found [false]

Tests run: 372, Failures: 3, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Atlas Server Build Tools .................... SUCCESS [  2.139 s]
[INFO] apache-atlas ....................................... SUCCESS [ 11.498 s]
[INFO] Apache Atlas Test Utility Tools .................... SUCCESS [ 25.936 s]
[INFO] Apache Atlas Integration ........................... SUCCESS [03:48 min]
[INFO] Apache Atlas Common ................................ SUCCESS [ 17.434 s]
[INFO] Apache Atlas Client ................................ SUCCESS [  1.260 s]
[INFO] atlas-client-common ................................ SUCCESS [ 12.915 s]
[INFO] atlas-client-v1 .................................... SUCCESS [ 15.101 s]
[INFO] Apache Atlas Server API ............................ SUCCESS [ 10.831 s]
[INFO] Apache Atlas Notification .......................... SUCCESS [ 50.642 s]
[INFO] atlas-client-v2 .................................... SUCCESS [ 10.274 s]
[INFO] Apache Atlas Graph Database Projects ............... SUCCESS [  0.895 s]
[INFO] Apache Atlas Graph Database API .................... SUCCESS [  9.429 s]
[INFO] Graph Database Common Code ......................... SUCCESS [  8.998 s]
[INFO] Apache Atlas JanusGraph DB Impl .................... SUCCESS [03:03 min]
[INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [  6.119 s]
[INFO] Shaded version of Apache hbase client .............. SUCCESS [ 16.448 s]
[INFO] Apache Atlas Titan 0.5.4 Graph DB Impl ............. SUCCESS [01:11 min]
[INFO] Shaded version of Apache hbase server .............. SUCCESS [ 35.251 s]
[INFO] Apache Atlas Repository ............................ FAILURE [11:34 min]
[INFO] Apache Atlas Authorization ......................... SKIPPED
[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 Distribution .......................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 23:37 min
[INFO] Finished at: 2018-01-10T10:14:47-05:00
[INFO] Final Memory: 118M/636M
[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 /home/hduser/atlas/repository/target/surefire-reports for the individual test results.
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: 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.

Please refer to /home/hduser/atlas/repository/target/surefire-reports for the individual test results.
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:51)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:993)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:345)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:191)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:498)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.

Please refer to /home/hduser/atlas/repository/target/surefire-reports for the individual test results.
    at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution (SurefireHelper.java:82)
    at org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary (SurefirePlugin.java:254)
    at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked (AbstractSurefireMojo.java:854)
    at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute (AbstractSurefireMojo.java:722)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:134)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:51)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:993)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:345)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:191)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:498)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
[ERROR] 
[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


> Tests are failing in the build 
> -------------------------------
>
>                 Key: ATLAS-1374
>                 URL: https://issues.apache.org/jira/browse/ATLAS-1374
>             Project: Atlas
>          Issue Type: Bug
>            Reporter: David Radley
>
> I have just grabbed the latest build and am getting unit test errors in the build :
> tSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
> Running org.apache.atlas.query.GremlinTest
> Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.946 sec - in org.apache.atlas.query.GremlinTest
> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
> Running org.apache.atlas.query.LexerTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.469 sec - in org.apache.atlas.query.LexerTest
> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
> Running org.apache.atlas.query.LineageQueryTest
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.756 sec - in org.apache.atlas.query.LineageQueryTest
> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
> Running org.apache.atlas.query.ParserTest
> Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.923 sec - in org.apache.atlas.query.ParserTest
> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
> Running org.apache.atlas.repository.audit.HBaseBasedAuditRepositoryHATest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.767 sec - in org.apache.atlas.repository.audit.HBaseBasedAuditRepositoryHATest
> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
> Running org.apache.atlas.repository.audit.HBaseBasedAuditRepositoryTest
> Tests run: 6, Failures: 4, Errors: 0, Skipped: 2, Time elapsed: 1.355 sec <<< FAILURE! - in org.apache.atlas.repository.audit.HBaseBasedAuditRepositoryTest
> setup(org.apache.atlas.repository.audit.HBaseBasedAuditRepositoryTest)  Time elapsed: 1.277 sec  <<< FAILURE!
> java.lang.RuntimeException: Failed construction of Master: class org.apache.hadoop.hbase.master.HMasterCan't assign requested address
> 	at sun.nio.ch.Net.bind0(Native Method)
> 	at sun.nio.ch.Net.bind(Net.java:433)
> 	at sun.nio.ch.Net.bind(Net.java:425)
> 	at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
> 	at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
> 	at org.apache.hadoop.hbase.ipc.RpcServer.bind(RpcServer.java:2495)
> 	at org.apache.hadoop.hbase.ipc.RpcServer$Listener.<init>(RpcServer.java:580)
> 	at org.apache.hadoop.hbase.ipc.RpcServer.<init>(RpcServer.java:1982)
> 	at org.apache.hadoop.hbase.regionserver.RSRpcServices.<init>(RSRpcServices.java:863)
> 	at org.apache.hadoop.hbase.master.MasterRpcServices.<init>(MasterRpcServices.java:210)
> 	at org.apache.hadoop.hbase.master.HMaster.createRpcServices(HMaster.java:532)
> 	at org.apache.hadoop.hbase.regionserver.HRegionServer.<init>(HRegionServer.java:532)
> 	at org.apache.hadoop.hbase.master.HMaster.<init>(HMaster.java:364)
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> 	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
> 	at org.apache.hadoop.hbase.util.JVMClusterUtil.createMasterThread(JVMClusterUtil.java:139)
> 	at org.apache.hadoop.hbase.LocalHBaseCluster.addMaster(LocalHBaseCluster.java:217)
> 	at org.apache.hadoop.hbase.LocalHBaseCluster.<init>(LocalHBaseCluster.java:153)
> 	at org.apache.hadoop.hbase.LocalHBaseCluster.<init>(LocalHBaseCluster.java:95)
> 	at org.apache.hadoop.hbase.LocalHBaseCluster.<init>(LocalHBaseCluster.java:83)
> 	at org.apache.atlas.repository.audit.HBaseTestUtils.startCluster(HBaseTestUtils.java:40)
> 	at org.apache.atlas.repository.audit.HBaseBasedAuditRepositoryTest.setup(HBaseBasedAuditRepositoryTest.java:40)
> testAddEvents(org.apache.atlas.repository.audit.HBaseBasedAuditRepositoryTest)  Time elapsed: 0.04 sec  <<< FAILURE!
> java.lang.NullPointerException: null
> 	at org.apache.atlas.repository.audit.HBaseBasedAuditRepository.putEvents(HBaseBasedAuditRepository.java:120)
> 	at org.apache.atlas.repository.audit.HBaseBasedAuditRepository.putEvents(HBaseBasedAuditRepository.java:107)
> 	at org.apache.atlas.repository.audit.AuditRepositoryTestBase.testAddEvents(AuditRepositoryTestBase.java:45)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:498)
> 	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
> 	at org.testng.internal.Invoker.invokeMethod(Invoker.java:673)
> 	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:842)
> 	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1166)
> 	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
> 	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
> 	at org.testng.TestRunner.runWorkers(TestRunner.java:1178)
> 	at org.testng.TestRunner.privateRun(TestRunner.java:757)
> 	at org.testng.TestRunner.run(TestRunner.java:608)
> 	at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
> 	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
> 	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
> 	at org.testng.SuiteRunner.run(SuiteRunner.java:240)
> 	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
> 	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
> 	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1158)
> 	at org.testng.TestNG.runSuitesLocally(TestNG.java:1083)
> 	at org.testng.TestNG.run(TestNG.java:999)
> 	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:115)
> 	at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeSingleClass(TestNGDirectoryTestSuite.java:129)
> 	at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:113)
> 	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111)
> 	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
> 	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
> 	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
> testInvalidEntityId(org.apache.atlas.repository.audit.HBaseBasedAuditRepositoryTest)  Time elapsed: 0.001 sec  <<< FAILURE!
> java.lang.NullPointerException: null
> 	at org.apache.atlas.repository.audit.HBaseBasedAuditRepository.listEvents(HBaseBasedAuditRepository.java:168)
> 	at org.apache.atlas.repository.audit.AuditRepositoryTestBase.testInvalidEntityId(AuditRepositoryTestBase.java:88)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:498)
> 	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
> 	at org.testng.internal.Invoker.invokeMethod(Invoker.java:673)
> 	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:842)
> 	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1166)
> 	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
> 	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
> 	at org.testng.TestRunner.runWorkers(TestRunner.java:1178)
> 	at org.testng.TestRunner.privateRun(TestRunner.java:757)
> 	at org.testng.TestRunner.run(TestRunner.java:608)
> 	at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
> 	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
> 	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
> 	at org.testng.SuiteRunner.run(SuiteRunner.java:240)
> 	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
> 	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
> 	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1158)
> 	at org.testng.TestNG.runSuitesLocally(TestNG.java:1083)
> 	at org.testng.TestNG.run(TestNG.java:999)
> 	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:115)
> 	at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeSingleClass(TestNGDirectoryTestSuite.java:129)
> 	at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:113)
> 	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111)
> 	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
> 	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
> 	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
> testListPagination(org.apache.atlas.repository.audit.HBaseBasedAuditRepositoryTest)  Time elapsed: 0.001 sec  <<< FAILURE!
> java.lang.NullPointerException: null
> 	at org.apache.atlas.repository.audit.HBaseBasedAuditRepository.putEvents(HBaseBasedAuditRepository.java:120)
> 	at org.apache.atlas.repository.audit.HBaseBasedAuditRepository.putEvents(HBaseBasedAuditRepository.java:107)
> 	at org.apache.atlas.repository.audit.AuditRepositoryTestBase.testListPagination(AuditRepositoryTestBase.java:65)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:498)
> 	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
> 	at org.testng.internal.Invoker.invokeMethod(Invoker.java:673)
> 	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:842)
> 	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1166)
> 	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
> 	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
> 	at org.testng.TestRunner.runWorkers(TestRunner.java:1178)
> 	at org.testng.TestRunner.privateRun(TestRunner.java:757)
> 	at org.testng.TestRunner.run(TestRunner.java:608)
> 	at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
> 	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
> 	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
> 	at org.testng.SuiteRunner.run(SuiteRunner.java:240)
> 	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
> 	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
> 	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1158)
> 	at org.testng.TestNG.runSuitesLocally(TestNG.java:1083)
> 	at org.testng.TestNG.run(TestNG.java:999)
> 	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:115)
> 	at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeSingleClass(TestNGDirectoryTestSuite.java:129)
> 	at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:113)
> 	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111)
> 	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
> 	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
> 	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
> Running org.apache.atlas.repository.audit.InMemoryAuditRepositoryTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.454 sec - in org.apache.atlas.repository.audit.InMemoryAuditRepositoryTest
> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
> Running org.apache.atlas.repository.BaseTest
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.168 sec - in org.apache.atlas.repository.BaseTest
> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
> Running org.apache.atlas.repository.graph.GraphBackedMetadataRepositoryTest
> Tests run: 27, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.414 sec - in org.apache.atlas.repository.graph.GraphBackedMetadataRepositoryTest
> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
> Running org.apache.atlas.repository.graph.GraphBackedRepositoryHardDeleteTest
> Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.334 sec - in org.apache.atlas.repository.graph.GraphBackedRepositoryHardDeleteTest
> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
> Running org.apache.atlas.repository.graph.GraphBackedRepositorySoftDeleteTest
> Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.828 sec - in org.apache.atlas.repository.graph.GraphBackedRepositorySoftDeleteTest
> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
> Running org.apache.atlas.repository.graph.GraphBackedSearchIndexerMockTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.534 sec - in org.apache.atlas.repository.graph.GraphBackedSearchIndexerMockTest
> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
> Running org.apache.atlas.repository.graph.GraphBackedSearchIndexerTest
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.398 sec - in org.apache.atlas.repository.graph.GraphBackedSearchIndexerTest
> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
> Running org.apache.atlas.repository.graph.GraphHelperMockTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.785 sec - in org.apache.atlas.repository.graph.GraphHelperMockTest
> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
> Running org.apache.atlas.repository.graph.GraphHelperTest
> Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.224 sec - in org.apache.atlas.repository.graph.GraphHelperTest
> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
> Running org.apache.atlas.repository.graph.GraphRepoMapperScaleTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 109.801 sec - in org.apache.atlas.repository.graph.GraphRepoMapperScaleTest
> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
> Running org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
> Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.543 sec - in org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
> Running org.apache.atlas.repository.typestore.GraphBackedTypeStoreTest
> Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 9.417 sec <<< FAILURE! - in org.apache.atlas.repository.typestore.GraphBackedTypeStoreTest
> testTypeUpdate(org.apache.atlas.repository.typestore.GraphBackedTypeStoreTest)  Time elapsed: 0.005 sec  <<< FAILURE!
> org.apache.atlas.typesystem.types.TypeUpdateException: Department can't be updated - Attribute employees can't be updated
> 	at org.apache.atlas.typesystem.types.TypeUtils.validateUpdate(TypeUtils.java:104)
> 	at org.apache.atlas.typesystem.types.HierarchicalType.validateUpdate(HierarchicalType.java:145)
> 	at org.apache.atlas.typesystem.types.TypeSystem$TransientTypeSystem.validateUpdateIsPossible(TypeSystem.java:618)
> 	at org.apache.atlas.typesystem.types.TypeSystem$TransientTypeSystem.verifyTypes(TypeSystem.java:712)
> 	at org.apache.atlas.typesystem.types.TypeSystem$TransientTypeSystem.defineTypes(TypeSystem.java:624)
> 	at org.apache.atlas.typesystem.types.TypeSystem.updateTypes(TypeSystem.java:267)
> 	at org.apache.atlas.repository.typestore.GraphBackedTypeStoreTest.testTypeUpdate(GraphBackedTypeStoreTest.java:171)
> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
> Running org.apache.atlas.repository.typestore.StoreBackedTypeCacheConfigurationTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.113 sec - in org.apache.atlas.repository.typestore.StoreBackedTypeCacheConfigurationTest
> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
> Running org.apache.atlas.repository.typestore.StoreBackedTypeCacheTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.755 sec - in org.apache.atlas.repository.typestore.StoreBackedTypeCacheTest
> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
> Running org.apache.atlas.RepositoryServiceLoadingTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.119 sec - in org.apache.atlas.RepositoryServiceLoadingTest
> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
> Running org.apache.atlas.service.DefaultMetadataServiceTest
> Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.728 sec - in org.apache.atlas.service.DefaultMetadataServiceTest
> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
> Running org.apache.atlas.service.StoreBackedTypeCacheMetadataServiceTest
> Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 10.19 sec <<< FAILURE! - in org.apache.atlas.service.StoreBackedTypeCacheMetadataServiceTest
> testValidUpdateType(org.apache.atlas.service.StoreBackedTypeCacheMetadataServiceTest)  Time elapsed: 0.077 sec  <<< FAILURE!
> org.apache.atlas.typesystem.types.TypeUpdateException: hive_table can't be updated - Attribute tableType can't be updated
> 	at org.apache.atlas.typesystem.types.TypeUtils.validateUpdate(TypeUtils.java:104)
> 	at org.apache.atlas.typesystem.types.HierarchicalType.validateUpdate(HierarchicalType.java:145)
> 	at org.apache.atlas.typesystem.types.TypeSystem$TransientTypeSystem.validateUpdateIsPossible(TypeSystem.java:618)
> 	at org.apache.atlas.typesystem.types.TypeSystem$TransientTypeSystem.verifyTypes(TypeSystem.java:712)
> 	at org.apache.atlas.typesystem.types.TypeSystem.createTransientTypeSystem(TypeSystem.java:346)
> 	at org.apache.atlas.services.DefaultMetadataService.createOrUpdateTypes(DefaultMetadataService.java:189)
> 	at org.apache.atlas.services.DefaultMetadataService.updateType(DefaultMetadataService.java:217)
> 	at org.apache.atlas.service.StoreBackedTypeCacheMetadataServiceTest.testValidUpdateType(StoreBackedTypeCacheMetadataServiceTest.java:116)
> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
> Running org.apache.atlas.TestUtils
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.162 sec - in org.apache.atlas.TestUtils
> Results :
> Failed tests: 
>   HBaseBasedAuditRepositoryTest.setup:40 » Runtime Failed construction of Master...
>   HBaseBasedAuditRepositoryTest>AuditRepositoryTestBase.testAddEvents:45 » NullPointer
>   HBaseBasedAuditRepositoryTest>AuditRepositoryTestBase.testInvalidEntityId:88 » NullPointer
>   HBaseBasedAuditRepositoryTest>AuditRepositoryTestBase.testListPagination:65 » NullPointer
>   GraphBackedTypeStoreTest.testTypeUpdate:171 » TypeUpdate Department can't be u...
>   StoreBackedTypeCacheMetadataServiceTest.testValidUpdateType:116 » TypeUpdate h...
> Tests run: 601, Failures: 6, Errors: 0, Skipped: 2
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Apache Atlas Server Build Tools .................... SUCCESS [  0.420 s]
> [INFO] apache-atlas ....................................... SUCCESS [  0.883 s]
> [INFO] Apache Atlas Integration ........................... SUCCESS [ 13.901 s]
> [INFO] Apache Atlas Common ................................ SUCCESS [  1.720 s]
> [INFO] Apache Atlas Typesystem ............................ SUCCESS [ 31.931 s]
> [INFO] Apache Atlas Client ................................ SUCCESS [  3.042 s]
> [INFO] Apache Atlas Server API ............................ SUCCESS [  0.626 s]
> [INFO] Apache Atlas Notification .......................... SUCCESS [ 16.948 s]
> [INFO] Apache Atlas Graph Database Projects ............... SUCCESS [  0.042 s]
> [INFO] Apache Atlas Graph Database API .................... SUCCESS [  0.340 s]
> [INFO] Graph Database Common Code ......................... SUCCESS [  0.325 s]
> [INFO] Shaded version of Apache hbase client .............. SUCCESS [  5.387 s]
> [INFO] Apache Atlas Titan 0.5.4 Graph DB Impl ............. SUCCESS [01:12 min]
> [INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [  0.082 s]
> [INFO] Shaded version of Apache hbase server .............. SUCCESS [ 12.934 s]
> [INFO] Apache Atlas Repository ............................ FAILURE [07:49 min]
> [INFO] Apache Atlas Authorization ......................... SKIPPED
> [INFO] Apache Atlas Business Catalog ...................... SKIPPED
> [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 Distribution .......................... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 10:31 min
> [INFO] Finished at: 2016-12-13T17:30:14+00:00
> [INFO] Final Memory: 127M/943M
> [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 /Users/david/atlas/repository/target/surefire-reports for the individual test results.
> [ERROR] -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: 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.
> Please refer to /Users/david/atlas/repository/target/surefire-reports for the individual test results.
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
> 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
> 	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
> 	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
> 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
> 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
> 	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
> 	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
> 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:498)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.
> Please refer to /Users/david/atlas/repository/target/surefire-reports for the individual test results.
> 	at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:82)
> 	at org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary(SurefirePlugin.java:254)
> 	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:854)
> 	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:722)
> 	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
> 	... 20 more
> [ERROR] 
> [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
>  



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)