Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1090820

Summary: [hwcert-client-1.6.5.2-20140416] i386 memory test fail to complete
Product: [Retired] Red Hat Hardware Certification Program Reporter: hail
Component: Test Suite (tests)Assignee: Guangze Bai <gbai>
Status: CLOSED ERRATA QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 1.6.5CC: aru, bbrock, chorn, emasyk, gbai, gnichols, mtessun, qcai, rlandry, yshao, yxue
Target Milestone: ---Keywords: Regression
Target Release: ---Flags: gnichols: needinfo-
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: hwcert-client 1.6.5.2-20140429 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1091718 (view as bug list) Environment:
Last Closed: 2014-05-21 19:21:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1052387, 1091718    
Attachments:
Description Flags
memory test log
none
proposed patch
none
output log after applying the patch
none
patch limited to poll return value test none

Description hail 2014-04-24 08:47:42 UTC
Created attachment 889205 [details]
memory test log

Description of problem:
Kick off memory test by "hwcert-backend run --test=memory". When the memory test log shows "Testing complete.", the hwcert-backend still exist and the process can not end. 

Upload the memory test output.log and following is the ps output when the test is done:

[root@promb hwcert]# ps -ef | grep hwcert
root      6594  3340 90 20:41 pts/0    00:38:31 /usr/bin/python /usr/bin/hwcert-backend run --test=memory
root      7902  7823  0 21:24 pts/2    00:00:00 grep hwcert

Comment 1 hail 2014-04-24 08:51:29 UTC
I run it on the rhel6.0 x86. There's no issue using prior release hwcert-client-1.6.5.

Comment 2 hail 2014-04-25 02:57:37 UTC
I tried to compare with hwcert-client-1.6.5. Maybe the root cause is from following statement in memory.py:

          LINE 186:==>          if not returnValue or returnValue == -1:

When I change to "if returnValue is None or returnValue == -1:", the memory test could be end successfully.

Please take a look at it, thanks!

Comment 3 Guangze Bai 2014-04-25 09:38:05 UTC
Created attachment 889594 [details]
proposed patch

Hello VMware,

Thanks for your reporting. Patch attached, could you test again with it? Very appreciated if you do and tell if it resolves the issue.

Thanks

Comment 4 hail 2014-04-25 09:57:19 UTC
Created attachment 889629 [details]
output log after applying the patch

Comment 5 hail 2014-04-25 09:57:59 UTC
It works fine after applying the patch. Attach the new output.log for reference. Thanks!

Comment 9 Greg Nichols 2014-04-29 13:43:02 UTC
Created attachment 890795 [details]
patch limited to poll return value test

Comment 12 Christian Horn 2014-05-08 08:36:40 UTC
Do we have a target date for the release of the fixed version?

Could we get an internal version which fixes the issue and can be used by our partner for certification, so the result will be accepted by the hwcert reviewers?

This issue is blocking an important certification here.

Comment 15 Guangze Bai 2014-05-15 03:04:56 UTC
*** Bug 1097650 has been marked as a duplicate of this bug. ***

Comment 17 errata-xmlrpc 2014-05-21 19:21:46 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-0532.html