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

Bug 1091718

Summary: [hwcert-client-1.7] memory test fail to complete
Product: [Retired] Red Hat Hardware Certification Program Reporter: Guangze Bai <gbai>
Component: Test Suite (tests)Assignee: Yu Shao <yshao>
Status: CLOSED WONTFIX QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: high Docs Contact:
Priority: urgent    
Version: 1.7.0CC: aru, brose, emasyk, gnichols, hail, qcai, rlandry, yshao
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1090820 Environment:
Last Closed: 2015-06-30 14:26:28 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: 1090820    
Bug Blocks: 1052374    
Attachments:
Description Flags
patch none

Description Guangze Bai 2014-04-27 14:47:17 UTC
+++ This bug was initially created as a clone of Bug #1090820 +++

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

--- Additional comment from  on 2014-04-24 04:51:29 EDT ---

I run it on the rhel6.0 x86. There's no issue using prior release hwcert-client-1.6.5.

--- Additional comment from  on 2014-04-24 22:57:37 EDT ---

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 1 Guangze Bai 2014-04-27 14:55:51 UTC
Created attachment 890240 [details]
patch

A clone for RHEL7 branch.