Hi Santhosh, Thanks for the reply!
I usually send out a follow-up e-mail when I solve a problem after raising a question on the mailing list; however, in this case, I forgot to do so. As it turns out, I solved this problem the way you specified. For some reason, I had removed the LogFolderPath variable and that was, in fact, the problem. Thanks! Mike On Wed, Jun 4, 2014 at 6:29 AM, Santhosh Edukulla < santhosh.eduku...@citrix.com> wrote: > 1. Check the config file you are providing input to nose, it should have > "LogFolderPath" variable. For reference you can see setup/dev/advanced.cfg. > > 2. Below example should give an idea of running a test suite using nose. > > nosetests-2.7 --with-marvin --marvin-config=setup/dev/advanced.cfg > --with-xunit --xunit-file=/tmp/test_offerings_out.xml > test/integration/smoke/path_to_test_offerings.py -a tags=advanced > --zone="zone" --hypervisor="xenserver" > > Thanks! > Santhosh > ________________________________________ > From: Mike Tutkowski [mike.tutkow...@solidfire.com] > Sent: Tuesday, June 03, 2014 3:14 PM > To: dev@cloudstack.apache.org > Subject: Marvin Question > > Hi, > > I've been playing around with Marvin lately. > > I got it to build a CS cloud with one zone, one pod, one cluster, and two > hosts in it just fine. > > I've been trying to run another script to create a Compute Offering, but > get the following error (below). > > Perhaps I'm missing some piece of Marvin configuration? > > Thanks! > > Exception Occurred Under __initLogging :'list' object has no attribute > 'LogFolderPath' > > Traceback (most recent call last): > > File "/usr/local/bin/nosetests", line 8, in <module> > > load_entry_point('nose==1.3.3', 'console_scripts', 'nosetests')() > > File > "/Library/Python/2.7/site-packages/nose-1.3.3-py2.7.egg/nose/core.py", line > 121, in __init__ > > **extra_args) > > File > > "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/main.py", > line 95, in __init__ > > self.runTests() > > File > "/Library/Python/2.7/site-packages/nose-1.3.3-py2.7.egg/nose/core.py", line > 207, in runTests > > result = self.testRunner.run(self.test) > > File > "/Library/Python/2.7/site-packages/nose-1.3.3-py2.7.egg/nose/core.py", line > 62, in run > > test(result) > > File > "/Library/Python/2.7/site-packages/nose-1.3.3-py2.7.egg/nose/suite.py", > line 176, in __call__ > > return self.run(*arg, **kw) > > File > "/Library/Python/2.7/site-packages/nose-1.3.3-py2.7.egg/nose/suite.py", > line 223, in run > > test(orig) > > File > "/Library/Python/2.7/site-packages/nose-1.3.3-py2.7.egg/nose/suite.py", > line 176, in __call__ > > return self.run(*arg, **kw) > > File > "/Library/Python/2.7/site-packages/nose-1.3.3-py2.7.egg/nose/suite.py", > line 223, in run > > test(orig) > > File > "/Library/Python/2.7/site-packages/nose-1.3.3-py2.7.egg/nose/case.py", line > 45, in __call__ > > return self.run(*arg, **kwarg) > > File > "/Library/Python/2.7/site-packages/nose-1.3.3-py2.7.egg/nose/case.py", line > 138, in run > > result.addError(self, err) > > File > "/Library/Python/2.7/site-packages/nose-1.3.3-py2.7.egg/nose/proxy.py", > line 124, in addError > > plugin_handled = plugins.handleError(self.test, err) > > File > > "/Library/Python/2.7/site-packages/nose-1.3.3-py2.7.egg/nose/plugins/manager.py", > line 99, in __call__ > > return self.call(*arg, **kw) > > File > > "/Library/Python/2.7/site-packages/nose-1.3.3-py2.7.egg/nose/plugins/manager.py", > line 167, in simple > > result = meth(*arg, **kw) > > File > > "/Library/Python/2.7/site-packages/Marvin-0.1.0-py2.7.egg/marvin/marvinPlugin.py", > line 155, in handleError > > self.tcRunLogger.fatal("%s: %s: %s" % > > AttributeError: 'NoneType' object has no attribute 'fatal' > > > -- > *Mike Tutkowski* > *Senior CloudStack Developer, SolidFire Inc.* > e: mike.tutkow...@solidfire.com > o: 303.746.7302 > Advancing the way the world uses the cloud > <http://solidfire.com/solution/overview/?video=play>*™* > -- *Mike Tutkowski* *Senior CloudStack Developer, SolidFire Inc.* e: mike.tutkow...@solidfire.com o: 303.746.7302 Advancing the way the world uses the cloud <http://solidfire.com/solution/overview/?video=play>*™*