koji_builder: try and allow coredumps on buildhw-a64 builders

We want to get core dumps from these builders in order to try and track
down livemedia failures in python with SIGILL.
https://bugzilla.redhat.com/show_bug.cgi?id=2247319
We just enable this on those builders for now and we set it so it is the
limit for the systemd-nspawn containers that mock uses.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2023-11-01 12:08:10 -07:00 committed by kevin
parent 1a53796c45
commit c6d175f414
2 changed files with 21 additions and 0 deletions

View file

@ -384,3 +384,22 @@
tags:
- koji_builder
- koji_builder/osbuildapi
- name: create override dir for systemd-nspawn containers config
file:
state: directory
owner: root
group: root
mode: 0755
path: /etc/systemd/system/machine-.scope.d
when: inventory_hostname.startswith(('buildhw-a64'))
tags:
- koji_builder
- koji_builder/nspawn
- name: create override config for systemd-nspawn containers to allow coredumps
template: src=nspawn-override.conf dest=/etc/systemd/system/machine-.scope.d/80-infra.conf mode=0644
when: inventory_hostname.startswith(('buildhw-a64'))
tags:
- koji_builder
- koji_builder/nspawn

View file

@ -0,0 +1,2 @@
[Scope]
LimitCORE=infinity