Skip to content

Flatpak: sdk-flatpak-build-helloworld-app test fails on v2021.6 sdk

Affected images versions

  • apertis v2021 20220824.0219 collabora
  • 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
minimal/fixedfunction armhf
minimal/fixedfunction arm64
target/hmi amd64
target/hmi armhf
target/hmi arm64
basesdk amd64
sdk amd64 x
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 is fixedfunction the deployment type is ostree
  • obtain it from /etc/os-release using the BUILD_ID and VARIANT_ID keys

Unaffected images versions

  • v2021.5

Testcase

https://qa.apertis.org/v2021/sdk-flatpak-build-helloworld-app.html

Steps to reproduce

Follow test steps: https://qa.apertis.org/v2021/sdk-flatpak-build-helloworld-app.html at step 3

Expected result

test should pass

Actual result

user@apertis:~$ flatpak install -y org.apertis.mildenhall.Platform org.apertis.mildenhall.Sdk Looking for matches…

    ID                                          Arch               Branch             Remote                        Download
  1. [✗] org.apertis.mildenhall.Platform x86_64 v2021 apertis-mildenhall 1.0 kB / 200.0 MB
  2. org.apertis.mildenhall.Sdk x86_64 v2021 apertis-mildenhall < 420.8 MB

Error: Deployed metadata does not match commit error: Failed to install org.apertis.mildenhall.Platform: Deployed metadata does not match commit

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

Impact of bug

Medium

Root cause

tbd

Outcomes

Management data

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

/cc @andrunko @em @sagar @sudarshan @wlozano

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

Edited by Walter Lozano