See <https://builds.apache.org/job/Cassandra/1142/changes>
Changes: [jbellis] remove statements from connection's list, when closed manually patch by Rick Shaw; reviewed by Patricio Echague and jbellis for CASSANDRA-3244 [jbellis] merge from 1.0 ------------------------------------------ [...truncated 2216 lines...] [junit] Testsuite: org.apache.cassandra.service.EmbeddedCassandraServiceTest [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.965 sec [junit] [junit] ------------- Standard Error ----------------- [junit] WARN 20:28:23,784 Unable to lock JVM memory (ENOMEM). This can result in part of the JVM being swapped out, especially with mmapped I/O enabled. Increase RLIMIT_MEMLOCK or run Cassandra as root. [junit] WARN 20:28:24,133 Generated random token Token(bytes[25a80ad9457075bb2211f45f50c780c8]). Random tokens will result in an unbalanced ring; see http://wiki.apache.org/cassandra/Operations [junit] ------------- ---------------- --------------- [junit] Testsuite: org.apache.cassandra.service.InitClientTest [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.455 sec [junit] [junit] Testsuite: org.apache.cassandra.service.LeaveAndBootstrapTest [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 1.966 sec [junit] [junit] ------------- Standard Error ----------------- [junit] WARN 20:28:28,825 Node /127.0.0.3 'leaving' token mismatch. Long network partition? [junit] ------------- ---------------- --------------- [junit] Testsuite: org.apache.cassandra.service.MoveTest [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 1.808 sec [junit] [junit] Testsuite: org.apache.cassandra.service.RemoveTest [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 4.146 sec [junit] [junit] Testsuite: org.apache.cassandra.service.RowResolverTest [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.531 sec [junit] [junit] Testsuite: org.apache.cassandra.service.SerializationsTest [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.276 sec [junit] [junit] Testsuite: org.apache.cassandra.service.StorageProxyTest [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.46 sec [junit] [junit] Testsuite: org.apache.cassandra.service.StorageServiceClientTest [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.488 sec [junit] [junit] Testsuite: org.apache.cassandra.service.StorageServiceServerTest [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 1.762 sec [junit] [junit] ------------- Standard Error ----------------- [junit] WARN 20:28:45,446 Generated random token Token(bytes[71526ebc0e4bf85205cd8f87fac90b1f]). Random tokens will result in an unbalanced ring; see http://wiki.apache.org/cassandra/Operations [junit] ------------- ---------------- --------------- [junit] Testsuite: org.apache.cassandra.streaming.BootstrapTest [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.606 sec [junit] [junit] Testsuite: org.apache.cassandra.streaming.SerializationsTest [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.587 sec [junit] [junit] Testsuite: org.apache.cassandra.streaming.StreamingTransferTest [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.952 sec [junit] [junit] ------------- Standard Error ----------------- [junit] WARN 20:28:51,184 Generated random token Token(bytes[a0845e2a4aa9909ed9872e9cdc659841]). Random tokens will result in an unbalanced ring; see http://wiki.apache.org/cassandra/Operations [junit] ------------- ---------------- --------------- [junit] Testsuite: org.apache.cassandra.thrift.ThriftValidationTest [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.821 sec [junit] [junit] Testsuite: org.apache.cassandra.tools.SSTableExportTest [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.995 sec [junit] [junit] ------------- Standard Output --------------- [junit] Importing 1 keys... [junit] 1 keys imported successfully. [junit] ------------- ---------------- --------------- [junit] Testsuite: org.apache.cassandra.tools.SSTableImportTest [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.687 sec [junit] [junit] ------------- Standard Output --------------- [junit] Importing 2 keys... [junit] 2 keys imported successfully. [junit] Importing 2 keys... [junit] 2 keys imported successfully. [junit] Importing 2 keys... [junit] 2 keys imported successfully. [junit] Importing 3 keys... [junit] Importing 3 keys... [junit] 1 keys imported successfully. [junit] ------------- ---------------- --------------- [junit] ------------- Standard Error ----------------- [junit] Line 2: Key 303630 is greater than previous, collection is not sorted properly. Aborting import. You might need to delete SSTables manually. [junit] ------------- ---------------- --------------- [junit] Testsuite: org.apache.cassandra.utils.BloomFilterTest [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 0.516 sec [junit] [junit] Testsuite: org.apache.cassandra.utils.BoundedStatsDequeTest [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.064 sec [junit] [junit] Testsuite: org.apache.cassandra.utils.ByteBufferUtilTest [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 0.158 sec [junit] [junit] Testsuite: org.apache.cassandra.utils.BytesReadTrackerTest [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.06 sec [junit] [junit] Testsuite: org.apache.cassandra.utils.EstimatedHistogramTest [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.067 sec [junit] [junit] Testsuite: org.apache.cassandra.utils.FBUtilitiesTest [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.16 sec [junit] [junit] Testsuite: org.apache.cassandra.utils.IntervalTest [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.063 sec [junit] [junit] Testsuite: org.apache.cassandra.utils.IntervalTreeTest [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.072 sec [junit] [junit] Testsuite: org.apache.cassandra.utils.LegacyBloomFilterTest [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.512 sec [junit] [junit] Testsuite: org.apache.cassandra.utils.MergeIteratorTest [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.077 sec [junit] [junit] Testsuite: org.apache.cassandra.utils.MerkleTreeTest [junit] Tests run: 12, Failures: 0, Errors: 0, Time elapsed: 0.468 sec [junit] [junit] Testsuite: org.apache.cassandra.utils.SerializationsTest [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.682 sec [junit] [echo] running driverunit tests [junit] WARNING: multiple versions of ant detected in path for junit [junit] jar:file:/home/hudson/tools/ant/latest/lib/ant.jar!/org/apache/tools/ant/Project.class [junit] and jar:<https://builds.apache.org/job/Cassandra/ws/cassandra/build/lib/jars/ant-1.6.5.jar!/org/apache/tools/ant/Project.class> [junit] Testsuite: org.apache.cassandra.cql.JdbcDriverTest [junit] Tests run: 0, Failures: 0, Errors: 2, Time elapsed: 0.926 sec [junit] [junit] ------------- Standard Error ----------------- [junit] WARN 20:29:11,267 Unable to lock JVM memory (ENOMEM). This can result in part of the JVM being swapped out, especially with mmapped I/O enabled. Increase RLIMIT_MEMLOCK or run Cassandra as root. [junit] WARN 20:29:11,566 Generated random token Token(bytes[f23e406209e77f2cbc9450f652a5cf9f]). Random tokens will result in an unbalanced ring; see http://wiki.apache.org/cassandra/Operations [junit] ------------- ---------------- --------------- [junit] Testcase: org.apache.cassandra.cql.JdbcDriverTest: Caused an ERROR [junit] org.apache.cassandra.cql.jdbc.CassandraPreparedStatement cannot be cast to java.lang.Comparable [junit] java.lang.ClassCastException: org.apache.cassandra.cql.jdbc.CassandraPreparedStatement cannot be cast to java.lang.Comparable [junit] at java.util.concurrent.ConcurrentSkipListMap.comparable(ConcurrentSkipListMap.java:621) [junit] at java.util.concurrent.ConcurrentSkipListMap.doPut(ConcurrentSkipListMap.java:862) [junit] at java.util.concurrent.ConcurrentSkipListMap.putIfAbsent(ConcurrentSkipListMap.java:1893) [junit] at java.util.concurrent.ConcurrentSkipListSet.add(ConcurrentSkipListSet.java:202) [junit] at org.apache.cassandra.cql.jdbc.CassandraConnection.prepareStatement(CassandraConnection.java:301) [junit] at org.apache.cassandra.cql.JdbcDriverTest.executeNoResults(JdbcDriverTest.java:506) [junit] at org.apache.cassandra.cql.JdbcDriverTest.startServer(JdbcDriverTest.java:80) [junit] [junit] [junit] Testcase: org.apache.cassandra.cql.JdbcDriverTest: Caused an ERROR [junit] org.apache.cassandra.cql.jdbc.CassandraPreparedStatement cannot be cast to java.lang.Comparable [junit] java.lang.ClassCastException: org.apache.cassandra.cql.jdbc.CassandraPreparedStatement cannot be cast to java.lang.Comparable [junit] at java.util.concurrent.ConcurrentSkipListMap.comparable(ConcurrentSkipListMap.java:621) [junit] at java.util.concurrent.ConcurrentSkipListMap.doPut(ConcurrentSkipListMap.java:862) [junit] at java.util.concurrent.ConcurrentSkipListMap.putIfAbsent(ConcurrentSkipListMap.java:1893) [junit] at java.util.concurrent.ConcurrentSkipListSet.add(ConcurrentSkipListSet.java:202) [junit] at org.apache.cassandra.cql.jdbc.CassandraConnection.prepareStatement(CassandraConnection.java:301) [junit] at org.apache.cassandra.cql.JdbcDriverTest.executeNoResults(JdbcDriverTest.java:506) [junit] at org.apache.cassandra.cql.JdbcDriverTest.stopServer(JdbcDriverTest.java:426) [junit] [junit] [junit] Test org.apache.cassandra.cql.JdbcDriverTest FAILED [junit] Testsuite: org.apache.cassandra.cql.jdbc.DataSourceTest [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 1.086 sec [junit] [junit] ------------- Standard Error ----------------- [junit] WARN 20:29:13,646 Unable to lock JVM memory (ENOMEM). This can result in part of the JVM being swapped out, especially with mmapped I/O enabled. Increase RLIMIT_MEMLOCK or run Cassandra as root. [junit] WARN 20:29:13,976 Generated random token Token(bytes[df2b0e9e7d8f41bd2d7113cd2debb3f0]). Random tokens will result in an unbalanced ring; see http://wiki.apache.org/cassandra/Operations [junit] DriverManager.getConnection("jdbc:cassandra://localhost:9170/Test") [junit] trying driver[className=sun.jdbc.odbc.JdbcOdbcDriver,sun.jdbc.odbc.JdbcOdbcDriver@b05236] [junit] *Driver.connect (jdbc:cassandra://localhost:9170/Test) [junit] trying driver[className=org.apache.cassandra.cql.jdbc.CassandraDriver,org.apache.cassandra.cql.jdbc.CassandraDriver@1e55794] [junit] getConnection returning driver[className=org.apache.cassandra.cql.jdbc.CassandraDriver,org.apache.cassandra.cql.jdbc.CassandraDriver@1e55794] [junit] ------------- ---------------- --------------- [junit] Testsuite: org.apache.cassandra.cql.jdbc.PreparedStatementTest [junit] Tests run: 6, Failures: 0, Errors: 6, Time elapsed: 0.963 sec [junit] [junit] ------------- Standard Error ----------------- [junit] WARN 20:29:15,968 Unable to lock JVM memory (ENOMEM). This can result in part of the JVM being swapped out, especially with mmapped I/O enabled. Increase RLIMIT_MEMLOCK or run Cassandra as root. [junit] WARN 20:29:16,290 Generated random token Token(bytes[c26cf0bcf5e23bbdfe084ad9cd64edf5]). Random tokens will result in an unbalanced ring; see http://wiki.apache.org/cassandra/Operations [junit] ------------- ---------------- --------------- [junit] Testcase: testBytes(org.apache.cassandra.cql.jdbc.PreparedStatementTest): Caused an ERROR [junit] org.apache.cassandra.cql.jdbc.CassandraPreparedStatement cannot be cast to java.lang.Comparable [junit] java.lang.ClassCastException: org.apache.cassandra.cql.jdbc.CassandraPreparedStatement cannot be cast to java.lang.Comparable [junit] at java.util.concurrent.ConcurrentSkipListMap.comparable(ConcurrentSkipListMap.java:621) [junit] at java.util.concurrent.ConcurrentSkipListMap.doPut(ConcurrentSkipListMap.java:862) [junit] at java.util.concurrent.ConcurrentSkipListMap.putIfAbsent(ConcurrentSkipListMap.java:1893) [junit] at java.util.concurrent.ConcurrentSkipListSet.add(ConcurrentSkipListSet.java:202) [junit] at org.apache.cassandra.cql.jdbc.CassandraConnection.prepareStatement(CassandraConnection.java:301) [junit] at org.apache.cassandra.cql.jdbc.PreparedStatementTest.testBytes(PreparedStatementTest.java:54) [junit] [junit] [junit] Testcase: testUtf8(org.apache.cassandra.cql.jdbc.PreparedStatementTest): Caused an ERROR [junit] org.apache.cassandra.cql.jdbc.CassandraPreparedStatement cannot be cast to java.lang.Comparable [junit] java.lang.ClassCastException: org.apache.cassandra.cql.jdbc.CassandraPreparedStatement cannot be cast to java.lang.Comparable [junit] at java.util.concurrent.ConcurrentSkipListMap.comparable(ConcurrentSkipListMap.java:621) [junit] at java.util.concurrent.ConcurrentSkipListMap.doPut(ConcurrentSkipListMap.java:862) [junit] at java.util.concurrent.ConcurrentSkipListMap.putIfAbsent(ConcurrentSkipListMap.java:1893) [junit] at java.util.concurrent.ConcurrentSkipListSet.add(ConcurrentSkipListSet.java:202) [junit] at org.apache.cassandra.cql.jdbc.CassandraConnection.prepareStatement(CassandraConnection.java:301) [junit] at org.apache.cassandra.cql.jdbc.PreparedStatementTest.testUtf8(PreparedStatementTest.java:114) [junit] [junit] [junit] Testcase: testAscii(org.apache.cassandra.cql.jdbc.PreparedStatementTest): Caused an ERROR [junit] org.apache.cassandra.cql.jdbc.CassandraPreparedStatement cannot be cast to java.lang.Comparable [junit] java.lang.ClassCastException: org.apache.cassandra.cql.jdbc.CassandraPreparedStatement cannot be cast to java.lang.Comparable [junit] at java.util.concurrent.ConcurrentSkipListMap.comparable(ConcurrentSkipListMap.java:621) [junit] at java.util.concurrent.ConcurrentSkipListMap.doPut(ConcurrentSkipListMap.java:862) [junit] at java.util.concurrent.ConcurrentSkipListMap.putIfAbsent(ConcurrentSkipListMap.java:1893) [junit] at java.util.concurrent.ConcurrentSkipListSet.add(ConcurrentSkipListSet.java:202) [junit] at org.apache.cassandra.cql.jdbc.CassandraConnection.prepareStatement(CassandraConnection.java:301) [junit] at org.apache.cassandra.cql.jdbc.PreparedStatementTest.testAscii(PreparedStatementTest.java:174) [junit] [junit] [junit] Testcase: testLong(org.apache.cassandra.cql.jdbc.PreparedStatementTest): Caused an ERROR [junit] org.apache.cassandra.cql.jdbc.CassandraPreparedStatement cannot be cast to java.lang.Comparable [junit] java.lang.ClassCastException: org.apache.cassandra.cql.jdbc.CassandraPreparedStatement cannot be cast to java.lang.Comparable [junit] at java.util.concurrent.ConcurrentSkipListMap.comparable(ConcurrentSkipListMap.java:621) [junit] at java.util.concurrent.ConcurrentSkipListMap.doPut(ConcurrentSkipListMap.java:862) [junit] at java.util.concurrent.ConcurrentSkipListMap.putIfAbsent(ConcurrentSkipListMap.java:1893) [junit] at java.util.concurrent.ConcurrentSkipListSet.add(ConcurrentSkipListSet.java:202) [junit] at org.apache.cassandra.cql.jdbc.CassandraConnection.prepareStatement(CassandraConnection.java:301) [junit] at org.apache.cassandra.cql.jdbc.PreparedStatementTest.testLong(PreparedStatementTest.java:233) [junit] [junit] [junit] Testcase: testInteger(org.apache.cassandra.cql.jdbc.PreparedStatementTest): Caused an ERROR [junit] org.apache.cassandra.cql.jdbc.CassandraPreparedStatement cannot be cast to java.lang.Comparable [junit] java.lang.ClassCastException: org.apache.cassandra.cql.jdbc.CassandraPreparedStatement cannot be cast to java.lang.Comparable [junit] at java.util.concurrent.ConcurrentSkipListMap.comparable(ConcurrentSkipListMap.java:621) [junit] at java.util.concurrent.ConcurrentSkipListMap.doPut(ConcurrentSkipListMap.java:862) [junit] at java.util.concurrent.ConcurrentSkipListMap.putIfAbsent(ConcurrentSkipListMap.java:1893) [junit] at java.util.concurrent.ConcurrentSkipListSet.add(ConcurrentSkipListSet.java:202) [junit] at org.apache.cassandra.cql.jdbc.CassandraConnection.prepareStatement(CassandraConnection.java:301) [junit] at org.apache.cassandra.cql.jdbc.PreparedStatementTest.testInteger(PreparedStatementTest.java:294) [junit] [junit] [junit] Testcase: testParamSubstitution(org.apache.cassandra.cql.jdbc.PreparedStatementTest): Caused an ERROR [junit] org.apache.cassandra.cql.jdbc.CassandraPreparedStatement cannot be cast to java.lang.Comparable [junit] java.lang.ClassCastException: org.apache.cassandra.cql.jdbc.CassandraPreparedStatement cannot be cast to java.lang.Comparable [junit] at java.util.concurrent.ConcurrentSkipListMap.comparable(ConcurrentSkipListMap.java:621) [junit] at java.util.concurrent.ConcurrentSkipListMap.doPut(ConcurrentSkipListMap.java:862) [junit] at java.util.concurrent.ConcurrentSkipListMap.putIfAbsent(ConcurrentSkipListMap.java:1893) [junit] at java.util.concurrent.ConcurrentSkipListSet.add(ConcurrentSkipListSet.java:202) [junit] at org.apache.cassandra.cql.jdbc.CassandraConnection.prepareStatement(CassandraConnection.java:301) [junit] at org.apache.cassandra.cql.jdbc.PreparedStatementTest.testParamSubstitution(PreparedStatementTest.java:357) [junit] [junit] [junit] Test org.apache.cassandra.cql.jdbc.PreparedStatementTest FAILED BUILD FAILED <https://builds.apache.org/job/Cassandra/ws/cassandra/build.xml>:1086: The following error occurred while executing this line: <https://builds.apache.org/job/Cassandra/ws/cassandra/build.xml>:1068: Some driverunit test(s) failed. Total time: 19 minutes 27 seconds Build step 'Invoke Ant' marked build as failure [TASKS] Skipping publisher since build result is FAILURE Publishing Javadoc Archiving artifacts Recording test results Updating CASSANDRA-3244