Since the commit where it was added, main.information_schema_tables fails sporadically in buildbot and outside.
With ps-protocol it's easily reproducible, run the test with --repeat, it fails within a few attempts:
main.information_schema_tables [ fail ]
|
Test ended at 2022-04-24 21:28:02
|
|
CURRENT_TEST: main.information_schema_tables
|
mysqltest: At line 28: query 'SELECT v.* FROM v JOIN INFORMATION_SCHEMA.TABLES WHERE DATA_LENGTH = -1' failed: 1615: Prepared statement needs to be re-prepared
|
|
The result from queries just before the failure was:
|
< snip >
|
#
|
#
|
# MDEV-25243 ASAN heap-use-after-free in Item_func_sp::execute_impl upon concurrent view DDL and I_S query with view and function
|
#
|
# The originally reported non-deterministic test.
|
# It did not fail reliably on every run.
|
CREATE TABLE t (a INT);
|
INSERT INTO t VALUES (1),(2);
|
CREATE FUNCTION f(b INT) RETURNS INT RETURN 1;
|
CREATE VIEW v AS SELECT f(SUM(a)) FROM t;
|
connect con1,localhost,root,,test;
|
LOOP
|
CREATE OR REPLACE VIEW vv AS SELECT 1;
|
END LOOP $
|
connection default;
|
SELECT v.* FROM v JOIN INFORMATION_SCHEMA.TABLES WHERE DATA_LENGTH = -1;
|
In was also seen to fail in buildbot in the normal mode, but it seems much less likely:
main.information_schema_tables w3 [ fail ]
|
Test ended at 2022-04-24 10:46:58
|
|
CURRENT_TEST: main.information_schema_tables
|
--- /mnt/buildbot/build/mariadb-10.2.44/mysql-test/r/information_schema_tables.result 2022-04-24 09:49:39.000000000 -0400
|
+++ /mnt/buildbot/build/mariadb-10.2.44/mysql-test/r/information_schema_tables.reject 2022-04-24 10:46:58.795856264 -0400
|
@@ -21,6 +21,8 @@
|
disconnect con1;
|
connection default;
|
DROP VIEW IF EXISTS vv;
|
+Warnings:
|
+Note 1051 Unknown table 'test.vv'
|
DROP VIEW v;
|
DROP FUNCTION f;
|
DROP TABLE t;
|
|
mysqltest: Result length mismatch
|
Transition |
Time In Source Status |
Execution Times |
Open |
|
Closed |
|
11h 2m
|
1
|
{"report":{"fcp":2968.2999997138977,"ttfb":813.7999997138977,"pageVisibility":"visible","entityId":110275,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"91f1c289-f4ca-4c53-aa01-b5ab5d242e3d","navigationType":0,"readyForUser":3042.5999999046326,"redirectCount":0,"resourceLoadedEnd":3628.199999809265,"resourceLoadedStart":920,"resourceTiming":[{"duration":1372,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":920,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":920,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2292,"responseStart":0,"secureConnectionStart":0},{"duration":1372.2000002861023,"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":920.3999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":920.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2292.5999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":1388.0999999046326,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":935,"connectEnd":935,"connectStart":935,"domainLookupEnd":935,"domainLookupStart":935,"fetchStart":935,"redirectEnd":0,"redirectStart":0,"requestStart":935,"responseEnd":2323.0999999046326,"responseStart":2323.0999999046326,"secureConnectionStart":935},{"duration":1512.3000001907349,"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":935.1999998092651,"connectEnd":935.1999998092651,"connectStart":935.1999998092651,"domainLookupEnd":935.1999998092651,"domainLookupStart":935.1999998092651,"fetchStart":935.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":935.1999998092651,"responseEnd":2447.5,"responseStart":2447.5,"secureConnectionStart":935.1999998092651},{"duration":1515.8000001907349,"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":935.3999996185303,"connectEnd":935.3999996185303,"connectStart":935.3999996185303,"domainLookupEnd":935.3999996185303,"domainLookupStart":935.3999996185303,"fetchStart":935.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":935.3999996185303,"responseEnd":2451.199999809265,"responseStart":2451.199999809265,"secureConnectionStart":935.3999996185303},{"duration":1519.1999998092651,"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":935.5999999046326,"connectEnd":935.5999999046326,"connectStart":935.5999999046326,"domainLookupEnd":935.5999999046326,"domainLookupStart":935.5999999046326,"fetchStart":935.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":935.5999999046326,"responseEnd":2454.7999997138977,"responseStart":2454.7999997138977,"secureConnectionStart":935.5999999046326},{"duration":1519.3000001907349,"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":935.8999996185303,"connectEnd":935.8999996185303,"connectStart":935.8999996185303,"domainLookupEnd":935.8999996185303,"domainLookupStart":935.8999996185303,"fetchStart":935.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":935.8999996185303,"responseEnd":2455.199999809265,"responseStart":2455.199999809265,"secureConnectionStart":935.8999996185303},{"duration":1558.2999997138977,"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":936,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":936,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2494.2999997138977,"responseStart":0,"secureConnectionStart":0},{"duration":1519.4000000953674,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":936.1999998092651,"connectEnd":936.1999998092651,"connectStart":936.1999998092651,"domainLookupEnd":936.1999998092651,"domainLookupStart":936.1999998092651,"fetchStart":936.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":936.1999998092651,"responseEnd":2455.5999999046326,"responseStart":2455.5999999046326,"secureConnectionStart":936.1999998092651},{"duration":1558.2000002861023,"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":936.3999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":936.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2494.5999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":1519.8999996185303,"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":936.5,"connectEnd":936.5,"connectStart":936.5,"domainLookupEnd":936.5,"domainLookupStart":936.5,"fetchStart":936.5,"redirectEnd":0,"redirectStart":0,"requestStart":936.5,"responseEnd":2456.3999996185303,"responseStart":2456.3999996185303,"secureConnectionStart":936.5},{"duration":2100.800000190735,"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":937.2999997138977,"connectEnd":937.2999997138977,"connectStart":937.2999997138977,"domainLookupEnd":937.2999997138977,"domainLookupStart":937.2999997138977,"fetchStart":937.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":937.2999997138977,"responseEnd":3038.0999999046326,"responseStart":3038.0999999046326,"secureConnectionStart":937.2999997138977},{"duration":2690.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":937.2999997138977,"connectEnd":937.2999997138977,"connectStart":937.2999997138977,"domainLookupEnd":937.2999997138977,"domainLookupStart":937.2999997138977,"fetchStart":937.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":937.2999997138977,"responseEnd":3628.199999809265,"responseStart":3628.199999809265,"secureConnectionStart":937.2999997138977},{"duration":549.5,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":2528.5999999046326,"connectEnd":2528.5999999046326,"connectStart":2528.5999999046326,"domainLookupEnd":2528.5999999046326,"domainLookupStart":2528.5999999046326,"fetchStart":2528.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":2528.5999999046326,"responseEnd":3078.0999999046326,"responseStart":3078.0999999046326,"secureConnectionStart":2528.5999999046326}],"fetchStart":1,"domainLookupStart":1,"domainLookupEnd":1,"connectStart":1,"connectEnd":1,"requestStart":593,"responseStart":814,"responseEnd":883,"domLoading":886,"domInteractive":3678,"domContentLoadedEventStart":3678,"domContentLoadedEventEnd":3746,"domComplete":4708,"loadEventStart":4708,"loadEventEnd":4709,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":3648.8999996185303},{"name":"bigPipe.sidebar-id.end","time":3649.7999997138977},{"name":"bigPipe.activity-panel-pipe-id.start","time":3649.8999996185303},{"name":"bigPipe.activity-panel-pipe-id.end","time":3650.7999997138977},{"name":"activityTabFullyLoaded","time":3769.3999996185303}],"measures":[],"correlationId":"66b119ea34fce0","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":90,"dbReadsTimeInMs":13,"dbConnsTimeInMs":21,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}