#1618 koji_builder: try and allow coredumps on buildhw-a64 builders
Merged a year ago by kevin. Opened a year ago by kevin.
fedora-infra/ kevin/ansible coredumps-for-buildhw-a64  into  main

@@ -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

@@ -0,0 +1,2 @@ 

+ [Scope]

+ LimitCORE=infinity

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

isn't this missing a when: directive for the second task?

with that fixed, I'd be +1 FBR for this.

rebased onto f48db27a788c8435f9fb32aeddd994884bc2d1f1

a year ago

Perhaps @zbyszek could confirm that I didn't screw up anything here and it will indeed allow core dumps in systemd-nspawn/mock containers?

small fixes:

template: src=nspawn-override.conf dest=/etc/systemd/system/machine-.scope.d/80-infra.conf mode=0644

rebased onto 99714dafeddc1af5ece5e762cf8667faf8797faf

a year ago

Good catch. Fix for stray space added.

rebased onto c6d175f

a year ago

rebased onto c6d175f

a year ago

Pull-Request has been merged by kevin

a year ago