canonical / checkbox

Checkbox
https://checkbox.readthedocs.io
GNU General Public License v3.0
30 stars 45 forks source link

disk/read_performance_{name} fails to run claiming device too small #1321

Open jocave opened 2 months ago

jocave commented 2 months ago

Bug Description

Using the submission as an example, the disk performance jobs will be run on devices which are not suitable for the job (based on the resource job identification as a DISK).

To Reproduce

Run the com.canonical.qa.limerick::kv260-limerick-automated-classic-20-04 test plan on the environment identified in the submission above

Environment

The submission above has an environment of: checkbox-limerick-classic (0.2.dev-focal) and checkbox20 (4.0.0-dev333) snaps

Relevant log output

CategoryDisk testsIO LogBeginning /tmp/nest-i7lhdmqq.d4c49ecd2d384a2b05434d00d068fffd23c1f2f848f6aea1d9db30f80f75f7e6/disk_read_performance_test.sh test for mtdblock14
---------------------------------------------------
INFO: mtdblock14 type is mtd
INFO: mtd: Using 1 MB/sec as the minimum throughput speed

Beginning hdparm timing runs
---------------------------------------------------
INFO: Iteration 1: Detected speed is MB/sec
WARNING: Device mtdblock14 is too small! Aborting test.

Additional context

No response

syncronize-issues-to-jira[bot] commented 2 months ago

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/CHECKBOX-1477.

This message was autogenerated

p-gentili commented 1 month ago

Also found in 1 and 2, running checkbox22 (4.0.0-dev333-1010) and checkbox-iiotg (0.1dev-jammy-69).

jocave commented 3 weeks ago

I have modified the title of this because I believe there are multiple places where this test fails and I'm not convinced all of them are actually due to the partition being too small and they happen on devices other than MTD devies:

mmc device: https://certification.canonical.com/hardware/202109-29492/submission/387739/test/63709/result/43374704/

sda device: https://certification.canonical.com/hardware/202110-29509/submission/387737/test/147/result/43374284/

boukeas commented 3 days ago

Another failure: https://certification.canonical.com/hardware/202201-29844/submission/392344/test/60689/result/44114883/

omar-selo commented 2 days ago

Another one https://certification.canonical.com/hardware/202109-29492/submission/393857/test/63709/result/44353636/