Details
-
Improvement
-
Status: Resolved
-
Normal
-
Resolution: Duplicate
-
None
Description
On Mac 10.9.5, Java 1.7, latest cassandra trunk build is good, but tests have 14 errors/203 warnings.Few test error snippets below.
[junit] Testcase: testRowTombstoneObservedBeforePurging(org.apache.cassandra.db.compaction.CompactionsPurgeTest): FAILED [junit] expected:<0> but was:<1> [junit] junit.framework.AssertionFailedError: expected:<0> but was:<1> [junit] at org.apache.cassandra.db.compaction.CompactionsPurgeTest.testRowTombstoneObservedBeforePurging(CompactionsPurgeTest.java:413) [junit] [junit] [junit] Test org.apache.cassandra.db.compaction.CompactionsPurgeTest FAILED [junit] Testcase: org.apache.cassandra.db.compaction.LeveledCompactionStrategyTest:testNewRepairedSSTable: Caused an ERROR [junit] Timeout occurred. Please note the time in the report does not reflect the time until the timeout. [junit] junit.framework.AssertionFailedError: Timeout occurred. Please note the time in the report does not reflect the time until the timeout. [junit] at java.lang.Thread.run(Thread.java:745) [junit] [junit] [junit] Test org.apache.cassandra.db.compaction.LeveledCompactionStrategyTest FAILED (timeout) [junit] ERROR 19:15:35 Invocation of function 'cql_test_keyspace.function_10 : (int, int) -> int' failed [junit] java.lang.RuntimeException: null [junit] at org.apache.cassandra.cql3.udf.gen.Ccql_test_keyspacefunction_10_80.executeInternal(Ccql_test_keyspacefunction_10_80.java) [na:na] [junit] at org.apache.cassandra.cql3.udf.gen.Ccql_test_keyspacefunction_10_80.execute(Ccql_test_keyspacefunction_10_80.java) [na:na] [junit] at org.apache.cassandra.cql3.functions.UDAggregate$2.addInput(UDAggregate.java:156) [main/:na] [junit] at org.apache.cassandra.cql3.selection.AggregateFunctionSelector.addInput(AggregateFunctionSelector.java:47) [main/:na] [junit] at org.apache.cassandra.cql3.selection.Selection$SelectionWithProcessing$1.addInputRow(Selection.java:505) [main/:na] [junit] at org.apache.cassandra.cql3.selection.Selection$ResultSetBuilder.newRow(Selection.java:315) [main/:na] [junit] at org.apache.cassandra.cql3.statements.SelectStatement.processColumnFamily(SelectStatement.java:646) [main/:na] [junit] at org.apache.cassandra.cql3.statements.SelectStatement.process(SelectStatement.java:580) [main/:na] [junit] at org.apache.cassandra.cql3.statements.SelectStatement.processResults(SelectStatement.java:251) [main/:na] [junit] at org.apache.cassandra.cql3.statements.SelectStatement.executeInternal(SelectStatement.java:275) [main/:na] [junit] at org.apache.cassandra.cql3.statements.SelectStatement.executeInternal(SelectStatement.java:72) [main/:na] [junit] at org.apache.cassandra.cql3.QueryProcessor.executeOnceInternal(QueryProcessor.java:362) [main/:na] [junit] at org.apache.cassandra.cql3.CQLTester.execute(CQLTester.java:470) [classes/:na] [junit] at org.apache.cassandra.cql3.CQLTester.assertInvalidMessage(CQLTester.java:638) [classes/:na] [junit] at org.apache.cassandra.cql3.CQLTester.assertInvalid(CQLTester.java:629) [classes/:na] [junit] at org.apache.cassandra.cql3.AggregationTest.testJavaAggregateFailingFuncs(AggregationTest.java:456) [classes/:na] [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_71] [junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_71] [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_71] [junit] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_71] [junit] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) [junit-4.6.jar:na] [junit] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) [junit-4.6.jar:na] [junit] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) [junit-4.6.jar:na] [junit] at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) [junit-4.6.jar:na] [junit] at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) [junit-4.6.jar:na] [junit] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) [junit-4.6.jar:na] [junit] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) [junit-4.6.jar:na] [junit] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:44) [junit-4.6.jar:na] [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180) [junit-4.6.jar:na] [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41) [junit-4.6.jar:na] [junit] at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173) [junit-4.6.jar:na] [junit] at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) [junit-4.6.jar:na] [junit] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) [junit-4.6.jar:na] [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:220) [junit-4.6.jar:na] [junit] at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39) [junit-4.6.jar:na] [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:532) [ant-junit.jar:na] [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1179) [ant-junit.jar:na] [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1030) [ant-junit.jar:na] [junit] ERROR 19:15:35 Invocation of function 'cql_test_keyspace.function_12 : (int) -> text' failed [junit] java.lang.RuntimeException: null [junit] ERROR 19:15:37 Fatal exception in thread Thread[OptionalTasks:1,5,main] [junit] java.lang.RuntimeException: java.lang.RuntimeException: Error setting schema for test (query was: DROP FUNCTION IF EXISTS cql_test_keyspace.function_38(int, int)) [junit] at org.apache.cassandra.cql3.CQLTester$1.run(CQLTester.java:187) ~[classes/:na] [junit] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) ~[na:1.7.0_71] [junit] at java.util.concurrent.FutureTask.run(FutureTask.java:262) ~[na:1.7.0_71] [junit] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) ~[na:1.7.0_71] [junit] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) ~[na:1.7.0_71] [junit] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) ~[na:1.7.0_71] [junit] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_71] [junit] at java.lang.Thread.run(Thread.java:745) [na:1.7.0_71] [junit] Caused by: java.lang.RuntimeException: Error setting schema for test (query was: DROP FUNCTION IF EXISTS cql_test_keyspace.function_38(int, int)) [junit] at org.apache.cassandra.cql3.CQLTester.schemaChange(CQLTester.java:438) ~[classes/:na] [junit] at org.apache.cassandra.cql3.CQLTester.access$000(CQLTester.java:64) ~[classes/:na] [junit] at org.apache.cassandra.cql3.CQLTester$1.run(CQLTester.java:163) ~[classes/:na] [junit] ... 7 common frames omitted [junit] Caused by: java.lang.RuntimeException: org.apache.cassandra.exceptions.InvalidRequestException: Function 'cql_test_keyspace.function_38' still referenced by [cql_test_keyspace.aggregate_39 : (int) -> int] [junit] ERROR 19:22:26 [repair #1b921bf0-6261-4cfe-b379-fc80a73fc0b9] session completed with the following error [junit] java.io.IOException: Endpoint /127.0.0.2 died [junit] at org.apache.cassandra.repair.RepairSession.convict(RepairSession.java:330) ~[main/:na] [junit] at org.apache.cassandra.repair.RepairSessionTest.testConviction(RepairSessionTest.java:58) [classes/:na] [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_71] [junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_71] [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_71] [junit] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_71] [junit] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) [junit-4.6.jar:na] [junit] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) [junit-4.6.jar:na] [junit] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) [junit-4.6.jar:na] [junit] at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) [junit-4.6.jar:na] [junit] at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) [junit-4.6.jar:na] [junit] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) [junit-4.6.jar:na] [junit] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) [junit-4.6.jar:na] [junit] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:44) [junit-4.6.jar:na] [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180) [junit-4.6.jar:na] [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41) [junit-4.6.jar:na] [junit] at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173) [junit-4.6.jar:na] [junit] at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) [junit-4.6.jar:na] [junit] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) [junit-4.6.jar:na] [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:220) [junit-4.6.jar:na] [junit] at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39) [junit-4.6.jar:na] [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:532) [ant-junit.jar:na] [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1179) [ant-junit.jar:na] [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1030) [ant-junit.jar:na] [junit] ERROR 19:22:26 [repair #1b921bf0-6261-4cfe-b379-fc80a73fc0b9] session completed with the following error [junit] java.io.IOException: Endpoint /127.0.0.2 died
Attachments
Issue Links
- duplicates
-
CASSANDRA-9093 testall should pass on trunk
- Resolved
-
CASSANDRA-9000 utests should pass on trunk
- Resolved