Bug 679011 - fencing test fail on v7-1.3-10
Summary: fencing test fail on v7-1.3-10
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Hardware Certification Program
Classification: Retired
Component: Test Suite (tests)
Version: 1.2
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Greg Nichols
QA Contact: Red Hat Kernel QE team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-21 09:46 UTC by chen yuwen
Modified: 2011-05-09 16:14 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-09 16:14:59 UTC


Attachments (Terms of Use)
fencing log on v7-1.3-13 (3.22 KB, application/octet-stream)
2011-02-22 03:13 UTC, chen yuwen
no flags Details
fencing log on v7-1.3-3 (2.63 KB, application/octet-stream)
2011-02-22 03:14 UTC, chen yuwen
no flags Details
fencing test patch to ignore status return codes when system is off (2.25 KB, patch)
2011-04-28 16:33 UTC, Greg Nichols
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0497 0 normal SHIPPED_LIVE v7 bug fix and enhancement update 2011-05-09 16:11:16 UTC

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


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