From 6d414025da0cfd51d24e7ad8dae828578285ff19 Mon Sep 17 00:00:00 2001 From: Ilya Maximets Date: Tue, 14 May 2019 19:23:59 +0300 Subject: cirrus: Disable coredumps on FreeBSD. Some tests uses 'kill -SEGV' to simulate segfault of a child process. This causes test failures on CirrusCI because process hangs in DL state for more than 10 seconds: ./daemon-py.at:69: kill -SEGV $child daemon-py.at:69: waiting while kill -0 $child... daemon-py.at:69: wait failed after 10 seconds ./ovs-macros.at:219: hard failure Testing shows that on CirrusCI with FreeBSD 11.2 coredump takes 4+ seconds and with FreeBSD 12.0 it takes 8+ seconds for successful runs and fails the testsuite frequently. It's hard to determine the root cause, but most probably it happens because of overloaded CirrusCI community cluster. Let's just disable coredumps in 'prepare_script'. This makes no harm because we can't take them out of CI anyway. Acked-by: Aaron Conole Acked-by: Ben Pfaff Signed-off-by: Ilya Maximets --- .cirrus.yml | 1 + 1 file changed, 1 insertion(+) (limited to '.cirrus.yml') diff --git a/.cirrus.yml b/.cirrus.yml index c71a0a249..eb6af0a71 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -16,6 +16,7 @@ freebsd_build_task: COMPILER: clang prepare_script: + - sysctl -w kern.coredump=0 - pkg install -y ${DEPENDENCIES} configure_script: -- cgit v1.2.1