[0.51.0~rc1] missing dependency for pm-graph binary

Bug #1863692 reported by Pierre Equoy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox Provider - Base
Fix Released
High
Sylvain Pineau

Bug Description

p-p-c 0.51.0~rc1~ppa~ubuntu18.04.1 introduces new test cases based on pm-graph binary.

pm-graph is written in python2, but relies on configparser which is not part of the standard python2 library (it appeared in python3.2). A backport package, python-configparser, has been created to handle this.

However, this package doesn't seem to be set as a dependency of pm-graph package, resulting in errors like this when trying to run the jobs in Checkbox on a fresh 18.04 install:

------------------[ Resume from idle by using Intel pm-graph ]------------------
ID: com.canonical.certification::stress/s2idle_pm-graph_30
Category: com.canonical.plainbox::stress
... 8< -------------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/bin/sleepgraph", line 63, in <module>
    import configparser
ImportError: No module named configparser
------------------------------------------------------------------------- >8 ---
Outcome: job failed

Workaround
==========

Manually installing the python-configparser package fixes the issue.

Tags: cqa-verified
Pierre Equoy (pieq)
summary: - missing dependency for pm-graph binary
+ [0.51.0~rc1] missing dependency for pm-graph binary
Changed in plainbox-provider-checkbox:
assignee: nobody → Sylvain Pineau (sylvain-pineau)
description: updated
description: updated
Revision history for this message
Sylvain Pineau (sylvain-pineau) wrote :
Changed in plainbox-provider-checkbox:
status: New → Fix Committed
milestone: none → 0.51.0
Revision history for this message
Pierre Equoy (pieq) wrote :

Tested using pm-graph v5.6-1+202002181200+da13294 available in the Checkbox Testing PPA, and the issue was gone.

tags: added: cqa-verified
Changed in plainbox-provider-checkbox:
status: Fix Committed → Fix Released
Changed in plainbox-provider-checkbox:
importance: Undecided → High
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.