Comment 4 for bug 1443895

Revision history for this message
Zygmunt Krynicki (zyga) wrote : Re: depmgr tries to remove an unavailable dependency from desired job list

Adding a debugger stop like this:

(thunderbolt-testing)zyga@fx:~/checkbox.bzr/thunderbolt-testing$ bzr diff
=== modified file 'checkbox-ng/checkbox_ng/commands/newcli.py'
--- checkbox-ng/checkbox_ng/commands/newcli.py 2015-03-31 07:26:46 +0000
+++ checkbox-ng/checkbox_ng/commands/newcli.py 2015-04-14 14:08:19 +0000
@@ -312,6 +312,7 @@

     def interactively_pick_jobs_to_run(self):
         print(self.C.header(_("Selecting Jobs For Execution")))
+ import pdb; pdb.set_trace()
         self._update_desired_job_list(select_jobs(
             self.manager.state.job_list, self._qualifier_list))
         if self.launcher.skip_test_selection or not self.is_interactive:

Yields this information:

(Pdb) self.manager.default_device_context.provider_list
[<Provider1 name:'2014.com.ubuntu:ubuntu-touch'>, <Provider1 name:'2013.com.canonical.certification:certification-client'>, <Provider1 name:'2013.com.canonical.certification:certification-server'>, <Provider1 name:'2015.com.canonical.certification:qml-tests'>, <Provider1 name:'2013.com.canonical.certification:checkbox'>, <Provider1 name:'2013.com.canonical.certification:plainbox-resources'>, <Provider1 name:'2013.com.canonical.certification:piglit'>]

It seems that the manifest provider is not there for some reason.