Skip to content

Test suite became unreliable on Jenkins: OOM kills QEMU, OpenJDK memory allocation failure aborts the test suite run

OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x000000073d700000, 16777216, 0) failed; error='Cannot allocate memory' (errno=12)

For example:

Initial investigation:

  • No trace of this on the Jenkins master (jenkins.log, Journal) so the problem must be on the isotesters.
  • It’s hard to investigate this on isotesters as we reboot them next time a test job is scheduled on them. Will need to make some logs persist reboots.
  • Every time it happens, it seems that the last action of the test suite used Sikuli (Java).
  • The Java VM has its own internal memory management, that can be tweaked in various ways. But the error message looks like the java process asked the OS to allocate some memory and its request was denied.

Ideas:

  • Check if I see this on my local Jenkins.
  • Compare RAM allocated to isotesters on my local Jenkins vs. lizard.
  • It could simply be that Cucumber 2.4.0 or Jenkins slave 2.x use more RAM → bump isotesters memory a bit and see?

Related issues

Original created by @intrigeri on 17088 (Redmine)

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information