'utf-8' codec can't decode byte 0xc0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox Support Library |
Fix Released
|
High
|
Bin Li | ||
OEM Priority Project |
Fix Released
|
High
|
Bin Li |
Bug Description
In our OEM project, we found lots of ThinkPad's battery could not be parsed correctly.
For the 'udev_resource.py' will call 'udevadm info --export-db | checkbox-
The test failed with error:
$ checkbox-cli run com.canonical.
=======
--------------[ Running job 1 / 1. Estimated time left: unknown ]---------------
------------------[ Attaches json dumps of udev_resource.py ]------
ID: com.canonical.
Category: com.canonical.
... 8< -------
Failed to decode input stream: 'utf-8' codec can't decode byte 0xc0 in position 39452: invalid start byte
-------
Outcome: job failed
[Steps to reproduce]
checkbox-cli run com.canonical.
Related branches
- Devices Certification Bot: Needs Fixing
- Sylvain Pineau (community): Approve
-
Diff: 24 lines (+4/-2)1 file modifiedbin/net_if_management.py (+4/-2)
- Sylvain Pineau (community): Approve
-
Diff: 26 lines (+2/-2)2 files modifiedbin/network_device_info.py (+1/-1)
bin/touchpad_confidence_bit.py (+1/-1)
- Sylvain Pineau (community): Approve
-
Diff: 13 lines (+1/-1)1 file modifiedcheckbox_support/parsers/__init__.py (+1/-1)
Changed in oem-priority: | |
assignee: | nobody → Bin Li (binli) |
importance: | Undecided → High |
status: | New → In Progress |
tags: | added: originate-from-1962833 |
tags: | added: originate-from-1969884 |
tags: | added: originate-from-1979035 |
tags: | added: originate-from-1976479 |
Changed in checkbox-support: | |
milestone: | none → 0.56.0 |
status: | New → Fix Committed |
importance: | Undecided → Medium |
importance: | Medium → High |
assignee: | nobody → Bin Li (binli) |
tags: | added: ce-qa-concern |
tags: | removed: ce-qa-concern |
Changed in checkbox-support: | |
milestone: | 0.56.0 → 0.55.0 |
Changed in oem-priority: | |
status: | In Progress → Fix Released |
Changed in checkbox-support: | |
status: | Fix Committed → Fix Released |
Another testcase is failed.
The test com.canonical. certification: :ethernet/ detect failed with the error list blow: certification: :ethernet/ detect plainbox: :ethernet ------- ------- ------- ------- ------- ------- ------- ------- ------- --- m_b8ini3. 9a94080dfa9d022 6560c697ac550c8 dc840cf7385cc17 eb075a488d5c7c1 1d21/network_ device_ info.py" , line 393, in <module> args.category) m_b8ini3. 9a94080dfa9d022 6560c697ac550c8 dc840cf7385cc17 eb075a488d5c7c1 1d21/network_ device_ info.py" , line 338, in __init__ _collect_ devices( ) m_b8ini3. 9a94080dfa9d022 6560c697ac550c8 dc840cf7385cc17 eb075a488d5c7c1 1d21/network_ device_ info.py" , line 346, in _collect_devices cmd).decode( sys.stdout. encoding)
-------------[ Detect if at least one ethernet device is detected ]-------------
ID: com.canonical.
Category: com.canonical.
... 8< -------
Traceback (most recent call last):
File "/tmp/nest-
udev = UdevDevices(
File "/tmp/nest-
self.
File "/tmp/nest-
output = check_output(
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc0 in position 38854: invalid start byte