python hangs with 100% CPU when running automated desktop testing

Bug #704923 reported by Jean-Baptiste Lallement on 2011-01-19
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ldtp (Ubuntu)
python-defaults (Ubuntu)

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.

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/

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
 PATH=(custom, user)
SourcePackage: python-defaults

Jean-Baptiste Lallement (jibel) wrote :
tags: added: mago
description: updated
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
Patrick Wright (patrickmwright) wrote :

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

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  Edit
Everyone can see this information.

Other bug subscribers