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

Let's just disable coredumps in 'prepare_script'.
This fixes frequent testsuite failures on FreeBSD 12.

Signed-off-by: Ilya Maximets <[email protected]>
---
 .cirrus.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.cirrus.yml b/.cirrus.yml
index 8b289ad51..164bb6c3e 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:
-- 
2.17.1

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to