The test perfschema.hostcache_peer_addr times out for me almost always when I run it on 10.5. Because MDEV-20466 introduced a NUL character to the output, the difference will not be displayed by mysql-test-run.pl . I got it with diff -au :
--- mysql-test/suite/perfschema/r/hostcache_peer_addr.result 2019-09-11 07:45:33.284745977 +0300
+++ mysql-test/suite/perfschema/r/hostcache_peer_addr.reject 2020-01-13 14:58:37.799296135 +0200
@@ -1,3 +1,12 @@
+Timeout in wait_condition.inc for select count(*) = 1 from information_schema.processlist
+Id User Host db Command Time State Info Progress
+5 root localhost test Query 30 User sleep SELECT user FROM mysql.user WHERE user ='some' or sleep (30) 0.000
+10 root localhost test Query 0 Init show full processlist 0.000
+Timeout in wait_condition.inc for select count(*) <= 1 from performance_schema.threads
+where `TYPE`='FOREGROUND'
+Id User Host db Command Time State Info Progress
+5 root localhost test Query 60 User sleep SELECT user FROM mysql.user WHERE user ='some' or sleep (30) 0.000
+10 root localhost test Query 0 Init show full processlist 0.000
flush status;
flush hosts;
flush user_resources;
Above, there is a NUL character between ‘some’ and the closing quote. That command was added in MDEV-20466 to main.processlist_notembedded . That test does not appear to be properly cleaning up after itself.
I can repeat this deterministically as follows:
./mtr --no-reorder main.processlist_notembedded perfschema.hostcache_peer_addr
10.5 8576a7bacfaa4f7ac3ec86cff436e0d6e7bb3a7d
worker[1] Using MTR_BUILD_THREAD 300, with reserved ports 16000..16019
main.processlist_notembedded [ pass ] 32
perfschema.hostcache_peer_addr [ fail ]
Test ended at 2020-01-13 14:58:38
CURRENT_TEST: perfschema.hostcache_peer_addr
Binary files /mariadb/10.5/mysql-test/suite/perfschema/r/hostcache_peer_addr.result and /mariadb/10.5/mysql-test/suite/perfschema/r/hostcache_peer_addr.reject differ
Marko Mäkelä
made changes -
2020-01-13 13:37
Status
Open
[ 1
]
Confirmed
[ 10101
]
Marko Mäkelä
made changes -
2020-05-05 18:33
Summary
Test condition timeout in perfschema.hostcache_peer_addr
main.processlist_notembedded fails to clean up, causes perfschema test failures
Marko Mäkelä
made changes -
2020-05-06 08:55
issue.field.resolutiondate
2020-05-06 08:55:02.0
2020-05-06 08:55:02.446
Marko Mäkelä
made changes -
2020-05-06 08:55
Fix Version/s
5.5.68
[ 24239
]
Fix Version/s
10.1.46
[ 24308
]
Fix Version/s
10.2.33
[ 24307
]
Fix Version/s
10.3.24
[ 24306
]
Fix Version/s
10.4.13
[ 24223
]
Fix Version/s
10.5.4
[ 24264
]
Fix Version/s
10.2
[ 14601
]
Fix Version/s
5.5
[ 15800
]
Fix Version/s
10.1
[ 16100
]
Fix Version/s
10.3
[ 22126
]
Fix Version/s
10.4
[ 22408
]
Fix Version/s
10.5
[ 23123
]
Assignee
Oleksandr Byelkin
[ sanja
]
Marko Mäkelä
[ marko
]
Resolution
Fixed
[ 1
]
Status
Confirmed
[ 10101
]
Closed
[ 6
]
Sergei Golubchik
made changes -
2021-12-06 21:50
Workflow
MariaDB v3
[ 102949
]
MariaDB v4
[ 157184
]
{"report":{"fcp":1082.6999998092651,"ttfb":278.59999990463257,"pageVisibility":"visible","entityId":82245,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"7206f71a-b71e-43b9-96ae-c81f7e05bf93","navigationType":0,"readyForUser":1157.4000000953674,"redirectCount":0,"resourceLoadedEnd":1302.6999998092651,"resourceLoadedStart":284.09999990463257,"resourceTiming":[{"duration":277.30000019073486,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":284.09999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":284.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":561.4000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":277.2999997138977,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/2bf333562ca6724060a9d5f1535471f6/_/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":284.40000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":284.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":561.6999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":286,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":284.59999990463257,"connectEnd":284.59999990463257,"connectStart":284.59999990463257,"domainLookupEnd":284.59999990463257,"domainLookupStart":284.59999990463257,"fetchStart":284.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":284.59999990463257,"responseEnd":570.5999999046326,"responseStart":570.5999999046326,"secureConnectionStart":284.59999990463257},{"duration":342.90000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/2bf333562ca6724060a9d5f1535471f6/_/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":284.69999980926514,"connectEnd":284.69999980926514,"connectStart":284.69999980926514,"domainLookupEnd":284.69999980926514,"domainLookupStart":284.69999980926514,"fetchStart":284.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":284.69999980926514,"responseEnd":627.5999999046326,"responseStart":627.5999999046326,"secureConnectionStart":284.69999980926514},{"duration":346.2999997138977,"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":285,"connectEnd":285,"connectStart":285,"domainLookupEnd":285,"domainLookupStart":285,"fetchStart":285,"redirectEnd":0,"redirectStart":0,"requestStart":285,"responseEnd":631.2999997138977,"responseStart":631.2999997138977,"secureConnectionStart":285},{"duration":346.59999990463257,"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":285.19999980926514,"connectEnd":285.19999980926514,"connectStart":285.19999980926514,"domainLookupEnd":285.19999980926514,"domainLookupStart":285.19999980926514,"fetchStart":285.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":285.19999980926514,"responseEnd":631.7999997138977,"responseStart":631.7999997138977,"secureConnectionStart":285.19999980926514},{"duration":346.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":285.2999997138977,"connectEnd":285.2999997138977,"connectStart":285.2999997138977,"domainLookupEnd":285.2999997138977,"domainLookupStart":285.2999997138977,"fetchStart":285.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":285.2999997138977,"responseEnd":632.0999999046326,"responseStart":632.0999999046326,"secureConnectionStart":285.2999997138977},{"duration":427.5,"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":285.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":285.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":713,"responseStart":0,"secureConnectionStart":0},{"duration":347,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":285.59999990463257,"connectEnd":285.59999990463257,"connectStart":285.59999990463257,"domainLookupEnd":285.59999990463257,"domainLookupStart":285.59999990463257,"fetchStart":285.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":285.59999990463257,"responseEnd":632.5999999046326,"responseStart":632.5999999046326,"secureConnectionStart":285.59999990463257},{"duration":427.40000009536743,"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":285.7999997138977,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":285.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":713.1999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":347.09999990463257,"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":286,"connectEnd":286,"connectStart":286,"domainLookupEnd":286,"domainLookupStart":286,"fetchStart":286,"redirectEnd":0,"redirectStart":0,"requestStart":286,"responseEnd":633.0999999046326,"responseStart":633.0999999046326,"secureConnectionStart":286},{"duration":493.5,"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":287,"connectEnd":287,"connectStart":287,"domainLookupEnd":287,"domainLookupStart":287,"fetchStart":287,"redirectEnd":0,"redirectStart":0,"requestStart":287,"responseEnd":780.5,"responseStart":780.5,"secureConnectionStart":287},{"duration":1011.5999999046326,"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":291.09999990463257,"connectEnd":291.09999990463257,"connectStart":291.09999990463257,"domainLookupEnd":291.09999990463257,"domainLookupStart":291.09999990463257,"fetchStart":291.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":291.09999990463257,"responseEnd":1302.6999998092651,"responseStart":1302.6999998092651,"secureConnectionStart":291.09999990463257},{"duration":500.30000019073486,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":725.2999997138977,"connectEnd":725.2999997138977,"connectStart":725.2999997138977,"domainLookupEnd":725.2999997138977,"domainLookupStart":725.2999997138977,"fetchStart":725.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":725.2999997138977,"responseEnd":1225.5999999046326,"responseStart":1225.5999999046326,"secureConnectionStart":725.2999997138977}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":44,"responseStart":278,"responseEnd":283,"domLoading":281,"domInteractive":1325,"domContentLoadedEventStart":1325,"domContentLoadedEventEnd":1368,"domComplete":1602,"loadEventStart":1602,"loadEventEnd":1602,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1304.2999997138977},{"name":"bigPipe.sidebar-id.end","time":1305.0999999046326},{"name":"bigPipe.activity-panel-pipe-id.start","time":1305.2999997138977},{"name":"bigPipe.activity-panel-pipe-id.end","time":1308.2999997138977},{"name":"activityTabFullyLoaded","time":1382.5999999046326}],"measures":[],"correlationId":"dc6b4347ee3cf8","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":170,"dbReadsTimeInMs":20,"dbConnsTimeInMs":30,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}