[isar-cip-core v2 0/2] Add necessary steps to verify swupdate


Kunijadar Shivanand
 

From: Shivanand Kunijadar <Shivanand.Kunijadar@...>

The current isar-cip-core provides verification of successful swupdate
but lacks the recipe to verify swupdate-rollback feature, the below
patches provides the necessary script to verify swupdate-rollback.

Shivanand Kunijadar (2):
Add recipe to cause kernel panic during system boot
README.swupdate.md: add readme file with steps to verify swupdate

doc/README.swupdate.md | 208 ++++++++++++++++++
kas/opt/kernel-panic.yml | 18 ++
.../kernel-panic/files/sysrq-panic.service | 10 +
recipes-core/kernel-panic/kernel-panic.bb | 24 ++
4 files changed, 260 insertions(+)
create mode 100644 doc/README.swupdate.md
create mode 100644 kas/opt/kernel-panic.yml
create mode 100644 recipes-core/kernel-panic/files/sysrq-panic.service
create mode 100644 recipes-core/kernel-panic/kernel-panic.bb

--
2.20.1


Quirin Gylstorff
 

Hi,

On 2/1/22 16:35, Shivanand.Kunijadar@... wrote:
From: Shivanand Kunijadar <Shivanand.Kunijadar@...>
The current isar-cip-core provides verification of successful swupdate
but lacks the recipe to verify swupdate-rollback feature, the below
patches provides the necessary script to verify swupdate-rollback.
Shivanand Kunijadar (2):
Add recipe to cause kernel panic during system boot
README.swupdate.md: add readme file with steps to verify swupdate
doc/README.swupdate.md | 208 ++++++++++++++++++
kas/opt/kernel-panic.yml | 18 ++
.../kernel-panic/files/sysrq-panic.service | 10 +
recipes-core/kernel-panic/kernel-panic.bb | 24 ++
4 files changed, 260 insertions(+)
create mode 100644 doc/README.swupdate.md
create mode 100644 kas/opt/kernel-panic.yml
create mode 100644 recipes-core/kernel-panic/files/sysrq-panic.service
create mode 100644 recipes-core/kernel-panic/kernel-panic.bb

Should we try to automate this with LAVA. With https://github.com/siemens/mtda it should be possible.

@Chris what are your thoughts.

Kind regards

Quirin