r392 - trunk/tools
by gnichols@fedoraproject.org
Author: gnichols
Date: 2010-02-24 18:10:36 +0000 (Wed, 24 Feb 2010)
New Revision: 392
Added:
trunk/tools/v7-repo-update.py
Log:
utility script to update repos
Added: trunk/tools/v7-repo-update.py
===================================================================
--- trunk/tools/v7-repo-update.py (rev 0)
+++ trunk/tools/v7-repo-update.py 2010-02-24 18:10:36 UTC (rev 392)
@@ -0,0 +1,50 @@
+#!/usr/bin/python
+
+"""
+This script automates updating of qafiler repos. It is to be run from
+qafiler.bos.redhat.com
+"""
+import os,sys,shutil
+
+rhelVersions = ["4", "5", "6"]
+v7Versions = ["1.1"]
+brewURL = "http://porkchop.devel.redhat.com/brewroot/packages/v7"
+workingDir = os.path.expanduser("~")
+downloadDir = "download.devel.redhat.com/brewroot/packages/v7"
+
+testKitDir = "/mnt/bigpapi/testkits/V7"
+
+# move these to commandline options
+repo = "devel"
+v7Release = "10"
+
+for v7Version in v7Versions:
+ for rhelVersion in rhelVersions:
+ print "cd " + workingDir
+ os.chdir(workingDir)
+ print "rm -rf " + downloadDir
+ shutil.rmtree(downloadDir)
+ command = "wget -r --no-parent --reject \"index.html*\" "
+ command += os.path.join(brewURL, v7Version, v7Release + ".el" + rhelVersion)
+ print command
+ os.system(command)
+
+ dir = os.path.join(testKitDir, repo)
+ print "cd " + dir
+ os.chdir(dir)
+ source = os.path.join(workingDir, downloadDir, v7Version, v7Release + ".el" + rhelVersion)
+ dest = os.path.join("RHEL" + rhelVersion, "v7", v7Version, v7Release + ".el" + rhelVersion)
+ print "cp " + source + " " + dest
+ shutil.rmtree(dest)
+ shutil.copytree(source, dest)
+ print "cd RHEL" + rhelVersion
+ os.chdir("RHEL" + rhelVersion)
+ print "rm -rf repodata"
+ shutil.rmtree("repodata")
+ command = "createrepo ."
+ print command
+ os.system(command)
+
+
+
+
14 years, 2 months
r391 - in tags: . v7-V1-1R10/v7
by gnichols@fedoraproject.org
Author: gnichols
Date: 2010-02-24 02:18:33 +0000 (Wed, 24 Feb 2010)
New Revision: 391
Added:
tags/v7-V1-1R10/
tags/v7-V1-1R10/v7/version.py
Log:
tag version
Copied: tags/v7-V1-1R10 (from rev 390, trunk)
Copied: tags/v7-V1-1R10/v7/version.py (from rev 335, trunk/v7/version.py)
===================================================================
--- tags/v7-V1-1R10/v7/version.py (rev 0)
+++ tags/v7-V1-1R10/v7/version.py 2010-02-24 02:18:33 UTC (rev 391)
@@ -0,0 +1,5 @@
+
+# v7/version.py is automatically-generated - DO NOT EDIT
+version = '1.1'
+release = '10'
+rhel_version = '5'
14 years, 2 months
r390 - trunk
by gnichols@fedoraproject.org
Author: gnichols
Date: 2010-02-24 02:17:34 +0000 (Wed, 24 Feb 2010)
New Revision: 390
Modified:
trunk/v7.spec.in
Log:
changelog
Modified: trunk/v7.spec.in
===================================================================
--- trunk/v7.spec.in 2010-02-24 01:58:46 UTC (rev 389)
+++ trunk/v7.spec.in 2010-02-24 02:17:34 UTC (rev 390)
@@ -68,6 +68,13 @@
/usr/share/man/man8/v7.8.gz
%changelog
+* Tue Feb 23 2010 Greg Nichols <gnichols(a)redhat.com>
+
+V7 1.1 R10
+
+546047 - The v7 fv_network test result may PASS when the guests' network test is FAIL
+555903 - suspend tests should provide a method/param to disable the fn+ key tests individually
+
* Thu Feb 18 2010 Greg Nichols <gnichols(a)redhat.com>
V7 1.1 R9
14 years, 2 months
r389 - trunk/tests/suspend
by gnichols@fedoraproject.org
Author: gnichols
Date: 2010-02-24 01:58:46 +0000 (Wed, 24 Feb 2010)
New Revision: 389
Modified:
trunk/tests/suspend/suspend.py
Log:
555903 - suspend tests should provide a method/param to disable the fn+ key tests individually
Modified: trunk/tests/suspend/suspend.py
===================================================================
--- trunk/tests/suspend/suspend.py 2010-02-24 01:51:28 UTC (rev 388)
+++ trunk/tests/suspend/suspend.py 2010-02-24 01:58:46 UTC (rev 389)
@@ -123,7 +123,10 @@
return self.suspendWithOSCommand(method)
# otherwise
- if source == Constants.FunctionKey:
+ if source == Constants.FunctionKey:
+ if not self.promptConfirm("Does this system have a function key (Fn) to suspend the system to %s?" % method):
+ print "Warning: suspend test to %s not run from function key" % method
+ return False
if not self.promptConfirm("Please press the function key (Fn) to suspend the system to %s " % method):
return False
return True
@@ -178,7 +181,14 @@
def runSuspendResume(self, source, method):
- return self.suspend(source, method) and self.checkResume(source, method)
+ if self.suspend(source, method):
+ return self.checkResume(source, method)
+ elif source == Constants.FunctionKey:
+ # allow user to opt-out of fn key tests, since system may not have them
+ self.verifiedResumeMethod = method
+ return True
+ #otherwise
+ return False
def run(self):
14 years, 2 months
r388 - trunk/v7
by gnichols@fedoraproject.org
Author: gnichols
Date: 2010-02-24 01:51:28 +0000 (Wed, 24 Feb 2010)
New Revision: 388
Modified:
trunk/v7/fvtest.py
Log:
546047 - The v7 certification kit test summary report not accurate
Modified: trunk/v7/fvtest.py
===================================================================
--- trunk/v7/fvtest.py 2010-02-24 01:50:13 UTC (rev 387)
+++ trunk/v7/fvtest.py 2010-02-24 01:51:28 UTC (rev 388)
@@ -414,11 +414,11 @@
return False
testRun = None
for run in test.getRuns():
- if run.getReturnValue() == "0":
+ if run.getSummary() == Constants.PASS:
print test.getName() + " Passed"
return True
else:
- print "Error: " + test.getName() + " Failed"
+ print "Error: " + test.getName() + " run on guest Failed"
return False
# otherwise
14 years, 2 months
r387 - trunk/tests/network
by gnichols@fedoraproject.org
Author: gnichols
Date: 2010-02-24 01:50:13 +0000 (Wed, 24 Feb 2010)
New Revision: 387
Modified:
trunk/tests/network/network.py
Log:
546047 - The v7 certification kit test summary report not accurate
Modified: trunk/tests/network/network.py
===================================================================
--- trunk/tests/network/network.py 2010-02-23 22:51:36 UTC (rev 386)
+++ trunk/tests/network/network.py 2010-02-24 01:50:13 UTC (rev 387)
@@ -596,12 +596,12 @@
if self.isNFSRootSystem:
if not self.addRoute():
- return "Error: could not add route for testing"
+ print "Error: could not add route for testing"
return FAILED
self.setSignalHandler(self.removeRoute)
else:
if not self.downAllOtherInterfaces():
- return "Error: could not shutdown all other interfaces"
+ print "Error: could not shutdown all other interfaces"
return FAILED
self.setSignalHandler(self.restoreAllOtherInterfaces)
14 years, 2 months
r386 - trunk/tests/hwlatdetect
by jcwillia@fedoraproject.org
Author: jcwillia
Date: 2010-02-23 22:51:36 +0000 (Tue, 23 Feb 2010)
New Revision: 386
Modified:
trunk/tests/hwlatdetect/v7_hwlatdetect.py
Log:
added parameter output
Added prints to show threshold, window, width and non-sampling period in
test output.
Modified: trunk/tests/hwlatdetect/v7_hwlatdetect.py
===================================================================
--- trunk/tests/hwlatdetect/v7_hwlatdetect.py 2010-02-22 23:48:17 UTC (rev 385)
+++ trunk/tests/hwlatdetect/v7_hwlatdetect.py 2010-02-23 22:51:36 UTC (rev 386)
@@ -96,6 +96,14 @@
detect.set("window", window)
detect.set("width", width)
detect.testduration = duration
+
+ print "hwlatdetect: test duration %d seconds" % detect.testduration
+ print " parameters:"
+ print " Latency threshold: %dus" % detect.get("threshold")
+ print " Sample window: %dus" % detect.get("window")
+ print " Sample width: %dus" % detect.get("width")
+ print " Non-sampling period: %dus" % (detect.get("window") - detect.get("width"))
+
detect.detect()
exceeding = detect.get("count")
print "detected %d samples exceeding threshold %d\n" % (exceeding, detect.get("threshold"))
14 years, 2 months
r385 - trunk
by gnichols@fedoraproject.org
Author: gnichols
Date: 2010-02-22 23:48:17 +0000 (Mon, 22 Feb 2010)
New Revision: 385
Modified:
trunk/Makefile
Log:
R10
Modified: trunk/Makefile
===================================================================
--- trunk/Makefile 2010-02-18 17:29:55 UTC (rev 384)
+++ trunk/Makefile 2010-02-22 23:48:17 UTC (rev 385)
@@ -14,7 +14,7 @@
# Author: Greg Nichols
V7_VERSION := 1.1
-V7_RELEASE := 9
+V7_RELEASE := 10
V7_VERSION_RELEASE := $(V7_VERSION)-$(V7_RELEASE)
V7_VERSION_PY := v7/version.py
V7_SVN_MODULE := svn+ssh://svn.fedorahosted.org/svn/v7
14 years, 2 months
r384 - in tags: . v7-V1-1R9/v7
by gnichols@fedoraproject.org
Author: gnichols
Date: 2010-02-18 17:29:55 +0000 (Thu, 18 Feb 2010)
New Revision: 384
Added:
tags/v7-V1-1R9/
tags/v7-V1-1R9/v7/version.py
Log:
tag version
Copied: tags/v7-V1-1R9 (from rev 383, trunk)
Copied: tags/v7-V1-1R9/v7/version.py (from rev 335, trunk/v7/version.py)
===================================================================
--- tags/v7-V1-1R9/v7/version.py (rev 0)
+++ tags/v7-V1-1R9/v7/version.py 2010-02-18 17:29:55 UTC (rev 384)
@@ -0,0 +1,5 @@
+
+# v7/version.py is automatically-generated - DO NOT EDIT
+version = '1.1'
+release = '9'
+rhel_version = '5'
14 years, 2 months
r383 - trunk
by gnichols@fedoraproject.org
Author: gnichols
Date: 2010-02-18 17:25:36 +0000 (Thu, 18 Feb 2010)
New Revision: 383
Modified:
trunk/v7.spec.in
Log:
changlog
Modified: trunk/v7.spec.in
===================================================================
--- trunk/v7.spec.in 2010-02-18 17:21:31 UTC (rev 382)
+++ trunk/v7.spec.in 2010-02-18 17:25:36 UTC (rev 383)
@@ -74,6 +74,7 @@
563762 - Incorrect rpm package - "kernelxen--devel" is required as run-time dependency.
565437 - v7 test suite v1.0 rel. 26 doesn't work with RHEL 5.5 alpha/beta
+ 555898 - optical tests fix --mode auto to skip prompts
* Wed Feb 10 2010 Greg Nichols <gnichols(a)redhat.com>
14 years, 2 months