AUM upgrade branch does not work for developmet releases
Affected images versions
- not relevant (explain why)
- see the table below (list the build id and the apt or ostree deployment of the tested images in the appropriate cells)
Type | Arch | v2021 | v2022 | v2023dev2 |
---|---|---|---|---|
minimal/fixedfunction | amd64 | ostree | ||
minimal/fixedfunction | armhf | ostree | ||
minimal/fixedfunction | arm64 | ostree | ||
target/hmi | amd64 | ostree | ||
target/hmi | armhf | ostree | ||
target/hmi | arm64 | ostree | ||
basesdk | amd64 | |||
sdk | amd64 | |||
nfs | amd64 | |||
nfs | armhf | |||
nfs | arm64 | |||
lxc | amd64 | |||
lxc | armhf | |||
lxc | arm64 | |||
image-builder | ||||
package-source-builder |
To find the build id and the variant type you can:
- derive it from the image name
- for instance, with the
apertis_ostree_v2022pre-fixedfunction-amd64-uefi_20211031.0425.img.gz
image the build id is 20211031.0425, the variant isfixedfunction
the deployment type isostree
- for instance, with the
- obtain it from
/etc/os-release
using theBUILD_ID
andVARIANT_ID
keys
Unaffected images versions
- all versions up to XXX (replace XXX with the build id of the most recent Apertis images where this bug cannot be reproduced)
- not relevant (explain why)
- v2020 (explain why)
- v2021 (explain why)
- v2022 (explain why)
Testcase
https://lavaphabbridge.apertis.org/testcases/v2023dev2/aum-offline-upgrade-branch.html
Steps to reproduce
Ordered list detailing every step so other developers can reproduce the issue. Include hardware which you used.
- ...
Expected result
Explain (at least briefly) what result you expected.
Actual result
If the tested release is a development one the upgrade fails. See https://lava.collabora.co.uk/scheduler/job/6641491#L6725
This seems to be related to pkg/apertis-update-manager!87 (merged)
Reproducibility
How often the issue is hit when repeating the test and changing nothing (same device, same image, etc.)?
Put the
-
always - often, but not always
- rarely
Impact of bug
This bug is only an issue for development releases
Attachments
Root cause
Seems to be a consequence of pkg/apertis-update-manager!87 (merged)
Outcomes
apertis-image-recipes!512 (merged) tests/apertis-test-cases!466 (merged)
Management data
This section is for management only, it should be the last one in the description.
Phabricator link: https://phabricator.apertis.org/T8979