Virt test returns strange data that causes plainbox to crash
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox Provider - Base |
Invalid
|
Undecided
|
Unassigned |
Bug Description
The virt test is returning a strange character (If I'm reading the trace correctly) that is causing an unhanded except that has no useful output for debugging.
I am working with the tester to get a clean virt_debug log to see what the virtualization script is actually doing. Until then, this is what I know:
The traceback is this:
2015-03-11 15:54:59 [pid:18708, thread:MainThread, reltime:706ms] WARNING plainbox.runner: execution_ctrl_list not passed to JobRunner
2015-03-11 15:55:18 [pid:18708, thread:MainThread, reltime:19075ms] ERROR plainbox.ctrl: Ignoring invalid generated job 2013.com.
2015-03-11 16:02:18 [pid:18973, thread:MainThread, reltime:4297ms] ERROR plainbox.ctrl: Ignoring invalid generated job 2013.com.
2015-03-11 16:02:18 [pid:18973, thread:MainThread, reltime:4598ms] WARNING plainbox.runner: execution_ctrl_list not passed to JobRunner
2015-03-11 16:02:18 [pid:18973, thread:MainThread, reltime:4711ms] CRITICAL plainbox.crashes: Executable 'checkbox-launcher' invoked with Namespace(
Traceback (most recent call last):
File "/usr/lib/
return self.dispatch_
File "/usr/lib/
return ns.command.
File "/usr/lib/
).run()
File "/usr/lib/
return self.do_
File "/usr/lib/
self.
File "/usr/lib/
copyfileobj
File "/usr/lib/
fdst.write(buf)
File "/usr/lib/
return self.dest_
UnicodeEncodeError: 'latin-1' codec can't encode character '\u2611' in position 8: ordinal not in range(256)
2015-03-11 16:02:28 [pid:18981, thread:MainThread, reltime:4384ms] WARNING plainbox.runner: execution_ctrl_list not passed to JobRunner
2015-03-11 16:02:37 [pid:18981, thread:MainThread, reltime:13129ms] ERROR plainbox.ctrl: Ignoring invalid generated job 2013.com.
2015-03-11 18:22:02 [pid:18981, thread:MainThread, reltime:8378442ms] CRITICAL plainbox.crashes: Executable 'checkbox-launcher' invoked with Namespace(
Traceback (most recent call last):
File "/usr/lib/
return self.dispatch_
File "/usr/lib/
return ns.command.
File "/usr/lib/
).run()
File "/usr/lib/
return self.do_
File "/usr/lib/
self.
File "/usr/lib/
copyfileobj
File "/usr/lib/
fdst.write(buf)
File "/usr/lib/
return self.dest_
UnicodeEncodeError: 'latin-1' codec can't encode character '\u2611' in position 8: ordinal not in range(256)
there seems to be some unicode character in there causing a crap-out (Technical term) in plainbox.
Related branches
- Maciej Kisielewski: Approve
-
Diff: 27 lines (+10/-2)1 file modifiedplainbox/plainbox/impl/exporter/__init__.py (+10/-2)
Here's console output:
root@cwatts2: /etc/xdg# canonical- certification- server ======= ======= ====[ Resume Incomplete Session ]====== ======= ======= ====== ======= ======= =====[ Selecting Job Generators ]====== ======= ======= ====== ======= ======= ======[ Running Selected Jobs ]====== ======= ======= ======= = ------- ------- ------- ------[ package ]------ ------- ------- ------- ------- - canonical. certification: :package canonical. plainbox: :uncategorised ------- ------- ------- ------- [ device ]------ ------- ------- ------- ------- - canonical. certification: :device canonical. plainbox: :uncategorised ------- ------- ------- ---[ optical_drive ]------ ------- ------- ------- ----- canonical. certification: :optical_ drive canonical. plainbox: :uncategorised ------- ------- ------- ------[ __info__ ]------ ------- ------- ------- ------- canonical. certification: :__info_ _ canonical. plainbox: :uncategorised ------- ------- ---[ SATA/IDE device information. ]------ ------- ------- ---- canonical. certification: :info/hdparm canonical. plainbox: :uncategorised ------- ------- ------- --[ __miscellanea__ ]------ ------- ------- ------- ---- canonical. certification: :__miscellanea_ _ canonical. plainbox: :uncategorised ------- ------- ------- ---[ __benchmarks__ ]------ ------- ------- ------- ---- canonical. certification: :__benchmarks_ _ canonical. plainbox: :uncategorised ------- ------- -----[ Benchmark for each disk ]------ ------- ------- ------- canonical. certification: :benchmarks/ disk/hdparm- read canonical. plainbox: :uncategorised ------- ------- -----[ Benchmark for each disk ]------ ------- ------- ------- canonical. certification: :benchmarks/ disk/hdparm- cache-read canonical. plainbox: :uncategorised ------- ------- ------- ------[ __cpu__ ]------ ------- ------- ------- ------- - canonical. certification: :__cpu_ _ canonical. plainbox: :uncategorised ------- ------- ------- ------[ __disk__ ]------ ------- ------- ------- ------- canonical. certification: :__disk_ _ canonical. plainbox: :uncategorised
=======
There is 1 incomplete session that might be resumed
Do you want to resume session 'pbox-hp9przz0'?
r => resume this session
n => next session
c => create new session
[rnc]: c
WARNING plainbox.runner: execution_ctrl_list not passed to JobRunner
=======
=======
-------
ID: 2013.com.
Category: 2013.com.
(Command output hidden)
Outcome: job passed
-------
ID: 2013.com.
Category: 2013.com.
(Command output hidden)
Outcome: job passed
-------
ID: 2013.com.
Category: 2013.com.
Job cannot be started because:
- resource expression "device.category == 'CDROM'" evaluates to false
Outcome: job cannot be started
-------
ID: 2013.com.
Category: 2013.com.
(Command output hidden)
Outcome: job passed
-------
ID: 2013.com.
Category: 2013.com.
(Command output hidden)
Outcome: job passed
-------
ID: 2013.com.
Category: 2013.com.
(Command output hidden)
Outcome: job passed
-------
ID: 2013.com.
Category: 2013.com.
(Command output hidden)
Outcome: job passed
-------
ID: 2013.com.
Category: 2013.com.
(Command output hidden)
Outcome: job passed
-------
ID: 2013.com.
Category: 2013.com.
(Command output hidden)
Outcome: job passed
-------
ID: 2013.com.
Category: 2013.com.
(Command output hidden)
Outcome: job passed
-------
ID: 2013.com.
Category: 2013.com.
(Command output hidden)
ERROR plainbox.ctrl: Ign...