Type:
Bug
Priority:
Major
Resolution:
Fixed
Affects Version/s:
5.5(EOL) , (16) 10.1(EOL) , 10.2(EOL) , 10.3(EOL) , 10.4(EOL) , 10.5 , 10.6 , 10.7(EOL) , 10.8(EOL) , 10.9(EOL) , 10.10(EOL) , 10.11 , 11.0(EOL) , 11.1(EOL) , 11.2(EOL) , 11.3(EOL) , 11.4
The test for MDEV-6619 occasionally fails as follows (observed on the mandatory MemorySanitizer staging builder , but I have seen it in my local environment as well):
main.kill_processlist-6619 w55 [ fail ]
Test ended at 2024-01-22 06:48:05
CURRENT_TEST: main.kill_processlist-6619
--- /home/buildbot/amd64-debian-11-msan/build/mysql-test/main/kill_processlist-6619.result 2024-01-22 06:34:52.000000000 +0000
+++ /home/buildbot/amd64-debian-11-msan/build/mysql-test/main/kill_processlist-6619.reject 2024-01-22 06:48:04.671491118 +0000
@@ -1,7 +1,7 @@
connect con1,localhost,root,,;
SHOW PROCESSLIST;
Id User Host db Command Time State Info Progress
-# root # test Sleep # # NULL 0.000
+# root # test Query # # select count(*) = 0 from information_schema.session_variables where variable_name = 'debug_sync' and 0.000
# root # test Query # # SHOW PROCESSLIST 0.000
SET DEBUG_SYNC='before_execute_sql_command SIGNAL ready WAIT_FOR go';
SHOW PROCESSLIST;
As far as I can tell, this is a race condition. I failed to reproduce this by running the last few tests that had been executed on the same server instance before the failure:
./mtr --no-reorder main.keywords main.kill main.kill_processlist-6619
is caused by
MDEV-6619
SHOW PROCESSLIST returns empty result set after KILL QUERY
Closed
{"report":{"fcp":2057.0999999046326,"ttfb":633.6999998092651,"pageVisibility":"visible","entityId":127343,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"1db76932-aff6-4acf-8504-f058152ca292","navigationType":0,"readyForUser":2170.8999996185303,"redirectCount":0,"resourceLoadedEnd":1687,"resourceLoadedStart":641.5999999046326,"resourceTiming":[{"duration":323.7999997138977,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":641.5999999046326,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":641.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":965.3999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":323.90000009536743,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/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&whisper-enabled=true","startTime":641.7999997138977,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":641.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":965.6999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":835.7999997138977,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":642.0999999046326,"connectEnd":642.0999999046326,"connectStart":642.0999999046326,"domainLookupEnd":642.0999999046326,"domainLookupStart":642.0999999046326,"fetchStart":642.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":963.5,"responseEnd":1477.8999996185303,"responseStart":1018.3999996185303,"secureConnectionStart":642.0999999046326},{"duration":1044.8000001907349,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/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&whisper-enabled=true","startTime":642.1999998092651,"connectEnd":642.1999998092651,"connectStart":642.1999998092651,"domainLookupEnd":642.1999998092651,"domainLookupStart":642.1999998092651,"fetchStart":642.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":963.5999999046326,"responseEnd":1687,"responseStart":1020,"secureConnectionStart":642.1999998092651},{"duration":386,"initiatorType":"script","name":"https://jira.mariadb.org/s/a9324d6758d385eb45c462685ad88f1d-CDN/lu2cib/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":642.5,"connectEnd":642.5,"connectStart":642.5,"domainLookupEnd":642.5,"domainLookupStart":642.5,"fetchStart":642.5,"redirectEnd":0,"redirectStart":0,"requestStart":963.7999997138977,"responseEnd":1028.5,"responseStart":1023.3999996185303,"secureConnectionStart":642.5},{"duration":386.69999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":642.6999998092651,"connectEnd":642.6999998092651,"connectStart":642.6999998092651,"domainLookupEnd":642.6999998092651,"domainLookupStart":642.6999998092651,"fetchStart":642.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":963.8999996185303,"responseEnd":1029.3999996185303,"responseStart":1025,"secureConnectionStart":642.6999998092651},{"duration":393.80000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":642.7999997138977,"connectEnd":642.7999997138977,"connectStart":642.7999997138977,"domainLookupEnd":642.7999997138977,"domainLookupStart":642.7999997138977,"fetchStart":642.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":984.6999998092651,"responseEnd":1036.5999999046326,"responseStart":1033.0999999046326,"secureConnectionStart":642.7999997138977},{"duration":340.69999980926514,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2cib/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":643,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":643,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":983.6999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":452,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":643.0999999046326,"connectEnd":643.0999999046326,"connectStart":643.0999999046326,"domainLookupEnd":643.0999999046326,"domainLookupStart":643.0999999046326,"fetchStart":643.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":1068.8999996185303,"responseEnd":1095.0999999046326,"responseStart":1093.1999998092651,"secureConnectionStart":643.0999999046326},{"duration":354.09999990463257,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2cib/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":643.2999997138977,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":643.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":997.3999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":508.7999997138977,"initiatorType":"script","name":"https://jira.mariadb.org/s/5d5e8fe91fbc506585e83ea3b62ccc4b-CDN/lu2cib/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":643.5,"connectEnd":643.5,"connectStart":643.5,"domainLookupEnd":643.5,"domainLookupStart":643.5,"fetchStart":643.5,"redirectEnd":0,"redirectStart":0,"requestStart":1076.1999998092651,"responseEnd":1152.2999997138977,"responseStart":1102.0999999046326,"secureConnectionStart":643.5},{"duration":1018.8000001907349,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":650.7999997138977,"connectEnd":650.7999997138977,"connectStart":650.7999997138977,"domainLookupEnd":650.7999997138977,"domainLookupStart":650.7999997138977,"fetchStart":650.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":1356,"responseEnd":1669.5999999046326,"responseStart":1665.3999996185303,"secureConnectionStart":650.7999997138977},{"duration":1025.9000000953674,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":650.7999997138977,"connectEnd":650.7999997138977,"connectStart":650.7999997138977,"domainLookupEnd":650.7999997138977,"domainLookupStart":650.7999997138977,"fetchStart":650.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":1552.5999999046326,"responseEnd":1676.6999998092651,"responseStart":1668.5999999046326,"secureConnectionStart":650.7999997138977},{"duration":262.90000009536743,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1672.5999999046326,"connectEnd":1672.5999999046326,"connectStart":1672.5999999046326,"domainLookupEnd":1672.5999999046326,"domainLookupStart":1672.5999999046326,"fetchStart":1672.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":1897.3999996185303,"responseEnd":1935.5,"responseStart":1934.6999998092651,"secureConnectionStart":1672.5999999046326}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":469,"responseStart":633,"responseEnd":635,"domLoading":639,"domInteractive":2265,"domContentLoadedEventStart":2265,"domContentLoadedEventEnd":2329,"domComplete":3641,"loadEventStart":3641,"loadEventEnd":3641,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":2235.2999997138977},{"name":"bigPipe.sidebar-id.end","time":2236.199999809265},{"name":"bigPipe.activity-panel-pipe-id.start","time":2236.3999996185303},{"name":"bigPipe.activity-panel-pipe-id.end","time":2237.3999996185303},{"name":"activityTabFullyLoaded","time":2345.7999997138977}],"measures":[],"correlationId":"94aa2def30a514","effectiveType":"4g","downlink":9.6,"rtt":0,"serverDuration":106,"dbReadsTimeInMs":17,"dbConnsTimeInMs":27,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
I have a fix for this, so taking it (hope that's ok).