Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 580181 Details for
Bug 816219
fv storage and network tests may fail for multiple devices on guest
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
fvtest.py patch to accept a passing result on any device for the intended test
fvtest.patch (text/plain), 1.43 KB, created by
Greg Nichols
on 2012-04-25 14:30:03 UTC
(
hide
)
Description:
fvtest.py patch to accept a passing result on any device for the intended test
Filename:
MIME Type:
Creator:
Greg Nichols
Created:
2012-04-25 14:30:03 UTC
Size:
1.43 KB
patch
obsolete
>Index: fvtest.py >=================================================================== >--- fvtest.py (revision 1254) >+++ fvtest.py (working copy) >@@ -516,22 +516,21 @@ > # open the test results, and look for the run > results = ResultsDocument() > results.load(os.path.join(self.getOutputDirectory(), self.environment.getResultsFileName())) >- test = results.getTest(self.testToRun) >- if not test: >+ tests = results.getTests(self.testToRun) >+ if not tests: > print "Error: no test " + self.testToRun + " in guest results" > return False > testRun = None >- for run in test.getRuns(): >- if run.getSummary() == Constants.PASS: >- print test.getName() + " Passed" >- return True >- else: >- print "Error: " + test.getName() + " run on guest Failed" >- return False >- >+ # if the test is run on multiple devices (storage, network), look for one that passed >+ for test in tests: >+ for run in test.getRuns(): >+ if run.getSummary() == Constants.PASS: >+ print test.getName() + " Passed" >+ return True > # otherwise >- print "Error: could not find test run for " + self.testToRun >+ print "Error: " + test.getName() + " run on guest Failed" > return False >+ > > def run(self): >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 816219
: 580181