"Problem with field requires: wrong" error occurred during the job generation stage
Bug #1361071 reported by
Po-Hsu Lin
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PlainBox (Toolkit) |
Fix Released
|
Medium
|
Sylvain Pineau |
Bug Description
While running the checkbox-cli with 12.04.4 whitelist
The following error occurred during the job generation stage:
-------
ID: 2013.com.
(Command output hidden)
ERROR plainbox.ctrl: Ignoring invalid generated job 2013.com.
Related branches
lp:~sylvain-pineau/checkbox/fix-1361071
- Sylvain Pineau (community): Approve
- Zygmunt Krynicki (community): Approve
-
Diff: 263 lines (+53/-27)7 files modifiedcheckbox-support/checkbox_support/parsers/udevadm.py (+15/-4)
plainbox/plainbox/impl/ctrl.py (+1/-1)
plainbox/plainbox/impl/secure/launcher1.py (+25/-8)
plainbox/plainbox/impl/secure/test_launcher1.py (+3/-3)
plainbox/plainbox/impl/test_ctrl.py (+2/-2)
providers/plainbox-provider-checkbox/jobs/disk.txt.in (+6/-8)
providers/plainbox-provider-resource-generic/bin/udev_resource (+1/-1)
tags: | added: ce-qa-concerns |
tags: |
added: ce-qa-concern removed: ce-qa-concerns |
Changed in plainbox: | |
assignee: | nobody → Sylvain Pineau (sylvain-pineau) |
status: | Triaged → In Progress |
Changed in plainbox: | |
status: | In Progress → Fix Committed |
Changed in plainbox: | |
milestone: | future → 0.19 |
Changed in plainbox: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hi Sam,
Could you please attach the output of udevadm info --export-db?
This is most likely because one of your disks has a strange name with characters that generate an invalid job name.
During testing we found, for example, a disk whose name was "dm-0", and the generated job name would be staging/ disk/stats_ dm-0, the dash (-) is invalid in a job name, so plainbox is discarding the job.