Re: Regression Setup for PGAdmin

From: Ikram Khan <ikram(dot)khan(at)enterprisedb(dot)com>
To: Navnath Gadakh <navnath(dot)gadakh(at)enterprisedb(dot)com>
Cc: Hamid Quddus <hamid(dot)quddus(at)enterprisedb(dot)com>, Sandeep Thakkar <sandeep(dot)thakkar(at)enterprisedb(dot)com>, pgadmin-hackers(at)postgresql(dot)org
Subject: Re: Regression Setup for PGAdmin
Date: 2016-12-28 08:58:56
Message-ID: CAGz+W7zt6_KKALndHGP-dX1gPUKMQHxaO5k_-Qb-Z5ki3yS3og@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi Navnath,

As discussed I have created RM for this issue and assigned to you.

RM # 39638

Thanks

On Thu, Dec 22, 2016 at 6:07 PM, Ikram Khan <ikram(dot)khan(at)enterprisedb(dot)com>
wrote:

> Hi Navnath,
>
> As discussed, I am facing the following issue while running regression on
> windows
>
>
> *signal.signal(signal.SIGQUIT, sig_handler)AttributeError: 'module' object
> has no attribute 'SIGQUIT'*
>
> Just for info. I have tried to search this error and it seems it wont work
> with windows, please see this https://docs.python.org/
> 2/library/signal.html#signal.signal
>
> Thanks
>
>
> On Wed, Dec 21, 2016 at 5:32 PM, Ikram Khan <ikram(dot)khan(at)enterprisedb(dot)com>
> wrote:
>
>> Hi,
>>
>> Sure, I will edit it.
>>
>> Thanks
>>
>> On Wed, Dec 21, 2016 at 5:25 PM, Navnath Gadakh <
>> navnath(dot)gadakh(at)enterprisedb(dot)com> wrote:
>>
>>> Hello Ikram,
>>> That 'name' has no significant function, it's just used for printing
>>> test result at the end of the test suite, as said you can edit that config
>>> as per your need.
>>>
>>> On Wed, Dec 21, 2016 at 5:42 PM, Ikram Khan <ikram(dot)khan(at)enterprisedb(dot)com
>>> > wrote:
>>>
>>>> Hi Navnath,
>>>>
>>>> As discussed, in test_config.json.in file there are 2 hardcoded values
>>>>
>>>> "name": "PostgreSQL 9.4",
>>>> "comment": "PostgreSQL 9.4 Server (EDB Installer)"
>>>>
>>>> As we are running it with 9.6, It needs to be fixed.
>>>>
>>>> Thanks
>>>>
>>>> On Fri, Dec 9, 2016 at 4:34 PM, Navnath Gadakh <
>>>> navnath(dot)gadakh(at)enterprisedb(dot)com> wrote:
>>>>
>>>>> Hi Ikram,
>>>>>
>>>>> Please follow below steps to setup pgAdmin4 Regression setup,
>>>>>
>>>>> 1) Install GIT
>>>>>
>>>>> sudo apt-get install git
>>>>>
>>>>> 2) Install pip3
>>>>>
>>>>> sudo apt-get install python3-pip
>>>>>
>>>>> 3) Install virtualenv
>>>>>
>>>>> sudo pip3 install virtualenv
>>>>>
>>>>> 4) install below dependancy as it is required for psycopg2 & pycrypto
>>>>> module
>>>>>
>>>>> sudo apt-get install libpq-dev
>>>>>
>>>>> sudo apt-get install python3-dev
>>>>>
>>>>> 5) Create virtual environment
>>>>>
>>>>> virtualenv -p python3 venv
>>>>>
>>>>> 6) Clone git repo
>>>>>
>>>>> git clone http://git.postgresql.org/git/pgadmin4.git
>>>>>
>>>>> 7) activate virtual environment
>>>>>
>>>>> source venv/bin/activate
>>>>>
>>>>> 8) Install modules
>>>>>
>>>>> pip3 install -r requirements_py3.txt
>>>>>
>>>>> 9) Run pgAdmin4 as a web application (to run testsuite no need to
>>>>> follow this step)
>>>>>
>>>>> python pgAdmin4.py
>>>>>
>>>>> 10) Run Regression/Testsuite
>>>>>
>>>>> Go to pgadmin4/web/regression and run
>>>>>
>>>>> python runtests.py (For all nodes) OR
>>>>>
>>>>> Python runtests.py --pkg browser (For browser node) OR
>>>>>
>>>>> Python runtests.py --pkg browser.server_groups.servers (For server
>>>>> node)
>>>>>
>>>>> And so on for other nodes.
>>>>>
>>>>>
>>>>> Please free to ask if you face any issue.
>>>>>
>>>>>
>>>>> Thanks.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Fri, Dec 9, 2016 at 4:37 PM, Navnath Gadakh <
>>>>> navnath(dot)gadakh(at)enterprisedb(dot)com> wrote:
>>>>>
>>>>>> Hey, I was OOO, Tell me what you need on Regression/Testsuite for
>>>>>> PGAdmin?
>>>>>>
>>>>>> On Fri, Dec 9, 2016 at 4:13 PM, Ikram Khan <
>>>>>> ikram(dot)khan(at)enterprisedb(dot)com> wrote:
>>>>>>
>>>>>>> Hi Navnath,
>>>>>>>
>>>>>>> As discussed I have to setup Regression/Testsuite for PGAdmin, Need
>>>>>>> your support on this.
>>>>>>>
>>>>>>> Regards,
>>>>>>>
>>>>>>> --
>>>>>>> *Muhammad Ikram*
>>>>>>> Configuration Management Team
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Ph: +92.307.848.0479
>>>>>>>
>>>>>>> www.enterprisedb.co <http://www.enterprisedb.com/>m
>>>>>>> <http://www.enterprisedb.com/>
>>>>>>>
>>>>>>> *Follow us on Twitter*
>>>>>>> @EnterpriseDB
>>>>>>>
>>>>>>> Visit EnterpriseDB for tutorials, webinars, whitepapers
>>>>>>> <http://www.enterprisedb.com/resources-community> and more
>>>>>>> <http://www.enterprisedb.com/resources-community>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Regards,
>>>>>> Navnath Gadakh
>>>>>>
>>>>>> EnterpriseDB Corporation
>>>>>> The Enterprise PostgreSQL Company
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Regards,
>>>>> Navnath Gadakh
>>>>>
>>>>> EnterpriseDB Corporation
>>>>> The Enterprise PostgreSQL Company
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> *Muhammad Ikram*
>>>> Configuration Management Team
>>>>
>>>>
>>>>
>>>> Ph: +92.307.848.0479
>>>>
>>>> www.enterprisedb.co <http://www.enterprisedb.com/>m
>>>> <http://www.enterprisedb.com/>
>>>>
>>>> *Follow us on Twitter*
>>>> @EnterpriseDB
>>>>
>>>> Visit EnterpriseDB for tutorials, webinars, whitepapers
>>>> <http://www.enterprisedb.com/resources-community> and more
>>>> <http://www.enterprisedb.com/resources-community>
>>>>
>>>
>>>
>>>
>>> --
>>> Regards,
>>> Navnath Gadakh
>>>
>>> EnterpriseDB Corporation
>>> The Enterprise PostgreSQL Company
>>>
>>>
>>>
>>
>>
>> --
>> *Muhammad Ikram*
>> Configuration Management Team
>>
>>
>>
>> Ph: +92.307.848.0479
>>
>> www.enterprisedb.co <http://www.enterprisedb.com/>m
>> <http://www.enterprisedb.com/>
>>
>> *Follow us on Twitter*
>> @EnterpriseDB
>>
>> Visit EnterpriseDB for tutorials, webinars, whitepapers
>> <http://www.enterprisedb.com/resources-community> and more
>> <http://www.enterprisedb.com/resources-community>
>>
>
>
>
> --
> *Muhammad Ikram*
> Configuration Management Team
>
>
>
> Ph: +92.307.848.0479
>
> www.enterprisedb.co <http://www.enterprisedb.com/>m
> <http://www.enterprisedb.com/>
>
> *Follow us on Twitter*
> @EnterpriseDB
>
> Visit EnterpriseDB for tutorials, webinars, whitepapers
> <http://www.enterprisedb.com/resources-community> and more
> <http://www.enterprisedb.com/resources-community>
>

--
*Muhammad Ikram*
Configuration Management Team

Ph: +92.307.848.0479

www.enterprisedb.co <http://www.enterprisedb.com/>m
<http://www.enterprisedb.com/>

*Follow us on Twitter*
@EnterpriseDB

Visit EnterpriseDB for tutorials, webinars, whitepapers
<http://www.enterprisedb.com/resources-community> and more
<http://www.enterprisedb.com/resources-community>

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2016-12-28 10:42:13 Re: Regression Setup for PGAdmin
Previous Message Harshal Dhumal 2016-12-28 06:42:43 Re: Patch for RM1911 Direct file navigation [pgAdmin4] [Feature]