That's pretty weird Kasper. I think you ran into the same issue when
releasing the previous version, didn't you?

Obviously this is to do with the embedded C* server we're using in the
tests because you start having problems after we drop the external C*
server for the tests.

Ideally we should figure out what's going on but If this is causing errors
I guess we should revert the changes and not use the embedded server
anymore.


2015-08-13 17:50 GMT+02:00 Kasper Sørensen (JIRA) <j...@apache.org>:

> Kasper Sørensen created METAMODEL-171:
> -----------------------------------------
>
>              Summary: CassandraUnit tests failing during release
>                  Key: METAMODEL-171
>                  URL: https://issues.apache.org/jira/browse/METAMODEL-171
>              Project: Apache MetaModel
>           Issue Type: Bug
>             Reporter: Kasper Sørensen
>
>
> I don't know why this is happening, but when I try to run the mvn release
> plugin to post a release candidate, I get unittest errors in the cassandra
> module. I don't get these errors during a normal build!
>
> {code}
> [INFO] Tests run: 9, Failures: 0, Errors: 2, Skipped: 0, Time elapsed:
> 20.64 sec <<< FAILURE! - in org.apache.metamodel.cassandra.CassandraD
> ataContextTest
> [INFO]
> testCounterDataType(org.apache.metamodel.cassandra.CassandraDataContextTest)
> Time elapsed: 2.309 sec  <<< ERROR!
> [INFO] com.datastax.driver.core.exceptions.NoHostAvailableException: All
> host(s) tried for query failed (no host was tried)
> [INFO]  at
> com.datastax.driver.core.RequestHandler.sendRequest(RequestHandler.java:105)
> [INFO]  at
> com.datastax.driver.core.SessionManager.execute(SessionManager.java:446)
> [INFO]  at
> com.datastax.driver.core.SessionManager.executeQuery(SessionManager.java:482)
> [INFO]  at
> com.datastax.driver.core.SessionManager.executeAsync(SessionManager.java:88)
> [INFO]  at
> com.datastax.driver.core.AbstractSession.execute(AbstractSession.java:52)
> [INFO]  at
> com.datastax.driver.core.AbstractSession.execute(AbstractSession.java:36)
> [INFO]  at
> org.apache.metamodel.cassandra.CassandraDataContextTest.populateCassandraTableWithSomeData(CassandraDataContextTest.java:210)
> [INFO]  at
> org.apache.metamodel.cassandra.CassandraDataContextTest.setUp(CassandraDataContextTest.java:61)
> [INFO]
> [INFO]
> testWhereColumnInValues(org.apache.metamodel.cassandra.CassandraDataContextTest)
> Time elapsed: 1.03 sec  <<< ERROR!
> [INFO] com.datastax.driver.core.exceptions.NoHostAvailableException: All
> host(s) tried for query failed (tried: /127.0.0.1:9142 (com.datasta
> x.driver.core.TransportException: [/127.0.0.1:9142] Cannot connect))
> [INFO]  at
> com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:199)
> [INFO]  at
> com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:80)
> [INFO]  at com.datastax.driver.core.Cluster$Manager.init(Cluster.java:1154)
> [INFO]  at com.datastax.driver.core.Cluster.init(Cluster.java:154)
> [INFO]  at com.datastax.driver.core.Cluster.connect(Cluster.java:230)
> [INFO]  at
> org.apache.metamodel.cassandra.CassandraDataContextTest.setUp(CassandraDataContextTest.java:59)
> [INFO]
> [INFO]
> [INFO] Results :
> [INFO]
> [INFO] Tests in error:
> [INFO]
>  CassandraDataContextTest.setUp:61->populateCassandraTableWithSomeData:210
> ╗ NoHostAvailable
> [INFO]   CassandraDataContextTest.setUp:59 ╗ NoHostAvailable All host(s)
> tried for quer...
> {code}
>
> Anybody has a clue
>
>
>
> --
> This message was sent by Atlassian JIRA
> (v6.3.4#6332)
>

Reply via email to