Bug 4830 - cannot use powertop within eclipse
Summary: cannot use powertop within eclipse
Status: VERIFIED FIXED
Alias: None
Product: Eclipse Plugin
Classification: Yocto Project Subprojects
Component: eclipse-plugin (show other bugs)
Version: 1.5
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.5 M2
Assignee: Jessica
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-07-09 08:40 UTC by Alexandru Georgescu
Modified: 2013-08-01 14:18 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandru Georgescu 2013-07-09 08:40:56 UTC
HOST USED: Ubuntu 13.04 bit and Fedora 18 64bit
eclipse-poky:e35dfd79e3970f88a8273125890a54f75f108b97
adt-installer: http://autobuilder.yoctoproject.org/pub/nightly/20130703-2/adt-installer-QA/adt_installer.tar.bz2
poky:eaa5df34af42b6a37f6506847d0f3ef6ba0d298a



STEPS TO REPRODUCE
1. Perfom a headless build.
2. install the eclipse plugin.
3. install adt-installer (64bit)
4. Configure yocto project adt with adt-installer
5. Create a new C autotools project, then run the qemu from eclipse
6. Launch powertop from yocto project tools
7. Configure a new TCF connection with the qemu ip (e.g. 192.168.7.2) and press ok

EXPECTED RESULTS
7. The user is prompted for the qemu user and password credentials. after using root (and no passwd) as credentials a new window is opened in eclipse titled PowerTop which will contain the powertop output

ACTUAL RESULTS
7. THe powertop window is opened but nothing is displayed.Also no error message was displayed.
Reproduced on both Ubuntu and Fedora.


In the .metadata/.log file I fuound the following errors listed:

eclipse.buildId=I20120608-1400
java.version=1.7.0_17
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86_64

!ENTRY org.eclipse.osgi 2 1 2013-07-09 11:28:56.799
!MESSAGE NLS unused message: //Systemtap_KO_Text in: org.yocto.sdk.remotetools.messages

!ENTRY org.eclipse.osgi 2 1 2013-07-09 11:29:08.786
!MESSAGE NLS missing message: ErrorNoSubsystem in: org.yocto.remote.utils.messages

!ENTRY org.eclipse.osgi 2 1 2013-07-09 11:29:08.787
!MESSAGE NLS missing message: ErrorConnectSubsystem in: org.yocto.remote.utils.messages

!ENTRY org.eclipse.osgi 2 1 2013-07-09 11:29:08.787
!MESSAGE NLS missing message: InfoDownload in: org.yocto.remote.utils.messages

!ENTRY org.eclipse.osgi 2 1 2013-07-09 11:29:08.787
!MESSAGE NLS missing message: InfoUpload in: org.yocto.remote.utils.messages

!ENTRY org.eclipse.osgi 2 1 2013-07-09 11:29:08.787
!MESSAGE NLS missing message: RemoteShellExec_1 in: org.yocto.remote.utils.messages

!ENTRY org.eclipse.osgi 2 1 2013-07-09 11:29:08.787
!MESSAGE NLS missing message: RemoteShellExec_2 in: org.yocto.remote.utils.messages

!ENTRY org.eclipse.rse.core 1 0 2013-07-09 11:29:08.792
!MESSAGE Saved passwords are not available for migration to secure storage. Deprecated authorization classes (org.eclipse.core.runtime.compatibility.auth) are not installed.
Comment 1 Ioana Grigoropol 2013-07-10 11:27:43 UTC
Seems like powertop was modified in Apr 11st, and updated from 1.13 to 2.3 (see commit 7195096f5754245f2b495a1629c6eb5ae6427afe).
In this new version, some of the old options are no longer available.
In Eclipse plugin, we use these options for powertop:
   - '-d' 
      - no longer supported or documented
      - stands for dump
      - new option '--debug' seems to perform the same task 
   - '-t'
      - no longer documented, but still supported
      - stands for time
      - new option '--time' does the same task

Patch is sent on the mailing list for review.
Comment 3 Alexandru Georgescu 2013-08-01 14:18:33 UTC
.