Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bmfVt-0001BW-9p for pgadmin-hackers@arkaria.postgresql.org; Wed, 21 Sep 2016 11:16:29 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bmfVs-0003iK-K3 for pgadmin-hackers@arkaria.postgresql.org; Wed, 21 Sep 2016 11:16:28 +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 1bmfVd-0003Hx-Ou for pgadmin-hackers@postgresql.org; Wed, 21 Sep 2016 11:16:14 +0000 Received: from mail-qk0-x22d.google.com ([2607:f8b0:400d:c09::22d]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bmfVZ-0007B8-SZ for pgadmin-hackers@postgresql.org; Wed, 21 Sep 2016 11:16:12 +0000 Received: by mail-qk0-x22d.google.com with SMTP id n185so41769427qke.1 for ; Wed, 21 Sep 2016 04:16:09 -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=/XoFduhFjbqlHEm2VtowrB7BJnFYVLLQgDNP32NtB6o=; b=vKkbp2QEBlrzylfM4sN8KAfXinfWVaDnZen2ZFMOpiAs1GuQAIIV/0GwBwIX0ASpKR LePUCxxHHSigkbZaVKJ/Wtl2W8/tEZ3OAnPZZ374qJkoMvgH6Eajy9C5BnigFcYmypNQ XcII8TzRiduhESg2on4fs08Z4jIX4D0Z/7c127HZcXcNBkQXSpge1/Z0CQV4QBeKcbAk 9LU+OPC+DPleIIXd1nhuEKGFxVSe0TtgZWISVsv08gOcXJ2LNQsjSdpg7v2r02u+uFFD tp/YgKJx5eWjxSymGd1hBeC8OmYS8BPOBL22NynfepOZ5jqhBQKH7ktWRqpF9q5E5LFi GxDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=/XoFduhFjbqlHEm2VtowrB7BJnFYVLLQgDNP32NtB6o=; b=nIRNqLnVZn6CAaWBAB/19Qh+z3ys0Rtn32/OFe+ywVJUWdwGjs0jRlmfK0WZSZcdYi trQLCDwiqvs+2EiA1pFJxYkFJNJPvUoZJXU4VJMGgxRYBjlSlrmlbUHK9u4hyG4RlGoA KwYoUzyV8TGW5Iaw+hf6ucIDukIOWVBV+SOfrwunTlPpTWXyz8WHzgeINg6ePLCpTTPU YjMeI580CKZdxhiC4zaP3POpbZXdyPvQbAo0DDdCy7ZxHrYsBZqE+ag8Ag323kKpeGLo 7U+AgJbElUz52/8or9JJzIPj2g2Ms20oz1T89IvSpd+j1jKqOLUSmfOD5Zn6186TKa2O r6ew== X-Gm-Message-State: AE9vXwMCUVyqkhDFC2XDwxYBgbBc0A2xl2Io05xV8S0bKekMu/Qy7jDJ3paq28q5INxUpmBCyB1whgT2wAJsQBJ3 X-Received: by 10.55.215.207 with SMTP id t76mr41335849qkt.152.1474456568647; Wed, 21 Sep 2016 04:16:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.200.41.114 with HTTP; Wed, 21 Sep 2016 04:16:08 -0700 (PDT) In-Reply-To: References: From: Navnath Gadakh Date: Wed, 21 Sep 2016 16:46:08 +0530 Message-ID: Subject: Re: Regression errors - database node To: Dave Page Cc: pgadmin-hackers Content-Type: multipart/alternative; boundary=001a1149b40402efe2053d02ac5e X-Pg-Spam-Score: -2.6 (--) 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 --001a1149b40402efe2053d02ac5e Content-Type: text/plain; charset=UTF-8 Hi Dave, After a long debugging of these errors with Harshal, we found the issue is in the handling pyscopg connection. Need to add some code in the pyscopg connection manager as per Harshal. For more details, Please refer RM #1720. @Harshal, thanks for the time invested. Thanks. On Mon, Sep 19, 2016 at 9:22 PM, Dave Page wrote: > Hi Navnath > > I keep seeing the errors below when running tests. It seems to be > consistent on EPAS, but intermittent on PG. Any ideas what the issue > is? I'm fairly convinced it's a test issue not an actual problem. > > 2016-09-19 16:47:49,567:ERROR:STDERR:================================== > ==================================== > 2016-09-19 16:47:49,568:ERROR:STDERR:ERROR: runTest > (pgadmin.browser.server_groups.servers.databases.tests.test_db_get. > DatabasesGetTestCase) > 2016-09-19 16:47:49,568:ERROR:STDERR:This function will fetch added > database. (Check Databases Node URL) > 2016-09-19 16:47:49,568:ERROR:STDERR:---------------------------------- > ------------------------------------ > 2016-09-19 16:47:49,568:ERROR:STDERR:Traceback (most recent call last): > 2016-09-19 16:47:49,568:ERROR:STDERR: File > "/Users/dpage/git/pgadmin4/web/pgadmin/browser/server_ > groups/servers/databases/tests/test_db_get.py", > line 33, in runTest > 2016-09-19 16:47:49,568:ERROR:STDERR: self.db_id) > 2016-09-19 16:47:49,568:ERROR:STDERR: File > "/Users/dpage/git/pgadmin4/web/pgadmin/browser/server_ > groups/servers/databases/tests/utils.py", > line 142, in verify_database > 2016-09-19 16:47:49,568:ERROR:STDERR: follow_redirects=True) > 2016-09-19 16:47:49,568:ERROR:STDERR: File > "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/werkzeug/test.py", > line 788, in post > 2016-09-19 16:47:49,568:ERROR:STDERR: return self.open(*args, **kw) > 2016-09-19 16:47:49,568:ERROR:STDERR: File > "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/testing.py", > line 113, in open > 2016-09-19 16:47:49,568:ERROR:STDERR: follow_redirects=follow_ > redirects) > 2016-09-19 16:47:49,568:ERROR:STDERR: File > "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/werkzeug/test.py", > line 751, in open > 2016-09-19 16:47:49,568:ERROR:STDERR: response = > self.run_wsgi_app(environ, buffered=buffered) > 2016-09-19 16:47:49,568:ERROR:STDERR: File > "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/werkzeug/test.py", > line 668, in run_wsgi_app > 2016-09-19 16:47:49,568:ERROR:STDERR: rv = > run_wsgi_app(self.application, environ, buffered=buffered) > 2016-09-19 16:47:49,568:ERROR:STDERR: File > "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/werkzeug/test.py", > line 871, in run_wsgi_app > 2016-09-19 16:47:49,568:ERROR:STDERR: app_rv = app(environ, > start_response) > 2016-09-19 16:47:49,568:ERROR:STDERR: File > "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/app.py", > line 2000, in __call__ > 2016-09-19 16:47:49,568:ERROR:STDERR: return self.wsgi_app(environ, > start_response) > 2016-09-19 16:47:49,568:ERROR:STDERR: File > "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/app.py", > line 1991, in wsgi_app > 2016-09-19 16:47:49,568:ERROR:STDERR: response = > self.make_response(self.handle_exception(e)) > 2016-09-19 16:47:49,568:ERROR:STDERR: File > "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/app.py", > line 1567, in handle_exception > 2016-09-19 16:47:49,568:ERROR:STDERR: reraise(exc_type, exc_value, tb) > 2016-09-19 16:47:49,569:ERROR:STDERR: File > "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/app.py", > line 1988, in wsgi_app > 2016-09-19 16:47:49,569:ERROR:STDERR: response = > self.full_dispatch_request() > 2016-09-19 16:47:49,569:ERROR:STDERR: File > "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/app.py", > line 1641, in full_dispatch_request > 2016-09-19 16:47:49,569:ERROR:STDERR: rv = self.handle_user_exception(e) > 2016-09-19 16:47:49,569:ERROR:STDERR: File > "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/app.py", > line 1544, in handle_user_exception > 2016-09-19 16:47:49,569:ERROR:STDERR: reraise(exc_type, exc_value, tb) > 2016-09-19 16:47:49,569:ERROR:STDERR: File > "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/app.py", > line 1639, in full_dispatch_request > 2016-09-19 16:47:49,569:ERROR:STDERR: rv = self.dispatch_request() > 2016-09-19 16:47:49,569:ERROR:STDERR: File > "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/app.py", > line 1625, in dispatch_request > 2016-09-19 16:47:49,569:ERROR:STDERR: return > self.view_functions[rule.endpoint](**req.view_args) > 2016-09-19 16:47:49,569:ERROR:STDERR: File > "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/views.py", > line 84, in view > 2016-09-19 16:47:49,569:ERROR:STDERR: return > self.dispatch_request(*args, **kwargs) > 2016-09-19 16:47:49,569:ERROR:STDERR: File > "/Users/dpage/git/pgadmin4/web/pgadmin/browser/utils.py", line 235, in > dispatch_request > 2016-09-19 16:47:49,569:ERROR:STDERR: return method(*args, **kwargs) > 2016-09-19 16:47:49,569:ERROR:STDERR: File > "/Users/dpage/git/pgadmin4/web/pgadmin/browser/server_ > groups/servers/databases/__init__.py", > line 364, in connect > 2016-09-19 16:47:49,569:ERROR:STDERR: conn = > manager.connection(did=did, auto_reconnect=True) > 2016-09-19 16:47:49,569:ERROR:STDERR: File > "/Users/dpage/git/pgadmin4/web/pgadmin/utils/driver/psycopg2/__init__.py", > line 1447, in connection > 2016-09-19 16:47:49,569:ERROR:STDERR: "Couldn't find the specified > database." > 2016-09-19 16:47:49,569:ERROR:STDERR:Exception: Couldn't find the > specified database. > 2016-09-19 16:47:49,569:ERROR:STDERR:================================== > ==================================== > 2016-09-19 16:47:49,569:ERROR:STDERR:ERROR: runTest > (pgadmin.browser.server_groups.servers.databases.tests.test_db_put. > DatabasesUpdateTestCase) > 2016-09-19 16:47:49,569:ERROR:STDERR:This function will update the > comments field of database. (Check Databases Node) > 2016-09-19 16:47:49,569:ERROR:STDERR:---------------------------------- > ------------------------------------ > 2016-09-19 16:47:49,570:ERROR:STDERR:Traceback (most recent call last): > 2016-09-19 16:47:49,570:ERROR:STDERR: File > "/Users/dpage/git/pgadmin4/web/pgadmin/browser/server_ > groups/servers/databases/tests/test_db_put.py", > line 37, in runTest > 2016-09-19 16:47:49,570:ERROR:STDERR: db_id) > 2016-09-19 16:47:49,570:ERROR:STDERR: File > "/Users/dpage/git/pgadmin4/web/pgadmin/browser/server_ > groups/servers/databases/tests/utils.py", > line 142, in verify_database > 2016-09-19 16:47:49,570:ERROR:STDERR: follow_redirects=True) > 2016-09-19 16:47:49,570:ERROR:STDERR: File > "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/werkzeug/test.py", > line 788, in post > 2016-09-19 16:47:49,570:ERROR:STDERR: return self.open(*args, **kw) > 2016-09-19 16:47:49,570:ERROR:STDERR: File > "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/testing.py", > line 113, in open > 2016-09-19 16:47:49,570:ERROR:STDERR: follow_redirects=follow_ > redirects) > 2016-09-19 16:47:49,570:ERROR:STDERR: File > "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/werkzeug/test.py", > line 751, in open > 2016-09-19 16:47:49,570:ERROR:STDERR: response = > self.run_wsgi_app(environ, buffered=buffered) > 2016-09-19 16:47:49,570:ERROR:STDERR: File > "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/werkzeug/test.py", > line 668, in run_wsgi_app > 2016-09-19 16:47:49,570:ERROR:STDERR: rv = > run_wsgi_app(self.application, environ, buffered=buffered) > 2016-09-19 16:47:49,570:ERROR:STDERR: File > "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/werkzeug/test.py", > line 871, in run_wsgi_app > 2016-09-19 16:47:49,570:ERROR:STDERR: app_rv = app(environ, > start_response) > 2016-09-19 16:47:49,570:ERROR:STDERR: File > "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/app.py", > line 2000, in __call__ > 2016-09-19 16:47:49,570:ERROR:STDERR: return self.wsgi_app(environ, > start_response) > 2016-09-19 16:47:49,570:ERROR:STDERR: File > "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/app.py", > line 1991, in wsgi_app > 2016-09-19 16:47:49,570:ERROR:STDERR: response = > self.make_response(self.handle_exception(e)) > 2016-09-19 16:47:49,570:ERROR:STDERR: File > "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/app.py", > line 1567, in handle_exception > 2016-09-19 16:47:49,570:ERROR:STDERR: reraise(exc_type, exc_value, tb) > 2016-09-19 16:47:49,570:ERROR:STDERR: File > "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/app.py", > line 1988, in wsgi_app > 2016-09-19 16:47:49,570:ERROR:STDERR: response = > self.full_dispatch_request() > 2016-09-19 16:47:49,570:ERROR:STDERR: File > "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/app.py", > line 1641, in full_dispatch_request > 2016-09-19 16:47:49,570:ERROR:STDERR: rv = self.handle_user_exception(e) > 2016-09-19 16:47:49,570:ERROR:STDERR: File > "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/app.py", > line 1544, in handle_user_exception > 2016-09-19 16:47:49,570:ERROR:STDERR: reraise(exc_type, exc_value, tb) > 2016-09-19 16:47:49,570:ERROR:STDERR: File > "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/app.py", > line 1639, in full_dispatch_request > 2016-09-19 16:47:49,570:ERROR:STDERR: rv = self.dispatch_request() > 2016-09-19 16:47:49,570:ERROR:STDERR: File > "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/app.py", > line 1625, in dispatch_request > 2016-09-19 16:47:49,571:ERROR:STDERR: return > self.view_functions[rule.endpoint](**req.view_args) > 2016-09-19 16:47:49,571:ERROR:STDERR: File > "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/views.py", > line 84, in view > 2016-09-19 16:47:49,571:ERROR:STDERR: return > self.dispatch_request(*args, **kwargs) > 2016-09-19 16:47:49,571:ERROR:STDERR: File > "/Users/dpage/git/pgadmin4/web/pgadmin/browser/utils.py", line 235, in > dispatch_request > 2016-09-19 16:47:49,571:ERROR:STDERR: return method(*args, **kwargs) > 2016-09-19 16:47:49,571:ERROR:STDERR: File > "/Users/dpage/git/pgadmin4/web/pgadmin/browser/server_ > groups/servers/databases/__init__.py", > line 364, in connect > 2016-09-19 16:47:49,571:ERROR:STDERR: conn = > manager.connection(did=did, auto_reconnect=True) > 2016-09-19 16:47:49,571:ERROR:STDERR: File > "/Users/dpage/git/pgadmin4/web/pgadmin/utils/driver/psycopg2/__init__.py", > line 1447, in connection > 2016-09-19 16:47:49,571:ERROR:STDERR: "Couldn't find the specified > database." > 2016-09-19 16:47:49,571:ERROR:STDERR:Exception: Couldn't find the > specified database. > 2016-09-19 16:47:49,571:ERROR:STDERR:================================== > ==================================== > 2016-09-19 16:47:49,571:ERROR:STDERR:FAIL: runTest > (pgadmin.browser.server_groups.servers.databases.tests.test_db_delete. > DatabaseDeleteTestCase) > 2016-09-19 16:47:49,571:ERROR:STDERR:This function will delete the > database. (Check Databases Node URL) > 2016-09-19 16:47:49,571:ERROR:STDERR:---------------------------------- > ------------------------------------ > 2016-09-19 16:47:49,571:ERROR:STDERR:Traceback (most recent call last): > 2016-09-19 16:47:49,571:ERROR:STDERR: File > "/Users/dpage/git/pgadmin4/web/pgadmin/browser/server_ > groups/servers/databases/tests/test_db_delete.py", > line 38, in runTest > 2016-09-19 16:47:49,571:ERROR:STDERR: > self.assertEquals(response.status_code, 200) > 2016-09-19 16:47:49,571:ERROR:STDERR:AssertionError: 410 != 200 > 2016-09-19 16:47:49,571:ERROR:STDERR:---------------------------------- > ------------------------------------ > 2016-09-19 16:47:49,571:ERROR:STDERR:Ran 25 tests in 12.664s > 2016-09-19 16:47:49,571:ERROR:STDERR:FAILED > 2016-09-19 16:47:49,571:ERROR:STDERR: (failures=1, errors=2) > 2016-09-19 16:47:50,033:ERROR:STDERR: > 2016-09-19 16:47:50,033:ERROR:STDERR:Test Result Summary > 2016-09-19 16:47:50,033:ERROR:STDERR:============================ > 2016-09-19 16:47:50,033:ERROR:STDERR:Regression - EPAS 9.5: 22 tests > passed, 3 tests failed : > 2016-09-19 16:47:50,033:ERROR:STDERR: DatabaseDeleteTestCase > 2016-09-19 16:47:50,033:ERROR:STDERR: DatabasesGetTestCase > 2016-09-19 16:47:50,033:ERROR:STDERR: DatabasesUpdateTestCase > 2016-09-19 16:47:50,033:ERROR:STDERR:Regression - PG 9.5: 22 tests > passed, 3 tests failed : > 2016-09-19 16:47:50,033:ERROR:STDERR: DatabaseDeleteTestCase > 2016-09-19 16:47:50,033:ERROR:STDERR: DatabasesGetTestCase > 2016-09-19 16:47:50,033:ERROR:STDERR: DatabasesUpdateTestCase > 2016-09-19 16:47:50,034:ERROR:STDERR:Regression - PG 9.4: 25 tests > passed, 0 tests failed > 2016-09-19 16:47:50,034:ERROR:STDERR:============================ > > > > -- > Dave Page > Blog: http://pgsnake.blogspot.com > Twitter: @pgsnake > > EnterpriseDB UK: http://www.enterprisedb.com > The Enterprise PostgreSQL Company > -- Regards, Navnath --001a1149b40402efe2053d02ac5e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Dave,
=C2=A0 =C2=A0 =C2=A0After a long debugging=C2= =A0of these=C2=A0errors=C2=A0with Harshal, we found the issue is in the han= dling pyscopg connection. Need to add some code in the pyscopg=C2=A0connect= ion manager as per Harshal.

For more details, Plea= se refer RM #1720.




On Mon, Sep 19, 2016 at= 9:22 PM, Dave Page <dpage@pgadmin.org> wrote:
Hi Navnath

I keep seeing the errors below when running tests. It seems to be
consistent on EPAS, but intermittent on PG. Any ideas what the issue
is? I'm fairly convinced it's a test issue not an actual problem.
2016-09-19 16:47:49,567:ERROR:STDERR:=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
2016-09-19 16:47:49,568:ERROR:STDERR:ERROR: runTest
(pgadmin.browser.server_groups.servers.databases.tests.test_db_ge= t.DatabasesGetTestCase)
2016-09-19 16:47:49,568:ERROR:STDERR:This function will fetch added
database. (Check Databases Node URL)
2016-09-19 16:47:49,568:ERROR:STDERR:---------------------------------= -------------------------------------
2016-09-19 16:47:49,568:ERROR:STDERR:Traceback (most recent call last)= :
2016-09-19 16:47:49,568:ERROR:STDERR:=C2=A0 File
"/Users/dpage/git/pgadmin4/web/pgadmin/browser/server_groups= /servers/databases/tests/test_db_get.py",
line 33, in runTest
2016-09-19 16:47:49,568:ERROR:STDERR:=C2=A0 =C2=A0 self.db_id)
2016-09-19 16:47:49,568:ERROR:STDERR:=C2=A0 File
"/Users/dpage/git/pgadmin4/web/pgadmin/browser/server_groups= /servers/databases/tests/utils.py",
line 142, in verify_database
2016-09-19 16:47:49,568:ERROR:STDERR:=C2=A0 =C2=A0 follow_redirects=3DTrue)=
2016-09-19 16:47:49,568:ERROR:STDERR:=C2=A0 File
"/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site-packa= ges/werkzeug/test.py",
line 788, in post
2016-09-19 16:47:49,568:ERROR:STDERR:=C2=A0 =C2=A0 return self.open(*args, = **kw)
2016-09-19 16:47:49,568:ERROR:STDERR:=C2=A0 File
"/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site-packa= ges/flask/testing.py",
line 113, in open
2016-09-19 16:47:49,568:ERROR:STDERR:=C2=A0 =C2=A0 follow_redirects=3Dfollo= w_redirects)
2016-09-19 16:47:49,568:ERROR:STDERR:=C2=A0 File
"/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site-packa= ges/werkzeug/test.py",
line 751, in open
2016-09-19 16:47:49,568:ERROR:STDERR:=C2=A0 =C2=A0 response =3D
self.run_wsgi_app(environ, buffered=3Dbuffered)
2016-09-19 16:47:49,568:ERROR:STDERR:=C2=A0 File
"/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site-packa= ges/werkzeug/test.py",
line 668, in run_wsgi_app
2016-09-19 16:47:49,568:ERROR:STDERR:=C2=A0 =C2=A0 rv =3D
run_wsgi_app(self.application, environ, buffered=3Dbuffered)
2016-09-19 16:47:49,568:ERROR:STDERR:=C2=A0 File
"/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site-packa= ges/werkzeug/test.py",
line 871, in run_wsgi_app
2016-09-19 16:47:49,568:ERROR:STDERR:=C2=A0 =C2=A0 app_rv =3D app(environ, = start_response)
2016-09-19 16:47:49,568:ERROR:STDERR:=C2=A0 File
"/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site-packa= ges/flask/app.py",
line 2000, in __call__
2016-09-19 16:47:49,568:ERROR:STDERR:=C2=A0 =C2=A0 return self.wsgi_app(env= iron,
start_response)
2016-09-19 16:47:49,568:ERROR:STDERR:=C2=A0 File
"/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site-packa= ges/flask/app.py",
line 1991, in wsgi_app
2016-09-19 16:47:49,568:ERROR:STDERR:=C2=A0 =C2=A0 response =3D
self.make_response(self.handle_exception(e))
2016-09-19 16:47:49,568:ERROR:STDERR:=C2=A0 File
"/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site-packa= ges/flask/app.py",
line 1567, in handle_exception
2016-09-19 16:47:49,568:ERROR:STDERR:=C2=A0 =C2=A0 reraise(exc_type, exc_va= lue, tb)
2016-09-19 16:47:49,569:ERROR:STDERR:=C2=A0 File
"/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site-packa= ges/flask/app.py",
line 1988, in wsgi_app
2016-09-19 16:47:49,569:ERROR:STDERR:=C2=A0 =C2=A0 response =3D self.full_d= ispatch_request()
2016-09-19 16:47:49,569:ERROR:STDERR:=C2=A0 File
"/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site-packa= ges/flask/app.py",
line 1641, in full_dispatch_request
2016-09-19 16:47:49,569:ERROR:STDERR:=C2=A0 =C2=A0 rv =3D self.handle_user_= exception(e)
2016-09-19 16:47:49,569:ERROR:STDERR:=C2=A0 File
"/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site-packa= ges/flask/app.py",
line 1544, in handle_user_exception
2016-09-19 16:47:49,569:ERROR:STDERR:=C2=A0 =C2=A0 reraise(exc_type, exc_va= lue, tb)
2016-09-19 16:47:49,569:ERROR:STDERR:=C2=A0 File
"/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site-packa= ges/flask/app.py",
line 1639, in full_dispatch_request
2016-09-19 16:47:49,569:ERROR:STDERR:=C2=A0 =C2=A0 rv =3D self.dispatch_req= uest()
2016-09-19 16:47:49,569:ERROR:STDERR:=C2=A0 File
"/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site-packa= ges/flask/app.py",
line 1625, in dispatch_request
2016-09-19 16:47:49,569:ERROR:STDERR:=C2=A0 =C2=A0 return
self.view_functions[rule.endpoint](**req.view_args)
2016-09-19 16:47:49,569:ERROR:STDERR:=C2=A0 File
"/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site-packa= ges/flask/views.py",
line 84, in view
2016-09-19 16:47:49,569:ERROR:STDERR:=C2=A0 =C2=A0 return
self.dispatch_request(*args, **kwargs)
2016-09-19 16:47:49,569:ERROR:STDERR:=C2=A0 File
"/Users/dpage/git/pgadmin4/web/pgadmin/browser/utils.py", li= ne 235, in
dispatch_request
2016-09-19 16:47:49,569:ERROR:STDERR:=C2=A0 =C2=A0 return method(*args, **k= wargs)
2016-09-19 16:47:49,569:ERROR:STDERR:=C2=A0 File
"/Users/dpage/git/pgadmin4/web/pgadmin/browser/server_groups= /servers/databases/__init__.py",
line 364, in connect
2016-09-19 16:47:49,569:ERROR:STDERR:=C2=A0 =C2=A0 conn =3D
manager.connection(did=3Ddid, auto_reconnect=3DTrue)
2016-09-19 16:47:49,569:ERROR:STDERR:=C2=A0 File
"/Users/dpage/git/pgadmin4/web/pgadmin/utils/driver/psycopg2= /__init__.py",
line 1447, in connection
2016-09-19 16:47:49,569:ERROR:STDERR:=C2=A0 =C2=A0 "Couldn't find = the specified database."
2016-09-19 16:47:49,569:ERROR:STDERR:Exception: Couldn't find the<= br> specified database.
2016-09-19 16:47:49,569:ERROR:STDERR:=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
2016-09-19 16:47:49,569:ERROR:STDERR:ERROR: runTest
(pgadmin.browser.server_groups.servers.databases.tests.test_db_pu= t.DatabasesUpdateTestCase)
2016-09-19 16:47:49,569:ERROR:STDERR:This function will update the
comments field of database. (Check Databases Node)
2016-09-19 16:47:49,569:ERROR:STDERR:---------------------------------= -------------------------------------
2016-09-19 16:47:49,570:ERROR:STDERR:Traceback (most recent call last)= :
2016-09-19 16:47:49,570:ERROR:STDERR:=C2=A0 File
"/Users/dpage/git/pgadmin4/web/pgadmin/browser/server_groups= /servers/databases/tests/test_db_put.py",
line 37, in runTest
2016-09-19 16:47:49,570:ERROR:STDERR:=C2=A0 =C2=A0 db_id)
2016-09-19 16:47:49,570:ERROR:STDERR:=C2=A0 File
"/Users/dpage/git/pgadmin4/web/pgadmin/browser/server_groups= /servers/databases/tests/utils.py",
line 142, in verify_database
2016-09-19 16:47:49,570:ERROR:STDERR:=C2=A0 =C2=A0 follow_redirects=3DTrue)=
2016-09-19 16:47:49,570:ERROR:STDERR:=C2=A0 File
"/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site-packa= ges/werkzeug/test.py",
line 788, in post
2016-09-19 16:47:49,570:ERROR:STDERR:=C2=A0 =C2=A0 return self.open(*args, = **kw)
2016-09-19 16:47:49,570:ERROR:STDERR:=C2=A0 File
"/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site-packa= ges/flask/testing.py",
line 113, in open
2016-09-19 16:47:49,570:ERROR:STDERR:=C2=A0 =C2=A0 follow_redirects=3Dfollo= w_redirects)
2016-09-19 16:47:49,570:ERROR:STDERR:=C2=A0 File
"/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site-packa= ges/werkzeug/test.py",
line 751, in open
2016-09-19 16:47:49,570:ERROR:STDERR:=C2=A0 =C2=A0 response =3D
self.run_wsgi_app(environ, buffered=3Dbuffered)
2016-09-19 16:47:49,570:ERROR:STDERR:=C2=A0 File
"/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site-packa= ges/werkzeug/test.py",
line 668, in run_wsgi_app
2016-09-19 16:47:49,570:ERROR:STDERR:=C2=A0 =C2=A0 rv =3D
run_wsgi_app(self.application, environ, buffered=3Dbuffered)
2016-09-19 16:47:49,570:ERROR:STDERR:=C2=A0 File
"/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site-packa= ges/werkzeug/test.py",
line 871, in run_wsgi_app
2016-09-19 16:47:49,570:ERROR:STDERR:=C2=A0 =C2=A0 app_rv =3D app(environ, = start_response)
2016-09-19 16:47:49,570:ERROR:STDERR:=C2=A0 File
"/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site-packa= ges/flask/app.py",
line 2000, in __call__
2016-09-19 16:47:49,570:ERROR:STDERR:=C2=A0 =C2=A0 return self.wsgi_app(env= iron,
start_response)
2016-09-19 16:47:49,570:ERROR:STDERR:=C2=A0 File
"/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site-packa= ges/flask/app.py",
line 1991, in wsgi_app
2016-09-19 16:47:49,570:ERROR:STDERR:=C2=A0 =C2=A0 response =3D
self.make_response(self.handle_exception(e))
2016-09-19 16:47:49,570:ERROR:STDERR:=C2=A0 File
"/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site-packa= ges/flask/app.py",
line 1567, in handle_exception
2016-09-19 16:47:49,570:ERROR:STDERR:=C2=A0 =C2=A0 reraise(exc_type, exc_va= lue, tb)
2016-09-19 16:47:49,570:ERROR:STDERR:=C2=A0 File
"/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site-packa= ges/flask/app.py",
line 1988, in wsgi_app
2016-09-19 16:47:49,570:ERROR:STDERR:=C2=A0 =C2=A0 response =3D self.full_d= ispatch_request()
2016-09-19 16:47:49,570:ERROR:STDERR:=C2=A0 File
"/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site-packa= ges/flask/app.py",
line 1641, in full_dispatch_request
2016-09-19 16:47:49,570:ERROR:STDERR:=C2=A0 =C2=A0 rv =3D self.handle_user_= exception(e)
2016-09-19 16:47:49,570:ERROR:STDERR:=C2=A0 File
"/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site-packa= ges/flask/app.py",
line 1544, in handle_user_exception
2016-09-19 16:47:49,570:ERROR:STDERR:=C2=A0 =C2=A0 reraise(exc_type, exc_va= lue, tb)
2016-09-19 16:47:49,570:ERROR:STDERR:=C2=A0 File
"/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site-packa= ges/flask/app.py",
line 1639, in full_dispatch_request
2016-09-19 16:47:49,570:ERROR:STDERR:=C2=A0 =C2=A0 rv =3D self.dispatch_req= uest()
2016-09-19 16:47:49,570:ERROR:STDERR:=C2=A0 File
"/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site-packa= ges/flask/app.py",
line 1625, in dispatch_request
2016-09-19 16:47:49,571:ERROR:STDERR:=C2=A0 =C2=A0 return
self.view_functions[rule.endpoint](**req.view_args)
2016-09-19 16:47:49,571:ERROR:STDERR:=C2=A0 File
"/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site-packa= ges/flask/views.py",
line 84, in view
2016-09-19 16:47:49,571:ERROR:STDERR:=C2=A0 =C2=A0 return
self.dispatch_request(*args, **kwargs)
2016-09-19 16:47:49,571:ERROR:STDERR:=C2=A0 File
"/Users/dpage/git/pgadmin4/web/pgadmin/browser/utils.py", li= ne 235, in
dispatch_request
2016-09-19 16:47:49,571:ERROR:STDERR:=C2=A0 =C2=A0 return method(*args, **k= wargs)
2016-09-19 16:47:49,571:ERROR:STDERR:=C2=A0 File
"/Users/dpage/git/pgadmin4/web/pgadmin/browser/server_groups= /servers/databases/__init__.py",
line 364, in connect
2016-09-19 16:47:49,571:ERROR:STDERR:=C2=A0 =C2=A0 conn =3D
manager.connection(did=3Ddid, auto_reconnect=3DTrue)
2016-09-19 16:47:49,571:ERROR:STDERR:=C2=A0 File
"/Users/dpage/git/pgadmin4/web/pgadmin/utils/driver/psycopg2= /__init__.py",
line 1447, in connection
2016-09-19 16:47:49,571:ERROR:STDERR:=C2=A0 =C2=A0 "Couldn't find = the specified database."
2016-09-19 16:47:49,571:ERROR:STDERR:Exception: Couldn't find the<= br> specified database.
2016-09-19 16:47:49,571:ERROR:STDERR:=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
2016-09-19 16:47:49,571:ERROR:STDERR:FAIL: runTest
(pgadmin.browser.server_groups.servers.databases.tests.test_db_de= lete.DatabaseDeleteTestCase)
2016-09-19 16:47:49,571:ERROR:STDERR:This function will delete the
database. (Check Databases Node URL)
2016-09-19 16:47:49,571:ERROR:STDERR:---------------------------------= -------------------------------------
2016-09-19 16:47:49,571:ERROR:STDERR:Traceback (most recent call last)= :
2016-09-19 16:47:49,571:ERROR:STDERR:=C2=A0 File
"/Users/dpage/git/pgadmin4/web/pgadmin/browser/server_groups= /servers/databases/tests/test_db_delete.py",
line 38, in runTest
2016-09-19 16:47:49,571:ERROR:STDERR:
self.assertEquals(response.status_code, 200)
2016-09-19 16:47:49,571:ERROR:STDERR:AssertionError: 410 !=3D 200
2016-09-19 16:47:49,571:ERROR:STDERR:---------------------------------= -------------------------------------
2016-09-19 16:47:49,571:ERROR:STDERR:Ran 25 tests in 12.664s
2016-09-19 16:47:49,571:ERROR:STDERR:FAILED
2016-09-19 16:47:49,571:ERROR:STDERR: (failures=3D1, errors=3D2)
2016-09-19 16:47:50,033:ERROR:STDERR:
2016-09-19 16:47:50,033:ERROR:STDERR:Test Result Summary
2016-09-19 16:47:50,033:ERROR:STDERR:=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
2016-09-19 16:47:50,033:ERROR:STDERR:Regression - EPAS 9.5: 22 tests passed, 3 tests failed :
2016-09-19 16:47:50,033:ERROR:STDERR:=C2=A0 DatabaseDeleteTestCase
2016-09-19 16:47:50,033:ERROR:STDERR:=C2=A0 DatabasesGetTestCase
2016-09-19 16:47:50,033:ERROR:STDERR:=C2=A0 DatabasesUpdateTestCase
2016-09-19 16:47:50,033:ERROR:STDERR:Regression - PG 9.5: 22 tests
passed, 3 tests failed :
2016-09-19 16:47:50,033:ERROR:STDERR:=C2=A0 DatabaseDeleteTestCase
2016-09-19 16:47:50,033:ERROR:STDERR:=C2=A0 DatabasesGetTestCase
2016-09-19 16:47:50,033:ERROR:STDERR:=C2=A0 DatabasesUpdateTestCase
2016-09-19 16:47:50,034:ERROR:STDERR:Regression - PG 9.4: 25 tests
passed, 0 tests failed
2016-09-19 16:47:50,034:ERROR:STDERR:=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



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

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



--
Regards,
Navnath

=

--001a1149b40402efe2053d02ac5e--