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>, Dave Page <dpage(at)pgadmin(dot)org>, pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: Regression Setup for PGAdmin
Date: 2017-01-03 13:47:18
Message-ID: CAGz+W7wpoL_zHABQJfy0Ct42CWZ3P=JN3T3crEiYuvLZ42V98w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi Navnath,

RM # 2046 is created on community redmine for the same issue.

Thanks

On Wed, Dec 28, 2016 at 3:42 PM, Dave Page <dpage(at)pgadmin(dot)org> wrote:

> Please use the community Redmine instance for pgAdmin issues, not the
> internal EDB one!
>
> Thanks.
>
> On Wed, Dec 28, 2016 at 8:58 AM, Ikram Khan <ikram(dot)khan(at)enterprisedb(dot)com>
> wrote:
>
>> 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>
>>
>
>
>
> --
> Dave Page
> Blog: http://pgsnake.blogspot.com
> Twitter: @pgsnake
>
> EnterpriseDB UK: http://www.enterprisedb.com
> 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>

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2017-01-04 13:33:37 pgAdmin 4 commit: Update copyright notices for 2017.
Previous Message Dave Page 2017-01-03 09:48:47 Re: [pgAdmin4]: RM-1910 - Remember last used directory in the file manager