The info/touchpad_driver test case always fails with "No Touchpad Detected"

Bug #1349298 reported by Chih-Hsyuan Ho
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox Provider - Base
Fix Released
Medium
Po-Hsu Lin

Bug Description

OS: Ubuntu 14.04 LTS
CDTS: v1.10

The info/touchpad_driver test case would always fail with "No Touchpad Detected", however, the touchpad device has been working normally.

Output of "udevadm info --export-db" is attached.

Tags: bite-size

Related branches

Revision history for this message
Chih-Hsyuan Ho (chih) wrote :
Revision history for this message
Chih-Hsyuan Ho (chih) wrote :
Revision history for this message
Chih-Hsyuan Ho (chih) wrote :

Yung has found that by modifying the addDevice function to look for 'TOUCHPAD' for device category in the TouchResult class in /usr/bin/2013.com.canonical.certification:checkbox/bin/touchpad_driver_info can work around this issue.

summary: - info/touchpad_driver always failed with "No Touchpad Detected"
+ The info/touchpad_driver test case always fails with "No Touchpad
+ Detected"
Revision history for this message
Daniel Manrique (roadmr) wrote :

Sure, the job's requirement is for a TOUCHPAD:

plugin: attachment
id: info/touchpad_driver
requires: device.category == 'TOUCHPAD'
command: touchpad_driver_info

but the script itself has this on line 7:

        if getattr(device, 'category') == 'TOUCH':

so clearly if the system has a touchpad, the script will run, but it will show the information for (for instance) a touchscreen and not the touchpad.

I think it's reasonable to make the requirements equal, setting them both to TOUCHPAD.

Changed in cdts:
importance: Undecided → Medium
status: New → Triaged
information type: Proprietary → Private
affects: cdts → plainbox-provider-checkbox
Changed in plainbox-provider-checkbox:
milestone: none → 0.9
tags: added: bite-size
Daniel Manrique (roadmr)
information type: Private → Public
Daniel Manrique (roadmr)
Changed in plainbox-provider-checkbox:
milestone: 0.9 → 0.10
Po-Hsu Lin (cypressyew)
Changed in plainbox-provider-checkbox:
assignee: nobody → Po-Hsu Lin (cypressyew)
status: Triaged → In Progress
Daniel Manrique (roadmr)
Changed in plainbox-provider-checkbox:
status: In Progress → Fix Committed
Daniel Manrique (roadmr)
Changed in plainbox-provider-checkbox:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.