Skip to content

AUM tests fail on RPi4

Background

Test case aum-offline-upgrade-branch fails on RPi4 with

AUM-Message: 16:47:24.656: Upgrade status: Unknown
Feb 26 16:47:24 apertis apertis-update-[1056]: Ostree upgrade failed: Installing kernel: regfile copy: No space left on device

https://lava.collabora.dev/scheduler/job/12867605#L8373

Reproducibility

How often the issue is hit when repeating the test and changing nothing (same device, same image, etc.)?

Put the in the most appropriate entry:

  1. always
  2. often, but not always
  3. rarely

Impact of bug

RPI4 cannot be upgraded from v2023 to v2024 or newer

Attachments

Add further information about the environment in the form of attachments here. Attach plain text files from log output (from journalctl, systemctl, …) or long backtraces as attached files. If adding comments on the log is required create a new snippet and add the link to it here.

Screenshots and videos are usually useful for graphic issues.

Root cause

The issue seems to be caused by the fact that the boot partition is smaller in RPi4 than in the other images due to the presence of the firmare partition.

Apertis ARM64 images boot partition 256 M Apertis ARM64 RPi4 images boot partition 192 M

However, since the upgrade-branch tests flashes and old image and then tries to upgrade it, a fix in the image layout needs to be backported to the image used in the first step.

Outcomes

apertis-image-recipes!643 (merged) apertis-image-recipes!652 (merged) apertis-image-recipes!653 (merged)

Management data

This section is for management only, it should be the last one in the description.

/cc @andrunko @em @Balasubramanian @sudarshan @wlozano

Phabricator link: https://phabricator.apertis.org/T10346

Edited by Walter Lozano