Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d5tSl-00036Y-58 for pgadmin-hackers@arkaria.postgresql.org; Wed, 03 May 2017 12:32:59 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1d5tSk-00072H-Aa for pgadmin-hackers@arkaria.postgresql.org; Wed, 03 May 2017 12:32:58 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1d5tSj-00071v-9N for pgadmin-hackers@postgresql.org; Wed, 03 May 2017 12:32:57 +0000 Received: from mail-qt0-x22f.google.com ([2607:f8b0:400d:c0d::22f]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1d5tSf-0005Tr-2M for pgadmin-hackers@postgresql.org; Wed, 03 May 2017 12:32:55 +0000 Received: by mail-qt0-x22f.google.com with SMTP id n4so37296834qte.2 for ; Wed, 03 May 2017 05:32:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=VkLLkwzTA1prmdXQ3QSGHq18kQxmL3y//dbOSB/cK8E=; b=dYw7WepVOr9eeFoTeQ9GGomBAhCgAyjFtcxukjuxnBO3r0qDIJd4JdzIHatIAitdTE 8nQlC2eeezmSJZb/etWQi0nqMmfdwwi61ma74chMnRnqrCOQmMXUaPa+rA8ANm9DHqD4 IyxHKZFmFkqjmh0Ycrhel679osE5gU1h5UvSn/pNTfPm+adc+pC2sSKvHpq6yNo3htQc TTU/RSAdV5qySgFfLTZHXddvlq8ykI8YS3CObX6K9+KrLKywneJGdrmFwRcCIZND3X57 iXIo1J78+ZQqM9wVUXVbxxCJHqCTpMOKBqrr4TaP+mVUlnQTiiUZk0lJxtY1XYCWFOcI +Q2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=VkLLkwzTA1prmdXQ3QSGHq18kQxmL3y//dbOSB/cK8E=; b=qpKl3FCj895ZcWC7/Usavv6Nrz3MeeM2QuXEkn2gKmEkN9CHCYFqbySM06Cz1Q3zAb FChKOTl1vsv66G5RzUmlvw9wt9AjrH5y1vzRnlWHF9d5QdhZHgdGcWa9hXsNmturBFl8 QLY/OM2WAA3nuFtQggbOzBDYmDjulVDsUw3plfzylNp38AroNAgfgD04gZkRVy2YWpYi FS9gl18NgJP1oWEKF24kkCpHPmAoWGxhg3mVkZQDnlnvSCI9B2/W41jwO6F0lxBqgKXg h01YBgITJ7f2lbNxgyR1fgxBnJgICQcq58/6ztXyjbILJTRoYJY+twpyZHM2mNkKdHVP B2Ng== X-Gm-Message-State: AN3rC/7kuHFd1kypuvQt9wEW7d76YaJ5/TmMgA0+w7LhTgYK2GLeo9Ha vI99HnwYWUSXWnQqMd2i9UeKe15a9hbk X-Received: by 10.200.41.173 with SMTP id 42mr1092877qts.143.1493814771736; Wed, 03 May 2017 05:32:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.237.57.163 with HTTP; Wed, 3 May 2017 05:32:31 -0700 (PDT) In-Reply-To: References: From: Navnath Gadakh Date: Wed, 3 May 2017 18:02:31 +0530 Message-ID: Subject: Re: pgAdmin4: Test-suite OS compatability issue To: Dave Page Cc: pgadmin-hackers , Kanchan Mohitey , Ikram Khan Content-Type: multipart/alternative; boundary=001a113f473ad4795f054e9dda69 X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgadmin-hackers Precedence: bulk Sender: pgadmin-hackers-owner@postgresql.org --001a113f473ad4795f054e9dda69 Content-Type: text/plain; charset=UTF-8 It's getting strange now. I just updated my Mac OS from EI Capitan(10.11.6) to Sierra(10.12.4). I have applied the patch and it ran successfully without any hangup. This is my console output: *======================================================================* *Test Result Summary* *======================================================================* *REGRESSION TEST 1 PostgreSQL 9.6:* *140 tests passed* *0 test failed* *16 tests skipped:* *PackageAddTestCase (Fetch Package Node URL)* *PackageDeleteTestCase (Fetch Package Node URL)* *PackageGetTestCase (Fetch Package Node URL)* *PackagePutTestCase (Fetch Package Node URL)* *SynonymAddTestCase (Default Node URL)* *SynonymDeleteTestCase (Fetch synonym Node URL)* *SynonymGetTestCase (Fetch synonym Node URL)* *SynonymPutTestCase (Fetch synonym Node URL)* *ResourceGroupsAddTestCase (Add resource groups)* *ResourceGroupsDeleteTestCase (Delete resource groups)* *ResourceGroupsPutTestCase (Put resource groups)* *ResourceGroupsGetTestCase (Get resource groups)* *TableSpaceAddTestCase (Check Tablespace Node)* *TableSpaceDeleteTestCase (Check Tablespace Node)* *TablespaceGetTestCase (Check Tablespace Node)* *TableSpaceUpdateTestCase (Check Tablespace Node)* *======================================================================* *Please check output in file: /Users/edb/Navnath/pgadmin4/web/regression/regression.log* *(pgenv36) Laptop227-pn-in:regression Navnath$ * On Wed, May 3, 2017 at 1:39 PM, Dave Page wrote: > 10.12.3 (Sierra), 16GB MBP. Running in a virtualenv built from the system > Python installation. Packages are: > > (pgadmin4)piranha:~ dpage$ pip freeze > alabaster==0.7.10 > alembic==0.9.1 > args==0.1.0 > Babel==1.3 > beautifulsoup4==4.4.1 > blinker==1.3 > chromedriver-installer==0.0.6 > click==6.6 > clint==0.5.1 > dateutils==0.6.6 > docutils==0.13.1 > extras==1.0.0 > fixtures==3.0.0 > Flask==0.11.1 > Flask-Babel==0.11.1 > Flask-Gravatar==0.4.2 > Flask-HTMLmin==1.2 > Flask-Login==0.3.2 > Flask-Mail==0.9.1 > Flask-Migrate==2.0.3 > Flask-Principal==0.4.0 > Flask-Script==2.0.5 > Flask-Security==1.7.5 > Flask-SQLAlchemy==2.1 > Flask-WTF==0.12 > html5lib==1.0b3 > htmlmin==0.1.10 > imagesize==0.7.1 > importlib==1.0.3 > itsdangerous==0.24 > Jinja2==2.7.3 > linecache2==1.0.0 > Mako==1.0.6 > MarkupSafe==0.23 > minify==0.1.4 > passlib==1.6.2 > pbr==2.0.0 > pkginfo==1.4.1 > psycopg2==2.6.2 > pycrypto==2.6.1 > Pygments==2.2.0 > pyperclip==1.5.27 > pyrsistent==0.12.1 > python-dateutil==2.5.0 > python-editor==1.0.3 > python-mimeparse==1.6.0 > pytz==2014.10 > requests==2.13.0 > requests-toolbelt==0.7.1 > selenium==3.3.1 > simplejson==3.6.5 > six==1.10.0 > snowballstemmer==1.2.1 > speaklater==1.3 > Sphinx==1.5.3 > SQLAlchemy==1.0.14 > sqlparse==0.1.19 > testscenarios==0.5.0 > testtools==2.0.0 > traceback2==1.4.0 > unittest2==1.1.0 > Werkzeug==0.9.6 > WTForms==2.0.2 > > > On Wed, May 3, 2017 at 7:13 AM, Navnath Gadakh < > navnath.gadakh@enterprisedb.com> wrote: > >> Hi Dave, >> >> I have applied and run this patch on Mac and it ran successfully >> without hang up. >> >> I used different OS: >> OS X Yosemite Version 10.10.2 >> OS X EI Capitan Version 10.11.6 >> >> What is your system config? >> >> >> >> >> On Tue, May 2, 2017 at 4:39 PM, Dave Page wrote: >> >>> Hi >>> >>> When testing on Mac, the testsuite never exits with this patch applied. >>> It just hangs after printing the result summary. >>> >>> On Fri, Apr 28, 2017 at 2:51 PM, Navnath Gadakh < >>> navnath.gadakh@enterprisedb.com> wrote: >>> >>>> Hi Dave, >>>> >>>> Please find the patch for OS compatability issue of test-suite. >>>> >>>> *Code Changes:* >>>> >>>> 1. Minor code changes done related to os module in >>>> *pgadmin4/web/regression/feature_utils/app_starter.py* >>>> 2. Code added in pgadmin4/*web/pgadmin/utils/tests/test_versioned_template_loader.py >>>> *to handle path for SQL file. >>>> 3. Code added to convert unicode to string in some .py >>>> files. >>>> >>>> *Note:* >>>> With python2.6.6 test-suite is failed to execute. I have >>>> created the RM 2367 >>>> >>>> Thank you! >>>> >>>> >>>> >>>> -- >>>> Regards, >>>> Navnath Gadakh >>>> >>>> EnterpriseDB Corporation >>>> The Enterprise PostgreSQL Company >>>> >>>> >>>> >>>> >>>> -- >>>> Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) >>>> To make changes to your subscription: >>>> http://www.postgresql.org/mailpref/pgadmin-hackers >>>> >>>> >>> >>> >>> -- >>> Dave Page >>> Blog: http://pgsnake.blogspot.com >>> Twitter: @pgsnake >>> >>> EnterpriseDB UK: http://www.enterprisedb.com >>> The Enterprise PostgreSQL Company >>> >> >> >> >> -- >> Regards, >> Navnath Gadakh >> >> EnterpriseDB Corporation >> The Enterprise PostgreSQL Company >> >> >> > > > -- > Dave Page > Blog: http://pgsnake.blogspot.com > Twitter: @pgsnake > > EnterpriseDB UK: http://www.enterprisedb.com > The Enterprise PostgreSQL Company > -- Regards, Navnath Gadakh EnterpriseDB Corporation The Enterprise PostgreSQL Company --001a113f473ad4795f054e9dda69 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
It's getting strange=C2=A0now. I just updated my Mac O= S from=C2=A0EI Capitan(<= /span>10.11.6) to=C2=A0Sierra(10.12.4). I have=C2=A0applied the patch and it ran succ= essfully without any hangup.
This is my console out= put:

=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

Test Result Summary

=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

REGRESSION TEST 1 Postgre= SQL 9.6:

140 tests passed

<= span class=3D"gmail-s1">0 test failed

<= blockquote style=3D"margin:0 0 0 40px;border:none;padding:0px">

16 tests skipped:

PackageAddTestCase (Fetch Package Node URL)<= /i>

<= i>PackageDeleteTestCase (Fetch Package Node URL)

PackageGetTestCase (Fetc= h Package Node URL)

PackagePutTestCase (Fetch Package Node URL)

Synonym= AddTestCase (Default Node URL)

SynonymDeleteTestCase (Fetch synonym Node = URL)

SynonymGetTestCase (Fetch synonym Node URL)

SynonymPutTestCase (Fe= tch synonym Node URL)

ResourceGroupsAddTestCase (Add resource groups)=

R= esourceGroupsDeleteTestCase (Delete resource groups)

=

ResourceGroupsPutTes= tCase (Put resource groups)

ResourceGroupsGetTestCase (Get resource group= s)

TableSpaceAddTestCase (Check Tablespace Node)

TableSpaceDeleteTestCa= se (Check Tablespace Node)

TablespaceGetTestCase (Check Tablespace Node)<= /i>

<= i>TableSpaceUpdateTestCase (Check Tablespace Node)

=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

Please check output in fi= le: /Users/edb/Navnath/pgadmin4/web/regression/regression.log

(pgenv36) Laptop227-pn-in= :regression Navnath$=C2=A0




On W= ed, May 3, 2017 at 1:39 PM, Dave Page <dpage@pgadmin.org> wr= ote:
10.12.3 (Sierra), 1= 6GB MBP. Running in a virtualenv built from the system Python installation.= Packages are:

(pgadmin4)piranha:~ dpage$ pip freez= e
alabaster=3D=3D0.7.10
alembic=3D=3D0.9.1
ar= gs=3D=3D0.1.0
Babel=3D=3D1.3
beautifulsoup4=3D=3D4.4.1<= /div>
blinker=3D=3D1.3
chromedriver-installer=3D=3D0.0.6
click=3D=3D6.6
clint=3D=3D0.5.1
dateutils=3D=3D0.= 6.6
docutils=3D=3D0.13.1
extras=3D=3D1.0.0
fi= xtures=3D=3D3.0.0
Flask=3D=3D0.11.1
Flask-Babel=3D=3D0.= 11.1
Flask-Gravatar=3D=3D0.4.2
Flask-HTMLmin=3D=3D1.2
Flask-Login=3D=3D0.3.2
Flask-Mail=3D=3D0.9.1
F= lask-Migrate=3D=3D2.0.3
Flask-Principal=3D=3D0.4.0
Flas= k-Script=3D=3D2.0.5
Flask-Security=3D=3D1.7.5
Flask-SQL= Alchemy=3D=3D2.1
Flask-WTF=3D=3D0.12
html5lib=3D=3D1.0b= 3
htmlmin=3D=3D0.1.10
imagesize=3D=3D0.7.1
im= portlib=3D=3D1.0.3
itsdangerous=3D=3D0.24
Jinja2=3D=3D2= .7.3
linecache2=3D=3D1.0.0
Mako=3D=3D1.0.6
Ma= rkupSafe=3D=3D0.23
minify=3D=3D0.1.4
passlib=3D=3D1.6.2=
pbr=3D=3D2.0.0
pkginfo=3D=3D1.4.1
psycopg2= =3D=3D2.6.2
pycrypto=3D=3D2.6.1
Pygments=3D=3D2.2.0
pyperclip=3D=3D1.5.27
pyrsistent=3D=3D0.12.1
pyt= hon-dateutil=3D=3D2.5.0
python-editor=3D=3D1.0.3
python= -mimeparse=3D=3D1.6.0
pytz=3D=3D2014.10
requests=3D=3D2= .13.0
requests-toolbelt=3D=3D0.7.1
selenium=3D=3D3.3.1<= /div>
simplejson=3D=3D3.6.5
six=3D=3D1.10.0
snowbal= lstemmer=3D=3D1.2.1
speaklater=3D=3D1.3
Sphinx=3D=3D1.5= .3
SQLAlchemy=3D=3D1.0.14
sqlparse=3D=3D0.1.19
testscenarios=3D=3D0.5.0
testtools=3D=3D2.0.0
traceba= ck2=3D=3D1.4.0
unittest2=3D=3D1.1.0
Werkzeug=3D=3D0.9.6=
WTForms=3D=3D2.0.2


On Wed, May 3, 2017 at 7:13 AM, Navnath Gadakh = <na= vnath.gadakh@enterprisedb.com> wrote:
Hi Dave,
=C2=A0
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0I have applied and run this patch on Mac and it ran= successfully without hang up.

I used different=C2= =A0OS:=C2=A0
=C2=A0 =C2=A0 =C2=A0 =C2=A0OS X Yosemite Version= 10.10.2
=C2=A0 =C2=A0 =C2=A0 =C2=A0OS X EI Capitan Version 10.11= .6

What is your system config?



On Tue, May 2, 2017 at 4:39 PM, Dave Page <dp= age@pgadmin.org> wrote:
Hi

When testing on Mac, the testsuite neve= r exits with this patch applied. It just hangs after printing the result su= mmary.

On Fri, A= pr 28, 2017 at 2:51 PM, Navnath Gadakh <navnath.gadakh@enter= prisedb.com> wrote:
=
Hi Dave,

=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0Please find the patch for=C2=A0OS compatability issue of test-suite.<= /div>

Code Changes:

= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 1. Minor code changes done relate= d to os module in pgadmin4/web/regression/feature_utils/app_starter= .py
=C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 2. Code added in pgadmin4/web/pgadmin/utils/tes= ts/test_versioned_template_loader.py to handle path for SQL f= ile.
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 3. Code added to convert u= nicode to string in some .py files.

Note:
= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0With python2.6.6 test-suite= is failed to execute. I have created the RM=C2=A02367
=C2=A0
Thank y= ou!

<= /div>


--
Regard= s,
Navnath Gadakh

EnterpriseDB Corp= oration
The Enterprise PostgreSQL Company


<= /div>


--
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-ha= ckers




--
D= ave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB U= K: http://www.ent= erprisedb.com
The Enterprise PostgreSQL Company



--
Regards,
= Navnath Gadakh

Enterprise= DB Corporation
The Enterprise PostgreSQL Company
=




--
=
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

= EnterpriseDB UK: = http://www.enterprisedb.com
The Enterprise PostgreSQL Company



--
=
Regards,
Navnath Gadakh

EnterpriseDB Corporation
The Enterpri= se PostgreSQL Company


=
--001a113f473ad4795f054e9dda69--