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

From: pgAdmin 4 Jenkins <jenkins(at)pgadmin(dot)org>
To: pgadmin-hackers(at)postgresql(dot)org, dpage(at)pgadmin(dot)org
Subject: Build failed in Jenkins: pgadmin4-master-python27-feature #5
Date: 2017-06-21 08:32:55
Message-ID: 2084526646.120.1498033976091.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/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",> line 44, 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",> line 66, 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",> line 108, 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",> line 248, 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",> line 280, 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",> line 41, 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",> line 58, 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",> line 330, 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",> line 784, 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",> 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":"link text","selector":"Create"}
(Session info: chrome=58.0.3029.110)
(Driver info: chromedriver=2.29.461571 (8a88bbe0775e2a23afda0ceaf2ef7ee74e822cc5),platform=Linux 3.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",> line 62, 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",> line 45, 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",> line 82, in remove_server
server_to_remove = self.find_by_xpath("//*[(at)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",> line 122, 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 205, 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 241, 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 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 passed
0 tests failed
1 test skipped:
CheckDebuggerForXssFeatureTest (Tests to check if Debugger is vulnerable to XSS)

PostgreSQL 9.5:

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

PostgreSQL 9.4:

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

PostgreSQL 9.3:

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

PostgreSQL 9.2:

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

PostgreSQL 10:

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

EDB Postgres AS 9.4:

6 tests passed
2 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 passed
1 test failed:
ConnectsToServerFeatureTest (Test database connection)
0 tests skipped

EDB Postgres AS 9.6:

8 tests passed
0 tests failed
0 tests skipped

EDB Postgres AS 9.2:

7 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
0 tests failed
0 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

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Surinder Kumar 2017-06-21 08:44:35 Re: [pgAdmin4][PATCH] To fix the issue in Materialized View
Previous Message Murtuza Zabuawala 2017-06-21 08:24:42 [pgAdmin4][PATCH] To fix the issue in Materialized View