[MDEV-14991] Set up "major upgrade" tests for RPMs in buildbot Created: 2018-01-19  Updated: 2018-02-05  Due: 2018-02-04  Resolved: 2018-02-05

Status: Closed
Project: MariaDB Server
Component/s: Tests
Affects Version/s: N/A
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Elena Stepanova Assignee: Elena Stepanova
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
PartOf

 Description   

MariaDB server RPM packages do not support major upgrade. However, the upgrade as such is possible, through removing the old server (possibly temporarily breaking dependencies), installing the new server, and running mysql_upgrade manually.

That's the only way we can now offer to users, and it should be tested in buildbot.

Additionally, it should help to catch problems like MDEV-14990 , which cannot be revealed by any existing package upgrade tests.



 Comments   
Comment by Elena Stepanova [ 2018-02-05 ]

The test goes as major-upgrade-server on RPM builders. It runs for 10.1+ trees, installs the latest released version in the previous version line (10.0 for 10.1, 10.1 for 10.2 etc.), performs the same statements as minor upgrade (creates some objects and trivial data), then removes the packages, installs instead the ones under the test, runs mysql_upgrade, performs basic checks.

on 10.1: http://buildbot.askmonty.org/buildbot/builders/kvm-rpm-centos6-x86/builds/6438/steps/major-upgrade-server/logs/stdio
on 10.3: http://buildbot.askmonty.org/buildbot/builders/kvm-rpm-centos7-amd64/builds/7327/steps/major-upgrade-server/logs/stdio (fails due to MDEV-14990).

Generated at Thu Feb 08 08:17:52 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.