You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@cassandra.apache.org by "netudima (via GitHub)" <gi...@apache.org> on 2026/02/18 11:40:29 UTC

[PR] [CASSANDRA-21172][trunk] Add test container memory events printing to check if Linux OOM killer was active, fix thread dump printing on junit test timeout [cassandra]

netudima opened a new pull request, #4625:
URL: https://github.com/apache/cassandra/pull/4625

   Add test container memory events printing to check if Linux OOM killer was active, fix thread dump printing on junit test timeout
   
   Process.pid() API is available since JDK9
   
   patch by Dmitry Konstantinov; reviewed by TBD for CASSANDRA-21172
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org


Re: [PR] [CASSANDRA-21172][trunk] Add test container memory events printing to check if Linux OOM killer was active, fix thread dump printing on junit test timeout [cassandra]

Posted by "netudima (via GitHub)" <gi...@apache.org>.
netudima closed pull request #4625: [CASSANDRA-21172][trunk] Add test container memory events printing to check if Linux OOM killer was active, fix thread dump printing on junit test timeout
URL: https://github.com/apache/cassandra/pull/4625


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org


Re: [PR] [CASSANDRA-21172][trunk] Add test container memory events printing to check if Linux OOM killer was active, fix thread dump printing on junit test timeout [cassandra]

Posted by "michaelsembwever (via GitHub)" <gi...@apache.org>.
michaelsembwever commented on code in PR #4625:
URL: https://github.com/apache/cassandra/pull/4625#discussion_r2823731438


##########
.jenkins/Jenkinsfile:
##########
@@ -434,6 +434,10 @@ def test(command, cell) {
             if (!cell.step.startsWith("microbench")) {
               junit testResults: "test/**/TEST-*.xml,test/**/cqlshlib*.xml,test/**/nosetests*.xml", testDataPublishers: [[$class: 'StabilityTestDataPublisher']]
             }
+            // check if we had Linux OOM killer active within the test container which could kill forked JUnit JVM processes
+             sh """
+                cat /sys/fs/cgroup/docker/memory.events || true
+              """
             sh """

Review Comment:
   nit: would this be a bit cleaner ? 
   ```suggestion
                sh """
                   echo "docker memory/oomkiller debug:"
                   cat /sys/fs/cgroup/docker/memory.events || true
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org