Build failed in Jenkins: pgadmin4-master-python27-feature #10

From: pgAdmin 4 Jenkins <jenkins(at)pgadmin(dot)org>
To: pgadmin-hackers(at)postgresql(dot)org, ashesh(dot)vashi(at)enterprisedb(dot)com, dpage(at)pgadmin(dot)org
Subject: Build failed in Jenkins: pgadmin4-master-python27-feature #10
Date: 2017-08-25 14:41:07
Message-ID: 1386163588.62.1503672067159.JavaMail.jenkins@jenkins.pgadmin.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

See <https://jenkins.pgadmin.org/job/pgadmin4-master-python27-feature/10/display/redirect?page=changes>

Changes:

[Dave Page] Ensure babel-polyfill is loaded in older qWebKits. Fixes #2593

[Dave Page] Fix test assertion.

[Dave Page] Update yarn.lock

[Dave Page] Ensure the appropriate entry is focussed when entering the history tab.

[Dave Page] Allow queries to be cancelled from the dashboards. Fixes #1812

[Dave Page] Fix paths under non-standard virtual directories. Fixes #2563

[Ashesh Vashi] Do not dump the session data on the disk on every request.

[Dave Page] Update keyboard shortcuts per discussion. Also, make the labels platform

[Dave Page] Handle control visibility properly in javascript strict mode.

[Dave Page] Default the file browser view to list, and make it configurable. Fixes

[Dave Page] Fixup tests following label changes.

[Dave Page] Store the file dialog view on toggle.

[Ashesh Vashi] Moved the javascripts of different modules from 'templates' to 'static'

[Ashesh Vashi] Requests for statistics were not stopped even when Dashboard panel is

[akshay.joshi] 1) Added partition module in webpack config. 2) Fixed missing logic of

[akshay.joshi] Improved alertify notification logic. Remove AlertifyWrapper class and

[akshay.joshi] Domain create dialog do not open and Font size issue in Security label

[akshay.joshi] Fixed collation tests on Windows, replace use of default 'POSIX'

[akshay.joshi] Fixed issue in query tool where messages were not displaying from

[akshay.joshi] Added missing pgagent file in webpack.config.js Fixes #2617

[akshay.joshi] Set the database name to blank('') when job type is set to batch, while

[akshay.joshi] Changed the mapping of cell from 'numeric' to 'integer' for integer

[Ashesh Vashi] Some cosmetic changes.

[Ashesh Vashi] Enable source maps for debugging purpose in all webpack modules (except

[Ashesh Vashi] UX improvements of the history in the query tool.

[Ashesh Vashi] Fixed some UX issue with the Import/Export tool.

[Ashesh Vashi] On certain linux operating systems, Qt application exits with an error

[akshay.joshi] Use dict based data instead of 2d-array in Type module as we are adding

[akshay.joshi] 1) Connection Type cell was not honouring to 'Kind' option in Subnode

[akshay.joshi] Fixed the path reference of load-node.gif which was referencing to

[akshay.joshi] Unset compression ratio if it is an empty string in Backup module. Fixes

[akshay.joshi] Fixed alertify notification messages where checkmark box disconnected

[akshay.joshi] User can not add New Server through Quick links. Fixes #2634

[Ashesh Vashi] Extract the generate_url(..) function from node.js, and collection.js

[Ashesh Vashi] Fixes #2567 - Use the proper database connection to fetch the default

[Dave Page] Update datetime picker. Fixes #2654

[Dave Page] Fix connection string validation for pgAgent jobs. Fixes #2655

[Dave Page] Update CodeMirror version. Fixes #1697. Fixes #2168. Fixes #2447. Fixes

[Dave Page] Ensure role names are escaped in the membership control. Fixes #2606

[Dave Page] Refactor keyboard shortcut functions in the query tool. Fix some

[akshay.joshi] Datetimepicker will expand from bottom instead of Top, because of that

[akshay.joshi] Syntax error while saving changes for start/end time, weekdays,

[akshay.joshi] Unable to add/update variables for columns of a table. Fixes #2659

[Dave Page] Properly cleanup after running the FTS test cases.

[Dave Page] Bump the version number for 2.0. Let's get testing started ASAP!

[Dave Page] Ship with pre-configured paths that can work in both Server and Desktop

[Dave Page] Ensure builtins.SERVER_MODE is present so the docs build cleanly.

