Type:
Bug
Priority:
Major
Resolution:
Fixed
Affects Version/s:
10.4(EOL) , 10.5 , 10.6 , 10.7(EOL) , 10.8(EOL) , 10.9(EOL) , 10.10(EOL)
This test fails at least every few days, with the following (or very similar) output:
10.5 55c648a73
rpl.rpl_semi_sync_shutdown_await_ack 'mix' w2 [ fail ]
Test ended at 2022-08-23 06:27:25
CURRENT_TEST: rpl.rpl_semi_sync_shutdown_await_ack
--- /buildbot/amd64-ubuntu-1804-clang10-asan/build/mysql-test/suite/rpl/r/rpl_semi_sync_shutdown_await_ack.result 2022-08-23 05:25:37.000000000 +0000
+++ /buildbot/amd64-ubuntu-1804-clang10-asan/build/mysql-test/suite/rpl/r/rpl_semi_sync_shutdown_await_ack.reject 2022-08-23 06:27:14.537615682 +0000
@@ -213,7 +213,7 @@
Rpl_semi_sync_master_no_tx 1
connection server_1_con2;
# Check logs to ensure shutdown was delayed
-FOUND 2 /Delaying shutdown to await semi-sync ACK/ in mysqld.1.err
+FOUND 1 /Delaying shutdown to await semi-sync ACK/ in mysqld.1.err
# Validate slave data is in correct state
connection server_2;
select count(*)=0 from t1;
@@ -331,7 +331,7 @@
Rpl_semi_sync_master_no_tx 0
connection server_1_con2;
# Check logs to ensure shutdown was delayed
-FOUND 3 /Delaying shutdown to await semi-sync ACK/ in mysqld.1.err
+FOUND 2 /Delaying shutdown to await semi-sync ACK/ in mysqld.1.err
# Validate slave data is in correct state
connection server_2;
select count(*)=0 from t1;
@@ -455,7 +455,7 @@
Rpl_semi_sync_master_no_tx 0
connection server_1_con2;
# Check logs to ensure shutdown was delayed
-FOUND 4 /Delaying shutdown to await semi-sync ACK/ in mysqld.1.err
+FOUND 3 /Delaying shutdown to await semi-sync ACK/ in mysqld.1.err
# Validate slave data is in correct state
connection server_2;
select count(*)=0 from t1;
mysqltest: Result content mismatch
Sometimes the failure appears like:
10.10 90c3b2835
rpl.rpl_semi_sync_shutdown_await_ack 'row' w3 [ fail ]
Test ended at 2022-06-10 17:42:00
CURRENT_TEST: rpl.rpl_semi_sync_shutdown_await_ack
--- /buildbot/amd64-ubuntu-1804-valgrind/build/mysql-test/suite/rpl/r/rpl_semi_sync_shutdown_await_ack.result 2022-06-08 12:15:43.000000000 +0000
+++ /buildbot/amd64-ubuntu-1804-valgrind/build/mysql-test/suite/rpl/r/rpl_semi_sync_shutdown_await_ack.reject 2022-06-10 17:41:59.807669171 +0000
@@ -449,10 +449,10 @@
#-- Ensure either ACK was received (yes_tx=1) or timeout (no_tx=1)
show status like 'Rpl_semi_sync_master_yes_tx';
Variable_name Value
-Rpl_semi_sync_master_yes_tx 1
+Rpl_semi_sync_master_yes_tx 0
show status like 'Rpl_semi_sync_master_no_tx';
Variable_name Value
-Rpl_semi_sync_master_no_tx 0
+Rpl_semi_sync_master_no_tx 1
connection server_1_con2;
# Check logs to ensure shutdown was delayed
FOUND 4 /Delaying shutdown to await semi-sync ACK/ in mysqld.1.err
mysqltest: Result content mismatch
The first fail appears to be https://buildbot.mariadb.org/#/builders/192/builds/9384 with a83c7ab1e.
The test tends to be retry-pass. Fails happen mostly on amd64-ubuntu-1804-valgrind and amd64-ubuntu-1804-clang10-asan, but sometimes on amd64-ubuntu-2004-msan and once on kvm-asan. So, the fails are probably due to slowness of the builders.
{"report":{"fcp":1459.5,"ttfb":209.30000019073486,"pageVisibility":"visible","entityId":114117,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":32,"apdex":0.5,"journeyId":"b9314201-2c0e-4b72-a019-e323a6a67d79","navigationType":0,"readyForUser":1544.6999998092651,"redirectCount":0,"resourceLoadedEnd":1693.3000001907349,"resourceLoadedStart":214.89999961853027,"resourceTiming":[{"duration":226.9000005722046,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":214.89999961853027,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":214.89999961853027,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":441.80000019073486,"responseStart":0,"secureConnectionStart":0},{"duration":227.39999961853027,"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":215.10000038146973,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":215.10000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":442.5,"responseStart":0,"secureConnectionStart":0},{"duration":671.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":215.39999961853027,"connectEnd":215.39999961853027,"connectStart":215.39999961853027,"domainLookupEnd":215.39999961853027,"domainLookupStart":215.39999961853027,"fetchStart":215.39999961853027,"redirectEnd":0,"redirectStart":0,"requestStart":215.39999961853027,"responseEnd":886.8999996185303,"responseStart":886.8999996185303,"secureConnectionStart":215.39999961853027},{"duration":738.5,"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":215.60000038146973,"connectEnd":215.60000038146973,"connectStart":215.60000038146973,"domainLookupEnd":215.60000038146973,"domainLookupStart":215.60000038146973,"fetchStart":215.60000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":215.60000038146973,"responseEnd":954.1000003814697,"responseStart":954.1000003814697,"secureConnectionStart":215.60000038146973},{"duration":741.3000001907349,"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":215.80000019073486,"connectEnd":215.80000019073486,"connectStart":215.80000019073486,"domainLookupEnd":215.80000019073486,"domainLookupStart":215.80000019073486,"fetchStart":215.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":215.80000019073486,"responseEnd":957.1000003814697,"responseStart":957.1000003814697,"secureConnectionStart":215.80000019073486},{"duration":741.6999998092651,"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":216,"connectEnd":216,"connectStart":216,"domainLookupEnd":216,"domainLookupStart":216,"fetchStart":216,"redirectEnd":0,"redirectStart":0,"requestStart":216,"responseEnd":957.6999998092651,"responseStart":957.6999998092651,"secureConnectionStart":216},{"duration":742.2999992370605,"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":216.10000038146973,"connectEnd":216.10000038146973,"connectStart":216.10000038146973,"domainLookupEnd":216.10000038146973,"domainLookupStart":216.10000038146973,"fetchStart":216.10000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":216.10000038146973,"responseEnd":958.3999996185303,"responseStart":958.3999996185303,"secureConnectionStart":216.10000038146973},{"duration":816.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":216.30000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":216.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1032.8000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":792.5,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":216.39999961853027,"connectEnd":216.39999961853027,"connectStart":216.39999961853027,"domainLookupEnd":216.39999961853027,"domainLookupStart":216.39999961853027,"fetchStart":216.39999961853027,"redirectEnd":0,"redirectStart":0,"requestStart":216.39999961853027,"responseEnd":1008.8999996185303,"responseStart":1008.8999996185303,"secureConnectionStart":216.39999961853027},{"duration":816.3999996185303,"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":216.60000038146973,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":216.60000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1033,"responseStart":0,"secureConnectionStart":0},{"duration":803.6999998092651,"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":216.69999980926514,"connectEnd":216.69999980926514,"connectStart":216.69999980926514,"domainLookupEnd":216.69999980926514,"domainLookupStart":216.69999980926514,"fetchStart":216.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":216.69999980926514,"responseEnd":1020.3999996185303,"responseStart":1020.3999996185303,"secureConnectionStart":216.69999980926514},{"duration":1469.2000007629395,"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":222.39999961853027,"connectEnd":222.39999961853027,"connectStart":222.39999961853027,"domainLookupEnd":222.39999961853027,"domainLookupStart":222.39999961853027,"fetchStart":222.39999961853027,"redirectEnd":0,"redirectStart":0,"requestStart":222.39999961853027,"responseEnd":1691.6000003814697,"responseStart":1691.6000003814697,"secureConnectionStart":222.39999961853027},{"duration":1469.6999998092651,"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":222.5,"connectEnd":222.5,"connectStart":222.5,"domainLookupEnd":222.5,"domainLookupStart":222.5,"fetchStart":222.5,"redirectEnd":0,"redirectStart":0,"requestStart":222.5,"responseEnd":1692.1999998092651,"responseStart":1692.1999998092651,"secureConnectionStart":222.5},{"duration":100.5,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1064.8000001907349,"connectEnd":1064.8000001907349,"connectStart":1064.8000001907349,"domainLookupEnd":1064.8000001907349,"domainLookupStart":1064.8000001907349,"fetchStart":1064.8000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":1064.8000001907349,"responseEnd":1165.3000001907349,"responseStart":1165.3000001907349,"secureConnectionStart":1064.8000001907349},{"duration":336,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2cib/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/css/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":1357.3000001907349,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1357.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1693.3000001907349,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":32,"responseStart":209,"responseEnd":214,"domLoading":212,"domInteractive":1751,"domContentLoadedEventStart":1751,"domContentLoadedEventEnd":1833,"domComplete":2457,"loadEventStart":2457,"loadEventEnd":2457,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1703.8999996185303},{"name":"bigPipe.sidebar-id.end","time":1704.6999998092651},{"name":"bigPipe.activity-panel-pipe-id.start","time":1704.8000001907349},{"name":"bigPipe.activity-panel-pipe-id.end","time":1706},{"name":"activityTabFullyLoaded","time":1853.5}],"measures":[],"correlationId":"38e1bd4d18bc90","effectiveType":"4g","downlink":9,"rtt":0,"serverDuration":110,"dbReadsTimeInMs":13,"dbConnsTimeInMs":36,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
Hi Elkin!
This is ready for review: PR-2998.
The changes are isolated to the test itself, rather than code.