Authentication Test Run Report

DateMar 31, 2025 13:35
Duration36m 47s
Framework TestFlows 2.0.250110.1002922

Artifacts

Test artifacts can be found at https://altinity-build-artifacts.s3.amazonaws.com/index.html#690/9cc18c29345b843524fe9f9f15856514100af4dc/regression/aarch64/with_analyzer/zookeeper/without_thread_fuzzer/ldap/authentication/

Attributes

projectAltinity/ClickHouse
project.id159717931
packagehttps://s3.amazonaws.com/altinity-build-artifacts/PRs/690/9cc18c29345b843524fe9f9f15856514100af4dc/package_aarch64/clickhouse-common-static_24.8.14.10008.altinitytest_arm64.deb
version24.8.14.10008.altinitytest
user.nameianton-ru
repositoryhttps://github.com/Altinity/clickhouse-regression
commit.hashbd31e738c0cedaca253d15a05ed245c41b6e0b6a
job.nameLDAP
job.retry2
job.urlhttps://github.com/Altinity/ClickHouse/actions/runs/14128423176
archaarch64
localTrue
clickhouse_versionNone
clickhouse_pathhttps://s3.amazonaws.com/altinity-build-artifacts/PRs/690/9cc18c29345b843524fe9f9f15856514100af4dc/package_aarch64/clickhouse-common-static_24.8.14.10008.altinitytest_arm64.deb
as_binaryFalse
base_osNone
keeper_pathNone
zookeeper_versionNone
use_keeperFalse
stressFalse
collect_service_logsTrue
thread_fuzzerFalse
with_analyzerTrue
reuse_envFalse

Summary

92.8%OK
6.4%Known

Statistics

Units Skip OK Fail Error XFail
Features
8
1
7
Scenarios
92
88
4
Examples
25
21
4
Steps
6282
6260
16
6

Known Fails

