[MDEV-27775] Some Galera tests fail on FreeBSD due to "unknown signal 9" Created: 2022-02-08  Updated: 2022-03-22  Resolved: 2022-03-22

Status: Closed
Project: MariaDB Server
Component/s: Galera, Platform FreeBSD, Tests
Affects Version/s: 10.2, 10.3, 10.4, 10.5, 10.6, 10.7
Fix Version/s: 10.3.35, 10.4.25, 10.5.16, 10.6.8, 10.7.4

Type: Bug Priority: Major
Reporter: Elena Stepanova Assignee: Jan Lindström (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates

 Description   

galera.galera_gra_log 'innodb'           [ fail ]
        Test ended at 2022-02-08 14:32:06
 
CURRENT_TEST: galera.galera_gra_log
kill: unknown signal 9; valid signals:
HUP INT QUIT ILL TRAP ABRT EMT FPE KILL BUS SEGV SYS PIPE ALRM TERM URG
STOP TSTP CONT CHLD TTIN TTOU IO XCPU XFSZ VTALRM PROF WINCH INFO USR1 USR2
mysqltest: In included file "./include/wait_until_disconnected.inc": 
included from /usr/home/ec2-user/mariadb-enterprise-10.5.14-10-FreeBSD13.0-x86_64/mysql-test/suite/galera/include/kill_galera.inc at line 28:
included from /usr/home/ec2-user/mariadb-enterprise-10.5.14-10-FreeBSD13.0-x86_64/mysql-test/suite/galera/t/galera_gra_log.test at line 40:
At line 21: Server failed to disappear

This seems to do the trick for 10.5 (for previous versions the patch needs to be different, but they also do kill -9).

diff --git a/mysql-test/suite/galera/include/kill_galera.inc b/mysql-test/suite/galera/include/kill_galera.inc
index 98ebf4ff35d..56118df84f9 100644
--- a/mysql-test/suite/galera/include/kill_galera.inc
+++ b/mysql-test/suite/galera/include/kill_galera.inc
@@ -2,7 +2,7 @@
 
 if (!$kill_signal)
 {
---let $kill_signal = 9
+--let $kill_signal = KILL
 }
 
 # Write file to make mysql-test-run.pl expect the crash, but don't start it


Generated at Thu Feb 08 09:55:29 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.