Girish Shilamkar created CLOUDSTACK-5019:
--------------------------------------------

             Summary: Sometimes creation of Network Offering fails due to 
following ValueError: No JSON object could be decoded
                 Key: CLOUDSTACK-5019
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5019
             Project: CloudStack
          Issue Type: Test
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Automation, marvin
            Reporter: Girish Shilamkar


This problem is seen intermittently and only while creating network offering
======================================================================
ERROR: test_07_delete_network_with_rules 
(test_vpc_vms_deployment.TestVMDeployVPC)
Test delete network that has PF/staticNat/LB rules/Network Acl
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/root/girish/test_vpc_vms_deployment.py", line 1813, in 
test_07_delete_network_with_rules
    conservemode=False
  File "/root/Marvin-18-Sep/Marvin-0.1.0/marvin/integration/lib/base.py", line 
1553, in create
    return NetworkOffering(apiclient.createNetworkOffering(cmd).__dict__)
  File 
"/root/Marvin-18-Sep/Marvin-0.1.0/marvin/cloudstackAPI/cloudstackAPIClient.py", 
line 1690, in createNetworkOffering
    response = self.connection.marvin_request(command, response_type=response, 
method=method)
  File "/root/Marvin-18-Sep/Marvin-0.1.0/marvin/cloudstackConnection.py", line 
222, in marvin_request
    response = jsonHelper.getResultObj(response.json(), response_type)
  File "/usr/local/lib/python2.7/site-packages/requests/models.py", line 693, 
in json
    return json.loads(self.text, **kwargs)
  File "/usr/local/lib/python2.7/json/__init__.py", line 310, in loads
    return _default_decoder.decode(s)
  File "/usr/local/lib/python2.7/json/decoder.py", line 346, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/local/lib/python2.7/json/decoder.py", line 364, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

----------------------------------------------------------------------
Ran 7 tests in 115.664s




--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to