[Dave Page] Regression tests aren't run under the runtime, so no need to check for

[Dave Page] Ensure builtins.SERVER_MODE is handled if running setup.py standalone.

[Dave Page] Update docs to more accurately reflect the SERVER_MODE config

[Dave Page] Ensure the SERVER_MODE changes don't break the PIP build.

[Ashesh Vashi] Fix the feature tests failuers.

[Ashesh Vashi] Add package run scripts to allow to run the webpack in watch mode, also

[Ashesh Vashi] Fixes #2560 - View is not fully qualified in Trigger definition.

[akshay.joshi] Greenplum specific DDL and Dashboard display changes. Initial patch by

------------------------------------------
[...truncated 84.66 KB...]
Test database connection ... ok
runTest (pgadmin.feature_tests.copy_selected_query_results_feature_test.CopySelectedQueryResultsFeatureTest)
Copy rows, column using button and keyboard shortcut ... ok
runTest (pgadmin.feature_tests.pg_datatype_validation_test.PGDataypeFeatureTest)
Test checks for PG data-types output ... ok
runTest (pgadmin.feature_tests.query_tool_journey_test.QueryToolJourneyTest)
Tests the path through the query tool ... ok
runTest (pgadmin.feature_tests.query_tool_tests.QueryToolFeatureTest)
Query tool feature test ...
On demand result set on scrolling... OK.
On demand result set on grid select all... OK.
On demand result set on column select all... OK.
Explain query... OK.
Explain query with verbose... OK.
Explain query with costs... OK.
Explain analyze query... OK.
Explain analyze query with buffers... OK.
Explain analyze query with timing... OK.
Auto commit disabled... OK.
Auto commit enabled... OK.
Auto rollback enabled... OK.
Cancel query... OK.
ok
runTest (pgadmin.feature_tests.table_ddl_feature_test.TableDdlFeatureTest)
Test table DDL generation ... ok
runTest (pgadmin.feature_tests.view_data_dml_queries.CheckForViewDataTest)
Validate Insert, Update operations in View/Edit data with given test data ... ok
runTest (pgadmin.feature_tests.xss_checks_panels_and_query_tool_test.CheckForXssFeatureTest)
Test XSS check for panels and query tool ... ok
runTest (pgadmin.feature_tests.xss_checks_pgadmin_debugger_test.CheckDebuggerForXssFeatureTest)
Tests to check if Debugger is vulnerable to XSS ... ok
runTest (pgadmin.feature_tests.xss_checks_roles_control_test.CheckRoleMembershipControlFeatureTest)
Tests to check if Role membership control is vulnerable to XSS ... ok

----------------------------------------------------------------------
Ran 10 tests in 387.157s

OK

=============Running the test cases for 'EDB Postgres AS 9.5'=============
runTest (pgadmin.feature_tests.connect_to_server_feature_test.ConnectsToServerFeatureTest)
Test database connection ... ok
runTest (pgadmin.feature_tests.copy_selected_query_results_feature_test.CopySelectedQueryResultsFeatureTest)
Copy rows, column using button and keyboard shortcut ... ok
runTest (pgadmin.feature_tests.pg_datatype_validation_test.PGDataypeFeatureTest)
Test checks for PG data-types output ... ok
runTest (pgadmin.feature_tests.query_tool_journey_test.QueryToolJourneyTest)
Tests the path through the query tool ... ok
runTest (pgadmin.feature_tests.query_tool_tests.QueryToolFeatureTest)
Query tool feature test ...
On demand result set on scrolling... OK.
On demand result set on grid select all... OK.
On demand result set on column select all... OK.
Explain query... OK.
Explain query with verbose... OK.
Explain query with costs... ERROR
runTest (pgadmin.feature_tests.table_ddl_feature_test.TableDdlFeatureTest)
Test table DDL generation ... ok
runTest (pgadmin.feature_tests.view_data_dml_queries.CheckForViewDataTest)
Validate Insert, Update operations in View/Edit data with given test data ... ok
runTest (pgadmin.feature_tests.xss_checks_panels_and_query_tool_test.CheckForXssFeatureTest)
Test XSS check for panels and query tool ... ok
runTest (pgadmin.feature_tests.xss_checks_pgadmin_debugger_test.CheckDebuggerForXssFeatureTest)
Tests to check if Debugger is vulnerable to XSS ... ok
runTest (pgadmin.feature_tests.xss_checks_roles_control_test.CheckRoleMembershipControlFeatureTest)
Tests to check if Role membership control is vulnerable to XSS ... ok

