[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-4487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rayees Namathponnan reopened CLOUDSTACK-4487:
---------------------------------------------


As per the latest update in test cases we need to add any netscaler device as 
part of environment setup;   test case it self add the devices; 


But with latest code, non of the NS test cases getting executed, since NS is 
not enabled; test case should check NS is enabled or not before starting the 
test; if not enabled; test cases should enable 

arning: Exception in setUpClass: Execute cmd: asyncquery failed, due to: 
{errorcode : 530, errortext : u'Network Service Provider: Netscaler is not 
enabled in the physical network: 200to add this device'}
Stacktrace

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 208, in run
    self.setUp()
  File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 291, in 
setUp
    self.setupContext(ancestor)
  File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 314, in 
setupContext
    try_run(context, names)
  File "/usr/local/lib/python2.7/site-packages/nose/util.py", line 469, in 
try_run
    return func()
  File 
"/data/Repo2/qa/cloudstack/test/integration/component/test_netscaler_lb_algo.py",
 line 1042, in setUpClass
    raise Exception ("Warning: Exception in setUpClass: %s" % e)
Exception: Warning: Exception in setUpClass: Execute cmd: asyncquery failed, 
due to: {errorcode : 530, errortext : u'Network Service Provider: Netscaler is 
not enabled in the physical network: 200to add this device'}
                
> [Automation] Netscaler test cases failed due missing attribute 
> 'network_offering'
> ---------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-4487
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4487
>             Project: CloudStack
>          Issue Type: Test
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Automation, Test
>    Affects Versions: 4.2.0
>         Environment: Automaion
>            Reporter: Rayees Namathponnan
>            Assignee: Sowmya Krishnan
>            Priority: Critical
>             Fix For: 4.2.1
>
>
> Netscaler test cases failed with below error
> <nose.suite.ContextSuite context=TestLbAlgoLcRr>:setup (from nosetests)
> Failing for the past 2 builds (Since Unstable#17 )
> Took 0 ms.
> Error Message
> Warning: Exception during cleanup : type object 'TestLbAlgoLcRr' has no 
> attribute 'network_offering'
> Stacktrace
> Traceback (most recent call last):
>   File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 208, in 
> run
>     self.setUp()
>   File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 291, in 
> setUp
>     self.setupContext(ancestor)
>   File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 314, in 
> setupContext
>     try_run(context, names)
>   File "/usr/local/lib/python2.7/site-packages/nose/util.py", line 469, in 
> try_run
>     return func()
>   File 
> "/data/Repo2/qa/cloudstack/test/integration/component/test_netscaler_lb_algo.py",
>  line 1052, in setUpClass
>     cls.tearDownClass()
>   File 
> "/data/Repo2/qa/cloudstack/test/integration/component/test_netscaler_lb_algo.py",
>  line 1073, in tearDownClass
>     raise Exception("Warning: Exception during cleanup : %s" % e)
> Exception: Warning: Exception during cleanup : type object 'TestLbAlgoLcRr' 
> has no attribute 'network_offering'

--
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