[MDEV-11327] 10.1 cannot be upgraded to 10.2 Created: 2016-11-21 Updated: 2016-11-25 Resolved: 2016-11-25 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Packaging, Platform Debian |
| Affects Version/s: | 10.2 |
| Fix Version/s: | 10.2.3 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Otto Kekäläinen |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Upd: dist-upgrade issue has been extracted into a separate report MDEV-11355, since it's a configuration issue. apt-get install mariadb-server over an existing installation of 10.1 or 10.2 fails:
|
| Comments |
| Comment by Elena Stepanova [ 2016-11-21 ] | ||||||||||||||||||||||||||
|
Strangely, on sid the dist-upgrade actually works:
| ||||||||||||||||||||||||||
| Comment by Otto Kekäläinen [ 2016-11-23 ] | ||||||||||||||||||||||||||
|
Did you recently (1-5 days) do some changes to buildbot? At http://buildbot.askmonty.org/buildbot/grid?branch=ok-debpkg-10.2&category=main&category=experimental the jessie and wheezy tests pass at commit 779d416a992f (my last change to 10.2) but then has started to fail after other people's commits, but none of the commits are Debian packaging related, so it made me think if buildbot tests themselves have changed. | ||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2016-11-23 ] | ||||||||||||||||||||||||||
|
Yes, the history is currently a bit confusing, sorry about that, let me clarify. We have had dist-upgrade test (the one that upgrades from 10.2.2 to current 10.2 packages) for a while. It's logic is this:
So, this last part is the culprit. It was disabled before, because it produced too many false-positives (e.g. when the version number wasn't raised in time after a release, or when a development tree was based on a version which was already released etc.). It was still printing the version numbers into the output, but it didn't compare them and didn't fail when the version didn't change. While looking into something else, I discovered that the upgrade actually didn't work on some versions, so I filed a bug and re-enabled the check, which is why it started failing now. svoj was also notified. So, the builders, builds or test flow didn't change, but the pass/fail criteria have changed. If needed, I can go manually back through builds and outputs and find out when the upgrade stopped happening. | ||||||||||||||||||||||||||
| Comment by Otto Kekäläinen [ 2016-11-24 ] | ||||||||||||||||||||||||||
|
I am unable to reproduce this. I repeated manually the steps visible at http://buildbot.askmonty.org/buildbot/builders/kvm-deb-jessie-amd64/builds/1403/steps/test_3/logs/stdio but I don't see the same result. I installed on a fresh Jessie install MariaDB 10.2 from deb http://mirror2.hs-esslingen.de/mariadb/repo/10.2/debian jessie main and then activated deb http://hasky.askmonty.org/archive/10.2/build-12044/kvm-deb-jessie-amd64/debs/ binary/ after which both dist-upgrade and normal upgrade work as expected, updating also the server.
| ||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2016-11-24 ] | ||||||||||||||||||||||||||
|
I tried it manually before filing the report, it failed for me back then. I'll check again. | ||||||||||||||||||||||||||
| Comment by Otto Kekäläinen [ 2016-11-24 ] | ||||||||||||||||||||||||||
|
Side note dbart: You might want to run on the image apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xcbcb082a1bb943db to avoid have unnecessary warnings in the log about W: GPG error: http://mirror2.hs-esslingen.de jessie InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY CBCB082A1BB943DB | ||||||||||||||||||||||||||
| Comment by Otto Kekäläinen [ 2016-11-25 ] | ||||||||||||||||||||||||||
|
elenst Can I download the exact jessie image buildbot uses from somewhere so I could try to reproduce the error with it instead of a generic jessie image? | ||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2016-11-25 ] | ||||||||||||||||||||||||||
otto, it's not going to be easy. I'm re-trying it manually now, not quite certain yet what's happening – sometimes it passes, sometimes it fails, I need to find the pattern. As soon as I do, I'll paste everything that I have, and if it's not enough, we'll see what we should do next. | ||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2016-11-25 ] | ||||||||||||||||||||||||||
|
otto, I've just realized what must have been different in your scenario, and what must be the reason of the problem with dist-upgrade. In order to keep dist-upgrade limited to MariaDB only, to avoid lengthy system-wide upgrades, after initial installation the test removes from sources.list everything, except for the local repo. Normally it works fine, because a previous minor version has already been installed. So, it also serves as an additional check that no new dependencies have been introduced, because normally a minor upgrade should not bring any. However, it doesn't explain the problem with 10.1=>10.2 upgrade, I will look into it next. svoj, FYI. | ||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2016-11-25 ] | ||||||||||||||||||||||||||
|
otto, 10.1 => 10.2 upgrade problem (install 10.2 server over the existing 10.1) is still reproducible without any tricks with repos; does it happen on your machine? However, it's not new, looks the same with 10.2.2. I will update the description and decrease the priority since 10.1=>10.2 is a less critical problem at the moment than 10.2=>10.2. Of course, it will become critical when we're closer to the GA. | ||||||||||||||||||||||||||
| Comment by Otto Kekäläinen [ 2016-11-25 ] | ||||||||||||||||||||||||||
|
Everything passes in http://buildbot.askmonty.org/buildbot/builders/kvm-deb-stretch-amd64/builds/38 (10.1 -> 10.2 upgrade in http://buildbot.askmonty.org/buildbot/builders/kvm-deb-stretch-amd64/builds/38/steps/test_2/logs/stdio) I fixed this yesterday as a by product of fixing systemd issue. |