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

Changes:

[Dave Page] Reset query tool options before running tests. Fixes #2681

------------------------------------------
[...truncated 67.40 KB...]
runTest 
(pgadmin.feature_tests.copy_selected_query_results_feature_test.CopySelectedQueryResultsFeatureTest)
Copy rows, column using button and keyboard shortcut ... ERROR
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 query result... 
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 with verbose and cost... OK.
Explain analyze query with buffers and 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

======================================================================
ERROR: runTest 
(pgadmin.feature_tests.copy_selected_query_results_feature_test.CopySelectedQueryResultsFeatureTest)
Copy rows, column using button and keyboard shortcut
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"<https://jenkins.pgadmin.org/job/pgadmin4-master-python27-feature/ws/web/pgadmin/feature_tests/copy_selected_query_results_feature_test.py";,>
 line 54, in runTest
    self._copies_rows()
  File 
"<https://jenkins.pgadmin.org/job/pgadmin4-master-python27-feature/ws/web/pgadmin/feature_tests/copy_selected_query_results_feature_test.py";,>
 line 65, in _copies_rows
    self.page.find_by_xpath("//*[contains(@class, 'slick-row')]/*[1]").click()
  File 
"<https://jenkins.pgadmin.org/job/pgadmin4-master-python27-feature/ws/web/regression/feature_utils/pgadmin_page.py";,>
 line 147, in find_by_xpath
    return self.wait_for_element(lambda driver: 
driver.find_element_by_xpath(xpath))
  File 
"<https://jenkins.pgadmin.org/job/pgadmin4-master-python27-feature/ws/web/regression/feature_utils/pgadmin_page.py";,>
 line 226, in wait_for_element
    return self._wait_for("element to exist", element_if_it_exists)
  File 
"<https://jenkins.pgadmin.org/job/pgadmin4-master-python27-feature/ws/web/regression/feature_utils/pgadmin_page.py";,>
 line 276, in _wait_for
    "Timed out waiting for " + waiting_for_message)
  File 
"<https://jenkins.pgadmin.org/job/pgadmin4-master-python27-feature/ws/pgadmin-venv/lib/python2.7/site-packages/selenium/webdriver/support/wait.py";,>
 line 80, in until
    raise TimeoutException(message, screen, stacktrace)
TimeoutException: Message: Timed out waiting for element to exist


----------------------------------------------------------------------
Ran 9 tests in 257.541s

FAILED (errors=1)

=============Running the test cases for 'EDB Postgres AS 9.4'=============
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 query result... 
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 with verbose and cost... OK.
Explain analyze query with buffers and 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 9 tests in 230.223s

OK

=============Running the test cases for 'EDB Postgres AS 9.5'=============
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 query result... 
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 with verbose and cost... OK.
Explain analyze query with buffers and 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 9 tests in 229.190s

OK

=============Running the test cases for 'EDB Postgres AS 9.6'=============
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 query result... 
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 with verbose and cost... OK.
Explain analyze query with buffers and 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 9 tests in 229.678s

OK

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

PostgreSQL 9.6:

        9 tests passed
        0 tests failed
        0 tests skipped

PostgreSQL 9.5:

        8 tests passed
        1 test failed:
                PGDataypeFeatureTest (Test checks for PG data-types output)
        0 tests skipped

PostgreSQL 9.4:

        9 tests passed
        0 tests failed
        0 tests skipped

PostgreSQL 9.3:

        9 tests passed
        0 tests failed
        0 tests skipped

PostgreSQL 9.2:

        9 tests passed
        0 tests failed
        0 tests skipped

PostgreSQL 10:

        8 tests passed
        0 tests failed
        1 test skipped:
                CheckDebuggerForXssFeatureTest (Tests to check if Debugger is 
vulnerable to XSS)

EDB Postgres AS 9.4:

        9 tests passed
        0 tests failed
        0 tests skipped

EDB Postgres AS 9.5:

        9 tests passed
        0 tests failed
        0 tests skipped

EDB Postgres AS 9.6:

        9 tests passed
        0 tests failed
        0 tests skipped

EDB Postgres AS 9.2:

        8 tests passed
        1 test failed:
                CheckDebuggerForXssFeatureTest (Tests to check if Debugger is 
vulnerable to XSS)
        0 tests skipped

EDB Postgres AS 9.3:

        8 tests passed
        1 test failed:
                CopySelectedQueryResultsFeatureTest (Copy rows, column using 
button and keyboard shortcut)
        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.jo...@enterprisedb.com

Reply via email to