plainbox will complain about id field is missing for jobs in resource.pxu with os-id: debian
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PlainBox (Toolkit) |
Fix Released
|
High
|
Zygmunt Krynicki |
Bug Description
These 11 jobs with "os-id: debian" in the plainbox-
Error message:
ERROR plainbox.ctrl: Ignoring invalid generated job None: Problem with field id: missing
ERROR plainbox.ctrl: Ignoring invalid generated job None: Problem with field id: missing
ERROR plainbox.ctrl: Ignoring invalid generated job None: Problem with field id: missing
ERROR plainbox.ctrl: Ignoring invalid generated job None: Problem with field id: missing
ERROR plainbox.ctrl: Ignoring invalid generated job None: Problem with field id: missing
ERROR plainbox.ctrl: Ignoring invalid generated job None: Problem with field id: missing
ERROR plainbox.ctrl: Ignoring invalid generated job None: Problem with field id: missing
ERROR plainbox.ctrl: Ignoring invalid generated job None: Problem with field id: missing
ERROR plainbox.ctrl: Ignoring invalid generated job None: Problem with field id: missing
ERROR plainbox.ctrl: Ignoring invalid generated job None: Problem with field id: missing
ERROR plainbox.ctrl: Ignoring invalid generated job None: Problem with field id: missing
WARNING plainbox.ctrl: Automatically breaking via-cycle: Resources -> Resources
Test steps:
1. branch the latest checkbox (3681), run checkbox-cli
2. Select client-cert whitelist only
These error messages will came up during the resource job execution stage.
plainbox-
# This is for all the Python scripts
unit: packaging meta-data
os-id: debian
Depends: python3 (>= 3.2)
# This is for bin/efi_resource, bin/cpuinfo_
# bin/gconf_resource, bin/meminfo_
# and bin/xinput_resource
unit: packaging meta-data
os-id: debian
Depends: python3-
# This is for bin/display_
unit: packaging meta-data
os-id: debian
# NOTE: This is not a hard dependency so that
# plainbox-
Suggests: x11-server-utils
# This is for bin/dmi_resource
unit: packaging meta-data
os-id: debian
Depends: dmidecode
# This is for bin/dpkg_resource
unit: packaging meta-data
os-id: debian
Depends: dpkg (>= 1.13),
# This is for bin/gconf_resource
unit: packaging meta-data
os-id: debian
# NOTE: This is not a hard dependency so that
# plainbox-
Suggests: gconf2
# This is for bin/lsb_resource
unit: packaging meta-data
os-id: debian
Depends: lsb-release
# This is for bin/mobilebroad
unit: packaging meta-data
os-id: debian
Depends: network-manager
# This is for bin/optical_
unit: packaging meta-data
os-id: debian
Depends: udev
# This is for bin/xinput_resource
unit: packaging meta-data
os-id: debian
# NOTE: This is not a hard dependency so that
# plainbox-
Suggests: xinput
# This is for 'usb'
unit: packaging meta-data
os-id: debian
Depends: usbutils
Related branches
- Maciej Kisielewski (community): Approve
-
Diff: 45 lines (+7/-3)2 files modifiedplainbox/plainbox/impl/ctrl.py (+4/-0)
plainbox/plainbox/impl/test_ctrl.py (+3/-3)
Changed in plainbox: | |
status: | Triaged → In Progress |
Changed in plainbox: | |
status: | In Progress → Fix Committed |
Changed in plainbox: | |
status: | Fix Committed → Fix Released |
None of those units are jobs. I wonder what's going on there though.