LP #1697700: X plugin testsuite not updated for Percona Server
Description
Environment
Activity

lpjirasync January 22, 2018 at 9:20 PM
**Comment from Launchpad by: Laurynas Biveinis on: 20-06-2017 02:34:48
Ubuntu Precise failure moved to bug 1698996

lpjirasync January 22, 2018 at 9:20 PM
**Comment from Launchpad by: Laurynas Biveinis on: 16-06-2017 16:31:35

lpjirasync January 22, 2018 at 9:20 PM
**Comment from Launchpad by: Laurynas Biveinis on: 15-06-2017 08:02:36
x.connection_tls_version fails on Ubuntu Precise, upstream too:
x.connection_tls_version w4 [ fail ]
Test ended at 2017-06-14 09:08:09
CURRENT_TEST: x.connection_tls_version
mysqltest: At line 43: command "$MYSQLXTEST --tls-version=TLSv1,TLSv1.2 $XTESTPARAMS 2>&1" failed
Output from before failure:
in main, line 0:ERROR: error:14077102:SSL routines:SSL23_GET_SERVER_HELLO:unsupported protocol (code 2026)
not ok
exec of '/mnt/workspace/mysql-5.7-param/BUILD_TYPE/release/Host/ubuntu-precise-64bit/build/rapid/plugin/x/mysqlxtest --port=13050 --tls-version=TLSv1,TLSv1.2 -u user5_mysqlx --password='auth_string' --file=/tmp/EdR5CJvY47/4/connection_tls_version.tmp --ssl-cipher='DHE-RSA-AES256-SHA' 2>&1' failed, error: 256, status: 1, errno: 0
Not sure if that needs fixing because of Precise being EOL'ed

lpjirasync January 22, 2018 at 9:20 PM
**Comment from Launchpad by: Laurynas Biveinis on: 15-06-2017 08:01:21
x.regression then fails the testcase check:
x.regression [ pass ] 6506
MTR's internal check of the test case 'x.regression' failed.
This means that the test case does not preserve the state that existed
before the test case was executed. Most likely the test case did not
do a proper clean-up. It could also be caused by the previous test run
by this thread, if the server wasn't restarted.
This is the diff of the states of the servers before and after the
test case was executed:
mysqltest: Logging to '/mnt/workspace/mysql-5.7-param/BUILD_TYPE/release/Host/ubuntu-zesty-64bit/build/mysql-test/var/tmp/check-mysqld_1.log'.
mysqltest: Results saved in '/mnt/workspace/mysql-5.7-param/BUILD_TYPE/release/Host/ubuntu-zesty-64bit/build/mysql-test/var/tmp/check-mysqld_1.result'.
mysqltest: Connecting to server localhost:13001 (socket /tmp/NYJBA6iqfc/mysqld.1.sock) as 'root', connection 'default', attempt 0 ...
mysqltest: ... Connected.
mysqltest: Start processing test commands from './include/check-testcase.test' ...
mysqltest: ... Done processing test commands.
— /mnt/workspace/mysql-5.7-param/BUILD_TYPE/release/Host/ubuntu-zesty-64bit/build/mysql-test/var/tmp/check-mysqld_1.result 2017-06-15 10:30:22.378105113 +0300
+++ /mnt/workspace/mysql-5.7-param/BUILD_TYPE/release/Host/ubuntu-zesty-64bit/build/mysql-test/var/tmp/check-mysqld_1.reject 2017-06-15 10:30:29.205820935 +0300
@@ -3114,12 +3114,12 @@
mysql.help_relation 0
mysql.host NULL
mysql.procs_priv 0
-mysql.tables_priv 3286698170
+mysql.tables_priv 562417445
mysql.time_zone 2420313365
mysql.time_zone_leap_second 3799112081
mysql.time_zone_name 2268956709
mysql.time_zone_transition 3895294076
mysql.time_zone_transition_type 168184411
-mysql.user 3283710450
+mysql.user 2300035176
Warnings:
Error 1146 Table 'mysql.host' doesn't exist
mysqltest: Result content mismatch
The fix is to backport the following from 8.0:
commit 8617d643bcaaab36155aef35b39afd60c3bf3f30
Author: Lukasz Kotula <lukasz.kotula@oracle.com>
Date: Thu Jan 26 11:29:16 2017 +0100
Fix for toggling x.regression
Description
===========
Creation of 'mysqlxsys' account in thread That calls plugin entry
Point is not possible, because it could be executed at the start mysqld.
When mysqld starts the SQL service is not accessable. The creation
of account was moved to a separate thread which races with 'mysql-test'
pre / post-check.
Fix
===
Plugin is going to be loaded by mysqltest script instead from MTRs
opt file. In this case we aren't in race with MTR.
RB: 15320
Reviewed-by: Andrzej Religa <andrzej.religa@oracle.com>

lpjirasync January 22, 2018 at 9:20 PM
**Comment from Launchpad by: Laurynas Biveinis on: 14-06-2017 08:19:24
x.connection_tls_version is a regression from bug 1660339
Details
Details
Assignee
Reporter

**Reported in Launchpad by Laurynas Biveinis last update 20-06-2017 02:34:48
The X plugin testsuite has not been checked to pass with Percona Server.
A run shows the following failures:
Failing test(s): x.binary_log x.regression x.performance_schema x.connection_tls_version