See <https://jenkins.pgadmin.org/job/pgadmin4-master-python33/170/display/redirect?page=changes>
Changes: [Dave Page] Use a more sensible name for Query Tool tabs. Fixes #2482 ------------------------------------------ [...truncated 270.64 KB...] File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python33/ws/web/pgadmin/browser/server_groups/servers/tests/utils.py",> line 32, in connect_server assert response.status_code == 200 AssertionError ====================================================================== FAIL: runTest (pgadmin.browser.server_groups.servers.databases.schemas.views.tests.test_views_get.ViewsGetTestCase) Get materialized view under schema node ---------------------------------------------------------------------- Traceback (most recent call last): File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python33/ws/web/pgadmin/browser/server_groups/servers/databases/schemas/views/tests/test_views_get.py",> line 47, in setUp server_response = server_utils.connect_server(self, self.server_id) File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python33/ws/web/pgadmin/browser/server_groups/servers/tests/utils.py",> line 32, in connect_server assert response.status_code == 200 AssertionError ====================================================================== FAIL: runTest (pgadmin.browser.server_groups.servers.databases.schemas.views.tests.test_views_put.ViewsUpdateTestCase) Update view under schema node ---------------------------------------------------------------------- Traceback (most recent call last): File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python33/ws/web/pgadmin/browser/server_groups/servers/databases/schemas/views/tests/test_views_put.py",> line 48, in setUp server_response = server_utils.connect_server(self, self.server_id) File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python33/ws/web/pgadmin/browser/server_groups/servers/tests/utils.py",> line 32, in connect_server assert response.status_code == 200 AssertionError ====================================================================== FAIL: runTest (pgadmin.browser.server_groups.servers.databases.schemas.views.tests.test_views_put.ViewsUpdateTestCase) Update materialized view under schema node ---------------------------------------------------------------------- Traceback (most recent call last): File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python33/ws/web/pgadmin/browser/server_groups/servers/databases/schemas/views/tests/test_views_put.py",> line 48, in setUp server_response = server_utils.connect_server(self, self.server_id) File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python33/ws/web/pgadmin/browser/server_groups/servers/tests/utils.py",> line 32, in connect_server assert response.status_code == 200 AssertionError ====================================================================== FAIL: runTest (pgadmin.browser.server_groups.servers.databases.tests.test_db_add.DatabaseAddTestCase) Check Databases Node URL ---------------------------------------------------------------------- Traceback (most recent call last): File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python33/ws/web/pgadmin/browser/server_groups/servers/databases/tests/test_db_add.py",> line 33, in runTest server_response = server_utils.connect_server(self, self.server_id) File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python33/ws/web/pgadmin/browser/server_groups/servers/tests/utils.py",> line 32, in connect_server assert response.status_code == 200 AssertionError ====================================================================== FAIL: runTest (pgadmin.browser.server_groups.servers.databases.tests.test_db_delete.DatabaseDeleteTestCase) Check Databases Node URL ---------------------------------------------------------------------- Traceback (most recent call last): File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python33/ws/web/pgadmin/browser/server_groups/servers/databases/tests/test_db_delete.py",> line 35, in runTest server_response = server_utils.connect_server(self, self.server_id) File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python33/ws/web/pgadmin/browser/server_groups/servers/tests/utils.py",> line 32, in connect_server assert response.status_code == 200 AssertionError ====================================================================== FAIL: runTest (pgadmin.browser.server_groups.servers.databases.tests.test_db_get.DatabasesGetTestCase) Check Databases Node URL ---------------------------------------------------------------------- Traceback (most recent call last): File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python33/ws/web/pgadmin/browser/server_groups/servers/databases/tests/test_db_get.py",> line 33, in runTest db_id) File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python33/ws/web/pgadmin/browser/server_groups/servers/databases/tests/utils.py",> line 134, in connect_database server_utils.connect_server(self, server_id) File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python33/ws/web/pgadmin/browser/server_groups/servers/tests/utils.py",> line 32, in connect_server assert response.status_code == 200 AssertionError ====================================================================== FAIL: runTest (pgadmin.browser.server_groups.servers.databases.tests.test_db_put.DatabasesUpdateTestCase) Check Databases Node ---------------------------------------------------------------------- Traceback (most recent call last): File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python33/ws/web/pgadmin/browser/server_groups/servers/databases/tests/test_db_put.py",> line 39, in runTest self.db_id) File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python33/ws/web/pgadmin/browser/server_groups/servers/databases/tests/utils.py",> line 134, in connect_database server_utils.connect_server(self, server_id) File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python33/ws/web/pgadmin/browser/server_groups/servers/tests/utils.py",> line 32, in connect_server assert response.status_code == 200 AssertionError ====================================================================== FAIL: runTest (pgadmin.browser.server_groups.servers.resource_groups.tests.test_resource_groups_add.ResourceGroupsAddTestCase) Add resource groups ---------------------------------------------------------------------- Traceback (most recent call last): File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python33/ws/web/pgadmin/browser/server_groups/servers/resource_groups/tests/test_resource_groups_add.py",> line 28, in setUp server_con = server_utils.connect_server(self, self.server_id) File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python33/ws/web/pgadmin/browser/server_groups/servers/tests/utils.py",> line 32, in connect_server assert response.status_code == 200 AssertionError ====================================================================== FAIL: runTest (pgadmin.browser.server_groups.servers.resource_groups.tests.test_resource_groups_delete.ResourceGroupsDeleteTestCase) Delete resource groups ---------------------------------------------------------------------- Traceback (most recent call last): File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python33/ws/web/pgadmin/browser/server_groups/servers/resource_groups/tests/test_resource_groups_delete.py",> line 27, in setUp server_response = server_utils.connect_server(self, self.server_id) File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python33/ws/web/pgadmin/browser/server_groups/servers/tests/utils.py",> line 32, in connect_server assert response.status_code == 200 AssertionError ====================================================================== FAIL: runTest (pgadmin.browser.server_groups.servers.resource_groups.tests.test_resource_groups_put.ResourceGroupsPutTestCase) Put resource groups ---------------------------------------------------------------------- Traceback (most recent call last): File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python33/ws/web/pgadmin/browser/server_groups/servers/resource_groups/tests/test_resource_groups_put.py",> line 28, in setUp server_response = server_utils.connect_server(self, self.server_id) File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python33/ws/web/pgadmin/browser/server_groups/servers/tests/utils.py",> line 32, in connect_server assert response.status_code == 200 AssertionError ====================================================================== FAIL: runTest (pgadmin.browser.server_groups.servers.resource_groups.tests.tests_resource_groups_get.ResourceGroupsGetTestCase) Get resource groups ---------------------------------------------------------------------- Traceback (most recent call last): File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python33/ws/web/pgadmin/browser/server_groups/servers/resource_groups/tests/tests_resource_groups_get.py",> line 27, in setUp server_response = server_utils.connect_server(self, self.server_id) File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python33/ws/web/pgadmin/browser/server_groups/servers/tests/utils.py",> line 32, in connect_server assert response.status_code == 200 AssertionError ====================================================================== FAIL: runTest (pgadmin.browser.server_groups.servers.roles.tests.test_role_add.LoginRoleAddTestCase) Check Role Node ---------------------------------------------------------------------- Traceback (most recent call last): File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python33/ws/web/pgadmin/browser/server_groups/servers/roles/tests/test_role_add.py",> line 33, in runTest server_response = server_utils.connect_server(self, server_id) File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python33/ws/web/pgadmin/browser/server_groups/servers/tests/utils.py",> line 32, in connect_server assert response.status_code == 200 AssertionError pgAdmin 4 - Application Initialisation ====================================== NOTE: Configuring authentication for DESKTOP mode. ====================================================================== FAIL: runTest (pgadmin.browser.server_groups.servers.roles.tests.test_role_delete.LoginRoleDeleteTestCase) Check Role Node ---------------------------------------------------------------------- Traceback (most recent call last): File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python33/ws/web/pgadmin/browser/server_groups/servers/roles/tests/test_role_delete.py",> line 39, in runTest self.assertEquals(response.status_code, 200) AssertionError: 428 != 200 ====================================================================== FAIL: runTest (pgadmin.browser.server_groups.servers.roles.tests.test_role_get.LoginRoleGetTestCase) Check Role Node ---------------------------------------------------------------------- Traceback (most recent call last): File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python33/ws/web/pgadmin/browser/server_groups/servers/roles/tests/test_role_get.py",> line 39, in runTest self.assertEquals(response.status_code, 200) AssertionError: 428 != 200 ====================================================================== FAIL: runTest (pgadmin.browser.server_groups.servers.roles.tests.test_role_put.LoginRolePutTestCase) Check Role Node ---------------------------------------------------------------------- Traceback (most recent call last): File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python33/ws/web/pgadmin/browser/server_groups/servers/roles/tests/test_role_put.py",> line 48, in runTest self.assertEquals(put_response.status_code, 200) AssertionError: 428 != 200 ====================================================================== FAIL: runTest (pgadmin.browser.server_groups.servers.tablespaces.tests.test_tbspc_add.TableSpaceAddTestCase) Check Tablespace Node ---------------------------------------------------------------------- Traceback (most recent call last): File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python33/ws/web/pgadmin/browser/server_groups/servers/tablespaces/tests/test_tbspc_add.py",> line 40, in runTest server_response = server_utils.connect_server(self, server_id) File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python33/ws/web/pgadmin/browser/server_groups/servers/tests/utils.py",> line 32, in connect_server assert response.status_code == 200 AssertionError ====================================================================== FAIL: runTest (pgadmin.browser.server_groups.servers.tablespaces.tests.test_tbspc_delete.TableSpaceDeleteTestCase) Check Tablespace Node ---------------------------------------------------------------------- Traceback (most recent call last): File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python33/ws/web/pgadmin/browser/server_groups/servers/tablespaces/tests/test_tbspc_delete.py",> line 55, in runTest self.assertEquals(response.status_code, 200) AssertionError: 428 != 200 ====================================================================== FAIL: runTest (pgadmin.browser.server_groups.servers.tablespaces.tests.test_tbspc_get.TablespaceGetTestCase) Check Tablespace Node ---------------------------------------------------------------------- Traceback (most recent call last): File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python33/ws/web/pgadmin/browser/server_groups/servers/tablespaces/tests/test_tbspc_get.py",> line 45, in runTest server_response = server_utils.connect_server(self, self.server_id) File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python33/ws/web/pgadmin/browser/server_groups/servers/tests/utils.py",> line 32, in connect_server assert response.status_code == 200 AssertionError ====================================================================== FAIL: runTest (pgadmin.browser.server_groups.servers.tablespaces.tests.test_tbspc_put.TableSpaceUpdateTestCase) Check Tablespace Node ---------------------------------------------------------------------- Traceback (most recent call last): File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python33/ws/web/pgadmin/browser/server_groups/servers/tablespaces/tests/test_tbspc_put.py",> line 58, in runTest self.assertEquals(put_response.status_code, 200) AssertionError: 428 != 200 ====================================================================== FAIL: runTest (pgadmin.utils.javascript.tests.test_javascript_bundler.JavascriptBundlerTestCase) scenario name: JavascriptBundlerTestCase ---------------------------------------------------------------------- Traceback (most recent call last): File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python33/ws/web/pgadmin/utils/javascript/tests/test_javascript_bundler.py",> line 38, in runTest self._bundling_succeeds() File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python33/ws/web/pgadmin/utils/javascript/tests/test_javascript_bundler.py",> line 64, in _bundling_succeeds self.mockSubprocess.call.assert_called_once_with(['yarn', 'run', 'bundle:dev']) File "/usr/local/python-3.3/lib/python3.3/unittest/mock.py", line 736, in assert_called_once_with raise AssertionError(msg) AssertionError: Expected 'call' to be called once. Called 0 times. ---------------------------------------------------------------------- Ran 155 tests in 10.508s FAILED (failures=173, errors=7) Traceback (most recent call last): File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python33/ws/web/regression/python_test_utils/test_utils.py",> line 419, in delete_test_server drop_database(connection, database_name) File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python33/ws/web/regression/python_test_utils/test_utils.py",> line 304, in drop_database pg_cursor.execute('''DROP DATABASE "%s"''' % database_name) psycopg2.OperationalError: cannot drop the currently open database Traceback (most recent call last): File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python33/ws/web/regression/runtests.py",> line 348, in <module> test_utils.delete_test_server(test_client) File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python33/ws/web/regression/python_test_utils/test_utils.py",> line 419, in delete_test_server drop_database(connection, database_name) File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python33/ws/web/regression/python_test_utils/test_utils.py",> line 304, in drop_database pg_cursor.execute('''DROP DATABASE "%s"''' % database_name) psycopg2.OperationalError: cannot drop the currently open database ERROR: Error detected when running the Python tests. ERROR: Error detected when running the Python tests. Process leaked file descriptors. See http://wiki.jenkins-ci.org/display/JENKINS/Spawning+processes+from+build for more information Build step 'Execute shell' marked build as failure Not sending mail to unregistered user akshay.jo...@enterprisedb.com -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers