[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-4633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13771583#comment-13771583
 ] 

Rayees Namathponnan edited comment on CLOUDSTACK-4633 at 9/19/13 5:29 AM:
--------------------------------------------------------------------------

Test cases still fails after the recent change 


integration.component.cpu_limits.test_project_limits.TestProjectsCPULimits.test_01_project_counts_start_stop_instance

Error Message

Resource count should match with the expected resource count
-------------------- >> begin captured logging << --------------------
test_01_project_counts_start_stop_instance 
(integration.component.cpu_limits.test_project_limits.TestProjectsCPULimits): 
DEBUG: Setting up account and domain hierarchy
test_01_project_counts_start_stop_instance 
(integration.component.cpu_limits.test_project_limits.TestProjectsCPULimits): 
DEBUG: Creating a domain under: ROOT
test_01_project_counts_start_stop_instance 
(integration.component.cpu_limits.test_project_limits.TestProjectsCPULimits): 
DEBUG: Created project with domain admin with name: Project-5J9G5W
test_01_project_counts_start_stop_instance 
(integration.component.cpu_limits.test_project_limits.TestProjectsCPULimits): 
DEBUG: Creating an instance with service offering: Tiny Instance
test_01_project_counts_start_stop_instance 
(integration.component.cpu_limits.test_project_limits.TestProjectsCPULimits): 
DEBUG: [{primarystorageavailable : u'200', domain : u'Domain-2DDJAD', domainid 
: u'a6c2712d-22d6-42b4-8d7e-bcd750b2c0cd', vpclimit : u'20', iplimit : u'20', 
memorytotal : 0, secondarystorageavailable : u'400', vmtotal : 0, displaytext : 
u'Test project', vpctotal : 0, id : u'6e78a872-a067-44a0-abf4-aa80d42e3296', 
networkavailable : u'20', networklimit : u'20', iptotal : 0, volumetotal : 0, 
snapshotlimit : u'20', state : u'Active', networktotal : 0, vpcavailable : 
u'20', cpuavailable : u'40', primarystoragetotal : 0, templatelimit : u'20', 
snapshottotal : 0, templateavailable : u'20', vmlimit : u'20', tags : [], 
volumelimit : u'20', templatetotal : 0, memoryavailable : u'40960', 
secondarystoragetotal : 0, account : 
u'resource-TestProjectsCPULimits-test_01_project_counts_start_stop_instance-APRR9K',
 secondarystoragelimit : u'400', volumeavailable : u'20', name : 
u'Project-5J9G5W', vmavailable : u'20', ipavailable : u'20', memorylimit : 
u'40960', primarystoragelimit : u'200', cputotal : 0, cpulimit : u'40', 
snapshotavailable : u'20'}]
--------------------- >> end captured logging << ---------------------
Stacktrace

  File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run
    testMethod()
  File 
"/Repo_30X/ipcl/cloudstack/test/integration/component/cpu_limits/test_project_limits.py",
 line 238, in test_01_project_counts_start_stop_instance
    "Resource count should match with the expected resource count")
  File "/usr/local/lib/python2.7/unittest/case.py", line 494, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/usr/local/lib/python2.7/unittest/case.py", line 487, in 
_baseAssertEqual
    raise self.failureException(msg)
Resource count should match with the expected resource count
-------------------- >> begin captured logging << --------------------
test_01_project_counts_start_stop_instance 
(integration.component.cpu_limits.test_project_limits.TestProjectsCPULimits): 
DEBUG: Setting up account and domain hierarchy
test_01_project_counts_start_stop_instance 
(integration.component.cpu_limits.test_project_limits.TestProjectsCPULimits): 
DEBUG: Creating a domain under: ROOT
test_01_project_counts_start_stop_instance 
(integration.component.cpu_limits.test_project_limits.TestProjectsCPULimits): 
DEBUG: Created project with domain admin with name: Project-5J9G5W
test_01_project_counts_start_stop_instance 
(integration.component.cpu_limits.test_project_limits.TestProjectsCPULimits): 
DEBUG: Creating an instance with service offering: Tiny Instance
test_01_project_counts_start_stop_instance 
(integration.component.cpu_limits.test_project_limits.TestProjectsCPULimits): 
DEBUG: [{primarystorageavailable : u'200', domain : u'Domain-2DDJAD', domainid 
: u'a6c2712d-22d6-42b4-8d7e-bcd750b2c0cd', vpclimit : u'20', iplimit : u'20', 
memorytotal : 0, secondarystorageavailable : u'400', vmtotal : 0, displaytext : 
u'Test project', vpctotal : 0, id : u'6e78a872-a067-44a0-abf4-aa80d42e3296', 
networkavailable : u'20', networklimit : u'20', iptotal : 0, volumetotal : 0, 
snapshotlimit : u'20', state : u'Active', networktotal : 0, vpcavailable : 
u'20', cpuavailable : u'40', primarystoragetotal : 0, templatelimit : u'20', 
snapshottotal : 0, templateavailable : u'20', vmlimit : u'20', tags : [], 
volumelimit : u'20', templatetotal : 0, memoryavailable : u'40960', 
secondarystoragetotal : 0, account : 
u'resource-TestProjectsCPULimits-test_01_project_counts_start_stop_instance-APRR9K',
 secondarystoragelimit : u'400', volumeavailable : u'20', name : 
u'Project-5J9G5W', vmavailable : u'20', ipavailable : u'20', memorylimit : 
u'40960', primarystoragelimit : u'200', cputotal : 0, cpulimit : u'40', 
snapshotavailable : u'20'}]
--------------------- >> end captured logging << ---------------------
                
      was (Author: rayeesn):
    Test cases still fails after the recent change 



Error Message

sequence item 0: expected string, NoneType found
Stacktrace

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/nose/case.py", line 132, in run
    self.beforeTest(result)
  File "/usr/local/lib/python2.7/site-packages/nose/case.py", line 74, in 
beforeTest
    beforeTest(self.test)
  File "/usr/local/lib/python2.7/site-packages/nose/proxy.py", line 117, in 
beforeTest
    self.plugins.beforeTest(self.test)
  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 
125, in beforeTest
    self.testclient.identifier = '-'.join([self.identifier, testname])
TypeError: sequence item 0: expected string, NoneType found
                  
> [Automation] test_project_limits.py test cases failed with No module named 
> integration
> --------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-4633
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4633
>             Project: CloudStack
>          Issue Type: Test
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Automation, Test
>    Affects Versions: 4.2.1
>         Environment: Automation 
>            Reporter: Rayees Namathponnan
>            Assignee: Gaurav Aradhye
>            Priority: Critical
>             Fix For: 4.2.1
>
>
> test_project_limits.py Failed with below error 
> No module named integration
> Stacktrace
> Traceback (most recent call last):
>   File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run
>     testMethod()
>   File "/usr/local/lib/python2.7/site-packages/nose/loader.py", line 413, in 
> loadTestsFromName
>     addr.filename, addr.module)
>   File "/usr/local/lib/python2.7/site-packages/nose/importer.py", line 47, in 
> importFromPath
>     return self.importFromDir(dir_path, fqname)
>   File "/usr/local/lib/python2.7/site-packages/nose/importer.py", line 79, in 
> importFromDir
>     fh, filename, desc = find_module(part, path)
> ImportError: No module named integration

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to