Bug #96526 At least some of MTR clone suite tests do not work with an X-less build
Submitted: 14 Aug 2019 7:20 Modified: 4 Sep 2019 4:59
Reporter: Laurynas Biveinis (OCA) Email Updates:
Status: Won't fix Impact on me:
None 
Category:MySQL Server: Tests Severity:S7 (Test Cases)
Version:8.0.17 OS:Any
Assigned to: CPU Architecture:Any

[14 Aug 2019 7:20] Laurynas Biveinis
Description:
Build server without X plugin, then

[100%] clone.remote_basic_replace                [ fail ]
        Test ended at 2019-08-14 10:17:42

CURRENT_TEST: clone.remote_basic_replace
mysqltest: At line 72: Query 'let $MYSQLX_SOCKET= `SELECT @@mysqlx_socket`' failed.
ERROR 1193 (HY000): Unknown system variable 'mysqlx_socket'
In included file /Users/laurynas/percona/mysql-8.0/mysql-test/suite/clone/include/clone_connection_begin.inc: 73
included from /Users/laurynas/percona/mysql-8.0/mysql-test/suite/clone/t/local_basic.test: 4
included from /Users/laurynas/percona/mysql-8.0/mysql-test/suite/clone/t/remote_basic_replace.test: 24

This is more of the same of bug 95916.

How to repeat:
CMake with -DWITH_MYSQLX=OFF
./mtr --suite=clone

Suggested fix:
Workaround is have_mysqlx_plugin.inc, but it looks like X plugin presence is not related to clone functionality testing at all, thus a proper fix would be making clone suite work with or without X
[14 Aug 2019 7:37] Laurynas Biveinis
See also bug 96527
[14 Aug 2019 10:04] MySQL Verification Team
Hello Laurynas,

Thank you for the report and feedback!

regards,
Umesh
[4 Sep 2019 4:59] Erlend Dahl
See

Bug#96527 group_replication.gr_clone_integration_* tests break on X-less build