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

From pgAdmin 4 Jenkins
Subject Build failed in Jenkins: pgadmin4-master-python27-feature #5
Date
Msg-id 2084526646.120.1498033976091.JavaMail.jenkins@jenkins.pgadmin.org
Whole thread Raw
Responses Build failed in Jenkins: pgadmin4-master-python27-feature #6  (pgAdmin 4 Jenkins <jenkins@pgadmin.org>)
List pgadmin-hackers
See <https://jenkins.pgadmin.org/job/pgadmin4-master-python27-feature/5/display/redirect>

------------------------------------------
[...truncated 36.31 KB...]
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 192.992s

OK

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

======================================================================
FAIL: runTest (pgadmin.feature_tests.query_tool_journey_test.QueryToolJourneyTest)
Tests the path through the query tool
----------------------------------------------------------------------
Traceback (most recent call last): File
"<https://jenkins.pgadmin.org/job/pgadmin4-master-python27-feature/ws/web/pgadmin/feature_tests/query_tool_journey_test.py",>
line44, in runTest   self._test_copies_columns() File
"<https://jenkins.pgadmin.org/job/pgadmin4-master-python27-feature/ws/web/pgadmin/feature_tests/query_tool_journey_test.py",>
line66, in _test_copies_columns   self.assertTrue("'Some-Name'" in pyperclip.paste())
 
AssertionError: False is not true

======================================================================
FAIL: 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",>
line108, 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",>
line248, 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",>
line280, in _verify_row_data   self.assertEquals(cells[idx], config_data[str(idx)][1])
 
AssertionError: u'[default]' != u'1'
- [default]
+ 1


----------------------------------------------------------------------
Ran 8 tests in 191.240s

FAILED (failures=2)

=============Running the test cases for 'EDB Postgres AS 9.5'=============
runTest (pgadmin.feature_tests.connect_to_server_feature_test.ConnectsToServerFeatureTest)
Test database connection ... ERROR
ERROR
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

======================================================================
ERROR: runTest (pgadmin.feature_tests.connect_to_server_feature_test.ConnectsToServerFeatureTest)
Test database connection
----------------------------------------------------------------------
Traceback (most recent call last): File
"<https://jenkins.pgadmin.org/job/pgadmin4-master-python27-feature/ws/web/pgadmin/feature_tests/connect_to_server_feature_test.py",>
line41, in runTest   self._connects_to_server() File
"<https://jenkins.pgadmin.org/job/pgadmin4-master-python27-feature/ws/web/pgadmin/feature_tests/connect_to_server_feature_test.py",>
line58, in _connects_to_server   .move_to_element(self.page.driver.find_element_by_link_text("Create")) \ File
"<https://jenkins.pgadmin.org/job/pgadmin4-master-python27-feature/ws/pgadmin-venv/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py",>
line330, in find_element_by_link_text   return self.find_element(by=By.LINK_TEXT, value=link_text) File
"<https://jenkins.pgadmin.org/job/pgadmin4-master-python27-feature/ws/pgadmin-venv/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py",>
line784, in find_element   'value': value})['value'] File
"<https://jenkins.pgadmin.org/job/pgadmin4-master-python27-feature/ws/pgadmin-venv/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py",>
line249, 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",>
line193, in check_response   raise exception_class(message, screen, stacktrace)
 
NoSuchElementException: Message: no such element: Unable to locate element: {"method":"link text","selector":"Create"}
(Sessioninfo: chrome=58.0.3029.110) (Driver info: chromedriver=2.29.461571
(8a88bbe0775e2a23afda0ceaf2ef7ee74e822cc5),platform=Linux3.10.0-514.16.1.el7.x86_64 x86_64)
 


======================================================================
ERROR: runTest (pgadmin.feature_tests.connect_to_server_feature_test.ConnectsToServerFeatureTest)
Test database connection
----------------------------------------------------------------------
Traceback (most recent call last): File
"<https://jenkins.pgadmin.org/job/pgadmin4-master-python27-feature/ws/web/regression/feature_utils/base_feature_test.py",>
line62, in tearDown   self.after() File
"<https://jenkins.pgadmin.org/job/pgadmin4-master-python27-feature/ws/web/pgadmin/feature_tests/connect_to_server_feature_test.py",>
line45, in after   self.page.remove_server(self.server) File
"<https://jenkins.pgadmin.org/job/pgadmin4-master-python27-feature/ws/web/regression/feature_utils/pgadmin_page.py",>
line82, in remove_server   server_to_remove = self.find_by_xpath("//*[@id='tree']//*[.='" + server_config['name'] + "'
and@class='aciTreeItem']") File
"<https://jenkins.pgadmin.org/job/pgadmin4-master-python27-feature/ws/web/regression/feature_utils/pgadmin_page.py",>
line122, 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",>
line205, 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",>
line241, 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 8 tests in 206.096s

FAILED (errors=2)

=============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 193.328s

OK

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

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

PostgreSQL 9.5:
6 tests passed1 test failed:    CheckForViewDataTest (Validate Insert, Update operations in View data with given test
data)1test skipped:    CheckDebuggerForXssFeatureTest (Tests to check if Debugger is vulnerable to XSS)
 

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

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

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

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

EDB Postgres AS 9.4:
6 tests passed2 tests failed:    CheckForViewDataTest (Validate Insert, Update operations in View data with given test
data)   QueryToolJourneyTest (Tests the path through the query tool)0 tests skipped
 

EDB Postgres AS 9.5:
7 tests passed1 test failed:    ConnectsToServerFeatureTest (Test database connection)0 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:
8 tests passed0 tests failed0 tests 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: Murtuza Zabuawala
Date:
Subject: [pgAdmin4][PATCH] To fix the issue in Materialized View
Next
From: Surinder Kumar
Date:
Subject: Re: [pgAdmin4][PATCH] To fix the issue in Materialized View