Merge autopkgtest-cloud:build-adt-stable into autopkgtest-cloud:master

Proposed by Brian Murray
Status: Needs review
Proposed branch: autopkgtest-cloud:build-adt-stable
Merge into: autopkgtest-cloud:master
Diff against target: 12 lines (+1/-1)
1 file modified
charms/focal/autopkgtest-cloud-worker/autopkgtest-cloud/tools/build-adt-image (+1/-1)
Reviewer Review Type Date Requested Status
Paride Legovini Needs Information
Ubuntu Release Team Pending
Review via email: mp+434130@code.launchpad.net

Description of the change

At the beginning of the Lunar development cycle we created images from Kinetic but they were from a Kinetic daily image so had newer versions of dbus and curl than were available in Lunar. This naturally caused some oddities with testing packages and this *should* avoid that by using the final release image instead of a daily build.

I say *should* because the actually images available in glance look kind of strange to me.

ubuntu@juju-4d1272-prod-proposed-migration-9:~$ openstack image list -f value | grep kinetic
23583772-6397-4516-9f22-7f6ddd636c52 adt/ubuntu-kinetic-arm64-server-20221205.img active
faee3d55-b745-4220-8279-2ef2342e3adb adt/ubuntu-kinetic-ppc64el-server-20221205.img active
d0700b0e-657f-4e99-8b71-7662c9dff35f adt/ubuntu-kinetic-s390x-server-20221205.img active
d788ff48-c080-45d7-a6af-5f63b9e1526a auto-sync/ubuntu-kinetic-22.10-amd64-server-20221101-disk1.img active
0f228471-6158-4314-8da6-2f289c59389d auto-sync/ubuntu-kinetic-22.10-amd64-server-20221201-disk1.img active
899a0ae1-eac0-4acf-9c0c-7377a4062396 auto-sync/ubuntu-kinetic-22.10-arm64-server-20221101-disk1.img active
8a8570d9-1414-4415-9800-e3682d9d07f5 auto-sync/ubuntu-kinetic-22.10-arm64-server-20221201-disk1.img active
b48468e8-d585-4d62-b3bb-12814e916fbe auto-sync/ubuntu-kinetic-22.10-ppc64el-server-20221101-disk1.img active
2e9004e5-764a-4ff0-af2f-775925963113 auto-sync/ubuntu-kinetic-22.10-ppc64el-server-20221201-disk1.img active
becbec04-a359-42b9-9db0-183f88645a88 auto-sync/ubuntu-kinetic-22.10-s390x-server-20221101-disk1.img active
3bf51bf2-8d54-42d2-a73c-3ce59f01c255 auto-sync/ubuntu-kinetic-22.10-s390x-server-20221201-disk1.img active
592096cb-6c81-4912-ae84-8081e52c70a9 auto-sync/ubuntu-kinetic-daily-amd64-server-20221125-disk1.img active
ef816113-7bf3-4f72-affd-cd88db96dab0 auto-sync/ubuntu-kinetic-daily-amd64-server-20221201-disk1.img active
fb99e4f7-d51b-45c2-bf84-e798d9f285d3 auto-sync/ubuntu-kinetic-daily-arm64-server-20221125-disk1.img active
3de63fdd-860f-4c89-b283-79b3db91a042 auto-sync/ubuntu-kinetic-daily-arm64-server-20221201-disk1.img active
7e57749c-0c0f-4393-99d8-13180c1ed01e auto-sync/ubuntu-kinetic-daily-ppc64el-server-20221125-disk1.img active
a95bfd32-76a9-4bbe-af9c-f00c0b4ce23f auto-sync/ubuntu-kinetic-daily-ppc64el-server-20221201-disk1.img active
8a4db655-47cf-4e2d-97b2-d554e2e88855 auto-sync/ubuntu-kinetic-daily-s390x-server-20221125-disk1.img active
c81eb508-a90a-4f2c-b996-0b9a6b932e58 auto-sync/ubuntu-kinetic-daily-s390x-server-20221201-disk1.img active

To post a comment you must log in.
Revision history for this message
Paride Legovini (paride) wrote :

One inline comment.

review: Needs Information
Revision history for this message
Brian Murray (brian-murray) wrote :

This is dependent on their being "auto-sync" images in openstack and there are not.

Unmerged commits

06c3249... by Brian Murray

Don't use a daily build for a new release

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/charms/focal/autopkgtest-cloud-worker/autopkgtest-cloud/tools/build-adt-image b/charms/focal/autopkgtest-cloud-worker/autopkgtest-cloud/tools/build-adt-image
2index 68b8665..fe61511 100755
3--- a/charms/focal/autopkgtest-cloud-worker/autopkgtest-cloud/tools/build-adt-image
4+++ b/charms/focal/autopkgtest-cloud-worker/autopkgtest-cloud/tools/build-adt-image
5@@ -56,7 +56,7 @@ fi
6 BASE_RELEASE=${BASE_RELEASE:-$(distro-info --stable)}
7 if [ -z "$IMG" ] && [ "${RELEASE}" = "$(distro-info --devel)" ] && [ -n "${BASE_RELEASE:-}" ]; then
8 echo "$0: No image exists for ${RELEASE}; trying to bootstrap from ${BASE_RELEASE}"
9- IMG=$(echo "$IMGS" | grep "${BASE_RELEASE}-daily-${ARCH}" | tail -n1 | awk '{print $2}')
10+ IMG=$(echo "$IMGS" | grep "${BASE_RELEASE}-${RELEASE}-${ARCH}" | tail -n1 | awk '{print $2}')
11 [ -n "$IMG" ] || IMG=$(echo "$IMGS" | grep "adt/ubuntu-${BASE_RELEASE}-${ARCH}" | tail -n1 | awk '{print $2}')
12 fi
13

Subscribers

People subscribed via source and target branches