======================================================================
ERROR: runTest (pgadmin.feature_tests.query_tool_tests.QueryToolFeatureTest)
Query tool feature test
----------------------------------------------------------------------
Traceback (most recent call last):
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python27-feature/ws/web/pgadmin/feature_tests/query_tool_tests.py",> line 84, in runTest
self._query_tool_explain_cost()
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python27-feature/ws/web/pgadmin/feature_tests/query_tool_tests.py",> line 361, in _query_tool_explain_cost
canvas.find_element_by_xpath("//*[contains(string(),'Total Cost')]")
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python27-feature/ws/pgadmin-venv/lib/python2.7/site-packages/selenium/webdriver/remote/webelement.py",> line 260, in find_element_by_xpath
return self.find_element(by=By.XPATH, value=xpath)
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python27-feature/ws/pgadmin-venv/lib/python2.7/site-packages/selenium/webdriver/remote/webelement.py",> line 510, in find_element
{"using": by, "value": value})['value']
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python27-feature/ws/pgadmin-venv/lib/python2.7/site-packages/selenium/webdriver/remote/webelement.py",> line 493, in _execute
return self._parent.execute(command, params)
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python27-feature/ws/pgadmin-venv/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py",> line 249, in execute
self.error_handler.check_response(response)
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python27-feature/ws/pgadmin-venv/lib/python2.7/site-packages/selenium/webdriver/remote/errorhandler.py",> line 193, in check_response
raise exception_class(message, screen, stacktrace)
NoSuchElementException: Message: no such element: Unable to locate element: {"method":"xpath","selector":"//*[contains(string(),'Total Cost')]"}
(Session info: chrome=59.0.3071.115)
(Driver info: chromedriver=2.29.461571 (8a88bbe0775e2a23afda0ceaf2ef7ee74e822cc5),platform=Linux 3.10.0-514.16.1.el7.x86_64 x86_64)

----------------------------------------------------------------------
Ran 10 tests in 254.678s

FAILED (errors=1)

=============Running the test cases for 'EDB Postgres AS 9.6'=============
runTest (pgadmin.feature_tests.connect_to_server_feature_test.ConnectsToServerFeatureTest)
Test database connection ... ok
runTest (pgadmin.feature_tests.copy_selected_query_results_feature_test.CopySelectedQueryResultsFeatureTest)
Copy rows, column using button and keyboard shortcut ... ok
runTest (pgadmin.feature_tests.pg_datatype_validation_test.PGDataypeFeatureTest)
Test checks for PG data-types output ... ok
runTest (pgadmin.feature_tests.query_tool_journey_test.QueryToolJourneyTest)
Tests the path through the query tool ... ok
runTest (pgadmin.feature_tests.query_tool_tests.QueryToolFeatureTest)
Query tool feature test ...
On demand result set on scrolling... OK.
On demand result set on grid select all... OK.
On demand result set on column select all... OK.
Explain query... OK.
Explain query with verbose... OK.
Explain query with costs... OK.
Explain analyze query... OK.
Explain analyze query with buffers... ERROR
runTest (pgadmin.feature_tests.table_ddl_feature_test.TableDdlFeatureTest)
Test table DDL generation ... ok
runTest (pgadmin.feature_tests.view_data_dml_queries.CheckForViewDataTest)
Validate Insert, Update operations in View/Edit data with given test data ... ok
runTest (pgadmin.feature_tests.xss_checks_panels_and_query_tool_test.CheckForXssFeatureTest)
Test XSS check for panels and query tool ... ok
runTest (pgadmin.feature_tests.xss_checks_pgadmin_debugger_test.CheckDebuggerForXssFeatureTest)
Tests to check if Debugger is vulnerable to XSS ... ok
runTest (pgadmin.feature_tests.xss_checks_roles_control_test.CheckRoleMembershipControlFeatureTest)
Tests to check if Role membership control is vulnerable to XSS ... ok

