Based upon a working setup, i added few package versions requirement to 
setup.py now.

Santhosh
________________________________________
From: sebgoa [run...@gmail.com]
Sent: Tuesday, May 20, 2014 8:39 AM
To: dev@cloudstack.apache.org
Cc: Rajani Karuturi
Subject: Re: cannot run integration tests on 4.4-forward

On May 20, 2014, at 2:30 PM, Santhosh Edukulla <santhosh.eduku...@citrix.com> 
wrote:

> 1. The below error in message you pasged shows up the requests package you 
> are using is outdated or does not have verify argument.
>
> 2. On my machine requests version shows up 2.2.1 as below.
>>>> import requests
>
>>>> requests.__version__
> '2.2.1'

thanks, looks like this was it.

That means that marvin setup.py needs to be fixed:

install_requires=[
          "mysql-connector-python",
          "requests",
          "paramiko",
          "nose",
          "ddt >= 0.4.0"

to reflect the need for a higher version of requests...



>
> 3. Install latest requests package to fix this issue.
>
> pip may not work for 4.4-forward as it is not yet pushed to repo.
>
>
> Santhosh
>
>
> ________________________________________
> From: Rajani Karuturi
> Sent: Tuesday, May 20, 2014 8:23 AM
> To: dev@cloudstack.apache.org
> Cc: Santhosh Edukulla
> Subject: Re: cannot run integration tests on 4.4-forward
>
> installing marvin from the code might help. I am not sure if the pip repo is 
> updated.
>
> $sudo python tools/marvin/setup.py install
>
> ~Rajani
>
>
>
> On 20-May-2014, at 5:41 pm, sebgoa <run...@gmail.com> wrote:
>
>>
>> On May 20, 2014, at 2:03 PM, Santhosh Edukulla 
>> <santhosh.eduku...@citrix.com> wrote:
>>
>>> If https flag under cfg is not set, then request package version on this 
>>> machine, or python version could be an issue( > 2.7.x is required) . I just 
>>> tried one more time on simulator after this mail and it worked.
>>>
>>
>> I am on a fresh Ubuntu 12.04, python 2.7.3, requests 0.8.2 (which came from 
>> the pip install for Marvin)
>> Using the cfg that's in the repo in the 4.4-forward (did not change 
>> anything).
>>
>>
>>
>>> Santhosh
>>> ________________________________________
>>> From: sebgoa [run...@gmail.com]
>>> Sent: Tuesday, May 20, 2014 7:55 AM
>>> To: Santhosh Edukulla
>>> Cc: dev@cloudstack.apache.org
>>> Subject: Re: cannot run integration tests on 4.4-forward
>>>
>>> On May 20, 2014, at 1:53 PM, Santhosh Edukulla 
>>> <santhosh.eduku...@citrix.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> We are running continuously using CI in our environment on 4.4-forward. 
>>>> May be more steps as what followed here would help to check.
>>>>
>>>> Are we using https\http mode? Check this in advanced.cfg or cfg passed?
>>>>
>>>
>>> I am using the simulator, everything running on the same machine ubuntu 
>>> 12.04.
>>>
>>> then I configure the DC with:
>>>
>>> python ./tools/marvin/marvin/deployDataCenter.py -i ./setup/dev/advanced.cfg
>>> or
>>> python ./tools/marvin/marvin/deployDataCenter.py -i ./setup/dev/basic.cfg
>>>
>>>
>>>> Santhosh
>>>> ________________________________________
>>>> From: sebgoa [run...@gmail.com]
>>>> Sent: Tuesday, May 20, 2014 7:43 AM
>>>> To: dev@cloudstack.apache.org
>>>> Cc: Santhosh Edukulla
>>>> Subject: cannot run integration tests on 4.4-forward
>>>>
>>>> Hi,
>>>>
>>>> I have been trying to run the integration tests on 4.4-forward.
>>>> While setting up the zone with Marvin I get an error:
>>>>
>>>> # more runinfo.txt
>>>> 2014-05-20 13:40:48,985 - DEBUG - Parsing Test data successful
>>>> 2014-05-20 13:40:48,987 - DEBUG - Payload: {'account': 'admin', 'command': 
>>>> 'listUsers', 'response': 'json'}
>>>> 2014-05-20 13:40:48,987 - DEBUG - ========Sending GET Cmd : 
>>>> listUsers=======
>>>> 2014-05-20 13:40:48,987 - ERROR - __sendGetReqToCS : Exception Occurred: 
>>>> request() got an unexpected keyword argument 'verify'
>>>> Traceback (most recent call last):
>>>> File 
>>>> "/usr/local/lib/python2.7/dist-packages/marvin/cloudstackConnection.py", 
>>>> line 196, in __sendGetReqToCS
>>>> verify=self.httpsFlag)
>>>> File "/usr/lib/python2.7/dist-packages/requests/api.py", line 78, in get
>>>> return request('get', url, **kwargs)
>>>> TypeError: request() got an unexpected keyword argument 'verify'
>>>> 2014-05-20 13:40:48,987 - ERROR - marvinRequest : CmdName: 
>>>> <marvin.cloudstackAPI.listUsers.listUsersCmd object at 0x1764a10> 
>>>> Exception: ['Traceback (most recent call last):\n', '  File 
>>>> "/usr/local/lib/python2.7/dist-packages/marvin/cloudstac
>>>> kConnection.py", line 370, in marvinRequest\n    raise 
>>>> self.__lastError\n', "TypeError: request() got an unexpected keyword 
>>>> argument 'verify'\n"]
>>>> Traceback (most recent call last):
>>>> File 
>>>> "/usr/local/lib/python2.7/dist-packages/marvin/cloudstackConnection.py", 
>>>> line 370, in marvinRequest
>>>> raise self.__lastError
>>>> TypeError: request() got an unexpected keyword argument 'verify'
>>>> 2014-05-20 13:40:48,988 - ERROR -  Exception Occurred Under 
>>>> __createApiClient: ['Traceback (most recent call last):\n', '  File 
>>>> "/usr/local/lib/python2.7/dist-packages/marvin/cloudstackTestClient.py", 
>>>> line 145, in __createApiClient\n    list
>>>> _user_res = self.__apiClient.listUsers(list_user)\n', '  File 
>>>> "/usr/local/lib/python2.7/dist-packages/marvin/cloudstackAPI/cloudstackAPIClient.py",
>>>>  line 564, in listUsers\n    response = 
>>>> self.connection.marvinRequest(command, response_type=r
>>>> esponse, method=method)\n', '  File 
>>>> "/usr/local/lib/python2.7/dist-packages/marvin/cloudstackConnection.py", 
>>>> line 385, in marvinRequest\n    raise e\n', "TypeError: request() got an 
>>>> unexpected keyword argument 'verify'\n"]
>>>> Traceback (most recent call last):
>>>> File 
>>>> "/usr/local/lib/python2.7/dist-packages/marvin/cloudstackTestClient.py", 
>>>> line 145, in __createApiClient
>>>> list_user_res = self.__apiClient.listUsers(list_user)
>>>> File 
>>>> "/usr/local/lib/python2.7/dist-packages/marvin/cloudstackAPI/cloudstackAPIClient.py",
>>>>  line 564, in listUsers
>>>> response = self.connection.marvinRequest(command, response_type=response, 
>>>> method=method)
>>>> File 
>>>> "/usr/local/lib/python2.7/dist-packages/marvin/cloudstackConnection.py", 
>>>> line 385, in marvinRequest
>>>> raise e
>>>> TypeError: request() got an unexpected keyword argument 'verify'
>>>> 2014-05-20 13:40:48,989 - ERROR - ==== Test Client Creation Failed ====
>>>>
>>>>
>>>> thoughts ?
>>>
>>

Reply via email to