Opened 11 years ago
Closed 19 months ago
#2676 closed enhancement (fixed)
Change Debbie to also test extension upgrade
Reported by: | robe | Owned by: | robe |
---|---|---|---|
Priority: | medium | Milestone: | Website Management, Bots |
Component: | QA/buildbots | Version: | 2.1.x |
Keywords: | Cc: |
Description
Right now none of the bots test the extension upgrade feature strk put in. Going to change that so we have better regression testing and hopefully fewer surprises when we release.
Won't be able to make this change until fix at least issue #2673
Change History (11)
comment:1 by , 11 years ago
comment:2 by , 8 years ago
I've added upgrade testing to Dronie, using the new utils/check_all_upgrades.sh — you may find that script useful for Debbie and Winnie. For liblwgeom install path (which may affect loader/dumper) you may try using —prefix
comment:4 by , 7 years ago
I've added upgrade testing to Debbie, using utils/check_all_upgrades.sh in ci/debbie/postgis_regress.sh of trunk branch with r16226 - let's see if it works and it can be improved by installing more versions of PostGIS on the machine.
comment:5 by , 7 years ago
unpackaged—2.5.0dev extension upgrade fails with:
ERROR: extension "postgis_sfcgal" does not exist
See https://debbie.postgis.net/job/PostGIS_Regress/8259/console
Regina: ideas ?
comment:6 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
It looks like I fixed the "postgis_sfcgal" issue as of r16340 I'm closing this. Reopen if you you see failures related to upgrade testing.
comment:8 by , 7 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
I'm reopening to backport the testing to older branches.
comment:9 by , 7 years ago
Although now Debbie also tests upgrades in the 2.4 branch there's effectively no upgrade test being run, probably because there's no system-wide installed PostGIS < 2.4.3 - do you confirm Regina ? See https://debbie.postgis.net/job/PostGIS_Regress/8472/console
comment:11 by , 19 months ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Debbie is definitely testing upgrades now, as shown by the (failing) upgrade test in https://debbie.postgis.net/job/PostGIS_Regress/25034/
I think the failure at hand was due to not using postgis minor library version when installing, and builds upgrading from installs of other builds. Everything pretty unstable if you ask me, but somehow these permutations might be also good testing.
HOpefully [76505b970ea1c91bdde2870652c4415ab359083e/git] fixed the failure but the focus of THIS ticket was to request Debbie testing of upgrades and so I'm closing it as done.
I think I figured out the problem here. It's that liblwgeom that want's to install itself in /usr/local/lib and since I'm running jenkins under an unprivileged account, it can't install there. Do we have a way to compile that statically into postgis.so file. I'd rather not have that file installed in some place since it also makes our tests dependent on one another in unpredictable ways (micros).
In windows it just naturally ends up being statically compiled though it still tries to install include files which is very annoying.