======================================================================
ERROR: runTest (pgadmin.feature_tests.query_tool_tests.QueryToolFeatureTest)
Query tool feature test
----------------------------------------------------------------------
Traceback (most recent call last):
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python27-feature/ws/web/pgadmin/feature_tests/query_tool_tests.py",> line 96, in runTest
self._query_tool_explain_analyze_buffers()
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python27-feature/ws/web/pgadmin/feature_tests/query_tool_tests.py",> line 411, in _query_tool_explain_analyze_buffers
canvas.find_element_by_xpath("//*[contains(string(), 'Shared Read Blocks')]")
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python27-feature/ws/pgadmin-venv/lib/python2.7/site-packages/selenium/webdriver/remote/webelement.py",> line 260, in find_element_by_xpath
return self.find_element(by=By.XPATH, value=xpath)
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python27-feature/ws/pgadmin-venv/lib/python2.7/site-packages/selenium/webdriver/remote/webelement.py",> line 510, in find_element
{"using": by, "value": value})['value']
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python27-feature/ws/pgadmin-venv/lib/python2.7/site-packages/selenium/webdriver/remote/webelement.py",> line 493, in _execute
return self._parent.execute(command, params)
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python27-feature/ws/pgadmin-venv/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py",> line 249, in execute
self.error_handler.check_response(response)
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python27-feature/ws/pgadmin-venv/lib/python2.7/site-packages/selenium/webdriver/remote/errorhandler.py",> line 193, in check_response
raise exception_class(message, screen, stacktrace)
NoSuchElementException: Message: no such element: Unable to locate element: {"method":"xpath","selector":"//*[contains(string(), 'Shared Read Blocks')]"}
(Session info: chrome=59.0.3071.115)
(Driver info: chromedriver=2.29.461571 (8a88bbe0775e2a23afda0ceaf2ef7ee74e822cc5),platform=Linux 3.10.0-514.16.1.el7.x86_64 x86_64)

----------------------------------------------------------------------
Ran 10 tests in 265.028s

FAILED (errors=1)

======================================================================
Test Result Summary
======================================================================

PostgreSQL 9.6:

9 tests passed
1 test failed:
QueryToolFeatureTest (Query tool feature test)
0 tests skipped

PostgreSQL 9.5:

9 tests passed
1 test failed:
QueryToolFeatureTest (Query tool feature test)
0 tests skipped

PostgreSQL 9.4:

9 tests passed
1 test failed:
QueryToolFeatureTest (Query tool feature test)
0 tests skipped

PostgreSQL 9.3:

9 tests passed
1 test failed:
QueryToolFeatureTest (Query tool feature test)
0 tests skipped

PostgreSQL 9.2:

10 tests passed
0 tests failed
0 tests skipped

PostgreSQL 10:

8 tests passed
1 test failed:
QueryToolFeatureTest (Query tool feature test)
1 test skipped:
CheckDebuggerForXssFeatureTest (Tests to check if Debugger is vulnerable to XSS)

EDB Postgres AS 9.4:

10 tests passed
0 tests failed
0 tests skipped

EDB Postgres AS 9.5:

9 tests passed
1 test failed:
QueryToolFeatureTest (Query tool feature test)
0 tests skipped

EDB Postgres AS 9.6:

9 tests passed
1 test failed:
QueryToolFeatureTest (Query tool feature test)
0 tests skipped

EDB Postgres AS 9.2:

8 tests passed
2 tests failed:
QueryToolFeatureTest (Query tool feature test)
CheckDebuggerForXssFeatureTest (Tests to check if Debugger is vulnerable to XSS)
0 tests skipped

EDB Postgres AS 9.3:

8 tests passed
2 tests failed:
QueryToolFeatureTest (Query tool feature test)
QueryToolJourneyTest (Tests the path through the query tool)
0 tests skipped

======================================================================

NOTE: Configuring authentication for DESKTOP mode.
pgAdmin 4 - Application Initialisation
======================================

Please check output in file: <https://jenkins.pgadmin.org/job/pgadmin4-master-python27-feature/ws/web/regression/regression.log>

ERROR: Error detected when running the Feature tests.
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user akshay(dot)joshi(at)enterprisedb(dot)com

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2017-08-25 14:56:42 Re: pgAdmin 4 commit: Fix the feature tests failuers.
Previous Message Surinder Kumar 2017-08-25 14:12:30 Re: [pgAdmin4][Patch]: Ensure any changes to the config database are backward compatible