[
https://issues.apache.org/jira/browse/CASSANDRA-21172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18059334#comment-18059334
]
Dmitry Konstantinov commented on CASSANDRA-21172:
-------------------------------------------------
CI test run:
[https://pre-ci.cassandra.apache.org/job/cassandra-pipeline-debug/16/]
OOM killer example:
[https://pre-ci.cassandra.apache.org/job/cassandra-pipeline-debug/16/pipeline-overview/?selected-node=120]
{code:java}
13:52:53 [junit-timeout] Testsuite:
org.apache.cassandra.io.sstable.indexsummary.IndexSummaryTest-cassandra.testtag_IS_UNDEFINED
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec
13:52:53 [junit-timeout]
13:52:53 [junit-timeout] Testcase:
org.apache.cassandra.io.sstable.indexsummary.IndexSummaryTest:testLargeIndexSummary-cassandra.testtag_IS_UNDEFINED:
Caused an ERROR
13:52:53 [junit-timeout] Forked Java VM exited abnormally. Please note the
time in the report does not reflect the time until the VM exit.
13:52:53 [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.
13:52:53 [junit-timeout] at
jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
13:52:53 [junit-timeout] Test
org.apache.cassandra.io.sstable.indexsummary.IndexSummaryTest FAILED (crashed)
13:52:53 [junit-timeout] at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
{code}
{code:java}
13:56:10 + cat /sys/fs/cgroup/docker/memory.events
13:56:10 low 0
13:56:10 high 0
13:56:10 max 3120
13:56:10 oom 1
13:56:10 oom_kill 1
13:56:10 oom_group_kill 0
{code}
> Improve diagnostics of OOM kills and test timeouts for JUnit runs on CI
> -----------------------------------------------------------------------
>
> Key: CASSANDRA-21172
> URL: https://issues.apache.org/jira/browse/CASSANDRA-21172
> Project: Apache Cassandra
> Issue Type: Task
> Components: CI, Test/unit
> Reporter: Dmitry Konstantinov
> Assignee: Dmitry Konstantinov
> Priority: Normal
> Fix For: 5.x
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> * JUnit starts a background forked JVM and it can be killed by Linux OOM
> killer. We can check if it happens to simplify failed junit tests
> troubleshooting
> * JUnit can print a thread dump if a unit test timed out (we have this logic
> in the code but it does not work by some reason)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]