Fix ulimit/core_pattern for Ubuntu 20+ hosts - #4462
Merged
Merged
Conversation
On Ubuntu 22+, kernel.core_pattern defaults to the apport pipe handler (|/usr/share/apport/apport ...). The JDK CreateCoredumpOnCrash test rejects any pipe-based handler at the process level, causing the test to throw regardless of the ulimit -c value set in the shell. Two roles updated, both conditioned on Ubuntu 22+ with no architecture restriction so all arches (x86_64, aarch64, ppc64le, s390x, riscv64) are covered: adopt_syscfg: override kernel.core_pattern to 'core.%p' via sysctl, mirroring the existing fix already applied for RedHat 8. Jenkins_User: add soft and hard limits.conf entries for core, nofile and nproc. The existing block only covered RedHat/CentOS 6-7 on x86_64 and only set hard limits; soft limits are also required as processes inherit the soft limit unless they explicitly raise it. Co-authored-by: IBM Bob <no-reply@ibm.com>
steelhead31
force-pushed
the
fix_issue_4461
branch
from
July 20, 2026 16:37
ab4e609 to
ac37924
Compare
steelhead31
marked this pull request as ready for review
July 21, 2026 09:18
andrew-m-leonard
approved these changes
Jul 21, 2026
karianna
approved these changes
Jul 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #4461
Fix is required to both static docker nodes, and regular machines..
Fixes CreateCoredumpOnCrash JDK test failure where the apport pipe handler caused the test to throw regardless of ulimit -c value.
Checklist
VPC Completed OK: https://ci.adoptium.net/job/VagrantPlaybookCheck/2291/
Playbooks Complete Locally OK: ( with adoptopenjdk tags.. )