Type:
Bug
Priority:
Major
Resolution:
Fixed
Affects Version/s:
10.1(EOL) , 10.2(EOL) , 10.3(EOL) , 10.4(EOL) , 10.5
There are two failure-prone pattern in mtr suite tests that allows for a pre-test
global.debug_dbug value to not be actually restored, though the test intends doing so.
1. Total reset of @@global.debug_dbug at the end of the test, like in
rpl.kill_race_condition leads to a mtr report like
*--- /home2/me/MDB/WTs/10.5/sandbox/RUN_DEBUG/mysql-test/var/tmp/check-mysqld_2.result 2019-12-19 16:25:40.952378912 +0200
+++ /home2/me/MDB/WTs/10.5/sandbox/RUN_DEBUG/mysql-test/var/tmp/check-mysqld_2.reject 2019-12-19 16:25:42.168365805 +0200
@@ -124,9 +124,9 @@
DEADLOCK_SEARCH_DEPTH_SHORT 4
DEADLOCK_TIMEOUT_LONG 50000000
DEADLOCK_TIMEOUT_SHORT 10000
-DEBUG d,ib_log_checkpoint_avoid
+DEBUG
DEBUG_BINLOG_FSYNC_SLEEP 0
-DEBUG_DBUG d,ib_log_checkpoint_avoid
+DEBUG_DBUG
DEBUG_MUTEX_DEADLOCK_DETECTOR ON
DEBUG_NO_THREAD_ALARM OFF
DEFAULT_PASSWORD_LIFETIME 0
mysqltest: Result length mismatch
not ok
rpl.kill_race_condition 'row' [ pass ] 787
MTR's internal check of the test case 'rpl.kill_race_condition' failed.
This means that the test case does not preserve the state that existed
before the test case was executed. Most likely the test case did not
do a proper clean-up. It could also be caused by the previous test run
by this thread, if the server wasn't restarted.
no* further _formatting_ is done here
when run with a pre-installed debug_dbug : ./mtr --mysqld = --debug=d,... .
2. reset to a "$saved" mtr variable that expands at the assignment
mysql-test/suite/rpl/t/rpl_slave_load_remove_tmpfile.test:77:eval SET @@global.debug_dbug= '$old_debug';
to a string whose value is actually variable
e.g 'cos of the pre-installation pattern of p.1.
Resetting should be done either via save/restore through a session @var, see
mysql-test/suite/versioning/t/debug.test:34:set global debug_dbug=@old_dbug;
or instead of the memorization pattern a +/-d,keyword increment and decrement style should be used.
For using the latter without threatening to polute the server error log though we lack
`commit 0b9400d1f54f4ae9b84decf53352850171880f1e
19:47:52 Author: Thayumanavar <thayumanavar.x.sachithanantha@oracle.com (thayumanavar.x.sachithanantha@oracle.com)>
19:47:52 Date: Thu May 2 16:22:57 2013 +0530
{"report":{"fcp":640.4000000953674,"ttfb":140.09999990463257,"pageVisibility":"visible","entityId":81885,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"0376cd5f-d207-4833-a868-f9cc3813c1dd","navigationType":0,"readyForUser":752.0999999046326,"redirectCount":0,"resourceLoadedEnd":684.5999999046326,"resourceLoadedStart":177.70000004768372,"resourceTiming":[{"duration":6.099999904632568,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":177.70000004768372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":177.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":183.79999995231628,"responseStart":0,"secureConnectionStart":0},{"duration":6,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/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":177.90000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":177.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":183.90000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":61.40000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":178.09999990463257,"connectEnd":178.09999990463257,"connectStart":178.09999990463257,"domainLookupEnd":178.09999990463257,"domainLookupStart":178.09999990463257,"fetchStart":178.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":178.09999990463257,"responseEnd":239.5,"responseStart":239.5,"secureConnectionStart":178.09999990463257},{"duration":144.09999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/099b33461394b8015fc36c0a4b96e19f-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/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":178.20000004768372,"connectEnd":178.20000004768372,"connectStart":178.20000004768372,"domainLookupEnd":178.20000004768372,"domainLookupStart":178.20000004768372,"fetchStart":178.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":178.20000004768372,"responseEnd":322.2999999523163,"responseStart":322.2999999523163,"secureConnectionStart":178.20000004768372},{"duration":147.79999995231628,"initiatorType":"script","name":"https://jira.mariadb.org/s/94c15bff32baef80f4096a08aceae8bc-CDN/lu2bu7/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":178.29999995231628,"connectEnd":178.29999995231628,"connectStart":178.29999995231628,"domainLookupEnd":178.29999995231628,"domainLookupStart":178.29999995231628,"fetchStart":178.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":178.29999995231628,"responseEnd":326.09999990463257,"responseStart":326.09999990463257,"secureConnectionStart":178.29999995231628},{"duration":148.29999995231628,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":178.40000009536743,"connectEnd":178.40000009536743,"connectStart":178.40000009536743,"domainLookupEnd":178.40000009536743,"domainLookupStart":178.40000009536743,"fetchStart":178.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":178.40000009536743,"responseEnd":326.7000000476837,"responseStart":326.7000000476837,"secureConnectionStart":178.40000009536743},{"duration":148.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":178.5,"connectEnd":178.5,"connectStart":178.5,"domainLookupEnd":178.5,"domainLookupStart":178.5,"fetchStart":178.5,"redirectEnd":0,"redirectStart":0,"requestStart":178.5,"responseEnd":327,"responseStart":327,"secureConnectionStart":178.5},{"duration":149,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bu7/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":178.59999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":178.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":327.59999990463257,"responseStart":0,"secureConnectionStart":0},{"duration":148.89999985694885,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":178.70000004768372,"connectEnd":178.70000004768372,"connectStart":178.70000004768372,"domainLookupEnd":178.70000004768372,"domainLookupStart":178.70000004768372,"fetchStart":178.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":178.70000004768372,"responseEnd":327.59999990463257,"responseStart":327.59999990463257,"secureConnectionStart":178.70000004768372},{"duration":149.10000014305115,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bu7/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":178.79999995231628,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":178.79999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":327.90000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":149.09999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/3339d87fa2538a859872f2df449bf8d0-CDN/lu2bu7/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":178.90000009536743,"connectEnd":178.90000009536743,"connectStart":178.90000009536743,"domainLookupEnd":178.90000009536743,"domainLookupStart":178.90000009536743,"fetchStart":178.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":178.90000009536743,"responseEnd":328,"responseStart":328,"secureConnectionStart":178.90000009536743},{"duration":244.40000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":179.59999990463257,"connectEnd":179.59999990463257,"connectStart":179.59999990463257,"domainLookupEnd":179.59999990463257,"domainLookupStart":179.59999990463257,"fetchStart":179.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":179.59999990463257,"responseEnd":424,"responseStart":424,"secureConnectionStart":179.59999990463257},{"duration":505,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":179.59999990463257,"connectEnd":179.59999990463257,"connectStart":179.59999990463257,"domainLookupEnd":179.59999990463257,"domainLookupStart":179.59999990463257,"fetchStart":179.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":179.59999990463257,"responseEnd":684.5999999046326,"responseStart":684.5999999046326,"secureConnectionStart":179.59999990463257},{"duration":32,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":406.5,"connectEnd":406.5,"connectStart":406.5,"domainLookupEnd":406.5,"domainLookupStart":406.5,"fetchStart":406.5,"redirectEnd":0,"redirectStart":0,"requestStart":406.5,"responseEnd":438.5,"responseStart":438.5,"secureConnectionStart":406.5},{"duration":72.09999990463257,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":633.9000000953674,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":633.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":706,"responseStart":0,"secureConnectionStart":0},{"duration":174.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2bu7/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","startTime":640.7000000476837,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":640.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":815.2000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":175.20000004768372,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/e65b778d185daf5aee24936755b43da6/_/download/contextbatch/js/browser-metrics-plugin.contrib,-_super,-project.issue.navigator,-jira.view.issue,-atl.general/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true","startTime":641.5,"connectEnd":641.5,"connectStart":641.5,"domainLookupEnd":641.5,"domainLookupStart":641.5,"fetchStart":641.5,"redirectEnd":0,"redirectStart":0,"requestStart":641.5,"responseEnd":816.7000000476837,"responseStart":816.7000000476837,"secureConnectionStart":641.5},{"duration":181.79999995231628,"initiatorType":"script","name":"https://jira.mariadb.org/s/f51ef5507eea4c158f257c66c93b2a3f-CDN/lu2bu7/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/js/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.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true","startTime":641.9000000953674,"connectEnd":641.9000000953674,"connectStart":641.9000000953674,"domainLookupEnd":641.9000000953674,"domainLookupStart":641.9000000953674,"fetchStart":641.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":641.9000000953674,"responseEnd":823.7000000476837,"responseStart":823.7000000476837,"secureConnectionStart":641.9000000953674}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":8,"responseStart":140,"responseEnd":147,"domLoading":175,"domInteractive":805,"domContentLoadedEventStart":805,"domContentLoadedEventEnd":847,"domComplete":1283,"loadEventStart":1283,"loadEventEnd":1285,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":788.4000000953674},{"name":"bigPipe.sidebar-id.end","time":789.2000000476837},{"name":"bigPipe.activity-panel-pipe-id.start","time":789.2999999523163},{"name":"bigPipe.activity-panel-pipe-id.end","time":791.5999999046326},{"name":"activityTabFullyLoaded","time":854.5}],"measures":[],"correlationId":"42bcd06835d9c4","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":76,"dbReadsTimeInMs":10,"dbConnsTimeInMs":17,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}