mtd-self-test failure on arm64 (mtdram module)
Bug #1973598 reported by
Lukas Märdian
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
fwupd (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
version 1.7.7-1 of fwupd introduced a new "mtd-self-test" which fails the autopkgtest on ubuntu/
The "mtd" test is skipped on almost all other setups (e.g. all of Debian CI and all Ubuntu architectures, but arm64), due to missing the /devices/
On arm64 a "mtd0" device exists and makes the "mtd" tests fail. We could skip the "mtd-self-test", as they've never been run before (thus not a regression), or find some way to properly run the MTD tests.
description: | updated |
tags: | added: patch |
Changed in fwupd (Ubuntu): | |
status: | New → In Progress |
To post a comment you must log in.
While we have the luxury of time with kinetic, I'd rather we figure out why the test fails rather than just skipping it. If the test is failing, the plugin may fail too!
It seems that this code should be reading the "size" attribute from sysfs and comparing it /github. com/fwupd/ fwupd/blob/ main/plugins/ mtd/fu- mtd-device. c#L161) to a static value (here https:/ /github. com/fwupd/ fwupd/blob/ main/plugins/ mtd/fu- self-test. c#L53).
(here https:/
That seems like a coding error to me. Maybe you can take a PR upstream to adjust it?