[canonical-certification-cli] no whitelist shows in selection screen

Bug #1367584 reported by Yung Shen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
checkbox-satellite
Confirmed
High
Unassigned

Bug Description

canonical-certification-cli shows empty whitelist selection screen.

checkbox-cli does not have this problem.

packages' version:

ii canonical-certification-client 0.7+bzr3263+pkg37~ubuntu12.04.1 Client Certification Launcher
ii checkbox 0.17.10+bzr2821+pkg77+legacy1~ubuntu12.04.1 System testing application
ii checkbox-autostart-desktop 0.1+bzr3263+pkg1~ubuntu12.04.1 Automatic system testing for desktop systems
ii checkbox-gui 0.24+bzr3263+pkg8~ubuntu12.04.1 QML based interface for system testing based on PlainBox.
ii checkbox-ng 0.10+bzr3263+pkg17~ubuntu12.04.1 PlainBox based test runner
ii checkbox-ng-service 0.10+bzr3263+pkg17~ubuntu12.04.1 CheckBox D-Bus service
ii checkbox-qt 0.17.10+bzr2821+pkg77+legacy1~ubuntu12.04.1 QT4 interface for checkbox
ii plainbox-glmark2-es2-meta 0.7+bzr3263+pkg37~ubuntu12.04.1 metapackage to selectively install glmark2-es2
ii plainbox-insecure-policy 0.12+bzr3263+pkg12~ubuntu12.04.1 policykit policy required to use plainbox (insecure version)
ii plainbox-provider-certification-client 0.7+bzr3263+pkg37~ubuntu12.04.1 Client Certification
ii plainbox-provider-checkbox 0.11+bzr3263+pkg11~ubuntu12.04.1 CheckBox provider for PlainBox
ii plainbox-provider-resource-generic 0.9+bzr3263+pkg10~ubuntu12.04.1 CheckBox generic resource jobs provider
ii python3-checkbox 0.17.10+bzr2821+pkg77+legacy1~ubuntu12.04.1 CheckBox python3 library
ii python3-checkbox-ng 0.10+bzr3263+pkg17~ubuntu12.04.1 PlainBox based test runner (Python 3 library)
ii python3-checkbox-support 0.9+bzr3263+pkg9~ubuntu12.04.1 collection of Python modules used by PlainBox providers
ii python3-plainbox 0.12+bzr3263+pkg12~ubuntu12.04.1 toolkit for software and hardware testing (python3 module)

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

This system was deployed by our satellite, the "[sru]" in /etc/xdg/plainbox.conf prevents it from select whitelists.
Whitelist selection back to normal after removing the "[sru]" pattern.

Revision history for this message
Yung Shen (kaxing) wrote :

I figured there seems to be a conflict in between canonical-certification-cli launcher and plainbox.conf.

By marking whitelist value under [sru] as comment can solve this issue and keep other values.

Yung Shen (kaxing)
Changed in checkbox (Ubuntu):
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Daniel Manrique (roadmr) wrote :

Interesting, I don't think we've really thought much about interaction between launchers and config files, but it makes sense that they would cause this behavior if they conflict.

affects: checkbox (Ubuntu) → checkbox-satellite
Revision history for this message
Daniel Manrique (roadmr) wrote :

OK, the logic is as follows, assuming plainbox is used for the installation (--plainbox when using launch_testrun):

- if -p is given, it will use the sru whitelist (I think this is not the problem here)
- If -p is not given:
   - If the whitelist is client-cert-12-04-4.whitelist, it will be configured
      /usr/share/2013.com.canonical.certification:certification-client/whitelists/client-cert-12-04-4.whitelist
   - If the whitelist is something else, it will be configured from /usr/share/2013.com.canonical.certification:checkbox/whitelists/$WHITELIST_NAME
  - If whitelist is not given, it will default to using client-cert.whitelist.

We can remove the part of the preseed that sets the bad whitelist. For this I'd appreciate if you could tell me which whitelist is being set up, and how you are calling launch_testrun.

As a workaround, as you noted, you can manually comment the whitelist entry in the config file before starting the tests. Please let me know if the workaround helps.

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.