After uploading MariaDB 1:11.8.1-2 to Debian I saw this test crashing on arch loong64:
main.partition_explicit_prune w14 [ fail ]
|
Test ended at 2025-03-21 04:35:53
|
|
CURRENT_TEST: main.partition_explicit_prune
|
mysqltest: At line 557: query 'TRUNCATE TABLE t2' failed: ER_LOCK_WAIT_TIMEOUT (1205): Lock wait timeout exceeded; try restarting transaction
|
|
The result from queries just before the failure was:
|
< snip >
|
HANDLER_ROLLBACK 1
|
HANDLER_TMP_WRITE 24
|
HANDLER_WRITE 1
|
# 16 locks (2 tables, 1 + 5 subpartitions lock/unlock)
|
FLUSH STATUS;
|
INSERT IGNORE INTO t2 PARTITION (subp3) SELECT * FROM t1 PARTITION (subp3, `p10-99`, `p100-99999`);
|
Warnings:
|
Warning 1748 Found a row not matching the given partition set
|
Warning 1748 Found a row not matching the given partition set
|
Warning 1748 Found a row not matching the given partition set
|
SELECT * FROM INFORMATION_SCHEMA.SESSION_STATUS
|
WHERE VARIABLE_NAME LIKE 'HANDLER_%' AND VARIABLE_VALUE > 0;
|
VARIABLE_NAME VARIABLE_VALUE
|
HANDLER_COMMIT 1
|
HANDLER_READ_FIRST 5
|
HANDLER_READ_NEXT 5
|
HANDLER_TMP_WRITE 24
|
HANDLER_WRITE 7
|
# 16 locks (2 tables, 1 + 5 subpartitions lock/unlock)
|
TRUNCATE TABLE t2;
|
|
More results from queries before failure can be found in /<<PKGBUILDDIR>>/builddir/mysql-test/var/14/log/partition_explicit_prune.log
|
Later down in the log I see the 3rd restart passed:
main.partition_explicit_prune w14 [ retry-pass ] 21544
|
Full log at https://buildd.debian.org/status/fetch.php?pkg=mariadb&arch=loong64&ver=1%3A11.8.1-2&stamp=1742531991&raw=0
In the previous build of 1:11.8.1-1 the test passed right away: https://buildd.debian.org/status/fetch.php?pkg=mariadb&arch=loong64&ver=1%3A11.8.1-1&stamp=1742370987&raw=0
Hence this issue seems sporadic.
I also found MDEV-34824 with failure on same test, but it has a mismatch in value and not a crash.
{"report":{"fcp":1218.2999997138977,"ttfb":305.19999980926514,"pageVisibility":"visible","entityId":133433,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"cfa15629-4588-4be6-a8b6-535fbf780429","navigationType":0,"readyForUser":1317,"redirectCount":0,"resourceLoadedEnd":971,"resourceLoadedStart":312.3999996185303,"resourceTiming":[{"duration":364.2000002861023,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":312.3999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":312.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":676.5999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":366.69999980926514,"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":312.69999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":312.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":679.3999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":475.40000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":312.7999997138977,"connectEnd":312.7999997138977,"connectStart":312.7999997138977,"domainLookupEnd":312.7999997138977,"domainLookupStart":312.7999997138977,"fetchStart":312.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":688.5999999046326,"responseEnd":788.1999998092651,"responseStart":701.5,"secureConnectionStart":312.7999997138977},{"duration":631.4000000953674,"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":313.09999990463257,"connectEnd":313.09999990463257,"connectStart":313.09999990463257,"domainLookupEnd":313.09999990463257,"domainLookupStart":313.09999990463257,"fetchStart":313.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":691.3999996185303,"responseEnd":944.5,"responseStart":742.8999996185303,"secureConnectionStart":313.09999990463257},{"duration":405.09999990463257,"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":313.2999997138977,"connectEnd":313.2999997138977,"connectStart":313.2999997138977,"domainLookupEnd":313.2999997138977,"domainLookupStart":313.2999997138977,"fetchStart":313.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":692.0999999046326,"responseEnd":718.3999996185303,"responseStart":717.2999997138977,"secureConnectionStart":313.2999997138977},{"duration":412.1000003814697,"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":313.3999996185303,"connectEnd":313.3999996185303,"connectStart":313.3999996185303,"domainLookupEnd":313.3999996185303,"domainLookupStart":313.3999996185303,"fetchStart":313.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":694.3999996185303,"responseEnd":725.5,"responseStart":723.0999999046326,"secureConnectionStart":313.3999996185303},{"duration":412.59999990463257,"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":313.59999990463257,"connectEnd":313.59999990463257,"connectStart":313.59999990463257,"domainLookupEnd":313.59999990463257,"domainLookupStart":313.59999990463257,"fetchStart":313.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":694.8999996185303,"responseEnd":726.1999998092651,"responseStart":724.3999996185303,"secureConnectionStart":313.59999990463257},{"duration":378.2000002861023,"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":313.7999997138977,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":313.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":692,"responseStart":0,"secureConnectionStart":0},{"duration":412,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":314,"connectEnd":314,"connectStart":314,"domainLookupEnd":314,"domainLookupStart":314,"fetchStart":314,"redirectEnd":0,"redirectStart":0,"requestStart":695.1999998092651,"responseEnd":726,"responseStart":723.7999997138977,"secureConnectionStart":314},{"duration":380,"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":314.09999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":314.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":694.0999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":408.2000002861023,"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":314.3999996185303,"connectEnd":314.3999996185303,"connectStart":314.3999996185303,"domainLookupEnd":314.3999996185303,"domainLookupStart":314.3999996185303,"fetchStart":314.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":698.5999999046326,"responseEnd":722.5999999046326,"responseStart":718.5999999046326,"secureConnectionStart":314.3999996185303},{"duration":646.3000001907349,"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":324.69999980926514,"connectEnd":324.69999980926514,"connectStart":324.69999980926514,"domainLookupEnd":324.69999980926514,"domainLookupStart":324.69999980926514,"fetchStart":324.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":946.6999998092651,"responseEnd":971,"responseStart":968.7999997138977,"secureConnectionStart":324.69999980926514},{"duration":646,"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":324.7999997138977,"connectEnd":324.7999997138977,"connectStart":324.7999997138977,"domainLookupEnd":324.7999997138977,"domainLookupStart":324.7999997138977,"fetchStart":324.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":946.8999996185303,"responseEnd":970.7999997138977,"responseStart":968.3999996185303,"secureConnectionStart":324.7999997138977},{"duration":61.299999713897705,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":933,"connectEnd":933,"connectStart":933,"domainLookupEnd":933,"domainLookupStart":933,"fetchStart":933,"redirectEnd":0,"redirectStart":0,"requestStart":961.0999999046326,"responseEnd":994.2999997138977,"responseStart":993.5999999046326,"secureConnectionStart":933},{"duration":177,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1168.1999998092651,"connectEnd":1168.1999998092651,"connectStart":1168.1999998092651,"domainLookupEnd":1168.1999998092651,"domainLookupStart":1168.1999998092651,"fetchStart":1168.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":1304.5,"responseEnd":1345.1999998092651,"responseStart":1344.6999998092651,"secureConnectionStart":1168.1999998092651},{"duration":185.90000009536743,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1211.8999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1211.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1397.7999997138977,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":138,"responseStart":305,"responseEnd":324,"domLoading":310,"domInteractive":1427,"domContentLoadedEventStart":1427,"domContentLoadedEventEnd":1477,"domComplete":3143,"loadEventStart":3143,"loadEventEnd":3145,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1399.7999997138977},{"name":"bigPipe.sidebar-id.end","time":1400.5999999046326},{"name":"bigPipe.activity-panel-pipe-id.start","time":1400.6999998092651},{"name":"bigPipe.activity-panel-pipe-id.end","time":1403.3999996185303},{"name":"activityTabFullyLoaded","time":1491.0999999046326}],"measures":[],"correlationId":"ceb25ee095ebfa","effectiveType":"4g","downlink":9.4,"rtt":0,"serverDuration":85,"dbReadsTimeInMs":9,"dbConnsTimeInMs":18,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}