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

Bug 1069994

Summary: EXPRESSCARD test is a dead loop
Product: [Retired] Red Hat Hardware Certification Program Reporter: Dong Zhu <dZhu>
Component: Test Suite (tests)Assignee: Guangze Bai <gbai>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: high Docs Contact:
Priority: unspecified    
Version: 1.7.0CC: gbai, gnichols, qcai, rlandry, yshao, yxue
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: hwcert-client 1.7.0-20140306 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1069084 Environment:
Last Closed: 2014-03-17 12:36:21 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: 1052374    
Attachments:
Description Flags
fix the dead loop of expresscard test dZhu: review? (gnichols)

Description Dong Zhu 2014-02-26 03:29:55 UTC
+++ This bug was initially created as a clone of Bug #1069084 +++

There is a dead loop in the expresscard.py:

"while self.count > 0:" in "run(self)"

In this loop, there are 2 variables:
testedUSB
testedPCIE


Only when both of them are "True", self.count can -- at end of loop
But both testedUSB and testedPCIE will be set to "False" at the begin of this loop because "self.count" not -- and always = "self.numberOfSlots" 

self.count never have chance to --

--- Additional comment from Yunlong Xue on 2014-02-24 01:22:11 EST ---

a log:

https://hardware.redhat.com/show.cgi?id=1066863

Comment 1 Dong Zhu 2014-02-26 08:12:44 UTC
Created attachment 867837 [details]
fix the dead loop of expresscard test