Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dNb4P-0008N7-Si for pgadmin-hackers@arkaria.postgresql.org; Wed, 21 Jun 2017 08:33:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dNb4P-0007Mc-4J for pgadmin-hackers@arkaria.postgresql.org; Wed, 21 Jun 2017 08:33:01 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dNb4O-0007MS-P1 for pgadmin-hackers@lists.postgresql.org; Wed, 21 Jun 2017 08:33:01 +0000 Received: from ec2-34-205-157-3.compute-1.amazonaws.com ([34.205.157.3] helo=jenkins.pgadmin.org) by makus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dNb4L-0001TA-Kq for pgadmin-hackers@postgresql.org; Wed, 21 Jun 2017 08:32:59 +0000 Received: from ip-172-31-48-139.ec2.internal (localhost [127.0.0.1]) by jenkins.pgadmin.org (Postfix) with ESMTP id 2EC3B10E3A80; Wed, 21 Jun 2017 08:32:56 +0000 (UTC) Date: Wed, 21 Jun 2017 08:32:55 +0000 (UTC) From: pgAdmin 4 Jenkins To: pgadmin-hackers@postgresql.org, dpage@pgadmin.org Message-ID: <2084526646.120.1498033976091.JavaMail.jenkins@jenkins.pgadmin.org> Subject: Build failed in Jenkins: pgadmin4-master-python27-feature #5 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Instance-Identity: MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAjNGckiRry31z5BCjb5sX61bhCEivM5jF9+Px01XiUEYNxkx6s+4uvhpH1TKpW5iPxOxYdE3IorZIgsp7P1lYvrVHRf+siYLs+8Qk1/2NCoa36lJJqFb8uZ40JClieMcrOWmRJ5mVfLqV4BVYcfjbjK1pBlSObTZtjH4s/KdeAjByQfJqljw6T4JHDk3BE5ljs/cnM9heI8tl8oV42HF7l/PwYapdGGscBdSExDH9cGn5aA2v3+BENvnDkAaWg9Bq8jpVENHqoeMMRrKY4wzv/q92pUNQwRM+VGEr0uUJUCkDxmfp+5IIrXrqaaF3sCNIIKeeyYQd96v/8k03N0cP9wIDAQAB X-Jenkins-Job: pgadmin4-master-python27-feature X-Jenkins-Result: FAILURE List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Unsubscribe: , List-Archive: Precedence: bulk See ------------------------------------------ [...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 " line 44, in runTest self._test_copies_columns() File " 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 " line 108, in runTest self._copy_paste_row() File " line 248, in _copy_paste_row self._verify_row_data(False) File " 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 " line 41, in runTest self._connects_to_server() File " line 58, in _connects_to_server .move_to_element(self.page.driver.find_element_by_link_text("Create")) \ File " line 330, in find_element_by_link_text return self.find_element(by=By.LINK_TEXT, value=link_text) File " line 784, in find_element 'value': value})['value'] File " line 249, in execute self.error_handler.check_response(response) File " 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 " line 62, in tearDown self.after() File " line 45, in after self.page.remove_server(self.server) File " line 82, in remove_server server_to_remove = self.find_by_xpath("//*[@id='tree']//*[.='" + server_config['name'] + "' and @class='aciTreeItem']") File " line 122, in find_by_xpath return self.wait_for_element(lambda driver: driver.find_element_by_xpath(xpath)) File " line 205, in wait_for_element return self._wait_for("element to exist", element_if_it_exists) File " line 241, in _wait_for "Timed out waiting for " + waiting_for_message) File " 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: 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