Bug 688124

Summary: Initscript LSB compilance, still isn't fully copatible
Product: Red Hat Enterprise Linux 6 Reporter: Jan Ščotka <jscotka>
Component: watchdogAssignee: Richard W.M. Jones <rjones>
Status: CLOSED DUPLICATE QA Contact: qe-baseos-daemons
Severity: medium Docs Contact:
Priority: high    
Version: 6.1   
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-16 12:18:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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 ***