[CDTS] USB drive test will fail due to no udisks2 package
Bug #1922886 reported by
Rick Wu
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Next Generation Checkbox (CLI) |
Won't Fix
|
High
|
Jonathan Cave |
Bug Description
[Summary]
USB drive test case will fail due to no udisk2 package.
This won't happen after install udisk2 package manually.
($ sudo apt install udisk2)
Snap info:
Name Version Rev Tracking Publisher Notes
cdts 0.6 87 20.04/stable ce-certification-qa classic
checkbox20 1.20 428 latest/stable ce-certification-qa -
[Steps to reproduce]
1.Boot into system
2.Run "usb/insert" case
[Expected result]
Should detect usb insert without any error.
[Actual result]
USB insert case will fail due to no udisk2 package.
[Failure rate]
100%
Related branches
~sylvain-pineau/checkbox-ng:is_service_running
Rejected
for merging
into
checkbox-ng:master
- Checkbox Developers: Pending requested
-
Diff: 99 lines (+21/-4)1 file modifiedplainbox/impl/unit/unit.py (+21/-4)
Changed in checkbox-ng: | |
importance: | Undecided → High |
Changed in checkbox-ng: | |
assignee: | nobody → Jonathan Cave (jocave) |
description: | updated |
Changed in checkbox-ng: | |
status: | Confirmed → Won't Fix |
To post a comment you must log in.
small relief: Hirsute server comes with udisks2.
So far usb/insert job only triggers a non-udisks2 if it detects running on UC, assuming all classic variants had udisks2.
it's true for desktop but up to focal the udisks2 package is not per-installed on server isos.
I've tried to come up with a solution to this problem by designing a snap embedding all the udisks2 services and starting only when there's no existing systemd unit in place. It never worked reliably.
The only interim solution I can think of is a new jinja template helper not checking if checkbox runs on classic or server but systemd service check, or a dpkg db check. In both case the goal is to identify a sw providing the udisks2 service