Skip to content

aum-rollback-bootcount: error message displayed during the test

Background

A new manual test has recently been added: aum-rollback-bootcount. The step 5 is $ common/run-test-in-systemd --timeout=1200 --name=rollback-bootcount env DEBUG=2 RELEASE=$VERSION ARCH=$ARCH BASEURL=$BASEURL IMGPATH=$IMGPATH IMGDATE=$BUILD_ID IMGTYPE=$VARIANT_ID BOARD=$BOARD ./run-test-ota-auto.sh. By running this command, an error message is displayed ./run-test-ota-auto.sh: 189: cannot create /var/run-phase: Permission denied however the script continues. Thus, I followed the next steps but I was not able to trigger the bootlimit in the step 7.

So, either the error is legitimate and prevents the test from running correctly, or the message can be ignored and the inability to trigger the bootlimit is due to another factor (without excluding the human error since it's a new test)?

Reproducibility

How often the issue is hit when repeating the steps to reproduce and changing nothing?

Put the in the most appropriate entry:

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

Impact of bug

High, this prevents testing the bootloader.

Outcomes

Management data

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

/cc @em @balasubramanian @sudarshan @wlozano

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

Edited by Dylan Aïssi