Bug 679011

Summary: fencing test fail on v7-1.3-10
Product: [Retired] Red Hat Hardware Certification Program Reporter: chen yuwen <yuchen>
Component: Test Suite (tests)Assignee: Greg Nichols <gnichols>
Status: CLOSED ERRATA QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.2CC: czhang, gcase, rlandry, ykun
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-09 16:14:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
fencing log on v7-1.3-13
none
fencing log on v7-1.3-3
none
fencing test patch to ignore status return codes when system is off none

Description chen yuwen 2011-02-21 09:46:41 UTC
Description of problem:
Error: test raised exception:
'NoneType' object has no attribute 'agent'

Version-Release number of selected component (if applicable):
RHEL6.1-20110210.1
v7-1.3-10

How reproducible:
always

Steps to Reproduce:
1. find iLO agent, SUT and remote server
2. install v7 and related packages on SUT and remote server
3. run v7 daemon and setenforce 0 on remote server
4. run command on SUT: v7 run -t fencing -n SERVER
  
Actual results:
FAIL

Expected results:
PASS

Additional info:

Comment 1 Greg Nichols 2011-02-21 14:21:04 UTC
Could you supply log output and or /var/v7/results.xml for the failing test case?

Comment 2 chen yuwen 2011-02-22 03:13:35 UTC
Created attachment 480041 [details]
fencing log on v7-1.3-13

Comment 3 chen yuwen 2011-02-22 03:14:13 UTC
Created attachment 480042 [details]
fencing log on v7-1.3-3

Comment 4 chen yuwen 2011-02-22 03:16:06 UTC
Error happen on v7-1.3-10 and v7-1.3-13.
But on v7-1.3-3, fencing test is normal.

Comment 5 Rob Landry 2011-04-01 14:22:50 UTC
Reads like a regression so I've marked the 1.3+.

Comment 6 Greg Nichols 2011-04-28 16:30:16 UTC
*** Bug 641157 has been marked as a duplicate of this bug. ***

Comment 7 Greg Nichols 2011-04-28 16:33:58 UTC
Created attachment 495588 [details]
fencing test patch to ignore status return codes when system is off

Also, the patch supplies new continuation marking information so that the kernel information is logged and compared between reboots for a passing test.

Comment 8 Greg Nichols 2011-04-28 16:37:05 UTC
Also, the patch calls the waitForLull utility before requesting the reboot from the agent to unsure various log files are complete and closed.

Comment 12 Caspar Zhang 2011-05-01 09:51:01 UTC
This bug does not need a Tech Note because of:

1. A Red Hatter reported it
2. It only happened in an intermediate version.

Comment 13 errata-xmlrpc 2011-05-09 16:14:59 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0497.html