camera_test crashed on job camera/multiple-resolution-images

Bug #1578136 reported by Taihsiang Ho
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Checkbox Provider - Base
Fix Released
High
Taihsiang Ho

Bug Description

Precise on CID 201302-12728

Steps to reproduce this issue:
select /usr/share/sru/units/sru.pxu and run the automatic test

Expected result:
camera_test was run.

Actual result:
Traceback (most recent call last):
  File "/tmp/nest-oxe5xy.2af879e79737e6bd728d49d87c7273afca9ce632f7cb862027664551b60521fa/camera_test", line 574, in <module>
    with contextlib.suppress(FileNotFoundError):
AttributeError: 'module' object has no attribute 'suppress'

-------------------

More info:

uname -a

Linux 201302-12728 3.13.0-86-generic #130~precise1-Ubuntu SMP Tue Apr 19 19:21:41 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

dpkg -l "*checkbox*" "*plainbox*"

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-=============================================-=============================================-==========================================================================================================
ii checkbox 0.17.9.1~ubuntu12.04.1 System testing application
ii checkbox-autostart-desktop 0.1+bzr3108+pkg1~ubuntu12.04.1 Automatic system testing for desktop systems
un checkbox-cli <none> (no description available)
ii checkbox-ng 0.25~ppa~ubuntu12.04.1 PlainBox based test runner
ii checkbox-qt 0.17.9.1~ubuntu12.04.1 QT4 interface for checkbox
ii plainbox-insecure-policy 0.27~ppa~ubuntu12.04.1 policykit policy required to use plainbox (insecure version)
ii plainbox-provider-checkbox 0.27~ppa2~ubuntu12.04.1 CheckBox provider for PlainBox
ii plainbox-provider-resource-generic 0.25~ppa~ubuntu12.04.1 CheckBox generic resource jobs provider
ii plainbox-provider-sru 1.2~ppa2~ubuntu12.04.1 CheckBox SRU jobs provider
un plainbox-secure-policy <none> (no description available)
ii python3-checkbox 0.17.9.1~ubuntu12.04.1 CheckBox python3 library
ii python3-checkbox-ng 0.25~ppa~ubuntu12.04.1 PlainBox based test runner (Python 3 library)
ii python3-checkbox-support 0.25~ppa~ubuntu12.04.1 collection of Python modules used by PlainBox providers
ii python3-plainbox 0.27~ppa~ubuntu12.04.1 toolkit for software and hardware testing (python3 module)

submission example:
https://certification.canonical.com/hardware/201302-12728/submission/110547/

Related branches

Taihsiang Ho (tai271828)
summary: - camera_test crashed
+ camera_test crashed on job camera/multiple-resolution-images
Revision history for this message
Taihsiang Ho (tai271828) wrote :
Revision history for this message
Taihsiang Ho (tai271828) wrote :

precise uses Python 3.2.3 and it has no contextlib.suppress. (this explains why trusty could not reproduce this issue. Trusty uses python 3.4.3)

Taihsiang Ho (tai271828)
Changed in plainbox-provider-checkbox:
assignee: nobody → Taihsiang Ho (taihsiangho)
status: New → In Progress
Revision history for this message
Taihsiang Ho (tai271828) wrote :

Refer to Makefile.am, Cheese-3.0.typelib was compiled based on Gst-0.10 (on trusty it is based on Gst-1.0). This makes Cheese.Camera is not supported.

Taihsiang Ho (tai271828)
Changed in plainbox-provider-checkbox:
status: In Progress → Fix Committed
Po-Hsu Lin (cypressyew)
Changed in plainbox-provider-checkbox:
milestone: none → 0.28
Po-Hsu Lin (cypressyew)
Changed in plainbox-provider-checkbox:
importance: Undecided → High
Pierre Equoy (pieq)
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.