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

From pgAdmin 4 Jenkins
Subject Build failed in Jenkins: pgadmin4-master-python27-feature #7
Date
Msg-id 626655623.129.1498399234887.JavaMail.jenkins@jenkins.pgadmin.org
Whole thread Raw
In response to Build failed in Jenkins: pgadmin4-master-python27-feature #6  (pgAdmin 4 Jenkins <jenkins@pgadmin.org>)
Responses Build failed in Jenkins: pgadmin4-master-python27-feature #8  (pgAdmin 4 Jenkins <jenkins@pgadmin.org>)
List pgadmin-hackers
See <https://jenkins.pgadmin.org/job/pgadmin4-master-python27-feature/7/display/redirect?page=changes>

Changes:

[Dave Page] Increase the default size of the Grant Wizard to enable it to properly

[Dave Page] Consolidate selection colors in the drop down menu and browser tree to

[Dave Page] Vendorize React. This is required at this time because we need to modify

[Dave Page] Fix React to work with QtWebKit

[Dave Page] Handle missing/dropped synonyms gracefully. Fixes #2503

[Dave Page] Update MatView and pgAgent modules to work with recent integer/numeric

[Dave Page] Maintain a client-side cache of preference values, populated using an

[Ashesh Vashi] Moved the javascripts of the following browser node modules to the

[Dave Page] Ensure default values are honoured when adding/editing columns. Fixes

[Dave Page] Fix preferences handling for utilities.

[Dave Page] Fix import/export to work as expected with TSV data. Fixes #1934

[Dave Page] Additional preference fix.

[Dave Page] Ensure the relevant Makefile targets install node modules before

[Dave Page] Update Slickgrid to 2.3.7. As this version includes all the features we

[Dave Page] Fix cell selection window alignment for the updated SlickGrid.

[Dave Page] Fix removal of sizes from column definitions. Fixes #2155

[Dave Page] Add access keys for top level menus.

[Dave Page] Tidy up About box formatting, 'cos it's been annoying me for ages.

[Dave Page] Wait for the Tools menu to be populated when running the feature tests,

------------------------------------------
[...truncated 31.30 KB...]
Test table DDL generation ... ok
runTest (pgadmin.feature_tests.view_data_dml_queries.CheckForViewDataTest)
Validate Insert, Update operations in View 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

----------------------------------------------------------------------
Ran 8 tests in 172.975s

OK

=============Running the test cases for 'EDB Postgres AS 9.2'=============
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.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 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 ... ERROR

======================================================================
ERROR: runTest (pgadmin.feature_tests.xss_checks_pgadmin_debugger_test.CheckDebuggerForXssFeatureTest)
Tests to check if Debugger is vulnerable to XSS
----------------------------------------------------------------------
Traceback (most recent call last): File
"<https://jenkins.pgadmin.org/job/pgadmin4-master-python27-feature/ws/web/pgadmin/feature_tests/xss_checks_pgadmin_debugger_test.py",>
line35, in runTest   self._debug_function() File
"<https://jenkins.pgadmin.org/job/pgadmin4-master-python27-feature/ws/web/pgadmin/feature_tests/xss_checks_pgadmin_debugger_test.py",>
line91, in _debug_function   self.page.click_element(self.page.driver.find_elements_by_xpath("//button")[2]) File
"<https://jenkins.pgadmin.org/job/pgadmin4-master-python27-feature/ws/web/regression/feature_utils/pgadmin_page.py",>
line172, in click_element   return self._wait_for("clicking the element not to throw an exception", click_succeeded)
File
"<https://jenkins.pgadmin.org/job/pgadmin4-master-python27-feature/ws/web/regression/feature_utils/pgadmin_page.py",>
line268, 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 clicking the element not to throw an exception


----------------------------------------------------------------------
Ran 8 tests in 189.005s

FAILED (errors=1)

=============Running the test cases for 'EDB Postgres AS 9.3'=============
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.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 data with given test data ... ERROR
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

======================================================================
ERROR: runTest (pgadmin.feature_tests.view_data_dml_queries.CheckForViewDataTest)
Validate Insert, Update operations in View data with given test data
----------------------------------------------------------------------
Traceback (most recent call last): File
"<https://jenkins.pgadmin.org/job/pgadmin4-master-python27-feature/ws/web/pgadmin/feature_tests/view_data_dml_queries.py",>
line107, in runTest   self._copy_paste_row() File
"<https://jenkins.pgadmin.org/job/pgadmin4-master-python27-feature/ws/web/pgadmin/feature_tests/view_data_dml_queries.py",>
line247, in _copy_paste_row   self._verify_row_data(False) File
"<https://jenkins.pgadmin.org/job/pgadmin4-master-python27-feature/ws/web/pgadmin/feature_tests/view_data_dml_queries.py",>
line268, in _verify_row_data   self.page.wait_for_element_to_stale(xpath) File
"<https://jenkins.pgadmin.org/job/pgadmin4-master-python27-feature/ws/web/regression/feature_utils/pgadmin_page.py",>
line284, in wait_for_element_to_stale   element_has_gone_stale) File
"<https://jenkins.pgadmin.org/job/pgadmin4-master-python27-feature/ws/web/regression/feature_utils/pgadmin_page.py",>
line268, 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 attach to the page document


----------------------------------------------------------------------
Ran 8 tests in 191.852s

FAILED (errors=1)

=============Running the test cases for 'EDB Postgres AS 9.4'=============
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.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 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

----------------------------------------------------------------------
Ran 8 tests in 174.196s

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.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 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

----------------------------------------------------------------------
Ran 8 tests in 174.136s

OK

=============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.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 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

----------------------------------------------------------------------
Ran 8 tests in 174.258s

OK

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

PostgreSQL 9.6:
8 tests passed0 tests failed0 tests skipped

PostgreSQL 9.5:
8 tests passed0 tests failed0 tests skipped

PostgreSQL 9.4:
8 tests passed0 tests failed0 tests skipped

PostgreSQL 9.3:
8 tests passed0 tests failed0 tests skipped

PostgreSQL 9.2:
8 tests passed0 tests failed0 tests skipped

PostgreSQL 10:
8 tests passed0 tests failed0 tests skipped

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

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

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

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

EDB Postgres AS 9.3:
7 tests passed1 test failed:    CheckForViewDataTest (Validate Insert, Update operations in View data with given test
data)0tests skipped
 

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

pgAdmin 4 - Application Initialisation
======================================

NOTE: Configuring authentication for DESKTOP mode.
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 http://wiki.jenkins-ci.org/display/JENKINS/Spawning+processes+from+build for more
information
Build step 'Execute shell' marked build as failure


pgadmin-hackers by date:

Previous
From: Akshay Joshi
Date:
Subject: Re: [pgadmin-hackers] Declarative partitioning in pgAdmin4
Next
From: Khushboo Vashi
Date:
Subject: [pgAdmin4][Patch]: Feature #2506 - Allow the dashboard panel to be closed