Build failed in Jenkins: pgadmin4-master-python27-feature #12 - Mailing list pgadmin-hackers

From pgAdmin 4 Jenkins
Subject Build failed in Jenkins: pgadmin4-master-python27-feature #12
Date
Msg-id 1327389293.66.1504627805752.JavaMail.jenkins@jenkins.pgadmin.org
Whole thread Raw
In response to Build failed in Jenkins: pgadmin4-master-python27-feature #11  (pgAdmin 4 Jenkins <jenkins@pgadmin.org>)
Responses Build failed in Jenkins: pgadmin4-master-python27-feature #13
List pgadmin-hackers
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",>
line54, 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",>
line65, 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",>
line147, 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",>
line226, 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",>
line276, 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",>
line80, 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 passed0 tests failed0 tests skipped

PostgreSQL 9.5:
8 tests passed1 test failed:    PGDataypeFeatureTest (Test checks for PG data-types output)0 tests skipped

PostgreSQL 9.4:
9 tests passed0 tests failed0 tests skipped

PostgreSQL 9.3:
9 tests passed0 tests failed0 tests skipped

PostgreSQL 9.2:
9 tests passed0 tests failed0 tests skipped

PostgreSQL 10:
8 tests passed0 tests failed1 test skipped:    CheckDebuggerForXssFeatureTest (Tests to check if Debugger is vulnerable
toXSS)
 

EDB Postgres AS 9.4:
9 tests passed0 tests failed0 tests skipped

EDB Postgres AS 9.5:
9 tests passed0 tests failed0 tests skipped

EDB Postgres AS 9.6:
9 tests passed0 tests failed0 tests skipped

EDB Postgres AS 9.2:
8 tests passed1 test failed:    CheckDebuggerForXssFeatureTest (Tests to check if Debugger is vulnerable to XSS)0 tests
skipped

EDB Postgres AS 9.3:
8 tests passed1 test failed:    CopySelectedQueryResultsFeatureTest (Copy rows, column using button and keyboard
shortcut)0tests 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
moreinformation
 
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user akshay.joshi@enterprisedb.com


pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: Re: Build failed in Jenkins: pgadmin4-master-python27-feature #11
Next
From: PostgreSQL Graphics Tools Developper Meeting Organisers
Date:
Subject: Invitation - PostgreSQL Graphic Tools Developer Meeting