From Fedora Project Wiki

(Drop direct Test Days category membership)
 
(144 intermediate revisions by 24 users not shown)
Line 9: Line 9:
| fedora_mailing_list = test
| fedora_mailing_list = test
}}
}}
{{admon/warning | This page is under heavy construction! Please do not run any test before 2012-10-11. The content of this page will change.}}


{{admon/note | Can't make the date? | If you come to this page after the test day is completed, your testing is still valuable, and you can use the information on this page to test, file any bugs you find at [http://bugzilla.redhat.com Bugzilla], and add your results to the results section. If this page is more than a month old when you arrive here, please check the [[QA/Test_Days|current schedule]] and see if a similar but more recent Test Day is planned or has already happened.}}
{{admon/note | Can't make the date? | If you come to this page after the test day is completed, your testing is still valuable, and you can use the information on this page to test, file any bugs you find at [http://bugzilla.redhat.com Bugzilla], and add your results to the results section. If this page is more than a month old when you arrive here, please check the [[QA/Test_Days|current schedule]] and see if a similar but more recent Test Day is planned or has already happened.}}


{{admon/note | On site event | You can attend this event online or personally in Red Hat Brno office: (more info TBD)}}
{{admon/note | On site event | You can attend this event online or personally in [https://plus.google.com/104659097092746488434/about Red Hat Brno office]}}


== What to test? ==
== What to test? ==
Line 26: Line 24:
* Quality Assurance - [[User:jscotka|Jan Ščotka]] (jscotka)
* Quality Assurance - [[User:jscotka|Jan Ščotka]] (jscotka)


Note: jskarvad will be available at least during 10:00 - 22:00 (UTC+2) on #fedora-test-day, #fedora-power, #fedora-devel, otherwise he will be on e-mail with non guaranteed response time. He will be also available on site in Red Hat Brno Office at least during 09:00 - 19:00.  
Note: jskarvad will be available at least during 10:00 - 22:00 (UTC+2) on #fedora-test-day, #fedora-power, #fedora-devel, otherwise he will be on e-mail with non guaranteed response time. He will be also available on site in [https://plus.google.com/104659097092746488434/about Red Hat Brno office] during 13:00 - 19:00, Visitors room, 4th floor (in the front of reception desk).


== Prerequisite for Test Day ==  
== Prerequisite for Test Day ==  


* 32 bit Live medium TBD (md5sum:TBD) or 64 bit Live medium TBD (md5sum:TBD) or an updated [http://fedoraproject.org/get-prerelease Fedora 18 pre-release] or you may get nightly composed [http://alt.fedoraproject.org/pub/alt/nightly-composes/desktop/ LiveCD].
* The [http://fedorapeople.org/groups/pm_sig/pm-test-day-live-f18-20121011-i686.iso 32 bit live medium] (SHA-1: e003ad7e7bcac9cc018ee2e0cee5977a4779b59d) or [http://fedorapeople.org/groups/pm_sig/pm-test-day-live-f18-20121011-x86_64.iso 64 bit live medium] (SHA-1: f63f4faebdd0b3398ba6755d681d7e630efba091) or an updated [http://fedoraproject.org/get-prerelease Fedora 18 pre-release] or you may get nightly composed [http://alt.fedoraproject.org/pub/alt/nightly-composes/desktop/ LiveCD].
** It is possible to convert the LiveCD into LiveUSB by following the [[How_to_create_and_use_Live_USB]] instructions. If you convert the LiveCD into LiveUSB it is recommended to create on USB another primary partition that will serve as swap. This is useful for [[QA:Testcase_Power_Management_pm_hibernate|pm-hibernate]] test case.
** It is possible to convert the LiveCD into LiveUSB by following the [[How_to_create_and_use_Live_USB]] instructions. If you convert the LiveCD into LiveUSB it is recommended to create on USB another primary partition that will serve as swap. This is useful for [[QA:Testcase_Power_Management_pm_hibernate|pm-hibernate]] test case.
** If you attend the event on-site in Red Hat Brno office, there will be prepared bootable USB flash disks/CD ROMs, thus you only need to bring your hardware there.
** If you attend the event on-site in Red Hat Brno office, there will be prepared bootable USB flash disks/CD ROMs, thus you only need to bring your hardware there. (13.00-17.00 CEST)
* Your hardware profile uploaded to [http://www.smolts.org Smolt] according to [http://smolts.org/smolt-wiki/Main_Page#Usage these instructions]
* Your hardware profile uploaded to [http://www.smolts.org Smolt] according to [http://smolts.org/smolt-wiki/Main_Page#Usage these instructions]
** In case you have dependency problem with smolt package use the workaround bellow:
<pre> yum install --nogpgcheck "http://fedorapeople.org/~jskarvad/pm-test-day-repo/smolt-1.4.3-6.fc18.noarch.rpm"</pre>
* Optional: account on fedoraproject.org if you plan to upload the pm-utils bugreport file. If you do not have one and you do not plan to get it, you can still attend the test day - there are instructions in the appropriate test case(s) bellow how to handle such situation.
* Optional: account on fedoraproject.org if you plan to upload the pm-utils bugreport file. If you do not have one and you do not plan to get it, you can still attend the test day - there are instructions in the appropriate test case(s) bellow how to handle such situation.


Line 46: Line 46:


* Run test cases bellow.
* Run test cases bellow.
* Report results to the result table.


=== Prepare your system ===
=== Prepare your system ===
{{admon/note|If you are using our PM Test Day Live medium, please skip the following steps, because everything is already prepared for you.}}  
{{admon/note|PM Test Day Live medium|If you are using our PM Test Day Live medium, please skip the following steps, because everything is already prepared for you.}}  
# Install the public key (in case you would like to verify the PM Test Day support package, otherwise you can skip this step because the public key will be installed automatically with the PM Test Day support package in the next step):
# Install the public key (in case you would like to verify the PM Test Day support package, otherwise you can skip this step because the public key will be installed automatically with the PM Test Day support package in the next step):
#:<pre># rpm --import http://jskarvad.fedorapeople.org/RPM-GPG-KEY-pm-test-day</pre>
#:<pre># rpm --import http://jskarvad.fedorapeople.org/RPM-GPG-KEY-pm-test-day</pre>
# Install the PM Test Day support package by:
# Install the PM Test Day support package by:
#:<pre># yum install http://jskarvad.fedorapeople.org/pm-test-day-repo/ TBD</pre>
#:<pre># yum install http://jskarvad.fedorapeople.org/pm-test-day-repo/pm-test-day-4-1.fc18.noarch.rpm</pre>
#* This procedure will also install the public key which will be then used for verification of packages from the PM Test Day repo.
#* This procedure will also install the public key which will be then used for verification of packages from the PM Test Day repo.
#* In case you have dependency problem with smolt package use the workaround bellow:
#*:<pre> yum install --nogpgcheck "http://fedorapeople.org/~jskarvad/pm-test-day-repo/smolt-1.4.3-6.fc18.noarch.rpm"</pre>


Finally make sure you have all current updates (and temporal fixes) installed by:
Make sure you have all current updates (and temporal fixes) installed by:
<pre># yum update</pre>
<pre># yum update</pre>
Clear your audit log (especially important in case you aren't running from the live medium):
<pre># echo -n > /var/log/audit/audit.log</pre>


== Known Bugs / Workarounds ==
== Known Bugs / Workarounds ==
Currently none.
* {{bz|862801}} - Anaconda hangs when 'Configuring installed system'
*: You can encounter this when doing liveinst from the live media, current workaround: 'pkill anaconda'.
 
* Problem with screen locking:
*: Screen locking is disabled on live medium, to enable:
** Set password for liveuser:
**:<pre># passwd liveuser</pre>
** Enable the locking feature:
**:<pre>$ gsettings set org.gnome.desktop.lockdown disable-lock-screen 'false'</pre>
** Enable the lock in gnome-control-center:
**:<pre>$ gnome-control-center screen</pre>
*: The desktop locking is task of gnome-settings-daemon/UPower not pm-utils (pm-suspend*, pm-hibernate). Pm-utils is backend for UPower and knows nothing about desktop locking. To lock your desktop you need to suspend/hibernate from gnome-shell UI.
 
* Problem with hibernation from gnome-shell
**: AFAIK currently it is not possible to hibernate from gnome-shell UI without tweaking (please don't ask me why, I am not Gnome developer), you can invoke the full hibernation (including desktop locking if set, see above) by the following dbus call:
**:<pre>$ dbus-send --print-reply --system --dest=org.freedesktop.UPower /org/freedesktop/UPower org.freedesktop.UPower.Hibernate</pre>
**: Or with gnome-shell 3.6:
**:<pre># dbus-send --print-reply --system --dest=org.freedesktop.login1 /org/freedesktop/login1 org.freedesktop.login1.Manager.Hibernate boolean:false</pre>
* {{bz|859224}} - Please take systemd-logind's handle-power-key/handle-suspend-key/handle-hibernate-key/handle-lid-switch inhibitor locks if GNOME wants to handle the respective keys on its own
*: Double suspend problem.


== Test Cases ==
== Test Cases ==
Line 80: Line 103:
| 2 minutes
| 2 minutes
|-
|-
| [[QA:Testcase_Power_Management_pm_bugreport|pm-bugreport]]   
| [[QA:Testcase_Power_Management_pm_suspend_hybrid|pm-suspend-hybrid]]   
| Tests pm-utils bug-reporting functionality.
| Tests hybrid suspend (AKA suspend to both) / resume via pm-utils.
| All
| All
| 2 minutes
| 2 minutes
Line 114: Line 137:
| Laptops or users with wattmeter
| Laptops or users with wattmeter
| 15 minutes
| 15 minutes
|-
| [[QA:Testcase_Power_Management_selinux|Selinux AVCs]] 
| Tests if there are no SELinux AVCs during profile switching.
| All
| 1 minutes
|}
|}


== Test Results ==
== Test Results ==


If you have problems with any of the tests, report a bug to [https://bugzilla.redhat.com Bugzilla] usually for the component [https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&version=18&component=pm-utils pm-utils], or [https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&version=18&component=tuned tuned]. If you are unsure about exactly how to file the report or what other information to include, just ask on IRC and we will help you. Once you have completed the tests, add your results to the Results table below following the example results from the first line. The first column should be your name with a link to your Fedora User Wiki page (if you have one), and the second should be a link to the Smolt profile of the system you tested. For each test case, use the [[Template:result|result template]] to enter your result, as shown in the example result line. The bugreport.txt will be generated by test case [[QA:Testcase_Power_Management_pm_bugreport|pm-bugreport]], instructions for uploading are included in this test case. The bugreport.txt gives us valuable information about your HW / SW configuration and debug log of your last suspend / hibernate process.
If you have problems with any of the tests, report a bug to [https://bugzilla.redhat.com Bugzilla] usually for the component [https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&version=18&component=pm-utils pm-utils], [https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&version=18&component=selinux-policy selinux-policy], [https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&version=18&component=kernel kernel], or [https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&version=18&component=tuned tuned]. If you are reporting suspend/hibernate problem, please also attach output from ''dmesg'' and ''pm-utils-bugreport-info.sh''. If you are unsure about exactly how to file the report or what other information to include, just ask on IRC and we will help you. Once you have completed the tests, add your results to the Results table below following the example results from the first line. The first column should be your name with a link to your Fedora User Wiki page (if you have one), and the second should be a link to the Smolt profile of the system you tested. For each test case, use the [[Template:result|result template]] to enter your result, as shown in the example result line.  


{| style="font-size:80%;"
{| style="font-size:80%;"
! User
! User
! Smolt<br/>Profile
! Smolt<br/>Profile
! [[QA:Testcase_Power_Management_pm_suspend|pm-suspend]]r
! [[QA:Testcase_Power_Management_pm_suspend|pm-suspend]]
! [[QA:Testcase_Power_Management_pm_hibernate|pm-hibernate]]
! [[QA:Testcase_Power_Management_pm_hibernate|pm-hibernate]]
! [[QA:Testcase_Power_Management_pm_bugreport|pm-bugreport]]
! [[QA:Testcase_Power_Management_pm_suspend_hybrid|pm-suspend-hybrid]]
! [[QA:Testcase_Power_Management_pm_powersave|pm-powersave]]
! [[QA:Testcase_Power_Management_pm_powersave|pm-powersave]]
! [[QA:Testcase_Power_Management_Lid_Close|Lid close]]  
! [[QA:Testcase_Power_Management_Lid_Close|Lid close]]  
Line 132: Line 160:
! [[QA:Testcase_Power_Management_tuned_off_idle|Tuned disabled idle]]
! [[QA:Testcase_Power_Management_tuned_off_idle|Tuned disabled idle]]
! [[QA:Testcase_Power_Management_tuned_powersave_idle|Tuned powersave idle]]
! [[QA:Testcase_Power_Management_tuned_powersave_idle|Tuned powersave idle]]
! [[QA:Testcase_Power_Management_selinux|Selinux AVCs]]
! References
! References
|-
|-
| [[User:SampleUser|Sample User]]
| [[User:SampleUser|Sample User]]
| [http://www.smolts.org/client/show/pub_84465125-1350-4f83-87b9-5f16f7430eb8 Sample Machine]
| [http://www.smolts.org/client/show/pub_84465125-1350-4f83-87b9-5f16f7430eb8 Sample Machine]
| {{result|fail}} <ref>{{bz|54321}}</ref>
| {{result|fail||54321}}
| {{result|fail}}
| {{result|fail}}
| {{result|warn}} <ref>Got report but also encountered {{bz|54320}}</ref> [http://fedoraproject.org/w/uploads/2/2f/pm-test-day-20110324-pub_84465125-1350-4f83-87b9-5f16f7430eb8 bugreport]
| {{result|pass}}
| {{result|pass}}
| {{result|warn}}
| {{result|warn}} <ref>Got report but also encountered {{bz|54320}}</ref>
| {{result|pass}}
| {{result|inprogress}}
| {{result|inprogress}}
| {{result|pass}}
| {{result|fail||864911}}
| 4.800 Wh
| 4.800 Wh
| 4.710 Wh
| 4.710 Wh
| {{result|pass}}
| <references/>
| <references/>
|-
|-
Line 150: Line 180:
<!-- *** Start filling your results bellow this line *** -->
<!-- *** Start filling your results bellow this line *** -->


|-
| [[User:Abhaykadam|Abhay]]
| [http://www.smolts.org/client/show/pub_b1c59de0-21e6-452b-8b72-d91b3aad0d4e Dell Inspiron N5010 A15 ]
| {{result|fail||865414}}
| {{result|fail}} <ref>resume doesn't work. {{bz|865457}}</ref>
|
| {{result|pass}}
| {{result|warn}} <ref>network connection couldn't re-establish. {{bz|865414}}</ref>
| {{result|pass}}
| {{result|warn}} <ref>AVC denial notification while starting the tuned service. {{bz|865443}}</ref> <ref> powertop2tuned crashes whilst generating profiles. {{bz|865655}} </ref>
|
|
| {{result|pass}}
| <references/>
|-
| [[User:pschindl|pschindl]]
| [http://www.smolts.org/client/show/pub_47624e44-7389-429b-a7b7-fd94c17e158e Lenovo ThinkPad T520]
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|warn}} <ref>{{bz|865362}} works with gnome-settings-daemon-3.6.1-2</ref>
| {{result|pass}}
| {{result|pass}}
| 4910 Wh
| 5035 Wh
| {{result|fail||865387}}
| <references/>
|-
| [[User:vhumpa|vhumpa]]
| [http://www.smolts.org/client/show/pub_639b0478-7137-4ccd-90ca-17735fa376a4 Lenovo ThinkPad T420]
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| 8.821 Wh, 11.446 V (KDE)
| 8.676 Wh, 10.758 V (KDE)
| {{result|pass}}
| <references/>
|-
| lzachar
| [http://www.smolts.org/client/show/pub_339e87bc-c2c3-433b-89f1-82defdf4d6f7 Dell Inspiron 1525]
| {{result|pass}}
| {{result|pass}} <ref>on swap<memory & luks & lvm</ref>
| {{result|pass}}
| {{result|pass}}
| {{result|warn||865362}}
| {{result|pass}}
| {{result|pass}}
| bat: 3.984 Wh, ac: 4.354 Wh <ref>{{bz|865468}} screen blank after 9 min</ref>
| {{result|inprogress}} bat: 4.149 Wh, ac: xxxx
| {{result|fail||865387}}
| <references/>
|-
| lzachar
| [http://www.smolts.org/client/show/pub_14eff519-9ef6-41bd-84a7-4fa8a28cd4f1 lenovo T410]
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}} <ref>works with gnome-settings-daemon-3.6.1-2</ref>
| {{result|pass}}
| {{result|pass}}
| bat: 3.390 Wh
| bat: 3.410 Wh
| {{result|fail||865387}}
| <references/>
|-
| [[User:csm|csm]]
| [http://www.smolts.org/client/show/pub_d27be84b-a35e-461f-9c6c-eb284fdeb26b Lenovo ThinkCentre M58p ]
| {{result|warn}} <ref>1. Suspend okay, 2. one too, but after 2. wakeup screen remains black, doesn't wakeup</ref>
| {{result|fail}} <ref>Resume doesn't work</ref>
| {{result|fail}} <ref>Szstem doesn't reach hibernation state, instead seems to resume immediately</ref>
| {{result|N/A}}
| {{result|N/A}}
| {{result|N/A}}
| {{result|pass}}
| {{result|N/A}}
| {{result|N/A}}
| {{result|pass}}
| <references/>
|-
| [[User:psklenar|psklenar]]
| [http://www.smolts.org/client/show/pub_ebc87ae6-9bab-4be8-a6d4-d073fa8beeba Lenovo T410 ]
| {{result|warn}} <ref> anaconda bug {{bz|865322}} </ref> <ref>pm-utils bug {{bz|865410}} </ref>
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|inprogress}} bat: 4.405  <ref>1. liveCD turns with CD randomly</ref>
| {{result|inprogress}} bat: 4.501
| {{result|inprogress}}
| <references> {{bz|865322}} </references>
|-
| [[User:dapospis|dapospis]]
| [http://www.smolts.org/client/show/pub_f028902b-b21f-48aa-90ff-c992e018a5f8  Lenovo T520 ]
| {{result|fail}} <ref>https://bugzilla.redhat.com/show_bug.cgi?id=865466</ref>
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|fail}} <ref>bug 859224</ref>
| {{result|pass}}
| {{result|pass}} <ref>bug https://bugzilla.redhat.com/show_bug.cgi?id=865477</ref>
| 6.463 Wh (12.453 V)
| 6.597 Wh (12.083 V)
| {{result|pass}}
| <references/>
|-
| [[User:dapospis|dapospis]]
| [http://www.smolts.org/client/show/pub_d3d51435-f11d-498c-ac20-bb281f58ea69  HP Mini 5103 ] <ref> booted with processor.ignore_ppc=1 due to problem with cpu scaling </ref>
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|fail}} <ref> double suspend problem </ref>
| {{result|pass}}
| {{result|fail}} <ref> AVC after first tuned service start, path to the profile, see. bug 865477 </ref>
| 3.325 Wh (12.503 V)
| 3.199 Wh (12.119 V)
| {{result|pass}}
| <references/>
|-
| [[User:jpospisi|jpospisi]]
| [http://www.smolts.org/client/show/pub_29d45dd7-df6b-4468-8b0c-f26537abea6b  HP Compaq 6715b ]<ref>Also encountered {{bz|865844}} and {{bz|865848}}.</ref>
| {{result|pass}}
| {{result|pass}}
| {{result|fail||865844}}
| {{result|pass}}
| {{result|warn||865362}}
| {{result|pass}}
| {{result|pass}}
| 6.034 Wh (11.718 V)
| 6.509 Wh (11.340 V)
| {{result|fail||865387}}
| <references/>
|-
| [[User:sgf | Sgf]]
| [http://www.smolts.org/client/show/pub_6efb54f9-1f74-4fb2-9fcf-239548acbf9b Lenovo IdeaPad S12 ION]
| {{result|warn}} <ref>{{bz|791149}} - there is workaround mentioned in the bug comments, so I continued with that</ref>
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|fail||865362}}
| {{result|pass}}
| {{result|pass}}
| 5.130 Wh
| 5.030 Wh
| {{result|pass}}
| <references/>
|-
| [[User:sagitter | sagitter]]
| [http://www.smolts.org/client/show/pub_c3ad7c12-d085-41a1-82eb-7a38f3c903c4  Acer Aspire 6930G]
| {{result|pass}}
| {{result|}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass||865443}}
| {{result|pass}} 5.552 Wh (10.457 V)
| {{result|pass}} 5.760 Wh (10.342 V) <ref>{{bz|865443}}</ref>
| {{result|pass||865443}}
| <references/>
|-
| [[User:Ericb|Eric Blake]]
| [http://www.smolts.org/client/show/pub_64e8eeda-1a1f-4b40-b01f-0e2d60790a88 Lenovo ThinkStation D20] <ref>most of my testing was done bare-metal running rawhide rather than F18, but I also tested pm-suspend with the F18 liveusb test image</ref>
| {{result|fail}} <ref group="long">{{bz|679631}} machine whirs up after pressing power button to resume, and even shows last screen, but remains unresponsive, if hard disk is present; but if disk is pulled while I use liveusb image, it works</ref>
| {{result|fail}} <ref>{{bz|865597}} machine sort of recovered, but I/O errors prevented doing anything useful</ref>
| {{result|fail}} <ref group="long">same failure as pm-suspend on first power-on; then hard power cycle triggered hibenation recovery on second power-on with same failure as pm-hibernate; next hard power cycle (third power-on) booted fresh</ref>
|
|
|
| {{result|pass}} <ref>'pgrep tuned' had false positive on ksmtuned process, unrelated to tuned</ref>
|
|
| {{result|pass}}
| <references/>
|-
| [[User:Evillagr]]
| [http://www.smolts.org/client/show/pub_f1ba80a1-711b-4f21-ab1d-d72ec8ad6519 HP dv5-1132la]
| {{result|pass}}
| {{result|pass}} <ref>Swap on LVM</ref>
| {{result|pass}}
| {{result|pass}}
| {{result|warn||865362}}
| {{result|pass}}
| N/A
| N/A
| N/A
| {{result|fail||865443}}
| <references/>
|-
| [[User:Adabeda]]
| [http://www.smolts.org/client/show/pub_7c24e3c4-b9cd-4280-92ab-2bab5900380e ThinkPad R500]
| {{result|pass}}
| {{result|none}}
| {{result|none}}
| {{result|pass}}
| {{result|warn||865362}}
| {{result|pass}}
| {{result|pass}}
| 6.210 Wh
| 6.160 Wh
| {{result|none}}
| <references/>
|-
| [[User:Adabeda]]
| [http://www.smolts.org/client/show/pub_df946b9f-fed7-47f6-a32c-baefa35cb414 ThinkPad 420]
| {{result|pass}}
| {{result|none}}
| {{result|none}}
| {{result|pass}}
| {{result|warn||865362}}
| {{result|pass}}
| {{result|pass}}
| 10.977W/2.744Wh <ref>External power meter was used.</ref>
| 11.074W/2.768Wh <ref>External power meter was used.</ref>
| {{result|none}}
| <references/>
|-
| [[User:hhorak]]
| [ThinkPad Edge 11.6 U5400]
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|warn||865362}}
| {{result|pass}}
| {{result|warn||864911}}
| {{result|warn}} 3.820 Wh <ref>{{bz|866367}}</ref>
| {{result|warn}} 3.810 Wh <ref>{{bz|866367}}</ref>
| {{result|fail||864911}}
| <references/>
|-
| [[User:jskarvad|Jaroslav Škarvada]]
| [http://www.smolts.org/client/show/pub_6a0d6da9-1505-4b07-a45f-122980f4d5aa Lenovo T420s]
| {{result|warn||865466}}
| {{result|pass}}
| {{result|warn||866487}}
| {{result|pass}}
| {{result|warn||859224}}
| {{result|pass}}
| {{result|pass||866919}}
| 4.543 Wh (11.833 V) 3.786 Wh (12.135 V)<ref>Re-measured with HDD installed F18.</ref>
| 4.655 Wh (12.061 V) <ref>{{bz|866918}}</ref> 3.682 Wh (12.155 V) <ref>Re-measured with fixed tuned and HDD installed F18.</ref>
| {{result|pass}}
| <references/>
|-
| [[User:jskarvad|Jaroslav Škarvada]]
| Lenovo T500
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| 4.920 Wh
| 4.650 Wh
| {{result|pass}}
| <references/>
|-
| [[User:jskarvad|Jaroslav Škarvada]]
| Asus 1000H
| {{result|pass}}
| {{result|warn||865466}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| 2.341 Wh (7.804 V)
| 2.250 Wh (7.604 V)
| {{result|pass}}
| <references/>
|-
| [[User:jskarvad|Jaroslav Škarvada]]
| [http://www.smolts.org/client/show/ Dell Latitude D620]
| {{result|pass}}
| {{result|fail||867006}}
| {{result|pass}}
| N/A <ref>Dead battery</ref>
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| N/A
| N/A
| {{result|fail||883928}} <ref group="long">Also encountered some AVCs on spindown-disk profile, but we are going to fix this upstream in the next tuned update (this is minor as the profile is phasing out in the compat sub-package)</ref>
| <references/>
|-
| [[User:jskarvad|Jaroslav Škarvada]]
| [http://www.smolts.org/client/show/pub_92180ea1-8f82-4b3d-81a1-ad60bae69007 Gigabyte M56S-S3]
| {{result|pass}}
| {{result|pass}}
| {{result|warn}}<ref>Machine performed full hibernation</ref>
| N/A <ref>Desktop.</ref>
| N/A
| N/A
| {{result|pass}}
| N/A
| N/A
| {{result|pass||864911}}
| <references/>
|-
| [[User:jskarvad|Jaroslav Škarvada]]
| Lenovo X201
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| 3.248 Wh (12.543 V)
| 3.530 Wh (12.430 V)
| {{result|pass}}
| <references/>
|-
| [[User:jskarvad|Jaroslav Škarvada]]
| P4X266E-8233
| {{result|pass}}<ref>Firmware doesn't seem to support suspend, only standby, so the machine standby</ref>
| {{result|fail||867006}}
| {{result|warn}}<ref>The machine hibernates</ref>
| N/A
| N/A
| N/A
| {{result|pass}}
| N/A
| N/A
| {{result|fail||883928}}
| <references/>
|-
| mkyral
| [Asus K50IJ (Pent T4200, 4GB, graf. Intel GMA4500MHD]
| {{result|pass}}
| {{result|fail}} <ref>after resume screen flickers {{bz|867460}}</ref>
| {{result|pass}} <ref>resuming from RAM</ref>
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass||865443}}
| bat: 3.355 Wh <ref>{{bz|865468}}</ref>
| bat: 3.333 Wh <ref>{{bz|865468}}</ref>
| {{result|fail||865443}}
| <references/>
<!-- *** Results from http://autoqa-stg.fedoraproject.org/testdays/show_event?event_id=1 *** -->
|-
| [[User:Martix|Martix]]
| [http://www.smolts.org/client/show/pub_d692916f-0973-4ae5-8380-9ce26ddfa3c9 Thinkpad T520]
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
|
|
| {{result|pass}} <ref>except AVC denial</ref>
| 4.169 Wh<ref>15 min</ref>
| 4.053 Wh<ref>5 min test with powertop tunables all good</ref>4.250<ref>5 min powersave</ref>
|
| <references/>
|-
| [[User:jskladan|jskladan]]
| [ Mac Mini]
| {{result|pass}}
| {{result|pass}}
|
|
|
|
| {{result|pass}}
|
|
| {{result|pass}}
| <references/>
|-
| [[User:JiriEischmann|JiriEischmann]]
| [http://www.smolts.org/client/show/pub_5070023b-b194-4c50-ba96-b4530f63e01e ExoPC]
| {{result|pass}}
| {{result|warn}} <ref>The system woke up after hibernation, but touch screen didn't work, X server restart needed. No improvement since F17.</ref>
|
| {{result|pass}}
|
| {{result|pass}}
| {{result|pass||865443}}<ref>SELinux didn't like starting Tuned service via systemd.</ref>
| 2.796 Wh (7.098 V)<ref>Both results are higher and the difference is much smaller than in F17.</ref>
| 2.777 Wh (7.013 V)
| {{result|pass}}
| <references/>
|-
| [[User:lzachar|lzachar]]
| [http://www.smolts.org/client/show/pub_339e87bc-c2c3-433b-89f1-82defdf4d6f7 Dell Inspiron 1525]
| {{result|pass}}
| {{result|pass}} <ref>swap<memory & lvm & live-cd & luks</ref>{{result|pass}} <ref>swap<memory & livecd & lvm in luks => passed</ref>
| {{result|pass}} <ref>tested both suspend, hibernate on power cut.</ref>
| {{result|pass}}
| {{result|warn||865362}}
| {{result|pass}}
|
|
|
|
| <references/>
|-
| [[User:MartinK|MartinK]]
| [http://www.smolts.org/client/show/pub_80ee019b-3976-4a50-8125-983b6d3c4199 Lenovo T520 42404GG]
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|fail}} <ref group="long">Suspends correctly after closing the laptop lid.
After opening the lid, system successfully resumes to the GUI but then immediately suspends again. Pressing the power button afterwards resumes the system correctly.
(reportedly caused by a bug in gsettings ?)</ref>
| {{result|pass}}
| {{result|pass}}
|
|
|
| <references/>
|-
| [[User:MartinK|MartinK]]
| [http://www.smolts.org/client/show/pub_80ee019b-3976-4a50-8125-983b6d3c4199 Lenovo T520 42404GG using nvidia graphics]
|
|
|
|
|
|
|
| 7.911<ref>using the Nvidia discreet GPU
wifi OFF, screen ON</ref>
| 8<ref>using the Nvidia discreet GPU
wifi OFF, screen ON</ref>
| {{result|pass}}
| <references/>
|-
| [[User:pbabinca|pbabinca]]
| [http://www.smolts.org/client/show/pub_deb6d06f-32dd-4771-80a0-774f7bbc6439 Lenovo ThinkPad R61]
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
|
|
|
|
|
|
|
| <references/>
|-
| [[User:luya|luya]]
| [ Toshiba Satellite C650D]
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
|
| {{result|pass}}
| {{result|warn}} <ref>Setting Brightness to min does not totally darken the screen.</ref>
|
|
|
|
| <references/>
|-
| [[User:evillagr|evillagr]]
| [http://www.smolts.org/client/show/pub_f838f536-50e2-4749-bd12-e528aa93b82d HP dv5-1132la]
| {{result|pass}}
|
|
|
|
|
|
|
|
|
| <references/>
|-
| [[User:pschindl|pschindl]]
| [http://www.smolts.org/client/show/pub_56975811-62f4-4b86-9036-cb2db35c6455 desktop with AMD]
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
|
|
|
| {{result|pass}}
|
|
|
| <references/>
|-
<!-- *** Results from Google form *** -->
| [[User:iiska|iiska]]
| [[http://www.smolts.org/client/show/pub_5c5f65fb-d013-4ccb-9e7b-dfbbacd0b87c 01965NG ThinkPad Edge]]
| {{result|pass}}
| {{result|pass}} <ref>Using swap partition in same the usb stick than livecd image.</ref>
| {{result|pass}}
| {{result|pass}}
| {{result|fail}} <ref>https://bugzilla.redhat.com/show_bug.cgi?id=865362</ref>
| {{result|pass}}
| {{result|pass}}
| 2.96
| 2.97
| {{result|warn}} <ref group="long">Following avc erors/messages are displayed when pmtd-selinux-test is run immediately after systemctl start tuned.service. If test script pmtd-selinux-test is run again there are no AVC matches.
[root@localhost liveuser]# pmtd-selinux-test
AVCs: ----
type=SYSCALL msg=audit(10/11/2012 07:35:39.207:517) : arch=x86_64 syscall=connect success=no exit=-13(Permission denied) a0=0x7 a1=0x7f6c94ee8390 a2=0x21 a3=0x6e75722f7261762f items=0 ppid=1 pid=6187 auid=unset uid=root gid=root euid=root suid=root fsuid=root egid=root sgid=root fsgid=root tty=(none) ses=unset comm=tuned exe=/usr/bin/python2.7 subj=system_u:system_r:tuned_t:s0 key=(null)
type=AVC msg=audit(10/11/2012 07:35:39.207:517) : avc:  denied  { search } for  pid=6187 comm=tuned name=dbus dev="tmpfs" ino=13925 scontext=system_u:system_r:tuned_t:s0 tcontext=system_u:object_r:system_dbusd_var_run_t:s0 tclass=dir</ref>
| <references/>
|-
| [[User:bblaskov|bblaskov]]
| [[http://www.smolts.org/client/show/pub_e811351a-4456-4283-8a65-6206d71c30c6  Bochs ]] <ref group="long">I am really surprised that there is NO WAY how to hibernate in Gnome3 with password prompt after booting again.
There is no "clickable" action and after pm-hibernate it doesn't prompt for password.</ref>
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| <references/>
|-
| [[User:mysho|mysho]]
| [[http://www.smolts.org/client/show/pub_8a3f789f-23d9-45e3-9339-1ded5cfa73ba 41786NG ThinkPad T420]] <ref>better than fedora 17 :D </ref>
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|fail}} <ref>lid-close suspends, but i have to wake up manually </ref>
| {{result|pass}}
| {{result|fail}}
| {{result|fail}}
| <references/>
|-
| [[User:staffe|staffe]]
| [[http://www.smolts.org/client/show/pub_ab4563ae-afde-4c87-a246-58c439055003 Aspire 7730G Not Applicable]] <ref group="long">In every Fedora release, automatic suspend (after x minutes) didn't work properly. Sometimes it worked, sometimes it didn't. However the script on the following page fixed this issue for me (translated from german to english with google translate:
http://translate.google.com/translate?sl=de&tl=en&js=n&prev=_t&hl=de&ie=UTF-8&layout=2&eotf=1&u=http%3A%2F%2Flinuxundich.de%2Fde%2Fhardware%2Fstandbysuspend-unter-linux-bei-vielen-notebooks-und-mainboards-reparieren%2F&act=url
Original:
http://linuxundich.de/de/hardware/standbysuspend-unter-linux-bei-vielen-notebooks-und-mainboards-reparieren/
I don't know what the script exactly does, but you may have a look at it, if you want.
</ref>
| {{result|pass}}
| <ref>skipped</ref>
| {{result|pass}}
| {{result|pass}}
| {{result|pass}} <ref>Desktop doesn't get locked / promt for password - but thats ok i guess cause i'm on a live system...</ref>
| {{result|fail}} <ref group="long">- System starts with lowest brightness level - I always have to adjust after start (to max brightness).
- Bluetooth automatically starts after boot. If I turn off bluetooth via laptopbutton the backlight brightness 
  increases for some reason. The bluetooth button acts like backlight control key 'up' but only when turning
  bluetooth off. When turning bluetooth on, all is normal.
- The backlight control keys itself work as they should.</ref>
| {{result|fail}} <ref group="long">Result 1 > Passed
Result 2:
tuned.service is still running after doing a 'systemctl stop tuned.service'
Console-Log:
[root@localhost liveuser]# systemctl stop tuned.service
[root@localhost liveuser]# pgrep tuned
640
[root@localhost liveuser]#
</ref>
| 5.655 Wh
| 6.540 Wh
| {{result|pass}}
| <references/>
|-
| [[User:plautrba|plautrba]]
| [[http://www.smolts.org/client/show/pub_58e7acfd-4cca-41ed-a838-30c8b6039bee 3680B56 ThinkPad X201]]
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| <references/>
|-
| [[User:jmarko|jmarko]]
| Unknown
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|fail}} <ref>Only the led and status bar icon was changing. No reaction in terminal</ref>
| {{result|fail}} <ref group="long">Fail to return when 2 lcds connected
https://picasaweb.google.com/106948465206430639830/PmTestDay?authuser=0&authkey=Gv1sRgCL3M0YbP54jcuwE&feat=directlink</ref>
| {{result|pass}}
| {{result|pass}}
|  <ref>No finished because LCD was always turning off</ref>
|  <ref>No finished because LCD was always turning off</ref>
| {{result|pass}} <ref group="long">pmtd-selinux-test
AVCs: ----
type=SYSCALL msg=audit(10/11/2012 11:45:35.738:309) : arch=x86_64 syscall=connect success=no exit=-13(Permission denied) a0=0x7 a1=0x7f19d797c390 a2=0x21 a3=0x6e75722f7261762f items=0 ppid=1 pid=2097 auid=unset uid=root gid=root euid=root suid=root fsuid=root egid=root sgid=root fsgid=root tty=(none) ses=unset comm=tuned exe=/usr/bin/python2.7 subj=system_u:system_r:tuned_t:s0 key=(null)
type=AVC msg=audit(10/11/2012 11:45:35.738:309) : avc:  denied  { search } for  pid=2097 comm=tuned name=dbus dev="tmpfs" ino=14446 scontext=system_u:system_r:tuned_t:s0 tcontext=system_u:object_r:system_dbusd_var_run_t:s0 tclass=dir
----
type=USER_AVC msg=audit(10/11/2012 11:49:18.533:312) : pid=1 uid=root auid=unset ses=unset subj=system_u:system_r:init_t:s0 msg='avc:  denied  { status } for auid=liveuser uid=liveuser gid=liveuser path=/usr/lib/systemd/system/crond.service cmdline="systemctl stop crond.service" scontext=system_u:system_r:system_dbusd_t:s0 tcontext=system_u:object_r:crond_unit_file_t:s0 tclass=service  exe=/usr/lib/systemd/systemd sauid=root hostname=? addr=? terminal=?'
----
type=SYSCALL msg=audit(10/11/2012 12:12:48.187:315) : arch=x86_64 syscall=connect success=no exit=-13(Permission denied) a0=0x7 a1=0x7f975d50a390 a2=0x21 a3=0x6e75722f7261762f items=0 ppid=3234 pid=3236 auid=unset uid=root gid=root euid=root suid=root fsuid=root egid=root sgid=root fsgid=root tty=(none) ses=unset comm=tuned exe=/usr/bin/python2.7 subj=system_u:system_r:tuned_t:s0 key=(null)
type=AVC msg=audit(10/11/2012 12:12:48.187:315) : avc:  denied  { search } for  pid=3236 comm=tuned name=dbus dev="tmpfs" ino=14446 scontext=system_u:system_r:tuned_t:s0 tcontext=system_u:object_r:system_dbusd_var_run_t:s0 tclass=dir
Current active profile: /usr/lib/tuned/balanced/tuned.conf
* Switching to profile: balanced
AVCs: <no matches>
Current active profile: /usr/lib/tuned/balanced/tuned.conf
* Switching to profile: latency-performance
AVCs: <no matches>
Current active profile: /usr/lib/tuned/latency-performance/tuned.conf
* Switching to profile: powersave
AVCs: <no matches>
Current active profile: /usr/lib/tuned/powersave/tuned.conf
* Switching to profile: throughput-performance
AVCs: <no matches>
Current active profile: throughput-performance
* Switching to profile: virtual-guest
AVCs: <no matches>
Current active profile: virtual-guest
* Switching to profile: virtual-host
AVCs: <no matches>
</ref>
| <references/>
|-
| [[User:pbabinca|pbabinca]]
| [[http://www.smolts.org/client/show/pub_deb6d06f-32dd-4771-80a0-774f7bbc6439 7732NEG ThinkPad R61]]
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| <ref>Test wasn't run. I have hw problems with backlight on my laptop.</ref>
| {{result|pass}}
|  <ref>Test wasn't run. I wasn't able to set backlight to maximum due to hw problems.</ref>
|  <ref>Test wasn't run. I wasn't able to set backlight to maximum due to hw problems.</ref>
| {{result|pass}}
| <references/>
|-
| [[User:liam|liam]]
| Unknown
| {{result|pass}}
| {{result|fail}} <ref group="long">acpi error finding sysfs power node
The exact wording of error is unknown since it was continually printing to screen but there was at least one slightly different error that made the exact error unreadable.</ref>
| {{result|pass}}
| {{result|pass}} <ref>The terminal correctly reports powerstate change but Gnome Shell did respond to any of the changes.</ref>
| {{result|pass}}
| {{result|fail}} <ref>No response to using keys.
Still able to change backlight through /sys/class/backlight.</ref>
| {{result|warn}} <ref group="long">AVC denial (type=AVC msg=audit(1350010423.641:81): avc:  denied  { search } for  pid=1859 comm="tuned" name="dbus" dev="tmpfs" ino=13881 scontext=system_u:system_r:tuned_t:s0 tcontext=system_u:object_r:system_dbusd_var_run_t:s0 tclass=dir) but tuned still began.</ref>
| 6.995Wh
| 7.533Wh
| {{result|pass}}
| <references/>
|-
|-
! User
! User
Line 155: Line 853:
! [[QA:Testcase_Power_Management_pm_suspend|pm-suspend]]
! [[QA:Testcase_Power_Management_pm_suspend|pm-suspend]]
! [[QA:Testcase_Power_Management_pm_hibernate|pm-hibernate]]
! [[QA:Testcase_Power_Management_pm_hibernate|pm-hibernate]]
! [[QA:Testcase_Power_Management_pm_bugreport|pm-bugreport]]
! [[QA:Testcase_Power_Management_pm_suspend_hybrid|pm-suspend-hybrid]]
! [[QA:Testcase_Power_Management_pm_powersave|pm-powersave]]
! [[QA:Testcase_Power_Management_pm_powersave|pm-powersave]]
! [[QA:Testcase_Power_Management_Lid_Close|Lid close]]  
! [[QA:Testcase_Power_Management_Lid_Close|Lid close]]  
Line 162: Line 860:
! [[QA:Testcase_Power_Management_tuned_off_idle|Tuned disabled idle]]
! [[QA:Testcase_Power_Management_tuned_off_idle|Tuned disabled idle]]
! [[QA:Testcase_Power_Management_tuned_powersave_idle|Tuned powersave idle]]
! [[QA:Testcase_Power_Management_tuned_powersave_idle|Tuned powersave idle]]
! [[QA:Testcase_Power_Management_selinux|Selinux AVCs]]
! References
! References
|-
|}
|}


== Previous test day (for reference) ==
== Previous test day (for reference) ==
[[Test_Day:2012-04-04_Power_Management|Previous F17 PM Test Day]]
[[Test_Day:2012-04-04_Power_Management|Previous F17 PM Test Day]]
== Long comments ==
<references group="long" />
  [[Category:Fedora 18 Test Days]]

Latest revision as of 19:37, 26 June 2015

Fedora Test Days
Power Management

Date 2012-10-11
Time all day

Website QA/Fedora_18_test_days
IRC #fedora-test-day (webirc)
Mailing list test


Can't make the date?
If you come to this page after the test day is completed, your testing is still valuable, and you can use the information on this page to test, file any bugs you find at Bugzilla, and add your results to the results section. If this page is more than a month old when you arrive here, please check the current schedule and see if a similar but more recent Test Day is planned or has already happened.
On site event
You can attend this event online or personally in Red Hat Brno office

What to test?[edit]

Today's instalment of Fedora Test Day will focus on Power Management

Who's available[edit]

The following cast of characters will be available for testing, workarounds, bug fixes, and general discussion ...

Note: jskarvad will be available at least during 10:00 - 22:00 (UTC+2) on #fedora-test-day, #fedora-power, #fedora-devel, otherwise he will be on e-mail with non guaranteed response time. He will be also available on site in Red Hat Brno office during 13:00 - 19:00, Visitors room, 4th floor (in the front of reception desk).

Prerequisite for Test Day[edit]

  • The 32 bit live medium (SHA-1: e003ad7e7bcac9cc018ee2e0cee5977a4779b59d) or 64 bit live medium (SHA-1: f63f4faebdd0b3398ba6755d681d7e630efba091) or an updated Fedora 18 pre-release or you may get nightly composed LiveCD.
    • It is possible to convert the LiveCD into LiveUSB by following the How_to_create_and_use_Live_USB instructions. If you convert the LiveCD into LiveUSB it is recommended to create on USB another primary partition that will serve as swap. This is useful for pm-hibernate test case.
    • If you attend the event on-site in Red Hat Brno office, there will be prepared bootable USB flash disks/CD ROMs, thus you only need to bring your hardware there. (13.00-17.00 CEST)
  • Your hardware profile uploaded to Smolt according to these instructions
    • In case you have dependency problem with smolt package use the workaround bellow:
 yum install --nogpgcheck "http://fedorapeople.org/~jskarvad/pm-test-day-repo/smolt-1.4.3-6.fc18.noarch.rpm"
  • Optional: account on fedoraproject.org if you plan to upload the pm-utils bugreport file. If you do not have one and you do not plan to get it, you can still attend the test day - there are instructions in the appropriate test case(s) bellow how to handle such situation.

Typing convetions[edit]

In the following text commands that needs to be run as root are prefixed by #, e.g.:

# id

means to run id command under the root account. Commands prefixed by $ do not need to be run under the root account.

How to test?[edit]

It is focused especially on suspend, hibernate, power-consumption, LCD brightness control and tuned. Some test cases are only for laptop users and it is noted in the test case description field. If you do not have laptop just skip them. You can also skip other test cases (e.g. if you do not have enough time). In this case just leave the columns for skipped test cases blank. Please note that your report will be still valuable even if you do not finish all test cases. The procedure:

  • Run test cases bellow.

Prepare your system[edit]

PM Test Day Live medium
If you are using our PM Test Day Live medium, please skip the following steps, because everything is already prepared for you.
  1. Install the public key (in case you would like to verify the PM Test Day support package, otherwise you can skip this step because the public key will be installed automatically with the PM Test Day support package in the next step):
    # rpm --import http://jskarvad.fedorapeople.org/RPM-GPG-KEY-pm-test-day
  2. Install the PM Test Day support package by:
    # yum install http://jskarvad.fedorapeople.org/pm-test-day-repo/pm-test-day-4-1.fc18.noarch.rpm
    • This procedure will also install the public key which will be then used for verification of packages from the PM Test Day repo.
    • In case you have dependency problem with smolt package use the workaround bellow:
       yum install --nogpgcheck "http://fedorapeople.org/~jskarvad/pm-test-day-repo/smolt-1.4.3-6.fc18.noarch.rpm"

Make sure you have all current updates (and temporal fixes) installed by:

# yum update

Clear your audit log (especially important in case you aren't running from the live medium):

# echo -n > /var/log/audit/audit.log

Known Bugs / Workarounds[edit]

  • RHBZ #862801 - Anaconda hangs when 'Configuring installed system'
    You can encounter this when doing liveinst from the live media, current workaround: 'pkill anaconda'.
  • Problem with screen locking:
    Screen locking is disabled on live medium, to enable:
    • Set password for liveuser:
      # passwd liveuser
    • Enable the locking feature:
      $ gsettings set org.gnome.desktop.lockdown disable-lock-screen 'false'
    • Enable the lock in gnome-control-center:
      $ gnome-control-center screen
    The desktop locking is task of gnome-settings-daemon/UPower not pm-utils (pm-suspend*, pm-hibernate). Pm-utils is backend for UPower and knows nothing about desktop locking. To lock your desktop you need to suspend/hibernate from gnome-shell UI.
  • Problem with hibernation from gnome-shell
    • AFAIK currently it is not possible to hibernate from gnome-shell UI without tweaking (please don't ask me why, I am not Gnome developer), you can invoke the full hibernation (including desktop locking if set, see above) by the following dbus call:
      $ dbus-send --print-reply --system --dest=org.freedesktop.UPower /org/freedesktop/UPower org.freedesktop.UPower.Hibernate
      Or with gnome-shell 3.6:
      # dbus-send --print-reply --system --dest=org.freedesktop.login1 /org/freedesktop/login1 org.freedesktop.login1.Manager.Hibernate boolean:false
  • RHBZ #859224 - Please take systemd-logind's handle-power-key/handle-suspend-key/handle-hibernate-key/handle-lid-switch inhibitor locks if GNOME wants to handle the respective keys on its own
    Double suspend problem.

Test Cases[edit]

Testcase Description Target Approx. time required
pm-suspend Tests suspend / resume via pm-utils. All 2 minutes
pm-hibernate Tests hibernate / resume via pm-utils. All 2 minutes
pm-suspend-hybrid Tests hybrid suspend (AKA suspend to both) / resume via pm-utils. All 2 minutes
pm-powersave Tests detection of AC / battery (upower functionality) and pm-powersave reactions to power source changes (pm-utils). Laptops 1 minutes
Lid close Tests system reaction to lid close. Laptops 1 minutes
Backlight control Tests LCD backlight control. Laptops 1 minute
Tuned Tests tuned-adm (tuned) basic functionality. All 5 minutes
Tuned disabled idle Measures power consumption of machine in active idle with tuned disabled. Laptops or users with wattmeter 15 minutes
Tuned powersave idle Measures power consumption of machine in active idle with tuned laptop-battery-powersave profile. Laptops or users with wattmeter 15 minutes
Selinux AVCs Tests if there are no SELinux AVCs during profile switching. All 1 minutes

Test Results[edit]

If you have problems with any of the tests, report a bug to Bugzilla usually for the component pm-utils, selinux-policy, kernel, or tuned. If you are reporting suspend/hibernate problem, please also attach output from dmesg and pm-utils-bugreport-info.sh. If you are unsure about exactly how to file the report or what other information to include, just ask on IRC and we will help you. Once you have completed the tests, add your results to the Results table below following the example results from the first line. The first column should be your name with a link to your Fedora User Wiki page (if you have one), and the second should be a link to the Smolt profile of the system you tested. For each test case, use the result template to enter your result, as shown in the example result line.

User Smolt
Profile
pm-suspend pm-hibernate pm-suspend-hybrid pm-powersave Lid close Backlight control Tuned Tuned disabled idle Tuned powersave idle Selinux AVCs References
Sample User Sample Machine
Fail fail [1]
Fail fail
Pass pass
Warning warn
[2]
Pass pass
Inprogress inprogress
Fail fail [3]
4.800 Wh 4.710 Wh
Pass pass
  1. RHBZ #54321
  2. Got report but also encountered RHBZ #54320
  3. RHBZ #864911
Abhay Dell Inspiron N5010 A15
Fail fail [1]
Fail fail
[2]
Pass pass
Warning warn
[3]
Pass pass
Warning warn
[4] [5]
Pass pass
  1. RHBZ #865414
  2. resume doesn't work. RHBZ #865457
  3. network connection couldn't re-establish. RHBZ #865414
  4. AVC denial notification while starting the tuned service. RHBZ #865443
  5. powertop2tuned crashes whilst generating profiles. RHBZ #865655
pschindl Lenovo ThinkPad T520
Pass pass
Pass pass
Pass pass
Pass pass
Warning warn
[1]
Pass pass
Pass pass
4910 Wh 5035 Wh
Fail fail [2]
  1. RHBZ #865362 works with gnome-settings-daemon-3.6.1-2
  2. RHBZ #865387
vhumpa Lenovo ThinkPad T420
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
8.821 Wh, 11.446 V (KDE) 8.676 Wh, 10.758 V (KDE)
Pass pass
lzachar Dell Inspiron 1525
Pass pass
Pass pass
[1]
Pass pass
Pass pass
Warning warn [2]
Pass pass
Pass pass
bat: 3.984 Wh, ac: 4.354 Wh [3]
Inprogress inprogress
bat: 4.149 Wh, ac: xxxx
Fail fail [4]
  1. on swap<memory & luks & lvm
  2. RHBZ #865362
  3. RHBZ #865468 screen blank after 9 min
  4. RHBZ #865387
lzachar lenovo T410
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
[1]
Pass pass
Pass pass
bat: 3.390 Wh bat: 3.410 Wh
Fail fail [2]
  1. works with gnome-settings-daemon-3.6.1-2
  2. RHBZ #865387
csm Lenovo ThinkCentre M58p
Warning warn
[1]
Fail fail
[2]
Fail fail
[3]
N/A
N/A
N/A
Pass pass
N/A
N/A
Pass pass
  1. 1. Suspend okay, 2. one too, but after 2. wakeup screen remains black, doesn't wakeup
  2. Resume doesn't work
  3. Szstem doesn't reach hibernation state, instead seems to resume immediately
psklenar Lenovo T410
Warning warn
[1] [2]
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
Inprogress inprogress
bat: 4.405 [3]
Inprogress inprogress
bat: 4.501
Inprogress inprogress
  1. anaconda bug RHBZ #865322
  2. pm-utils bug RHBZ #865410
  3. 1. liveCD turns with CD randomly
dapospis Lenovo T520
Fail fail
[1]
Pass pass
Pass pass
Pass pass
Fail fail
[2]
Pass pass
Pass pass
[3]
6.463 Wh (12.453 V) 6.597 Wh (12.083 V)
Pass pass
dapospis HP Mini 5103 [1]
Pass pass
Pass pass
Pass pass
Pass pass
Fail fail
[2]
Pass pass
Fail fail
[3]
3.325 Wh (12.503 V) 3.199 Wh (12.119 V)
Pass pass
  1. booted with processor.ignore_ppc=1 due to problem with cpu scaling
  2. double suspend problem
  3. AVC after first tuned service start, path to the profile, see. bug 865477
jpospisi HP Compaq 6715b [1]
Pass pass
Pass pass
Fail fail [2]
Pass pass
Warning warn [3]
Pass pass
Pass pass
6.034 Wh (11.718 V) 6.509 Wh (11.340 V)
Fail fail [4]
  1. Also encountered RHBZ #865844 and RHBZ #865848.
  2. RHBZ #865844
  3. RHBZ #865362
  4. RHBZ #865387
Sgf Lenovo IdeaPad S12 ION
Warning warn
[1]
Pass pass
Pass pass
Pass pass
Fail fail [2]
Pass pass
Pass pass
5.130 Wh 5.030 Wh
Pass pass
  1. RHBZ #791149 - there is workaround mentioned in the bug comments, so I continued with that
  2. RHBZ #865362
sagitter Acer Aspire 6930G
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass [1]
Pass pass
5.552 Wh (10.457 V)
Pass pass
5.760 Wh (10.342 V) [2]
Pass pass [1]
  1. 1.0 1.1 RHBZ #865443
  2. RHBZ #865443
Eric Blake Lenovo ThinkStation D20 [1]
Fail fail
[long 1]
Fail fail
[2]
Fail fail
[long 2]
Pass pass
[3]
Pass pass
  1. most of my testing was done bare-metal running rawhide rather than F18, but I also tested pm-suspend with the F18 liveusb test image
  2. RHBZ #865597 machine sort of recovered, but I/O errors prevented doing anything useful
  3. 'pgrep tuned' had false positive on ksmtuned process, unrelated to tuned
User:Evillagr HP dv5-1132la
Pass pass
Pass pass
[1]
Pass pass
Pass pass
Warning warn [2]
Pass pass
N/A N/A N/A
Fail fail [3]
  1. Swap on LVM
  2. RHBZ #865362
  3. RHBZ #865443
User:Adabeda ThinkPad R500
Pass pass
none
none
Pass pass
Warning warn [1]
Pass pass
Pass pass
6.210 Wh 6.160 Wh
none
  1. RHBZ #865362
User:Adabeda ThinkPad 420
Pass pass
none
none
Pass pass
Warning warn [1]
Pass pass
Pass pass
10.977W/2.744Wh [2] 11.074W/2.768Wh [3]
none
  1. RHBZ #865362
  2. External power meter was used.
  3. External power meter was used.
User:hhorak [ThinkPad Edge 11.6 U5400]
Pass pass
Pass pass
Pass pass
Pass pass
Warning warn [1]
Pass pass
Warning warn [2]
Warning warn
3.820 Wh [3]
Warning warn
3.810 Wh [4]
Fail fail [2]
  1. RHBZ #865362
  2. 2.0 2.1 RHBZ #864911
  3. RHBZ #866367
  4. RHBZ #866367
Jaroslav Škarvada Lenovo T420s
Warning warn [1]
Pass pass
Warning warn [2]
Pass pass
Warning warn [3]
Pass pass
Pass pass [4]
4.543 Wh (11.833 V) 3.786 Wh (12.135 V)[5] 4.655 Wh (12.061 V) [6] 3.682 Wh (12.155 V) [7]
Pass pass
  1. RHBZ #865466
  2. RHBZ #866487
  3. RHBZ #859224
  4. RHBZ #866919
  5. Re-measured with HDD installed F18.
  6. RHBZ #866918
  7. Re-measured with fixed tuned and HDD installed F18.
Jaroslav Škarvada Lenovo T500
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
4.920 Wh 4.650 Wh
Pass pass
Jaroslav Škarvada Asus 1000H
Pass pass
Warning warn [1]
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
2.341 Wh (7.804 V) 2.250 Wh (7.604 V)
Pass pass
  1. RHBZ #865466
Jaroslav Škarvada Dell Latitude D620
Pass pass
Fail fail [1]
Pass pass
N/A [2]
Pass pass
Pass pass
Pass pass
N/A N/A
Fail fail [3]
[long 3]
  1. RHBZ #867006
  2. Dead battery
  3. RHBZ #883928
Jaroslav Škarvada Gigabyte M56S-S3
Pass pass
Pass pass
Warning warn
[1]
N/A [2] N/A N/A
Pass pass
N/A N/A
Pass pass [3]
  1. Machine performed full hibernation
  2. Desktop.
  3. RHBZ #864911
Jaroslav Škarvada Lenovo X201
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
3.248 Wh (12.543 V) 3.530 Wh (12.430 V)
Pass pass
Jaroslav Škarvada P4X266E-8233
Pass pass
[1]
Fail fail [2]
Warning warn
[3]
N/A N/A N/A
Pass pass
N/A N/A
Fail fail [4]
  1. Firmware doesn't seem to support suspend, only standby, so the machine standby
  2. RHBZ #867006
  3. The machine hibernates
  4. RHBZ #883928
mkyral [Asus K50IJ (Pent T4200, 4GB, graf. Intel GMA4500MHD]
Pass pass
Fail fail
[1]
Pass pass
[2]
Pass pass
Pass pass
Pass pass
Pass pass [3]
bat: 3.355 Wh [4] bat: 3.333 Wh [5]
Fail fail [3]
  1. after resume screen flickers RHBZ #867460
  2. resuming from RAM
  3. 3.0 3.1 RHBZ #865443
  4. RHBZ #865468
  5. RHBZ #865468
Martix Thinkpad T520
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
[1]
4.169 Wh[2] 4.053 Wh[3]4.250[4]
  1. except AVC denial
  2. 15 min
  3. 5 min test with powertop tunables all good
  4. 5 min powersave
jskladan [ Mac Mini]
Pass pass
Pass pass
Pass pass
Pass pass
JiriEischmann ExoPC
Pass pass
Warning warn
[1]
Pass pass
Pass pass
Pass pass [2]
[3]
2.796 Wh (7.098 V)[4] 2.777 Wh (7.013 V)
Pass pass
  1. The system woke up after hibernation, but touch screen didn't work, X server restart needed. No improvement since F17.
  2. RHBZ #865443
  3. SELinux didn't like starting Tuned service via systemd.
  4. Both results are higher and the difference is much smaller than in F17.
lzachar Dell Inspiron 1525
Pass pass
Pass pass
[1]
Pass pass
[2]
Pass pass
[3]
Pass pass
Warning warn [4]
Pass pass
  1. swap<memory & lvm & live-cd & luks
  2. swap<memory & livecd & lvm in luks => passed
  3. tested both suspend, hibernate on power cut.
  4. RHBZ #865362
MartinK Lenovo T520 42404GG
Pass pass
Pass pass
Pass pass
Pass pass
Fail fail
[long 4]
Pass pass
Pass pass
MartinK Lenovo T520 42404GG using nvidia graphics 7.911[1] 8[2]
Pass pass
  1. using the Nvidia discreet GPU wifi OFF, screen ON
  2. using the Nvidia discreet GPU wifi OFF, screen ON
pbabinca Lenovo ThinkPad R61
Pass pass
Pass pass
Pass pass
luya [ Toshiba Satellite C650D]
Pass pass
Pass pass
Pass pass
Pass pass
Warning warn
[1]
  1. Setting Brightness to min does not totally darken the screen.
evillagr HP dv5-1132la
Pass pass
pschindl desktop with AMD
Pass pass
Pass pass
Pass pass
Pass pass
iiska [01965NG ThinkPad Edge]
Pass pass
Pass pass
[1]
Pass pass
Pass pass
Fail fail
[2]
Pass pass
Pass pass
2.96 2.97
Warning warn
[long 5]
  1. Using swap partition in same the usb stick than livecd image.
  2. https://bugzilla.redhat.com/show_bug.cgi?id=865362
bblaskov [Bochs ] [long 6]
Pass pass
Pass pass
Pass pass
Pass pass
mysho [41786NG ThinkPad T420] [1]
Pass pass
Pass pass
Pass pass
Pass pass
Fail fail
[2]
Pass pass
Fail fail
Fail fail
  1. better than fedora 17 :D
  2. lid-close suspends, but i have to wake up manually
staffe [Aspire 7730G Not Applicable] [long 7]
Pass pass
[1]
Pass pass
Pass pass
Pass pass
[2]
Fail fail
[long 8]
Fail fail
[long 9]
5.655 Wh 6.540 Wh
Pass pass
  1. skipped
  2. Desktop doesn't get locked / promt for password - but thats ok i guess cause i'm on a live system...
plautrba [3680B56 ThinkPad X201]
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
jmarko Unknown
Pass pass
Pass pass
Pass pass
Fail fail
[1]
Fail fail
[long 10]
Pass pass
Pass pass
[2] [3]
Pass pass
[long 11]
  1. Only the led and status bar icon was changing. No reaction in terminal
  2. No finished because LCD was always turning off
  3. No finished because LCD was always turning off
pbabinca [7732NEG ThinkPad R61]
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
[1]
Pass pass
[2] [3]
Pass pass
  1. Test wasn't run. I have hw problems with backlight on my laptop.
  2. Test wasn't run. I wasn't able to set backlight to maximum due to hw problems.
  3. Test wasn't run. I wasn't able to set backlight to maximum due to hw problems.
liam Unknown
Pass pass
Fail fail
[long 12]
Pass pass
Pass pass
[1]
Pass pass
Fail fail
[2]
Warning warn
[long 13]
6.995Wh 7.533Wh
Pass pass
  1. The terminal correctly reports powerstate change but Gnome Shell did respond to any of the changes.
  2. No response to using keys. Still able to change backlight through /sys/class/backlight.
User Smolt
Profile
pm-suspend pm-hibernate pm-suspend-hybrid pm-powersave Lid close Backlight control Tuned Tuned disabled idle Tuned powersave idle Selinux AVCs References

Previous test day (for reference)[edit]

Previous F17 PM Test Day


Long comments[edit]

  1. RHBZ #679631 machine whirs up after pressing power button to resume, and even shows last screen, but remains unresponsive, if hard disk is present; but if disk is pulled while I use liveusb image, it works
  2. same failure as pm-suspend on first power-on; then hard power cycle triggered hibenation recovery on second power-on with same failure as pm-hibernate; next hard power cycle (third power-on) booted fresh
  3. Also encountered some AVCs on spindown-disk profile, but we are going to fix this upstream in the next tuned update (this is minor as the profile is phasing out in the compat sub-package)
  4. Suspends correctly after closing the laptop lid. After opening the lid, system successfully resumes to the GUI but then immediately suspends again. Pressing the power button afterwards resumes the system correctly. (reportedly caused by a bug in gsettings ?)
  5. Following avc erors/messages are displayed when pmtd-selinux-test is run immediately after systemctl start tuned.service. If test script pmtd-selinux-test is run again there are no AVC matches. [root@localhost liveuser]# pmtd-selinux-test AVCs: ---- type=SYSCALL msg=audit(10/11/2012 07:35:39.207:517) : arch=x86_64 syscall=connect success=no exit=-13(Permission denied) a0=0x7 a1=0x7f6c94ee8390 a2=0x21 a3=0x6e75722f7261762f items=0 ppid=1 pid=6187 auid=unset uid=root gid=root euid=root suid=root fsuid=root egid=root sgid=root fsgid=root tty=(none) ses=unset comm=tuned exe=/usr/bin/python2.7 subj=system_u:system_r:tuned_t:s0 key=(null) type=AVC msg=audit(10/11/2012 07:35:39.207:517) : avc: denied { search } for pid=6187 comm=tuned name=dbus dev="tmpfs" ino=13925 scontext=system_u:system_r:tuned_t:s0 tcontext=system_u:object_r:system_dbusd_var_run_t:s0 tclass=dir
  6. I am really surprised that there is NO WAY how to hibernate in Gnome3 with password prompt after booting again. There is no "clickable" action and after pm-hibernate it doesn't prompt for password.
  7. In every Fedora release, automatic suspend (after x minutes) didn't work properly. Sometimes it worked, sometimes it didn't. However the script on the following page fixed this issue for me (translated from german to english with google translate: http://translate.google.com/translate?sl=de&tl=en&js=n&prev=_t&hl=de&ie=UTF-8&layout=2&eotf=1&u=http%3A%2F%2Flinuxundich.de%2Fde%2Fhardware%2Fstandbysuspend-unter-linux-bei-vielen-notebooks-und-mainboards-reparieren%2F&act=url Original: http://linuxundich.de/de/hardware/standbysuspend-unter-linux-bei-vielen-notebooks-und-mainboards-reparieren/ I don't know what the script exactly does, but you may have a look at it, if you want.
  8. - System starts with lowest brightness level - I always have to adjust after start (to max brightness). - Bluetooth automatically starts after boot. If I turn off bluetooth via laptopbutton the backlight brightness increases for some reason. The bluetooth button acts like backlight control key 'up' but only when turning bluetooth off. When turning bluetooth on, all is normal. - The backlight control keys itself work as they should.
  9. Result 1 > Passed Result 2: tuned.service is still running after doing a 'systemctl stop tuned.service' Console-Log: [root@localhost liveuser]# systemctl stop tuned.service [root@localhost liveuser]# pgrep tuned 640 [root@localhost liveuser]#
  10. Fail to return when 2 lcds connected https://picasaweb.google.com/106948465206430639830/PmTestDay?authuser=0&authkey=Gv1sRgCL3M0YbP54jcuwE&feat=directlink
  11. pmtd-selinux-test AVCs: ---- type=SYSCALL msg=audit(10/11/2012 11:45:35.738:309) : arch=x86_64 syscall=connect success=no exit=-13(Permission denied) a0=0x7 a1=0x7f19d797c390 a2=0x21 a3=0x6e75722f7261762f items=0 ppid=1 pid=2097 auid=unset uid=root gid=root euid=root suid=root fsuid=root egid=root sgid=root fsgid=root tty=(none) ses=unset comm=tuned exe=/usr/bin/python2.7 subj=system_u:system_r:tuned_t:s0 key=(null) type=AVC msg=audit(10/11/2012 11:45:35.738:309) : avc: denied { search } for pid=2097 comm=tuned name=dbus dev="tmpfs" ino=14446 scontext=system_u:system_r:tuned_t:s0 tcontext=system_u:object_r:system_dbusd_var_run_t:s0 tclass=dir

    type=USER_AVC msg=audit(10/11/2012 11:49:18.533:312) : pid=1 uid=root auid=unset ses=unset subj=system_u:system_r:init_t:s0 msg='avc: denied { status } for auid=liveuser uid=liveuser gid=liveuser path=/usr/lib/systemd/system/crond.service cmdline="systemctl stop crond.service" scontext=system_u:system_r:system_dbusd_t:s0 tcontext=system_u:object_r:crond_unit_file_t:s0 tclass=service exe=/usr/lib/systemd/systemd sauid=root hostname=? addr=? terminal=?'


    type=SYSCALL msg=audit(10/11/2012 12:12:48.187:315) : arch=x86_64 syscall=connect success=no exit=-13(Permission denied) a0=0x7 a1=0x7f975d50a390 a2=0x21 a3=0x6e75722f7261762f items=0 ppid=3234 pid=3236 auid=unset uid=root gid=root euid=root suid=root fsuid=root egid=root sgid=root fsgid=root tty=(none) ses=unset comm=tuned exe=/usr/bin/python2.7 subj=system_u:system_r:tuned_t:s0 key=(null) type=AVC msg=audit(10/11/2012 12:12:48.187:315) : avc: denied { search } for pid=3236 comm=tuned name=dbus dev="tmpfs" ino=14446 scontext=system_u:system_r:tuned_t:s0 tcontext=system_u:object_r:system_dbusd_var_run_t:s0 tclass=dir Current active profile: /usr/lib/tuned/balanced/tuned.conf

    • Switching to profile: balanced

    AVCs: <no matches> Current active profile: /usr/lib/tuned/balanced/tuned.conf

    • Switching to profile: latency-performance

    AVCs: <no matches> Current active profile: /usr/lib/tuned/latency-performance/tuned.conf

    • Switching to profile: powersave

    AVCs: <no matches> Current active profile: /usr/lib/tuned/powersave/tuned.conf

    • Switching to profile: throughput-performance

    AVCs: <no matches> Current active profile: throughput-performance

    • Switching to profile: virtual-guest

    AVCs: <no matches> Current active profile: virtual-guest

    • Switching to profile: virtual-host

    AVCs: <no matches>

  12. acpi error finding sysfs power node The exact wording of error is unknown since it was continually printing to screen but there was at least one slightly different error that made the exact error unreadable.
  13. AVC denial (type=AVC msg=audit(1350010423.641:81): avc: denied { search } for pid=1859 comm="tuned" name="dbus" dev="tmpfs" ino=13881 scontext=system_u:system_r:tuned_t:s0 tcontext=system_u:object_r:system_dbusd_var_run_t:s0 tclass=dir) but tuned still began.