Test NameResultMessage
/authentication/connection protocols/tls cipher suiteXFail 22s 284ms
can't get it to work
AssertionError
Traceback (most recent call last):
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/ldap/authentication/regression.py", line 110, in 
    regression()
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/ldap/authentication/../../helpers/argparser.py", line 171, in capture_cluster_args
    return func(self, cluster_args=cluster_args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/ldap/authentication/regression.py", line 102, in regression
    Feature(run=load("ldap.authentication.tests.connections", "feature"))
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/ldap/authentication/../../ldap/authentication/tests/connections.py", line 311, in feature
    scenario()
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/ldap/authentication/../../ldap/authentication/tests/connections.py", line 242, in tls_cipher_suite
    login(servers, *users)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/ldap/authentication/../../ldap/authentication/tests/common.py", line 438, in login
    current().context.node.query(
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/ldap/authentication/../../helpers/cluster.py", line 1188, in query
    assert False, error(r.output)
           ^^^^^
AssertionError: Oops! Assertion failed

The following assertion was not satisfied
  assert False, error(r.output)

Description
  Code: 516. DB::Exception: Received from localhost:9000. DB::Exception: user4: Authentication failed: password is incorrect, or there is no user with such name.. (AUTHENTICATION_FAILED)

Assertion values
  assert False, error(r.output)
  ^ is False

Where
  File '/home/ubuntu/_work/ClickHouse/ClickHouse/ldap/authentication/../../helpers/cluster.py', line 1188 in 'query'

1180\|                  assert message in r.output, error(r.output)
1181\|  
1182\|          if not ignore_exception:
1183\|              if message is None or "Exception:" not in message:
1184\|                  with Then("check if output has exception") if steps else NullStep():
1185\|                      if "Exception:" in r.output:
1186\|                          if raise_on_exception:
1187\|                              raise QueryRuntimeException(r.output)
1188\|>                         assert False, error(r.output)
1189\|  
1190\|          return r
1191\|
/authentication/connection protocols/tls require cert default demandXFail 22s 533ms
can't be tested with self-signed certificates
AssertionError
Traceback (most recent call last):
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/ldap/authentication/regression.py", line 110, in 
    regression()
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/ldap/authentication/../../helpers/argparser.py", line 171, in capture_cluster_args
    return func(self, cluster_args=cluster_args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/ldap/authentication/regression.py", line 102, in regression
    Feature(run=load("ldap.authentication.tests.connections", "feature"))
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/ldap/authentication/../../ldap/authentication/tests/connections.py", line 311, in feature
    scenario()
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/ldap/authentication/../../ldap/authentication/tests/connections.py", line 199, in tls_require_cert_default_demand
    login(servers, *users)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/ldap/authentication/../../ldap/authentication/tests/common.py", line 438, in login
    current().context.node.query(
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/ldap/authentication/../../helpers/cluster.py", line 1188, in query
    assert False, error(r.output)
           ^^^^^
AssertionError: Oops! Assertion failed

The following assertion was not satisfied
  assert False, error(r.output)

Description
  Code: 516. DB::Exception: Received from localhost:9000. DB::Exception: user2: Authentication failed: password is incorrect, or there is no user with such name.. (AUTHENTICATION_FAILED)

Assertion values
  assert False, error(r.output)
  ^ is False

Where
  File '/home/ubuntu/_work/ClickHouse/ClickHouse/ldap/authentication/../../helpers/cluster.py', line 1188 in 'query'

1180\|                  assert message in r.output, error(r.output)
1181\|  
1182\|          if not ignore_exception:
1183\|              if message is None or "Exception:" not in message:
1184\|                  with Then("check if output has exception") if steps else NullStep():
1185\|                      if "Exception:" in r.output:
1186\|                          if raise_on_exception:
1187\|                              raise QueryRuntimeException(r.output)
1188\|>                         assert False, error(r.output)
1189\|  
1190\|          return r
1191\|
/authentication/user authentications/rbac=False/verification cooldown/verification cooldown reset when invalid password is providedXFail 22s 579ms
https://github.com/ClickHouse/ClickHouse/issues/51323
AssertionError
Traceback (most recent call last):
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/ldap/authentication/regression.py", line 110, in 
    regression()
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/ldap/authentication/../../helpers/argparser.py", line 171, in capture_cluster_args
    return func(self, cluster_args=cluster_args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/ldap/authentication/regression.py", line 105, in regression
    Feature(run=load("ldap.authentication.tests.authentications", "feature"))
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/ldap/authentication/../../ldap/authentication/tests/authentications.py", line 1228, in feature
    Feature(test=verification_cooldown)(rbac=rbac, servers=servers, node=node)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/ldap/authentication/../../ldap/authentication/tests/authentications.py", line 1203, in verification_cooldown
    scenario(server="openldap1", rbac=rbac)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/ldap/authentication/../../ldap/authentication/tests/authentications.py", line 1184, in scenario
    login_and_execute_query(
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/ldap/authentication/../../ldap/authentication/tests/authentications.py", line 36, in login_and_execute_query
    self.context.node.query(
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/ldap/authentication/../../helpers/cluster.py", line 1172, in query
    assert r.exitcode == exitcode, error(r.output)
           ^^^^^^^^^^^^^^^^^^^^^^
AssertionError: Oops! Assertion failed

The following assertion was not satisfied
  assert r.exitcode == exitcode, error(r.output)

Description
  1

Assertion values
  assert r.exitcode == exitcode, error(r.output)
         ^ is 
  assert r.exitcode == exitcode, error(r.output)
         ^ is = 0
  assert r.exitcode == exitcode, error(r.output)
                       ^ is 4
  assert r.exitcode == exitcode, error(r.output)
                    ^ is = False
  assert r.exitcode == exitcode, error(r.output)
  ^ is False

Where
  File '/home/ubuntu/_work/ClickHouse/ClickHouse/ldap/authentication/../../helpers/cluster.py', line 1172 in 'query'

1164\|                      **kwargs,
1165\|                  )
1166\|  
1167\|          if no_checks:
1168\|              return r
1169\|  
1170\|          if exitcode is not None:
1171\|              with Then(f"exitcode should be {exitcode}") if steps else NullStep():
1172\|>                 assert r.exitcode == exitcode, error(r.output)
1173\|  
1174\|          if message is not None:
1175\|              with (
/authentication/user authentications/rbac=True/verification cooldown/verification cooldown reset when invalid password is providedXFail 22s 450ms
https://github.com/ClickHouse/ClickHouse/issues/51323
AssertionError
Traceback (most recent call last):
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/ldap/authentication/regression.py", line 110, in 
    regression()
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/ldap/authentication/../../helpers/argparser.py", line 171, in capture_cluster_args
    return func(self, cluster_args=cluster_args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/ldap/authentication/regression.py", line 105, in regression
    Feature(run=load("ldap.authentication.tests.authentications", "feature"))
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/ldap/authentication/../../ldap/authentication/tests/authentications.py", line 1228, in feature
    Feature(test=verification_cooldown)(rbac=rbac, servers=servers, node=node)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/ldap/authentication/../../ldap/authentication/tests/authentications.py", line 1203, in verification_cooldown
    scenario(server="openldap1", rbac=rbac)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/ldap/authentication/../../ldap/authentication/tests/authentications.py", line 1184, in scenario
    login_and_execute_query(
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/ldap/authentication/../../ldap/authentication/tests/authentications.py", line 36, in login_and_execute_query
    self.context.node.query(
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/ldap/authentication/../../helpers/cluster.py", line 1172, in query
    assert r.exitcode == exitcode, error(r.output)
           ^^^^^^^^^^^^^^^^^^^^^^
AssertionError: Oops! Assertion failed

The following assertion was not satisfied
  assert r.exitcode == exitcode, error(r.output)

Description
  1

Assertion values
  assert r.exitcode == exitcode, error(r.output)
         ^ is 
  assert r.exitcode == exitcode, error(r.output)
         ^ is = 0
  assert r.exitcode == exitcode, error(r.output)
                       ^ is 4
  assert r.exitcode == exitcode, error(r.output)
                    ^ is = False
  assert r.exitcode == exitcode, error(r.output)
  ^ is False

Where
  File '/home/ubuntu/_work/ClickHouse/ClickHouse/ldap/authentication/../../helpers/cluster.py', line 1172 in 'query'

1164\|                      **kwargs,
1165\|                  )
1166\|  
1167\|          if no_checks:
1168\|              return r
1169\|  
1170\|          if exitcode is not None:
1171\|              with Then(f"exitcode should be {exitcode}") if steps else NullStep():
1172\|>                 assert r.exitcode == exitcode, error(r.output)
1173\|  
1174\|          if message is not None:
1175\|              with (

Results

Test Name Result Duration
/authentication OK 36m 47s
/authentication/sanity OK 1s 578ms
/authentication/multiple servers OK 23s 272ms
/authentication/connection protocols OK 7m 30s
/authentication/connection protocols/plain text OK 22s 112ms
/authentication/connection protocols/plain text with custom port OK 22s 175ms
/authentication/connection protocols/starttls OK 1m 29s
/authentication/connection protocols/starttls with custom port OK 24s 258ms
/authentication/connection protocols/tls OK 1m 30s
/authentication/connection protocols/tls cipher suite XFail 22s 284ms
/authentication/connection protocols/tls enable tls default yes OK 22s 391ms
/authentication/connection protocols/tls minimum protocol version OK 1m 51s
/authentication/connection protocols/tls require cert default demand XFail 22s 533ms
/authentication/connection protocols/tls with custom port OK 23s 5ms
/authentication/server config OK 4m 33s
/authentication/server config/auth dn value OK 22s 744ms
/authentication/server config/empty ca cert dir OK 22s 421ms
/authentication/server config/empty ca cert file OK 22s 551ms
/authentication/server config/empty host OK 24s 382ms
/authentication/server config/empty server name OK 2s 104ms
/authentication/server config/invalid auth dn prefix OK 22s 659ms
/authentication/server config/invalid auth dn suffix OK 22s 453ms
/authentication/server config/invalid enable tls value OK 24s 500ms
/authentication/server config/invalid host OK 22s 630ms
/authentication/server config/invalid port OK 22s 461ms
/authentication/server config/invalid tls require cert value OK 22s 502ms
/authentication/server config/invalid verification cooldown value OK 12s 621ms
/authentication/server config/missing host OK 23s 618ms
/authentication/server config/syntax OK 6s 240ms
/authentication/user config OK 1m 34s
/authentication/user config/empty server name OK 8s 316ms
/authentication/user config/empty server not defined OK 23s 640ms
/authentication/user config/empty user name OK 8s 220ms
/authentication/user config/ldap and password OK 8s 239ms
/authentication/user config/multiple servers OK 23s 713ms
/authentication/user config/valid user config OK 22s 691ms
/authentication/user authentications OK 19m 5s
/authentication/user authentications/rbac=False OK 12m 12s
/authentication/user authentications/rbac=False/add user to ldap and login OK 16s 791ms
/authentication/user authentications/rbac=False/empty username and empty password OK 100ms
/authentication/user authentications/rbac=False/invalid long username and valid short password OK 16s 643ms
/authentication/user authentications/rbac=False/invalid username and valid password OK 16s 540ms
/authentication/user authentications/rbac=False/login after clickhouse server is restarted OK 30s 649ms
/authentication/user authentications/rbac=False/login after ldap server is restarted OK 19s 701ms
/authentication/user authentications/rbac=False/login after user cn changed in ldap OK 16s 307ms
/authentication/user authentications/rbac=False/login after user is deleted from ldap OK 16s 268ms
/authentication/user authentications/rbac=False/login after user password changed in ldap OK 16s 439ms
/authentication/user authentications/rbac=False/parallel login OK 35s 561ms
/authentication/user authentications/rbac=False/valid ascii username and utf8 password OK 17s 394ms
/authentication/user authentications/rbac=False/valid long username and short password OK 16s 385ms
/authentication/user authentications/rbac=False/valid short username and invalid long password OK 16s 380ms
/authentication/user authentications/rbac=False/valid short username and long password OK 16s 434ms
/authentication/user authentications/rbac=False/valid username and invalid empty password OK 16s 712ms
/authentication/user authentications/rbac=False/valid username and invalid password OK 16s 585ms
/authentication/user authentications/rbac=False/valid username and password OK 16s 614ms
/authentication/user authentications/rbac=False/valid username and password invalid server OK 16s 375ms
/authentication/user authentications/rbac=False/valid username with valid empty password OK 16s 426ms
/authentication/user authentications/rbac=False/valid utf8 username and ascii password OK 16s 470ms
/authentication/user authentications/rbac=False/verification cooldown OK 6m 15s
/authentication/user authentications/rbac=False/verification cooldown/default verification cooldown value OK 22s 489ms
/authentication/user authentications/rbac=False/verification cooldown/verification cooldown reset when invalid password is provided XFail 22s 579ms
/authentication/user authentications/rbac=False/verification cooldown/valid verification cooldown value cn change OK 22s 390ms
/authentication/user authentications/rbac=False/verification cooldown/valid verification cooldown value ldap unavailable OK 28s 15ms
/authentication/user authentications/rbac=False/verification cooldown/valid verification cooldown value password change OK 22s 589ms
/authentication/user authentications/rbac=False/verification cooldown/verification cooldown performance OK 1m 54s
/authentication/user authentications/rbac=False/verification cooldown/verification cooldown reset on server auth dn prefix parameter change OK 36s 552ms
/authentication/user authentications/rbac=False/verification cooldown/verification cooldown reset on server auth dn suffix parameter change OK 35s 440ms
/authentication/user authentications/rbac=False/verification cooldown/verification cooldown reset on server host parameter change OK 35s 398ms
/authentication/user authentications/rbac=False/verification cooldown/verification cooldown reset on server port parameter change OK 35s 613ms
/authentication/user authentications/rbac=True OK 6m 52s
/authentication/user authentications/rbac=True/add user to ldap and login OK 283ms
/authentication/user authentications/rbac=True/empty username and empty password OK 89ms
/authentication/user authentications/rbac=True/invalid long username and valid short password OK 254ms
/authentication/user authentications/rbac=True/invalid username and valid password OK 240ms
/authentication/user authentications/rbac=True/login after clickhouse server is restarted OK 14s 175ms
/authentication/user authentications/rbac=True/login after ldap server is restarted OK 3s 750ms
/authentication/user authentications/rbac=True/login after user cn changed in ldap OK 334ms
/authentication/user authentications/rbac=True/login after user is deleted from ldap OK 322ms
/authentication/user authentications/rbac=True/login after user password changed in ldap OK 398ms
/authentication/user authentications/rbac=True/parallel login OK 17s 912ms
/authentication/user authentications/rbac=True/valid ascii username and utf8 password OK 252ms
/authentication/user authentications/rbac=True/valid long username and short password OK 258ms
/authentication/user authentications/rbac=True/valid short username and invalid long password OK 228ms
/authentication/user authentications/rbac=True/valid short username and long password OK 257ms
/authentication/user authentications/rbac=True/valid username and invalid empty password OK 230ms
/authentication/user authentications/rbac=True/valid username and invalid password OK 229ms
/authentication/user authentications/rbac=True/valid username and password OK 246ms
/authentication/user authentications/rbac=True/valid username and password invalid server OK 154ms
/authentication/user authentications/rbac=True/valid username with valid empty password OK 230ms
/authentication/user authentications/rbac=True/valid utf8 username and ascii password OK 240ms
/authentication/user authentications/rbac=True/verification cooldown OK 6m 6s
/authentication/user authentications/rbac=True/verification cooldown/default verification cooldown value OK 22s 129ms
/authentication/user authentications/rbac=True/verification cooldown/verification cooldown reset when invalid password is provided XFail 22s 450ms
/authentication/user authentications/rbac=True/verification cooldown/valid verification cooldown value cn change OK 22s 197ms
/authentication/user authentications/rbac=True/verification cooldown/valid verification cooldown value ldap unavailable OK 27s 797ms
/authentication/user authentications/rbac=True/verification cooldown/valid verification cooldown value password change OK 22s 245ms
/authentication/user authentications/rbac=True/verification cooldown/verification cooldown performance OK 1m 47s
/authentication/user authentications/rbac=True/verification cooldown/verification cooldown reset on server auth dn prefix parameter change OK 36s 157ms
/authentication/user authentications/rbac=True/verification cooldown/verification cooldown reset on server auth dn suffix parameter change OK 35s 269ms
/authentication/user authentications/rbac=True/verification cooldown/verification cooldown reset on server host parameter change OK 35s 185ms
/authentication/user authentications/rbac=True/verification cooldown/verification cooldown reset on server port parameter change OK 35s 299ms
/authentication/multiple authentications methods Skip 1ms

Generated by TestFlows Open-Source Test Framework v2.0.250110.1002922