Hello all,

I am unable to get the tests to run.  I have tried the last 5 commits, but
I get the same error:

Tests in error:

ColumnNameIteratorTest.org.apache.usergrid.persistence.core.astyanax.ColumnNameIteratorTest
» Creation

MultiKeyColumnNameIteratorTest.org.apache.usergrid.persistence.core.astyanax.MultiKeyColumnNameIteratorTest
» Creation

MultiRowColumnIteratorTest.org.apache.usergrid.persistence.core.astyanax.MultiRowColumnIteratorTest
» Creation

MigrationInfoSerializationTest.org.apache.usergrid.persistence.core.migration.data.MigrationInfoSerializationTest
» Creation

DataStaxClusterTest.org.apache.usergrid.persistence.core.datastax.DataStaxClusterTest
» Creation
  CQLUtilsTest.org.apache.usergrid.persistence.core.datastax.CQLUtilsTest »
Creation



They fail in the same place for all of the last 5 commits:

2018-08-28 07:24:37 INFO driver.core.ClockFactory.newInstance(52)<main>-
Using native clock to generate timestamps.
Tests run: 5, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 1.82 sec
<<< FAILURE! - in
org.apache.usergrid.persistence.core.astyanax.MultiRowColumnIteratorTest
org.apache.usergrid.persistence.core.astyanax.ColumnNameIteratorTest  Time
elapsed: 1.699 sec  <<< ERROR!
com.google.inject.CreationException: Unable to create injector, see the
following errors:

1) Error injecting constructor,
com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s)
tried for query failed (tried: localhost/127.0.0.1:9042
(com.datastax.driver.core.TransportException: [localhost/127.0.0.1:9042]
Cannot connect))
  at
org.apache.usergrid.persistence.core.datastax.impl.DataStaxClusterImpl.<init>(DataStaxClusterImpl.java:51)
  at
org.apache.usergrid.persistence.core.datastax.impl.DataStaxClusterImpl.class(DataStaxClusterImpl.java:41)
  while locating
org.apache.usergrid.persistence.core.datastax.impl.DataStaxClusterImpl
  at
org.apache.usergrid.persistence.core.guice.CommonModule.configure(CommonModule.java:71)
(via modules: org.apache.usergrid.persistence.core.test.ITRunner$1 ->
org.apache.usergrid.persistence.core.guice.TestCommonModule ->
org.apache.usergrid.persistence.core.guice.CommonModule)
  while locating
org.apache.usergrid.persistence.core.datastax.DataStaxCluster
Caused by: com.datastax.driver.core.exceptions.NoHostAvailableException:
All host(s) tried for query failed (tried: localhost/127.0.0.1:9042
(com.datastax.driver.core.TransportException: [localhost/127.0.0.1:9042]
Cannot connect))
at
com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:240)
at
com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:86)
at com.datastax.driver.core.Cluster$Manager.init(Cluster.java:1455)
at com.datastax.driver.core.Cluster.getMetadata(Cluster.java:398)
at
org.apache.usergrid.persistence.core.datastax.impl.DataStaxClusterImpl.<init>(DataStaxClusterImpl.java:56)
at
org.apache.usergrid.persistence.core.datastax.impl.DataStaxClusterImpl$$FastClassByGuice$$215c14fd.newInstance(<generated>)
at
com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40)
at
com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:61)
at
com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:108)
at
com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:88)
at
com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:269)
at
com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
at
com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1066)
at
com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
at com.google.inject.Scopes$1$1.get(Scopes.java:65)
at
com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)
at
com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
at
com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1066)
at
com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
at com.google.inject.Scopes$1$1.get(Scopes.java:65)
at
com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
at
com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:205)
at
com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:199)
at
com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1059)
at
com.google.inject.internal.InternalInjectorCreator.loadEagerSingletons(InternalInjectorCreator.java:199)
at
com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:180)
at
com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:110)
at com.google.inject.Guice.createInjector(Guice.java:96)
at com.google.inject.Guice.createInjector(Guice.java:73)
at com.google.inject.Guice.createInjector(Guice.java:62)
at
org.apache.usergrid.persistence.core.test.ITRunner.createInjector(ITRunner.java:101)
at
org.apache.usergrid.persistence.core.test.ITRunner.inject(ITRunner.java:64)
at
org.apache.usergrid.persistence.core.test.ITRunner.methodInvoker(ITRunner.java:57)
at
org.junit.runners.BlockJUnit4ClassRunner.methodBlock(BlockJUnit4ClassRunner.java:251)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.junit.runners.Suite.runChild(Suite.java:127)
at org.junit.runners.Suite.runChild(Suite.java:26)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
at
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:141)
at
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:114)
at
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:86)
at
org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:134)
at
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)




I'm wondering if I have something set up incorrectly on my machine.

Thoughts?

Rod

Reply via email to