You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Wenzhe Zhou (Jira)" <ji...@apache.org> on 2024/03/21 17:58:00 UTC
[jira] [Commented] (IMPALA-12930) TestExtDataSources.test_jdbc_data_source fails in some builds
[ https://issues.apache.org/jira/browse/IMPALA-12930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17829655#comment-17829655 ]
Wenzhe Zhou commented on IMPALA-12930:
--------------------------------------
The patch of IMPALA-12802 added some negative test cases for altering external JDBC table. These test cases verify the error messages.
One of test cases failed on some test environments due to different error message "FATAL: role "UNKNOWN" does not exist" returned from Postgres server. The unit-test should check if the error message is matching with one of two possible error messages - "FATAL: password authentication failed for user "UNKNOWN", or "FATAL: role "UNKNOWN" does not exist"
> TestExtDataSources.test_jdbc_data_source fails in some builds
> -------------------------------------------------------------
>
> Key: IMPALA-12930
> URL: https://issues.apache.org/jira/browse/IMPALA-12930
> Project: IMPALA
> Issue Type: Bug
> Reporter: Daniel Becker
> Assignee: Wenzhe Zhou
> Priority: Blocker
> Labels: broken-build
>
> TestExtDataSources.test_jdbc_data_source fails in some of our builds.
> h3. Stacktrace
> {code:java}
> query_test/test_ext_data_sources.py:75: in test_jdbc_data_source
> self.run_test_case('QueryTest/jdbc-data-source', vector, use_db=unique_database)
> common/impala_test_suite.py:731: in run_test_case
> self.__verify_exceptions(test_section['CATCH'], str(e), use_db)
> common/impala_test_suite.py:551: in __verify_exceptions
> (expected_str, actual_str)
> E AssertionError: Unexpected exception string. Expected: row_regex:.*Caught exception.*(FATAL: password authentication failed for user "UNKNOWN")
> E Not found in actual: ImpalaBeeswaxException: Query aborted:Caught exception while trying to execute query:Cannot create PoolableConnectionFactory (FATAL: role "UNKNOWN" does not exist){code}
> The parts of the test that failed were added by IMPALA-12802. [~wzhou] could you take a look?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org