python hangs with 100% CPU when running automated desktop testing

Bug #704923 reported by Jean-Baptiste Lallement
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ldtp (Ubuntu)
Fix Released
Undecided
Unassigned
python-defaults (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Since 2011-01-07 python hangs with 100% CPU when running automated desktop tests.
Only SIGKILL have effect.

The window of the application under test can be closed manually but a ps shows a defunct process.

This can be reproduced with totem, banshee and gwibber on 3 different systems.

For desktop testing we use ldtp and mago, this is reproducible with versions 2.0.6 and 2.1.0 of ldtp.

You'll find in attachment the update history of one of the affected system.

TESTCASE:
1. Get mago and the testsuite
  $ bzr get lp:mago
  $ bzr get lp:~mago-contributors/mago/mago-testsuite

2. Run the totem playback test
  $ ./mago/bin/mago ./mago-testsuite/totem/test_totemplayback.py

RESULT:
The test hangs after having played the sound.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: python 2.7.1-0ubuntu5
ProcVersionSignature: Ubuntu 2.6.37-12.26-generic 2.6.37
Uname: Linux 2.6.37-12-generic i686
Architecture: i386
Date: Wed Jan 19 15:21:00 2011
EcryptfsInUse: Yes
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, user)
 LANG=en_US.utf8
 LC_MESSAGES=en_US.utf8
 SHELL=/bin/bash
SourcePackage: python-defaults

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :
tags: added: mago
description: updated
Revision history for this message
Patrick Wright (patrickmwright) wrote :

I ran the totem test suite while monitoring CPU usage. Usage averaged below 50% (on a moderately powered laptop) and peaked momentarily at ~80% when playing the tone. After test completed CPU usage went back to idle.

Changed in python-defaults (Ubuntu):
status: New → Incomplete
Changed in ldtp (Ubuntu):
status: New → Incomplete
status: Incomplete → New
Revision history for this message
Patrick Wright (patrickmwright) wrote :

Jean-Baptiste, please try again and see if you get the issue.

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

not an issue anymore. Closing.

Changed in python-defaults (Ubuntu):
status: Incomplete → Fix Released
Changed in ldtp (Ubuntu):
status: New → Fix Committed
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.