r1121 - tags
by gnichols@fedoraproject.org
Author: gnichols
Date: 2011-10-17 19:52:48 +0000 (Mon, 17 Oct 2011)
New Revision: 1121
Added:
tags/v7-V1-4R32/
Log:
tag version
12 years, 6 months
r1120 - trunk
by gnichols@fedoraproject.org
Author: gnichols
Date: 2011-10-17 19:51:51 +0000 (Mon, 17 Oct 2011)
New Revision: 1120
Modified:
trunk/v7.spec.in
Log:
changelog
Modified: trunk/v7.spec.in
===================================================================
--- trunk/v7.spec.in 2011-10-17 19:50:36 UTC (rev 1119)
+++ trunk/v7.spec.in 2011-10-17 19:51:51 UTC (rev 1120)
@@ -77,6 +77,16 @@
%changelog
+* Mon Oct 17 2011 Greg Nichols <gnichols(a)redhat.com>
+
+V7 1.4 R32
+
+ 745212 - Traceback on blank Model Name in dmidecode
+ 743609 - CPU Scaling is failing with AMD Interlagos - user space load times aren't repeatable
+ 740002 - HWCERT: info test always fails due to kernel modified which is due to applied be2net patch
+ 733618 - v7 network kdump test passed without setting remote server
+ 730932 - v7 1.4 server with v7 1.3 SUT fails network test
+
* Tue Oct 04 2011 Greg Nichols <gnichols(a)redhat.com>
V7 1.4 R31
12 years, 6 months
r1119 - trunk/tests/network
by gnichols@fedoraproject.org
Author: gnichols
Date: 2011-10-17 19:50:36 +0000 (Mon, 17 Oct 2011)
New Revision: 1119
Modified:
trunk/tests/network/network.py
Log:
730932 - v7 1.4 server with v7 1.3 SUT fails network test
Modified: trunk/tests/network/network.py
===================================================================
--- trunk/tests/network/network.py 2011-10-17 19:48:54 UTC (rev 1118)
+++ trunk/tests/network/network.py 2011-10-17 19:50:36 UTC (rev 1119)
@@ -103,6 +103,8 @@
if self.getTestServer() == None or self.getTestServer() == "unknown":
errors.append("No test server was set.")
+ else:
+ self.checkTestServer(errors)
self.getAllOtherInterfaces()
self.checkNFSRootFileSystem()
@@ -115,7 +117,45 @@
for error in errors:
print "Error: %s" % error
+ def checkTestServer(self, errors):
+ result = True
+ try:
+ request = urllib2.Request('http://%s/v7/cgi/v7web.py?command=status' % self.getTestServer())
+ opener = urllib2.build_opener()
+ response = opener.open(request).readlines()
+ nvrPattern = re.compile("%s[^0-9]+(?P<version>[0-9]+\.[0-9]+)[^0-9]+(?P<release>[0-9]+)" % Constants.V7)
+ statusPattern = re.compile("%s=(?P<status>[a-zA-Z]+)" % Constants.v7serverstatus)
+ serverRunning = False
+ if response:
+ for line in response:
+ match = nvrPattern.search(line)
+ if match:
+ v7ServerVersion = match.group("version")
+ v7ServerRelease = match.group("release")
+ print "Version %s Release %s" % (v7ServerVersion, v7ServerRelease)
+ if v7ServerVersion + "." + v7ServerRelease < Constants.v7serverMinimumVersion:
+ errors.append("Error: V7 server %s is from a prior release (%s-%s)." % (self.getTestServer(), v7ServerVersion, v7ServerRelease))
+ result = False
+ match = statusPattern.search(line)
+ if match:
+ if match.group("status") == Constants.running:
+ serverRunning = True
+ else:
+ errors.append("Error: The v7 server %s is reporting errors" % self.getTestServer())
+ for line in response:
+ if "Error:" in line:
+ errors.append("%s says: %s" % (server, line))
+ return False
+ else:
+ errors.append("Error: The V7 server %s is not running" % self.getTestServer())
+ return False
+
+ except urllib2.URLError, exception:
+ errors.append("Error: Could not contact the V7 server on %s" % self.getTestServer())
+ errors.append("Error: %s" % exception)
+ return False
+ return result
12 years, 6 months
r1118 - trunk/tests/kdump
by gnichols@fedoraproject.org
Author: gnichols
Date: 2011-10-17 19:48:54 +0000 (Mon, 17 Oct 2011)
New Revision: 1118
Modified:
trunk/tests/kdump/kdump.py
Log:
733618 - v7 network kdump test passed without setting remote server
Modified: trunk/tests/kdump/kdump.py
===================================================================
--- trunk/tests/kdump/kdump.py 2011-10-17 19:47:10 UTC (rev 1117)
+++ trunk/tests/kdump/kdump.py 2011-10-17 19:48:54 UTC (rev 1118)
@@ -159,6 +159,8 @@
(success, restart) = self.setKdumpConfig()
+ if not success:
+ return False
if restart:
print "restarting kdump with new configuration..."
12 years, 6 months
r1117 - trunk/tests/info
by gnichols@fedoraproject.org
Author: gnichols
Date: 2011-10-17 19:47:10 +0000 (Mon, 17 Oct 2011)
New Revision: 1117
Modified:
trunk/tests/info/info.py
Log:
740002 - HWCERT: info test always fails due to kernel modified which is due to applied be2net patch
Modified: trunk/tests/info/info.py
===================================================================
--- trunk/tests/info/info.py 2011-10-17 19:44:04 UTC (rev 1116)
+++ trunk/tests/info/info.py 2011-10-17 19:47:10 UTC (rev 1117)
@@ -294,7 +294,7 @@
return None
if moduleFile[-2:] == "ko":
- nm = os.popen('nm -gnu ' + moduleFile)
+ nm = os.popen('modprobe --dump-modversions ' + moduleFile)
else:
nm = open(moduleFile,"r")
12 years, 6 months
r1116 - trunk/tests/cpuscaling
by gnichols@fedoraproject.org
Author: gnichols
Date: 2011-10-17 19:44:04 +0000 (Mon, 17 Oct 2011)
New Revision: 1116
Modified:
trunk/tests/cpuscaling/cpuscaling.py
Log:
743609 - CPU Scaling is failing with AMD Interlagos - user space load times aren't repeatable
Modified: trunk/tests/cpuscaling/cpuscaling.py
===================================================================
--- trunk/tests/cpuscaling/cpuscaling.py 2011-10-17 19:43:37 UTC (rev 1115)
+++ trunk/tests/cpuscaling/cpuscaling.py 2011-10-17 19:44:04 UTC (rev 1116)
@@ -24,12 +24,13 @@
import decimal
import signal
+from aperfmperf import EffectiveFrequency
+
from v7.tags import Constants, DeviceClass, TestTag
from v7.test import Test
from v7.device import Device
from v7.command import Command, V7CommandException
-from aperfmperf import EffectiveFrequency
"""
Tolerance Calculation, workload time checks:
@@ -596,14 +597,23 @@
support = ""
self.turboBoostSupport = True
print " %s: Turbo Boost is%s supported" % (self.idaFlag, support)
- self.effectiveFrequencySupport = False
support = " NOT"
if self.aperfmperfFlag in self.cpuFlags:
support = ""
- self.effectiveFrequencySupport = True
print " %s: aperf/mperf is%s supported"% (self.aperfmperfFlag, support)
sys.stdout.flush()
+ print "\n Measurement Method:"
+ # use ./aperfmperf.py to assess effective frequency support, as cpuflags are not reliable.
+ efi = EffectiveFrequency(0)
+ self.effectiveFrequencySupport = efi.has_support()
+ if self.effectiveFrequencySupport:
+ print " Using C sqrt load processes and aperf/mperf effective freq. measurement (aperf.c)"
+ else:
+ print " Using Python pi load processes with /sys freq. values, (no aperf/mperf support)."
+ print ""
+ sys.stdout.flush()
+
return True
def getCPUFlags(self):
12 years, 6 months
r1115 - trunk/v7
by gnichols@fedoraproject.org
Author: gnichols
Date: 2011-10-17 19:43:37 +0000 (Mon, 17 Oct 2011)
New Revision: 1115
Modified:
trunk/v7/planner.py
Log:
743609 - CPU Scaling is failing with AMD Interlagos - user space load times aren't repeatable
Modified: trunk/v7/planner.py
===================================================================
--- trunk/v7/planner.py 2011-10-17 19:41:32 UTC (rev 1114)
+++ trunk/v7/planner.py 2011-10-17 19:43:37 UTC (rev 1115)
@@ -62,10 +62,11 @@
moduleName = file.split(".")[0]
sys.path.insert(0,root)
try:
- del sys.modules[moduleName]
- except KeyError:
- pass
- module = __import__(moduleName, globals(), locals())
+ module = __import__(moduleName, globals(), locals())
+ except Exception, exception:
+ print "Warning: module import failed for %s" % moduleName
+ print exception
+ continue
for thing in dir(module):
if self.options.debug == Constants.high:
print "thing: %s" % thing
12 years, 6 months
r1114 - trunk/v7
by gnichols@fedoraproject.org
Author: gnichols
Date: 2011-10-17 19:41:32 +0000 (Mon, 17 Oct 2011)
New Revision: 1114
Modified:
trunk/v7/hardwaretest.py
Log:
745212 - Traceback on blank Model Name in dmidecode
Modified: trunk/v7/hardwaretest.py
===================================================================
--- trunk/v7/hardwaretest.py 2011-10-17 19:40:52 UTC (rev 1113)
+++ trunk/v7/hardwaretest.py 2011-10-17 19:41:32 UTC (rev 1114)
@@ -1056,9 +1056,9 @@
continue
(key,val)=[t.strip() for t in line.split(':',1) if line.find(':')]
- if key == "Manufacturer":
+ if key == "Manufacturer" and val:
vendor = val
- if key == "Product Name":
+ if key == "Product Name" and val:
model = val
# try and use the first word as the make
make = val.split()[0]
12 years, 6 months
r1113 - trunk
by gnichols@fedoraproject.org
Author: gnichols
Date: 2011-10-17 19:40:52 +0000 (Mon, 17 Oct 2011)
New Revision: 1113
Modified:
trunk/Makefile
Log:
R32
Modified: trunk/Makefile
===================================================================
--- trunk/Makefile 2011-10-06 15:55:26 UTC (rev 1112)
+++ trunk/Makefile 2011-10-17 19:40:52 UTC (rev 1113)
@@ -14,7 +14,7 @@
# Author: Greg Nichols
V7_VERSION := 1.4
-V7_RELEASE := 31
+V7_RELEASE := 32
V7_VERSION_RELEASE := $(V7_VERSION)-$(V7_RELEASE)
V7_VERSION_PY := v7/version.py
V7_SVN_MODULE := svn+ssh://svn.fedorahosted.org/svn/v7
12 years, 6 months
r1112 - tags
by gnichols@fedoraproject.org
Author: gnichols
Date: 2011-10-06 15:55:26 +0000 (Thu, 06 Oct 2011)
New Revision: 1112
Added:
tags/v7-V1-4R31/
Log:
tag version
12 years, 7 months