Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-27775

Some Galera tests fail on FreeBSD due to "unknown signal 9"

    XMLWordPrintable

Details

    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
      

      Attachments

        Activity

          People

            jplindst Jan Lindström (Inactive)
            elenst Elena Stepanova
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.