[MDEV-31685] MariaDB 10.4.30 testsuite: No option named 'plugin-dir Created: 2023-07-14  Updated: 2023-11-20

Status: Open
Project: MariaDB Server
Component/s: Tests
Affects Version/s: 10.4.30
Fix Version/s: 10.5

Type: Bug Priority: Major
Reporter: Reindl Harald Assignee: Vicențiu Ciorbaru
Resolution: Unresolved Votes: 0
Labels: affects-tests
Environment:

Linux, from source built RPM


Issue Links:
Relates
relates to MDEV-21691 mtr fails to start with "No option na... Open

 Description   

MariaDB 10.4.30
No option named 'plugin-dir' in group 'mysqld.1' at lib/My/ConfigFactory.pm line 349

with 10.4 the option 'plugin-dir' was abviously removed but how can it be that it's still used in shipped scripts after 30 bugfix-releases - tells me nobody at all did run the test-suite for a long time

(yes, i am about to upgrade from 10.3 to 10.4 in the hope most bugs are already gone after the long timeframe 10.4 is out)

[root@testserver:~]$ mysql-test.sh
Logging: ./mysql-test-run.pl  --parallel=4 --max-test-fail=0 --mysqld=--binlog-format=row --force --suites=main-,binlog-,csv-,funcs_1-,funcs_2-,handler-,heap-,maria-,optimizer_unfixed_bugs-,parts-,innodb-,roles-,rpl-,sys_vars-,unit-,vcol- --skip-test-list=/var/lib/mysql/skip-tests.txt
VS config:
Using binlog format 'row'
vardir: /usr/share/mysql-test/var
Removing old var directory...
Couldn't remove directory '/usr/share/mysql-test/var': Device or resource busy at /usr/share/perl5/File/Find.pm line 510.
Creating var directory '/usr/share/mysql-test/var'...
Checking supported features...
MariaDB Version 10.4.30-MariaDB
 - SSL connections supported
Using suites: main-,binlog-,csv-,funcs_1-,funcs_2-,handler-,heap-,maria-,optimizer_unfixed_bugs-,parts-,innodb-,roles-,rpl-,sys_vars-,unit-,vcol-
Collecting tests...
No option named 'plugin-dir' in group 'mysqld.1' at lib/My/ConfigFactory.pm line 349.
 
[root@testserver:~]$ cat /usr/share/mysql-test/lib/My/ConfigFactory.pm | grep plugin
  $config->insert('mysqld', "loose-skip-plugin-$_" => undef) for (@::optional_plugins);
 { 'plugin-dir' => sub { $::plugindir } },



 Comments   
Comment by Reindl Harald [ 2023-08-07 ]

patched it on my own because i don't rollout version-upgrades without any tests - the qeuestion how this can exist in a .30 patch-release still remains because you simply can't tell me that upstream did run the tests at all for years

[harry@srv-rhsoft:/downloads]$ cat mariadb-10.4-plugindir.patch
— mariadb-10.4.30-original/mysql-test/include/default_client.cnf 2023-06-05 17:28:08.000000000 +0200
+++ mariadb-10.4.30-patched/mysql-test/include/default_client.cnf 2023-08-07 14:44:52.201766156 +0200
@@ -4,7 +4,6 @@
#

[client]
-plugin-dir=@mysqld.1.plugin-dir

[mysql]
default-character-set=latin1
[harry@srv-rhsoft:/downloads]$

Generated at Thu Feb 08 10:25:43 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.