When I packaged 10.4 for Debian back in July 2019 based on version 10.4.6 I did not see any issues in starting the mysql-test-run. Proof: https://salsa.debian.org/mariadb-team/mariadb-10.4/-/jobs/241143
However, now when imported 10.4.12 the test suite started to fail with:
root@7ed9ad728b3e:/usr/share/mysql/mysql-test# perl -I. ./mysql-test-run.pl --suite=main --vardir=$WORKDIR/var --tmpdir=$WORKDIR/tmp \
|
> --parallel=auto --skip-rpl \
|
> --force
|
Logging: ./mysql-test-run.pl --suite=main --vardir=/build/var --tmpdir=/build/tmp --parallel=auto --skip-rpl --force
|
vardir: /build/var
|
Removing old var directory...
|
Creating var directory '/build/var'...
|
Checking supported features...
|
Can't exec "patch": No such file or directory at ./mysql-test-run.pl line 2152.
|
MariaDB Version 10.4.12-MariaDB-1
|
- SSL connections supported
|
- binaries built with wsrep patch
|
Using suites: main
|
Collecting tests...
|
No option named 'plugin-dir' in group 'mysqld.1' at lib/My/ConfigFactory.pm line 349.
|
I can reproduce this locally and it is also visible in CI: https://salsa.debian.org/mariadb-team/mariadb-10.4/-/jobs/553231
Please advice what might be wrong here and what might have changed in upstream regarding mtr and plugin_dir handling.
I checked the git history of include/plugin.defs and mysql-test-run.pl and lib/v1/mysql-test-run.pl and main/variables* but I don't spot anything that I think could be related. Remotely maybe 4fef644303ecdf6ea88ea40d3733dea6bd2cf41d ?
The section in +349 lib/My/ConfigFactory.pm points to:
sub resolve_at_variable {
|
my ($self, $config, $group, $option)= @_;
|
local $_ = $option->value();
|
my ($res, $after);
|
|
while (m/(.*?)\@((?:\w+\.)+)(#?[-\w]+)/g) {
|
my ($before, $group_name, $option_name)= ($1, $2, $3);
|
$after = $';
|
chop($group_name);
|
|
my $from_group= $config->group($group_name)
|
or croak "There is no group named '$group_name' that ",
|
"can be used to resolve '$option_name' for test '$self->{testname}'";
|
|
my $value= $from_group->value($option_name);
|
$res .= $before.$value;
|
}
|
$res .= $after;
|
|
$option->{value}= $res;
|
}
|
This section has only one change since summer: 9b22354a594570e23cc675d90836743ce7a3ba1c But I don't see how that could cause this error.
{"report":{"fcp":1037.2000000029802,"ttfb":178.10000000149012,"pageVisibility":"visible","entityId":83078,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":16,"apdex":0.5,"journeyId":"6920700d-f3c8-4999-92b1-3607cdb37499","navigationType":0,"readyForUser":1116.5,"redirectCount":0,"resourceLoadedEnd":781,"resourceLoadedStart":185.5,"resourceTiming":[{"duration":344.70000000298023,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":185.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":185.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":530.2000000029802,"responseStart":0,"secureConnectionStart":0},{"duration":344.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/download/contextbatch/css/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true","startTime":185.80000000074506,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":185.80000000074506,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":530.3000000007451,"responseStart":0,"secureConnectionStart":0},{"duration":353.30000000074506,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":185.90000000223517,"connectEnd":185.90000000223517,"connectStart":185.90000000223517,"domainLookupEnd":185.90000000223517,"domainLookupStart":185.90000000223517,"fetchStart":185.90000000223517,"redirectEnd":0,"redirectStart":0,"requestStart":185.90000000223517,"responseEnd":539.2000000029802,"responseStart":539.2000000029802,"secureConnectionStart":185.90000000223517},{"duration":377.70000000298023,"initiatorType":"script","name":"https://jira.mariadb.org/s/099b33461394b8015fc36c0a4b96e19f-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/download/contextbatch/js/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true","startTime":186,"connectEnd":186,"connectStart":186,"domainLookupEnd":186,"domainLookupStart":186,"fetchStart":186,"redirectEnd":0,"redirectStart":0,"requestStart":186,"responseEnd":563.7000000029802,"responseStart":563.7000000029802,"secureConnectionStart":186},{"duration":381.0999999977648,"initiatorType":"script","name":"https://jira.mariadb.org/s/94c15bff32baef80f4096a08aceae8bc-CDN/lu2bu7/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":186.20000000298023,"connectEnd":186.20000000298023,"connectStart":186.20000000298023,"domainLookupEnd":186.20000000298023,"domainLookupStart":186.20000000298023,"fetchStart":186.20000000298023,"redirectEnd":0,"redirectStart":0,"requestStart":186.20000000298023,"responseEnd":567.3000000007451,"responseStart":567.3000000007451,"secureConnectionStart":186.20000000298023},{"duration":381.5999999977648,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":186.20000000298023,"connectEnd":186.20000000298023,"connectStart":186.20000000298023,"domainLookupEnd":186.20000000298023,"domainLookupStart":186.20000000298023,"fetchStart":186.20000000298023,"redirectEnd":0,"redirectStart":0,"requestStart":186.20000000298023,"responseEnd":567.8000000007451,"responseStart":567.8000000007451,"secureConnectionStart":186.20000000298023},{"duration":382.30000000074506,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":186.30000000074506,"connectEnd":186.30000000074506,"connectStart":186.30000000074506,"domainLookupEnd":186.30000000074506,"domainLookupStart":186.30000000074506,"fetchStart":186.30000000074506,"redirectEnd":0,"redirectStart":0,"requestStart":186.30000000074506,"responseEnd":568.6000000014901,"responseStart":568.6000000014901,"secureConnectionStart":186.30000000074506},{"duration":384.3999999985099,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bu7/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":186.40000000223517,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":186.40000000223517,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":570.8000000007451,"responseStart":0,"secureConnectionStart":0},{"duration":382.70000000298023,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":186.5,"connectEnd":186.5,"connectStart":186.5,"domainLookupEnd":186.5,"domainLookupStart":186.5,"fetchStart":186.5,"redirectEnd":0,"redirectStart":0,"requestStart":186.5,"responseEnd":569.2000000029802,"responseStart":569.2000000029802,"secureConnectionStart":186.5},{"duration":384.5999999977648,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bu7/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.css?jira.create.linked.issue=true","startTime":186.70000000298023,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":186.70000000298023,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":571.3000000007451,"responseStart":0,"secureConnectionStart":0},{"duration":384.19999999925494,"initiatorType":"script","name":"https://jira.mariadb.org/s/3339d87fa2538a859872f2df449bf8d0-CDN/lu2bu7/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.js?jira.create.linked.issue=true&locale=en","startTime":186.80000000074506,"connectEnd":186.80000000074506,"connectStart":186.80000000074506,"domainLookupEnd":186.80000000074506,"domainLookupStart":186.80000000074506,"fetchStart":186.80000000074506,"redirectEnd":0,"redirectStart":0,"requestStart":186.80000000074506,"responseEnd":571,"responseStart":571,"secureConnectionStart":186.80000000074506},{"duration":445.20000000298023,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":187.5,"connectEnd":187.5,"connectStart":187.5,"domainLookupEnd":187.5,"domainLookupStart":187.5,"fetchStart":187.5,"redirectEnd":0,"redirectStart":0,"requestStart":187.5,"responseEnd":632.7000000029802,"responseStart":632.7000000029802,"secureConnectionStart":187.5},{"duration":593.3999999985099,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":187.60000000149012,"connectEnd":187.60000000149012,"connectStart":187.60000000149012,"domainLookupEnd":187.60000000149012,"domainLookupStart":187.60000000149012,"fetchStart":187.60000000149012,"redirectEnd":0,"redirectStart":0,"requestStart":187.60000000149012,"responseEnd":781,"responseStart":780.9000000022352,"secureConnectionStart":187.60000000149012}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":24,"responseStart":178,"responseEnd":180,"domLoading":183,"domInteractive":1214,"domContentLoadedEventStart":1214,"domContentLoadedEventEnd":1263,"domComplete":2892,"loadEventStart":2892,"loadEventEnd":2892,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1195.6000000014901},{"name":"bigPipe.sidebar-id.end","time":1196.4000000022352},{"name":"bigPipe.activity-panel-pipe-id.start","time":1196.4000000022352},{"name":"bigPipe.activity-panel-pipe-id.end","time":1199},{"name":"activityTabFullyLoaded","time":1276.2000000029802}],"measures":[],"correlationId":"e5aa8ffc63d9b0","effectiveType":"4g","downlink":9.4,"rtt":0,"serverDuration":96,"dbReadsTimeInMs":11,"dbConnsTimeInMs":19,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}