Bug 688124 - Initscript LSB compilance, still isn't fully copatible
Summary: Initscript LSB compilance, still isn't fully copatible
Keywords:
Status: CLOSED DUPLICATE of bug 584701
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: watchdog
Version: 6.1
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: rc
: ---
Assignee: Richard W.M. Jones
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-16 11:50 UTC by Jan Ščotka
Modified: 2011-03-16 12:18 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-03-16 12:18:00 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Jan Ščotka 2011-03-16 11:50:26 UTC
Description of problem:
see log: http://beaker-archive.app.eng.bos.redhat.com/beaker-logs/2011/03/619/61919/126454/1381541///TESTOUT.log

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [   LOG    ] :: watchdog - Mandatory actions
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [   LOG    ] :: >>>>>>>>> service start
:: [   PASS   ] ::  Service must start without problem
:: [   PASS   ] ::  Then Status command 
:: [   PASS   ] ::  Already started service 
:: [   PASS   ] ::  Again status command 
:: [   LOG    ] :: >>>>>>>>> service restart
:: [   PASS   ] ::  Restarting of service
:: [   PASS   ] ::  Status command 
:: [   LOG    ] :: >>>>>>>>> service stop
:: [   PASS   ] ::  Stopping service 
:: [   FAIL   ] ::  Status of stopped service  (Expected 3, got 0)
:: [   PASS   ] ::  Stopping service again 
:: [   FAIL   ] ::  Status of stopped service  (Expected 3, got 0)
:: [   LOG    ] :: >>>>>>>>> pid file
:: [   FAIL   ] :: File /var/run/watchdog.pid should exist 
:: [   PASS   ] :: Kill watchdog
:: [   FAIL   ] ::  Existing pid file, but service not started  (Expected 1, got 3)
:: [   PASS   ] :: Remove .pid file
:: [   LOG    ] :: >>>>>>>>> lock file
:: [   FAIL   ] :: File /var/lock/subsys/watchdog should exist 
:: [   FAIL   ] ::  Existing lock file, but service not started  (Expected 2, got 3)
:: [   LOG    ] :: >>>>>>>>> insufficient rights
:: [   PASS   ] ::  Starting service for restarting under nonpriv user 
:: [   FAIL   ] :: Insufficient rights, stopping service under nonprivileged user must fail (Expected 4, got 1)
:: [   PASS   ] :: Insufficient rights, starting service under nonprivileged user must fail or pass as already started
:: [   PASS   ] ::  Stopping service for starting under nonpriv user 
:: [   FAIL   ] :: Insufficient rights, starting of stopped service under nonprivileged user must fail (Expected 4, got 0)
:: [   LOG    ] :: >>>>>>>>> operations
:: [   PASS   ] ::  Service have to implement start function 
:: [   PASS   ] ::  Service have to implement restart function 
:: [   PASS   ] ::  Service have to implement status function 
:: [   PASS   ] ::  Service have to implement condrestart function 
:: [   FAIL   ] ::  Service have to implement try-restart function  (Expected 0, got 1)
:: [   PASS   ] ::  Service have to implement reload function 
:: [   FAIL   ] ::  Service have to implement force-reload function  (Expected 0, got 1)
:: [   LOG    ] :: >>>>>>>>> nonexist operations
:: [   FAIL   ] ::  Testing proper return code when nonexisting function (Expected 2, got 1)
:: [   LOG    ] :: >>>>>>>>> invalid arguments
:: [   FAIL   ] ::  When no arguments added to service, it must fail with proper return code  (Expected 2, got 1)
:: [   LOG    ] :: Duration: 33s
:: [   LOG    ] :: Assertions: 18 good, 12 bad
:: [   FAIL   ] :: RESULT: watchdog - Mandatory actions

Comment 2 Richard W.M. Jones 2011-03-16 12:18:00 UTC

*** This bug has been marked as a duplicate of bug 584701 ***


Note You need to log in before you can comment on or make changes to this bug.