https://bugzilla.novell.com/show_bug.cgi?id=703592
https://bugzilla.novell.com/show_bug.cgi?id=703592#c25
--- Comment #25 from Stanislav Brabec 2011-08-02 18:36:27 CEST ---
As I am not sure whether test team has a dedicated supported UPS, I did
hardware dependent test cases by myself.
Tests were done on SLE10, where the largest change was done. SLE11 should be OK
(only minor change was done and it is exactly the same as now SLE10 will have).
Prerequisites:
- Install apcupsd, turn it on by default (in runlevel editor) and configure it
for tested UPS
- Have a supported APC UPS that is capable of power cycling
- Configure BIOS to power on after power loss
- Define short enough delays to make testing comfortable (in apcupsd.conf and
in the UPS hardware, if possible).
Test 1:
Simple powerdown.
Before: Works with delay and errors. UPS powerdown is called, UPS communication
is established, but softtware is smart enough to ignore powerdown request.
Error is displayed instead and system continues with powering off.
After: Works without problems. UPS powerdown is not called.
Test 2:
Simple reboot.
Before: Works with delay and errors. UPS powerdown is called, UPS communication
is established, but softtware is smart enough to ignore powerdown request.
Error is displayed instead and system continues with reboot.
After: Works without problems. UPS powerdown is not called.
Test 3:
System with /usr on system partition. Power fails. Power returns in the moment
when system initiated shutdown.
Before: Works. After a grant period (configured in the UPS hardware) UPS turns
power off, and returns power after defined amount of time.
After: Works. After a grant period (configured in the UPS hardware) UPS turns
power off, and returns power after defined amount of time.
Test 4:
System with /usr on system partition. Power fails. Power returns when shutdown
is already complete.
Before: Works. If the battery did not went totally depleted, when power returns
or after a grant period (what comes later) UPS turns power off, and returns
power after defined amount of time. (Behavior when battery is totally depleted
depends only on hardware configuration.)
After: Works. If the battery did not went totally depleted, when power returns
or after a grant period (what comes later) UPS turns power off, and returns
power after defined amount of time.
Test 5:
System with /usr on a separate partition. Power fails. Power returns in the
moment when system initiated shutdown.
Before: Broken. apcupsd (or apcupsd-lite in SLE11 and openSUSE) binary is not
found and nothing happens.
After: Works. After a grant period (configured in the UPS hardware) UPS turns
power off, and returns power after defined amount of time.
Test 6:
System with /usr on a separate partition. Power fails. Power returns when
shutdown is already complete.
Before: Broken. apcupsd (or apcupsd-lite in SLE11 and openSUSE) binary is not
found and nothing happens.
After: Works. If the battery did not went totally depleted, when power returns
or after a grant period (what comes later) UPS turns power off, and returns
power after defined amount of time.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.