[ 
https://issues.apache.org/jira/browse/IMPALA-13790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17933119#comment-17933119
 ] 

ASF subversion and git services commented on IMPALA-13790:
----------------------------------------------------------

Commit e49ed3d2430aeb032cba10e6a14fdb78619666b6 in impala's branch 
refs/heads/master from Csaba Ringhofer
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=e49ed3d24 ]

IMPALA-13790: Fix test_wildcard_san_ssl / test_wildcard_ssl

These tests failed in various ways depending on OS/openssl version.
An issue identified is that the certificates contained CN=* while
wildcard subject should be like *.<domain>. Recreated wildcard
certs with *.impala.test common name and added some host names
that match them in bootstrap_system.sh.

Removed the @xfail from the tests as my expectation is that they
should work on all supported OS.

Tested on
- Ubuntu 20.04 / OpenSSL 1.1.1f
- Ubuntu 22.04 / OpenSSL 3.0.2
- RHEL 7.9     / OpenSSL 1.0.2k
- RHEL 8.6     / OpenSSL 1.1.1k
- Rocky 9.2    / OpenSSL 3.2.2

Change-Id: Ieedf682d06bdb6f8f68a5f77e41175e895b77ca9
Reviewed-on: http://gerrit.cloudera.org:8080/22569
Reviewed-by: Riza Suminto <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>


> Remove xfail from test_wildcard_san_ssl / test_wildcard_ssl
> -----------------------------------------------------------
>
>                 Key: IMPALA-13790
>                 URL: https://issues.apache.org/jira/browse/IMPALA-13790
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Clients, Infrastructure
>            Reporter: Csaba Ringhofer
>            Assignee: Csaba Ringhofer
>            Priority: Major
>
> These tests have a history:
> https://github.com/apache/impala/commit/45ff0f9e674f54b35afb2b5eced0d6ec346890d6
> https://github.com/apache/impala/commit/c163ac1468e4d878c3516ec933c69fb66851af01
> https://github.com/apache/impala/commit/d3cf6d325779fff4ab0ba9db53411c510aa0f717
> The xfails were added a long time ago and hide the real status of tests. My 
> impression is that the tests xfail or xpass on every OS.
> They also take significant amount of time. From RHEL8 tests:
> {code}
> custom_cluster.test_client_ssl.TestClientSsl.test_wildcard_san_ssl[impala_shell:
>  dev | protocol: hs2 | table_format: text/none | exec_option: {'test_replan': 
> 1, 'batch_size': 0, 'num_nodes': 0, 'disable_codegen_rows_threshold': 0, 
> 'disable_codegen': False, 'abort_on_error': 1, 
> 'exec_single_node_rows_threshold': 0}] (from pytest)
> Skip Message
> expected test failure
> Standard Error
> -- 2025-02-20 02:50:33,882 INFO     MainThread: Starting cluster with 
> command: /
> s/common/impala_cluster.py", line 245, in wait_until_ready
>     impalad.wait_for_coordinator_services(sleep_interval, 
> check_processes_still_running)
> s/common/impala_cluster.py", line 655, in wait_for_coordinator_services
>     raise RuntimeError(
> RuntimeError: Unable to open client ports within 240 seconds.
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to