(Drop direct Test Days category membership) |
|||
(137 intermediate revisions by 24 users not shown) | |||
Line 9: | Line 9: | ||
| fedora_mailing_list = test | | fedora_mailing_list = test | ||
}} | }} | ||
{{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.}} | ||
Line 30: | Line 28: | ||
== Prerequisite for Test Day == | == Prerequisite for Test Day == | ||
* 32 bit | * 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. | ||
=== 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/ | #:<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> | |||
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 == | ||
* {{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 82: | Line 105: | ||
| [[QA:Testcase_Power_Management_pm_suspend_hybrid|pm-suspend-hybrid]] | | [[QA:Testcase_Power_Management_pm_suspend_hybrid|pm-suspend-hybrid]] | ||
| Tests hybrid suspend (AKA suspend to both) / resume via pm-utils. | | Tests hybrid suspend (AKA suspend to both) / resume via pm-utils. | ||
| All | | All | ||
| 2 minutes | | 2 minutes | ||
Line 109: | Line 127: | ||
| All | | All | ||
| 5 minutes | | 5 minutes | ||
|- | |- | ||
| [[QA:Testcase_Power_Management_tuned_off_idle|Tuned disabled idle]] | | [[QA:Testcase_Power_Management_tuned_off_idle|Tuned disabled idle]] | ||
Line 124: | 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 | 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]] | ! [[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_suspend_hybrid|pm-suspend-hybrid]] | ! [[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]] | ||
! [[QA:Testcase_Power_Management_Backlight_Control|Backlight control]] | ! [[QA:Testcase_Power_Management_Backlight_Control|Backlight control]] | ||
! [[QA:Testcase_Power_Management_tuned_basic|Tuned]] | ! [[QA:Testcase_Power_Management_tuned_basic|Tuned]] | ||
! [[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 | | {{result|fail||54321}} | ||
| {{result|fail}} | | {{result|fail}} | ||
| {{result|pass}} | | {{result|pass}} | ||
| {{result|warn}} <ref>Got report but also encountered {{bz|54320}}</ref> | | {{result|warn}} <ref>Got report but also encountered {{bz|54320}}</ref> | ||
| {{result|pass}} | | {{result|pass}} | ||
| {{result|inprogress}} | | {{result|inprogress}} | ||
| {{result| | | {{result|fail||864911}} | ||
| | |||
| 4.800 Wh | | 4.800 Wh | ||
| 4.710 Wh | | 4.710 Wh | ||
| {{result|pass}} | |||
| <references/> | | <references/> | ||
|- | |- | ||
Line 165: | 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 171: | Line 854: | ||
! [[QA:Testcase_Power_Management_pm_hibernate|pm-hibernate]] | ! [[QA:Testcase_Power_Management_pm_hibernate|pm-hibernate]] | ||
! [[QA:Testcase_Power_Management_pm_suspend_hybrid|pm-suspend-hybrid]] | ! [[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]] | ||
! [[QA:Testcase_Power_Management_Backlight_Control|Backlight control]] | ! [[QA:Testcase_Power_Management_Backlight_Control|Backlight control]] | ||
! [[QA:Testcase_Power_Management_tuned_basic|Tuned]] | ! [[QA:Testcase_Power_Management_tuned_basic|Tuned]] | ||
! [[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 |
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 ...
- Development - Jaroslav Škarvada (jskarvad) / PowerManagement SIG
- Quality Assurance - 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 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]
- 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
- 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.
Previous test day (for reference)[edit]
Long comments[edit]
- ↑ 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
- ↑ 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
- ↑ 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)
- ↑ 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 ?)
- ↑ 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
- ↑ 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.
- ↑ 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.
- ↑ - 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.
- ↑ 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]#
- ↑ Fail to return when 2 lcds connected https://picasaweb.google.com/106948465206430639830/PmTestDay?authuser=0&authkey=Gv1sRgCL3M0YbP54jcuwE&feat=directlink
- ↑ 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>
- ↑ 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.
- ↑ 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.