You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Rayees Namathponnan (JIRA)" <ji...@apache.org> on 2013/12/13 22:24:06 UTC
[jira] [Created] (CLOUDSTACK-5500) [Automation] Few test suite
failing with error "object of type 'generator' has no len()"
Rayees Namathponnan created CLOUDSTACK-5500:
-----------------------------------------------
Summary: [Automation] Few test suite failing with error "object of type 'generator' has no len()"
Key: CLOUDSTACK-5500
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5500
Project: CloudStack
Issue Type: Test
Security Level: Public (Anyone can view this level - this is the default.)
Components: marvin
Affects Versions: 4.3.0
Environment: Automation
Reporter: Rayees Namathponnan
Fix For: 4.3.0
Attachments: 13869306406.rar
job : BVT_Advanced_KVM_602_Multi_SSVM/117
This issue observed with "test_loadbalance.py", test failing inconsistently with below error
+ nosetests --with-xunit --xunit-file=test_loadbalance.xml --with-marvin --marvin-config=/hudson/scripts/BVT_SmokeTest_Adv_KVM_2hosts.cfg /Repo_30X/ipcl/cloudstack/test/integration/smoke/test_loadbalance.py --load -a tags=advanced
Exception Occurred Under __initLogging :object of type 'generator' has no len()
Traceback (most recent call last):
File "/usr/local/bin/nosetests", line 8, in <module>
load_entry_point('nose==1.3.0', 'console_scripts', 'nosetests')()
File "/usr/local/lib/python2.7/site-packages/nose/core.py", line 118, in __init__
**extra_args)
File "/usr/local/lib/python2.7/unittest/main.py", line 95, in __init__
self.runTests()
File "/usr/local/lib/python2.7/site-packages/nose/core.py", line 197, in runTests
result = self.testRunner.run(self.test)
File "/usr/local/lib/python2.7/site-packages/nose/core.py", line 61, in run
test(result)
File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 176, in __call__
return self.run(*arg, **kw)
File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 223, in run
test(orig)
File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 176, in __call__
return self.run(*arg, **kw)
File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 223, in run
test(orig)
File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 176, in __call__
return self.run(*arg, **kw)
File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 223, in run
test(orig)
File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 176, in __call__
return self.run(*arg, **kw)
File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 223, in run
test(orig)
File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 176, in __call__
return self.run(*arg, **kw)
File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 223, in run
test(orig)
File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 176, in __call__
return self.run(*arg, **kw)
File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 223, in run
test(orig)
File "/usr/local/lib/python2.7/site-packages/nose/case.py", line 45, in __call__
return self.run(*arg, **kwarg)
File "/usr/local/lib/python2.7/site-packages/nose/case.py", line 138, in run
result.addError(self, err)
File "/usr/local/lib/python2.7/site-packages/nose/proxy.py", line 124, in addError
plugin_handled = plugins.handleError(self.test, err)
File "/usr/local/lib/python2.7/site-packages/nose/plugins/manager.py", line 99, in __call__
return self.call(*arg, **kw)
File "/usr/local/lib/python2.7/site-packages/nose/plugins/manager.py", line 167, in simple
result = meth(*arg, **kw)
File "/usr/local/lib/python2.7/site-packages/marvin/marvinPlugin.py", line 155, in handleError
self.tcRunLogger.fatal("%s: %s: %s" %
AttributeError: 'NoneType' object has no attribute 'fatal'
+ set -e
++ find . -name test_loadbalance.xml
+ resultXml=./test_loadbalance.xml
+ cp ./test_loadbalance.xml /opt/jenkins/workspace/BVT_Advanced_KVM_602_Multi_SSVM/label/SC_QA_AUTO5/suite/test_loadbalance
+ mv ./test_loadbalance.xml /opt/jenkins/workspace/BVT_Advanced_KVM_602_Multi_SSVM
Attaching automation log with this defect;
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)