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:
parent
1a53796c45
commit
c6d175f414
2 changed files with 21 additions and 0 deletions
|
@ -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
|
||||
|
|
2
roles/koji_builder/templates/nspawn-override.conf
Normal file
2
roles/koji_builder/templates/nspawn-override.conf
Normal file
|
@ -0,0 +1,2 @@
|
|||
[Scope]
|
||||
LimitCORE=infinity
|
Loading…
Add table
Add a link
Reference in a new issue