After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 673931 - Python-ldtp has issues if the application calls an env or other program to run.
Python-ldtp has issues if the application calls an env or other program to run.
Status: RESOLVED FIXED
Product: LDTP
Classification: Other
Component: pyldtp
2.3.0
Other Linux
: Normal normal
: ---
Assigned To: LDTP maintainers
LDTP Development Mailing List
Depends on:
Blocks:
 
 
Reported: 2012-04-11 18:03 UTC by davmor2
Modified: 2012-04-12 02:02 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description davmor2 2012-04-11 18:03:14 UTC
orginal bug can be found at https://bugs.launchpad.net/ubuntu/+source/ldtp/+bug/979183

If your application calls an env or other application to run it the the process monitoring stuff in ldtp will not find it.

Steps to reproduce:
ldtp.getmemorystat('xchat') works as it is "/usr/bin/xchat" in the process queue ldtp.getmemorystat('software-center') fails as it is "/usr/bin/python /usr/bin/software-center".

Expected Results:
I expect to see results for both.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: python-ldtp 2.3.1-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
Uname: Linux 3.2.0-23-generic x86_64
ApportVersion: 2.0.1-0ubuntu1
Architecture: amd64
Date: Wed Apr 11 18:51:14 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120327)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_GB:en
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: ldtp
UpgradeStatus: No upgrade log present (probably fresh install)
Comment 1 Nagappan Alagappan 2012-04-12 02:02:59 UTC
Thanks for the bug report, this is now fixed in git head.