Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bm0rd-0001VO-LG for pgadmin-hackers@arkaria.postgresql.org; Mon, 19 Sep 2016 15:52:13 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bm0rd-0002PW-8i for pgadmin-hackers@arkaria.postgresql.org; Mon, 19 Sep 2016 15:52:13 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bm0rc-0002PQ-IY for pgadmin-hackers@postgresql.org; Mon, 19 Sep 2016 15:52:12 +0000 Received: from mail-io0-x231.google.com ([2607:f8b0:4001:c06::231]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bm0rY-00082E-Ig for pgadmin-hackers@postgresql.org; Mon, 19 Sep 2016 15:52:12 +0000 Received: by mail-io0-x231.google.com with SMTP id m186so95473332ioa.2 for ; Mon, 19 Sep 2016 08:52:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pgadmin-org.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to:cc; bh=wF2q/Y0A5Ny2fi+mBxeXOHM8CphQowpGtis647qhjE4=; b=ChghQSNhql/+muxyPe3P6VKAMcLCFRz82FFUlsLn43R0LvsbrQLbsBMye07tEOaBmi HOnlvxUxuv+Me1n3Ydd0Cg2py0qv7/VuibOXJboHzx32RKx1z3vA802BLdTRZh4VLYRi zwwqj8yMAmsqnjqHBrbw8+Qwaa53OauWp3xsHfUxdA8NxMEA9lMkUAODNgskd7sEs/2D Rw/rWmlxsC8jU9K5FbYPlMUQL2po1pWz3jhyXlKzsoTvOUY8ImY/ZJ6BmuhO4FOPTacx zYltO2SJ4Zah/u5rMFReVuUF+3DSdGMAHp3od9VJouqWdTbmajmq29YRRUbzP93Wjlpq AThA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=wF2q/Y0A5Ny2fi+mBxeXOHM8CphQowpGtis647qhjE4=; b=TYY5tfLeBxIpZWFQmWlkyQRtqK5mOD4gTarUq/NCFMUcfYBx2ZmyD+M7vJ+JEg1P4P tqmjJfMy3hc9YufPwdz7YvAAyAOBiSR4xwBSoA7K0aXYbfNtZg+TRgajhOh6QHg1mpFE TAY1KZsc9rR2dO9qkmLG69F+Q372EyURTdjykts6Q43kog0RxnGuRspQjTovX0me3n7L LWniYGBHXO0XGP82mn/VYbjNQBWQFyzoLVpxlJrI/wUBh6p9URUQ9dEpYouf1Bl7+6VX fzddZKzn1NxfbbAvhFZ37vkATLQaIquhgnv3fZ4JG+RNfzK262oXARlGbgpRlgWAP9eF qgcQ== X-Gm-Message-State: AE9vXwPxfF5HTzT7bBdzU571I16msaGccebviVZd5sFe+8vzlNrQZoRCnP5kM6rv7vXE56AhbwJpJcKHCCnGSA== X-Received: by 10.107.53.206 with SMTP id k75mr38080628ioo.195.1474300326916; Mon, 19 Sep 2016 08:52:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.1.203 with HTTP; Mon, 19 Sep 2016 08:52:06 -0700 (PDT) From: Dave Page Date: Mon, 19 Sep 2016 16:52:06 +0100 Message-ID: Subject: Regression errors - database node To: Navnath Gadakh Cc: pgadmin-hackers Content-Type: text/plain; charset=UTF-8 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 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 -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers