diff options
author | Ilya Maximets <i.maximets@samsung.com> | 2019-05-14 19:23:59 +0300 |
---|---|---|
committer | Ilya Maximets <i.maximets@samsung.com> | 2019-05-16 10:57:48 +0300 |
commit | 3aa86526848a7e903177cd9710253e8127eddb73 (patch) | |
tree | 83c754c6272dc86d3a5cc286365af9a65f6efa05 | |
parent | db0ef1bf4748770363d7f83044058e926733838d (diff) | |
download | openvswitch-3aa86526848a7e903177cd9710253e8127eddb73.tar.gz |
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 <aconole@redhat.com>
Acked-by: Ben Pfaff <blp@ovn.org>
Signed-off-by: Ilya Maximets <i.maximets@samsung.com>
-rw-r--r-- | .cirrus.yml | 1 |
1 files changed, 1 insertions, 0 deletions
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: |