Buldbot tests upgrade and upgrade2 attempt to do the live upgrade from 5.1.49 to the current version. It does not work for 10.0 anymore (and for MySQL 5.1 => 5.6 too). Upgrade 5.1 => 5.5 works, 5.5 => 5.6 / 10.0 works, but the direct upgrade 5.1 => 5.6 does not, it complains about InnoDB auto-extending:
2013-08-08 18:47:25 8805 [ERROR] InnoDB: auto-extending data file ./ibdata1 is of a different size 640 pages (rounded down to MB) than specified in the .cnf file: initial 768 p
ages, max 0 (relevant if non-zero) pages!
2013-08-08 18:47:25 8805 [ERROR] InnoDB: Could not open or create the system tablespace. If you tried to add new data files to the system tablespace, and it failed here, you sh
ould now edit innodb_data_file_path in my.cnf back to what it was, and remove the new ibdata files InnoDB created in this failed attempt. InnoDB only wrote those files full of
zeros, but did not yet use them in any way. But be careful: do not remove old data files which contain your precious data!
2013-08-08 18:47:25 8805 [ERROR] Plugin 'InnoDB' init function returned error.
2013-08-08 18:47:25 8805 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
(The messages above are from MySQL 5.1 => 5.6 upgrade).
Since it's a general recommendation to go through releases consequently, it's probably not a code bug, and we need to change the test for 10.0 to do the upgrade from 5.5, if possible.
Since we're not really releasing 5.1-5.3 packages very often these days would it make sense to install MySQL 5.5 on all of the 5.5 upgrade VMs and MariaDB 5.5 on all of the upgrade2 VMs?
Many of the recent VMs are this way already, but older upgrade/upgrade2 VMs have 5.1.
Daniel Bartholomew
added a comment - Since we're not really releasing 5.1-5.3 packages very often these days would it make sense to install MySQL 5.5 on all of the 5.5 upgrade VMs and MariaDB 5.5 on all of the upgrade2 VMs?
Many of the recent VMs are this way already, but older upgrade/upgrade2 VMs have 5.1.
In general it seems to be reasonable, but it's always scary to touch VMs before the release. Besides, if a distribution still has 5.1 by default, it does make sense to test the upgrade from it.
I'm going to try to fix it differently, got the ideas from IRC:
either by creating and populating an InnoDB table, so that the datafile grows above the new default, and the issue with auto-extending becomes irrelevant;
or by adding the old option value ibdata1:10M:autoextend to the cnf file.
The first solution makes much more sense, I'm trying it now – modified the 'upgrade' test, if it works, I will do the same for upgrade2.
Elena Stepanova
added a comment - - edited In general it seems to be reasonable, but it's always scary to touch VMs before the release. Besides, if a distribution still has 5.1 by default, it does make sense to test the upgrade from it.
I'm going to try to fix it differently, got the ideas from IRC:
either by creating and populating an InnoDB table, so that the datafile grows above the new default, and the issue with auto-extending becomes irrelevant;
or by adding the old option value ibdata1:10M:autoextend to the cnf file.
The first solution makes much more sense, I'm trying it now – modified the 'upgrade' test, if it works, I will do the same for upgrade2.
It worked for upgrade, added now for upgrade2 too. Once it passes, I will close the task, and we can decide about replacing 5.1 with 5.5 later.
Elena Stepanova
added a comment - It worked for upgrade, added now for upgrade2 too. Once it passes, I will close the task, and we can decide about replacing 5.1 with 5.5 later.
In 'upgrade' test: create a new innodb table and insert several thousand rows into it, so that the default table space grows above both old and new start values;
in 'upgrade2' test: additionally set innodb_file_per_table = 0 because it might be set differently in MariaDB. To avoid errors in case there is no innodb_file_per_table, MySQL client for this set of commands is run with --force.
Elena Stepanova
added a comment - Works now:
http://buildbot.askmonty.org/buildbot/builders/kvm-deb-debian6-x86/builds/2793
In 'upgrade' test: create a new innodb table and insert several thousand rows into it, so that the default table space grows above both old and new start values;
in 'upgrade2' test: additionally set innodb_file_per_table = 0 because it might be set differently in MariaDB. To avoid errors in case there is no innodb_file_per_table, MySQL client for this set of commands is run with --force.
People
Elena Stepanova
Elena Stepanova
Votes:
0Vote for this issue
Watchers:
4Start watching this issue
Dates
Created:
Updated:
Resolved:
Git Integration
Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.
{"report":{"fcp":1082.8999996185303,"ttfb":403.5,"pageVisibility":"visible","entityId":25049,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"1fad6ffd-bfe8-484a-b6d0-d1a3429c68cd","navigationType":0,"readyForUser":1233.0999994277954,"redirectCount":0,"resourceLoadedEnd":1297.0999994277954,"resourceLoadedStart":409,"resourceTiming":[{"duration":127.09999942779541,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":409,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":409,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":536.0999994277954,"responseStart":0,"secureConnectionStart":0},{"duration":127.19999980926514,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bv2/820016/12ta74/2380add21a9a1006587582385952de73/_/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":409.19999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":409.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":536.3999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":184.79999923706055,"initiatorType":"script","name":"https://jira.mariadb.org/s/e9b27a47da5fb0f74a35acd57e9847fb-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":409.5,"connectEnd":409.5,"connectStart":409.5,"domainLookupEnd":409.5,"domainLookupStart":409.5,"fetchStart":409.5,"redirectEnd":0,"redirectStart":0,"requestStart":409.5,"responseEnd":594.2999992370605,"responseStart":594.2999992370605,"secureConnectionStart":409.5},{"duration":263.30000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/c32eb0da7ad9831253f8397e6cc26afd-CDN/lu2bv2/820016/12ta74/2380add21a9a1006587582385952de73/_/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":409.69999980926514,"connectEnd":409.69999980926514,"connectStart":409.69999980926514,"domainLookupEnd":409.69999980926514,"domainLookupStart":409.69999980926514,"fetchStart":409.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":409.69999980926514,"responseEnd":673,"responseStart":673,"secureConnectionStart":409.69999980926514},{"duration":267.30000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/bc0bcb146314416123c992714ee00ff7-CDN/lu2bv2/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":409.79999923706055,"connectEnd":409.79999923706055,"connectStart":409.79999923706055,"domainLookupEnd":409.79999923706055,"domainLookupStart":409.79999923706055,"fetchStart":409.79999923706055,"redirectEnd":0,"redirectStart":0,"requestStart":409.79999923706055,"responseEnd":677.0999994277954,"responseStart":677.0999994277954,"secureConnectionStart":409.79999923706055},{"duration":267.69999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":410,"connectEnd":410,"connectStart":410,"domainLookupEnd":410,"domainLookupStart":410,"fetchStart":410,"redirectEnd":0,"redirectStart":0,"requestStart":410,"responseEnd":677.6999998092651,"responseStart":677.6999998092651,"secureConnectionStart":410},{"duration":267.8999996185303,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":410.19999980926514,"connectEnd":410.19999980926514,"connectStart":410.19999980926514,"domainLookupEnd":410.19999980926514,"domainLookupStart":410.19999980926514,"fetchStart":410.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":410.19999980926514,"responseEnd":678.0999994277954,"responseStart":678.0999994277954,"secureConnectionStart":410.19999980926514},{"duration":329.6000003814697,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bv2/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":410.3999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":410.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":740,"responseStart":0,"secureConnectionStart":0},{"duration":268,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":410.5999994277954,"connectEnd":410.5999994277954,"connectStart":410.5999994277954,"domainLookupEnd":410.5999994277954,"domainLookupStart":410.5999994277954,"fetchStart":410.5999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":410.5999994277954,"responseEnd":678.5999994277954,"responseStart":678.5999994277954,"secureConnectionStart":410.5999994277954},{"duration":329.3999996185303,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bv2/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":410.69999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":410.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":740.0999994277954,"responseStart":0,"secureConnectionStart":0},{"duration":268.19999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/s/719848dd97ebe0663199f49a3936487a-CDN/lu2bv2/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":410.8999996185303,"connectEnd":410.8999996185303,"connectStart":410.8999996185303,"domainLookupEnd":410.8999996185303,"domainLookupStart":410.8999996185303,"fetchStart":410.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":410.8999996185303,"responseEnd":679.0999994277954,"responseStart":679.0999994277954,"secureConnectionStart":410.8999996185303},{"duration":648.6999998092651,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":418.69999980926514,"connectEnd":418.69999980926514,"connectStart":418.69999980926514,"domainLookupEnd":418.69999980926514,"domainLookupStart":418.69999980926514,"fetchStart":418.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":418.69999980926514,"responseEnd":1067.3999996185303,"responseStart":1067.3999996185303,"secureConnectionStart":418.69999980926514},{"duration":775.6999998092651,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":429.5,"connectEnd":429.5,"connectStart":429.5,"domainLookupEnd":429.5,"domainLookupStart":429.5,"fetchStart":429.5,"redirectEnd":0,"redirectStart":0,"requestStart":429.5,"responseEnd":1205.1999998092651,"responseStart":1205.1999998092651,"secureConnectionStart":429.5},{"duration":315.5,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":752.2999992370605,"connectEnd":752.2999992370605,"connectStart":752.2999992370605,"domainLookupEnd":752.2999992370605,"domainLookupStart":752.2999992370605,"fetchStart":752.2999992370605,"redirectEnd":0,"redirectStart":0,"requestStart":752.2999992370605,"responseEnd":1067.7999992370605,"responseStart":1067.7999992370605,"secureConnectionStart":752.2999992370605},{"duration":200.69999980926514,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1072.6999998092651,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1072.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1273.3999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":176.60000038146973,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2bv2/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":1116.3999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1116.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1293,"responseStart":0,"secureConnectionStart":0},{"duration":173.30000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/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":1117.3999996185303,"connectEnd":1117.3999996185303,"connectStart":1117.3999996185303,"domainLookupEnd":1117.3999996185303,"domainLookupStart":1117.3999996185303,"fetchStart":1117.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":1117.3999996185303,"responseEnd":1290.6999998092651,"responseStart":1290.6999998092651,"secureConnectionStart":1117.3999996185303},{"duration":179.0999994277954,"initiatorType":"script","name":"https://jira.mariadb.org/s/53a43b6764f587426c7bb9a150184c00-CDN/lu2bv2/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":1118,"connectEnd":1118,"connectStart":1118,"domainLookupEnd":1118,"domainLookupStart":1118,"fetchStart":1118,"redirectEnd":0,"redirectStart":0,"requestStart":1118,"responseEnd":1297.0999994277954,"responseStart":1297.0999994277954,"secureConnectionStart":1118}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":241,"responseStart":403,"responseEnd":429,"domLoading":406,"domInteractive":1303,"domContentLoadedEventStart":1303,"domContentLoadedEventEnd":1360,"domComplete":1592,"loadEventStart":1592,"loadEventEnd":1593,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1278.8999996185303},{"name":"bigPipe.sidebar-id.end","time":1279.6999998092651},{"name":"bigPipe.activity-panel-pipe-id.start","time":1279.8999996185303},{"name":"bigPipe.activity-panel-pipe-id.end","time":1281.2999992370605},{"name":"activityTabFullyLoaded","time":1377.0999994277954}],"measures":[],"correlationId":"29088d11d497f5","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":92,"dbReadsTimeInMs":9,"dbConnsTimeInMs":15,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
Since we're not really releasing 5.1-5.3 packages very often these days would it make sense to install MySQL 5.5 on all of the 5.5 upgrade VMs and MariaDB 5.5 on all of the upgrade2 VMs?
Many of the recent VMs are this way already, but older upgrade/upgrade2 VMs have 5.1.