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

Jacek Lewandowski commented on CASSANDRA-17819:
-----------------------------------------------

I've just looked into those OOMs, sorry, yesterday I was probably too tired to 
read them...
 
{noformat}
[junit-timeout] Testsuite: org.apache.cassandra.distributed.test.SchemaTest 
[junit-timeout] Exception in thread "main" java.lang.OutOfMemoryError: Java 
heap space [junit-timeout] at java.util.Arrays.copyOf(Arrays.java:3332) 
[junit-timeout] at 
java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:124)
 [junit-timeout] at 
java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:448) 
[junit-timeout] at java.lang.StringBuffer.append(StringBuffer.java:270) 
[junit-timeout] at 
org.apache.cassandra.CassandraBriefJUnitResultFormatter.endTestSuite(CassandraBriefJUnitResultFormatter.java:174)
 [junit-timeout] at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.fireEndTestSuite(JUnitTestRunner.java:853)
 [junit-timeout] at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:577)
 [junit-timeout] at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)
 [junit-timeout] at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1041)
 [junit-timeout] Testsuite: org.apache.cassandra.distributed.test.SchemaTest 
[junit-timeout] Testsuite: org.apache.cassandra.distributed.test.SchemaTest 
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec 
[junit-timeout] [junit-timeout] Testcase: 
org.apache.cassandra.distributed.test.SchemaTest:readRepair: Caused an ERROR 
[junit-timeout] Forked Java VM exited abnormally. Please note the time in the 
report does not reflect the time until the VM exit. [junit-timeout] 
junit.framework.AssertionFailedError: Forked Java VM exited abnormally. Please 
note the time in the report does not reflect the time until the VM exit. 
[junit-timeout] at java.util.Vector.forEach(Vector.java:1277)
{noformat}

1. both OOMs are identical
2. they happen for {{readRepair}} test, which is completely unrelated to the 
change
3. they indicate the problem in the code which generates JUnit report after the 
test is done... I suppose the log flooding with more log messages may have 
something to do with it - there is nothing suggesting there is something beyond 
that 

I'll fix the log flooding problem


> Test failure: org.apache.cassandra.distributed.test.SchemaTest.schemaReset
> --------------------------------------------------------------------------
>
>                 Key: CASSANDRA-17819
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17819
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Test/dtest/java
>            Reporter: Andres de la Peña
>            Assignee: Jacek Lewandowski
>            Priority: Normal
>             Fix For: 4.0.x, 4.1-beta, 4.x
>
>          Time Spent: 5.5h
>  Remaining Estimate: 0h
>
> The test 
> {{{}org.apache.cassandra.distributed.test.SchemaTest.schemaReset{}}}, 
> recently introduced by CASSANDRA-17658, is flaky on 4.1 and trunk:
>  * 4.1: 
> [https://ci-cassandra.apache.org/job/Cassandra-4.1/134/testReport/org.apache.cassandra.distributed.test/SchemaTest/schemaReset_2/]
>  * trunk: 
> [https://ci-cassandra.apache.org/job/Cassandra-trunk/1265/testReport/org.apache.cassandra.distributed.test/SchemaTest/schemaReset_2/]
> {code:java}
> Error Message
> Condition with lambda expression in 
> org.apache.cassandra.distributed.test.SchemaTest that uses 
> org.apache.cassandra.distributed.Cluster was not fulfilled within 1 minutes.
> Stacktrace
> org.awaitility.core.ConditionTimeoutException: Condition with lambda 
> expression in org.apache.cassandra.distributed.test.SchemaTest that uses 
> org.apache.cassandra.distributed.Cluster was not fulfilled within 1 minutes.
>       at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:165)
>       at 
> org.awaitility.core.CallableCondition.await(CallableCondition.java:78)
>       at 
> org.awaitility.core.CallableCondition.await(CallableCondition.java:26)
>       at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:895)
>       at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:864)
>       at 
> org.apache.cassandra.distributed.test.SchemaTest.schemaReset(SchemaTest.java:115)
>       at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>       at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> Standard Output
> INFO  [main] <main> 2022-08-15 15:02:14,783 Reflections.java:219 - 
> Reflections took 1873 ms to scan 8 urls, producing 1754 keys and 6912 values
> INFO  [main] <main> 2022-08-15 15:02:16,407 Reflections.java:219 - 
> Reflections took 1561 ms to scan 8 urls, producing 1754 keys and 6912 values
> Node id topology:
> node 1: dc = datacenter0, rack = rack0
> node 2: dc = datacenter0, rack = rack0
> Configured node count: 2, nodeIdTopology size: 2
> DEBUG [main] node1 2022-08-15 15:02:17,554 InternalLoggerFactory.ja
> ...[truncated 1761288 chars]...
> cutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
>       at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>       at 
> io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
>       at java.lang.Thread.run(Thread.java:748)
> INFO  [node2_isolatedExecutor:3] node2 2022-08-15 15:03:52,096 
> MessagingService.java:519 - Waiting for messaging service to quiesce
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to