Type:
Task
Priority:
Minor
Resolution:
Fixed
As stated in description MTR should report in that cases the last test that was executed.
That information can be extracted from CURRENT_TEST that is written in log file.
In attachment is suggested patch, that works in case tests are not completed.
Patch - bb-10.6-anel-MDEV-25506 .
However, in case of shutdown on Windows environment, result is visible in verbose mode mtr --verbose . Without the flag verbose I couldn't obtain the same result.
Note: the patch contains some information for debugging purposes only and to show you here i description. I will remove them after review. Does it mean that mtr_report_test doesn't work in Windows?
Invoke mtr with test case encryption.innodb-bad-key-change4 on branch bb-10.6-anel- MDEV-25506
Results in Windows without the patch and with the patch without verbose flag - test not visible :
==============================================================================
TEST RESULT TIME (ms) or COMMENT
--------------------------------------------------------------------------
worker[1] Using MTR_BUILD_THREAD 300, with reserved ports 16000..16019
worker[1] mysql-test-run: WARNING: Process [mysqld.1 - pid: 17188, winpid: 17188, exit: 512] died after mysql-test-run waited 0.42 seconds for D:/server/bld_10.6/mysql-test/var/run/mysqld.1.pid to be created.
worker[1] mysql-test-run: *** ERROR: Failed to start mysqld mysqld.1 with command D:/server/bld_10.6/sql//Debug/mariadbd.exe
Result with verbose mode - test visible
worker[1] > mysqld_start restart: [' --plugin-load-add=file_key_management.so', '--file-key-management', '--file-key-management-filename=D:/server/mysql-test/std_data/keys2.txt ']
worker[1] > Started [mysqld.1 - pid: 17452, winpid: 17452]
worker[1] mysql-test-run: WARNING: Process [mysqld.1 - pid: 17452, winpid: 17452, exit: 512] died after mysql-test-run waited 0.43 seconds for D:/server/bld_10.6/mysql-test/var/run/mysqld.1.pid to be created.
worker[1] Ovdje sam
worker[1] D:/server/bld_10.6/mysql-test/var/log/current_test
worker[1] Ovdje sam
worker[1] encryption.innodb-bad-key-change4
safe_process[8548]: parent_pid: 16212
safe_process[8548]: Started child 9996
worker[1] [ fail ]
Test ended at 2021-06-03 13:45:41
worker[1]
D:/server/bld_10.6/mysql-test/var/log/current_test
worker[1] mysql-test-run: *** ERROR: Failed to start mysqld mysqld.1 with command D:/server/bld_10.6/sql//Debug/mariadbd.exe
Note that this line - mtr_report_test is not executed and I don't see how to fix this on Windows.
Any idea wlad ?
causes
MDEV-30186
Use of uninitialized value $test_name in substitution
Closed
{"report":{"fcp":833.2000000476837,"ttfb":124,"pageVisibility":"visible","entityId":100262,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"9ef0d0f1-ed7f-43f9-84d3-ce4567cd4f67","navigationType":0,"readyForUser":888.7000000476837,"redirectCount":0,"resourceLoadedEnd":1188,"resourceLoadedStart":129.29999995231628,"resourceTiming":[{"duration":278,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":129.29999995231628,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":129.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":407.2999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":277.7000000476837,"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":129.59999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":129.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":407.2999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":286.2999999523163,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":129.70000004768372,"connectEnd":129.70000004768372,"connectStart":129.70000004768372,"domainLookupEnd":129.70000004768372,"domainLookupStart":129.70000004768372,"fetchStart":129.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":129.70000004768372,"responseEnd":416,"responseStart":416,"secureConnectionStart":129.70000004768372},{"duration":310.40000009536743,"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":129.79999995231628,"connectEnd":129.79999995231628,"connectStart":129.79999995231628,"domainLookupEnd":129.79999995231628,"domainLookupStart":129.79999995231628,"fetchStart":129.79999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":129.79999995231628,"responseEnd":440.2000000476837,"responseStart":440.2000000476837,"secureConnectionStart":129.79999995231628},{"duration":313.69999980926514,"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":129.90000009536743,"connectEnd":129.90000009536743,"connectStart":129.90000009536743,"domainLookupEnd":129.90000009536743,"domainLookupStart":129.90000009536743,"fetchStart":129.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":129.90000009536743,"responseEnd":443.59999990463257,"responseStart":443.59999990463257,"secureConnectionStart":129.90000009536743},{"duration":314,"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":130,"connectEnd":130,"connectStart":130,"domainLookupEnd":130,"domainLookupStart":130,"fetchStart":130,"redirectEnd":0,"redirectStart":0,"requestStart":130,"responseEnd":444,"responseStart":444,"secureConnectionStart":130},{"duration":314.30000019073486,"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":130.09999990463257,"connectEnd":130.09999990463257,"connectStart":130.09999990463257,"domainLookupEnd":130.09999990463257,"domainLookupStart":130.09999990463257,"fetchStart":130.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":130.09999990463257,"responseEnd":444.40000009536743,"responseStart":444.40000009536743,"secureConnectionStart":130.09999990463257},{"duration":315,"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":130.29999995231628,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":130.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":445.2999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":314.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":130.40000009536743,"connectEnd":130.40000009536743,"connectStart":130.40000009536743,"domainLookupEnd":130.40000009536743,"domainLookupStart":130.40000009536743,"fetchStart":130.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":130.40000009536743,"responseEnd":445,"responseStart":445,"secureConnectionStart":130.40000009536743},{"duration":315.2000000476837,"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":130.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":130.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":445.7000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":315,"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":130.59999990463257,"connectEnd":130.59999990463257,"connectStart":130.59999990463257,"domainLookupEnd":130.59999990463257,"domainLookupStart":130.59999990463257,"fetchStart":130.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":130.59999990463257,"responseEnd":445.59999990463257,"responseStart":445.59999990463257,"secureConnectionStart":130.59999990463257},{"duration":549.2000000476837,"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":131.29999995231628,"connectEnd":131.29999995231628,"connectStart":131.29999995231628,"domainLookupEnd":131.29999995231628,"domainLookupStart":131.29999995231628,"fetchStart":131.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":131.29999995231628,"responseEnd":680.5,"responseStart":680.5,"secureConnectionStart":131.29999995231628},{"duration":1056.5999999046326,"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":131.40000009536743,"connectEnd":131.40000009536743,"connectStart":131.40000009536743,"domainLookupEnd":131.40000009536743,"domainLookupStart":131.40000009536743,"fetchStart":131.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":131.40000009536743,"responseEnd":1188,"responseStart":1188,"secureConnectionStart":131.40000009536743},{"duration":408.09999990463257,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":642.2000000476837,"connectEnd":642.2000000476837,"connectStart":642.2000000476837,"domainLookupEnd":642.2000000476837,"domainLookupStart":642.2000000476837,"fetchStart":642.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":642.2000000476837,"responseEnd":1050.2999999523163,"responseStart":1050.2999999523163,"secureConnectionStart":642.2000000476837},{"duration":427.7999999523163,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":812.7999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":812.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1240.5999999046326,"responseStart":0,"secureConnectionStart":0}],"fetchStart":1,"domainLookupStart":1,"domainLookupEnd":1,"connectStart":1,"connectEnd":1,"requestStart":3,"responseStart":124,"responseEnd":127,"domLoading":127,"domInteractive":1204,"domContentLoadedEventStart":1204,"domContentLoadedEventEnd":1237,"domComplete":1841,"loadEventStart":1841,"loadEventEnd":1843,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1191.2999999523163},{"name":"bigPipe.sidebar-id.end","time":1192},{"name":"bigPipe.activity-panel-pipe-id.start","time":1192.2000000476837},{"name":"bigPipe.activity-panel-pipe-id.end","time":1194.5999999046326},{"name":"activityTabFullyLoaded","time":1243.5999999046326}],"measures":[],"correlationId":"bd0a2a70a5ac59","effectiveType":"4g","downlink":9.7,"rtt":0,"serverDuration":70,"dbReadsTimeInMs":10,"dbConnsTimeInMs":17,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}