External User Directory Test Run Report

DateJul 22, 2024 9:21
Duration35m 16s
Framework TestFlows 2.0.240705.1133204

Artifacts

Test artifacts can be found at https://altinity-build-artifacts.s3.amazonaws.com/index.html#0/b6642564dbf296d6e55b907d7af6c8087470b672/regression/

Attributes

projectAltinity/ClickHouse
project.id159717931
packagehttps://s3.amazonaws.com/altinity-build-artifacts/24.3/b6642564dbf296d6e55b907d7af6c8087470b672/package_aarch64/clickhouse-common-static_24.3.5.47.altinitystable_arm64.deb
version24.3.5.47.altinitystable
user.nameEnmk
repositoryhttps://github.com/Altinity/clickhouse-regression
commit.hashc5e1513a2214ee33696c29717935e0a94989ac2a
job.id10037417827
job.urlhttps://github.com/Altinity/ClickHouse/actions/runs/10037417827
archaarch64
localTrue
clickhouse_versionNone
clickhouse_binary_pathhttps://s3.amazonaws.com/altinity-build-artifacts/24.3/b6642564dbf296d6e55b907d7af6c8087470b672/package_aarch64/clickhouse-common-static_24.3.5.47.altinitystable_arm64.deb
keeper_binary_pathNone
zookeeper_versionNone
use_keeperFalse
stressFalse
collect_service_logsTrue
thread_fuzzerFalse
with_analyzerFalse
reuse_envFalse

Summary

92.8%OK
7.2%Known

Statistics

Units OK Fail Error XFail
Features
7
7
Scenarios
83
79
4
Examples
21
17
4
Steps
6387
6360
12
6
9

Known Fails

Test NameResultMessage
/external user directory/restart/parallel loginXFail 2ms
fails on 23.3
None
/external user directory/connection protocols/tls cipher suiteXFail 24s 631ms
can't get it to work
AssertionError
Traceback (most recent call last):
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/ldap/external_user_directory/regression.py", line 130, in 
    regression()
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/ldap/external_user_directory/../../helpers/argparser.py", line 145, in capture_cluster_args
    return func(self, cluster_args=cluster_args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/ldap/external_user_directory/regression.py", line 124, in regression
    Feature(run=load("ldap.external_user_directory.tests.connections", "feature"))
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/ldap/external_user_directory/../../ldap/external_user_directory/tests/connections.py", line 323, in feature
    scenario()
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/ldap/external_user_directory/../../ldap/external_user_directory/tests/connections.py", line 266, in tls_cipher_suite
    login(servers, "openldap4", *users)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/ldap/external_user_directory/../../ldap/external_user_directory/tests/common.py", line 269, in login
    current().context.node.query(
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/ldap/external_user_directory/../../helpers/cluster.py", line 1079, 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/external_user_directory/../../helpers/cluster.py', line 1079 in 'query'

1071\|                  assert message in r.output, error(r.output)
1072\|  
1073\|          if not ignore_exception:
1074\|              if message is None or "Exception:" not in message:
1075\|                  with Then("check if output has exception") if steps else NullStep():
1076\|                      if "Exception:" in r.output:
1077\|                          if raise_on_exception:
1078\|                              raise QueryRuntimeException(r.output)
1079\|>                         assert False, error(r.output)
1080\|  
1081\|          return r
1082\|
/external user directory/connection protocols/tls require cert default demandXFail 23s 81ms
can't be tested with self-signed certificates
AssertionError
Traceback (most recent call last):
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/ldap/external_user_directory/regression.py", line 130, in 
    regression()
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/ldap/external_user_directory/../../helpers/argparser.py", line 145, in capture_cluster_args
    return func(self, cluster_args=cluster_args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/ldap/external_user_directory/regression.py", line 124, in regression
    Feature(run=load("ldap.external_user_directory.tests.connections", "feature"))
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/ldap/external_user_directory/../../ldap/external_user_directory/tests/connections.py", line 323, in feature
    scenario()
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/ldap/external_user_directory/../../ldap/external_user_directory/tests/connections.py", line 219, in tls_require_cert_default_demand
    login(servers, "openldap2", *users)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/ldap/external_user_directory/../../ldap/external_user_directory/tests/common.py", line 269, in login
    current().context.node.query(
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/ldap/external_user_directory/../../helpers/cluster.py", line 1079, 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/external_user_directory/../../helpers/cluster.py', line 1079 in 'query'

1071\|                  assert message in r.output, error(r.output)
1072\|  
1073\|          if not ignore_exception:
1074\|              if message is None or "Exception:" not in message:
1075\|                  with Then("check if output has exception") if steps else NullStep():
1076\|                      if "Exception:" in r.output:
1077\|                          if raise_on_exception:
1078\|                              raise QueryRuntimeException(r.output)
1079\|>                         assert False, error(r.output)
1080\|  
1081\|          return r
1082\|
/external user directory/roles/not present role addedXFail 1ms
roles are not being applied to active clickhouse-client connections in 23.8
None

Results

Test Name Result Duration
/external user directory OK 35m 16s
/external user directory/sanity OK 1s 896ms
/external user directory/simple OK 24s 173ms
/external user directory/restart OK 1m 48s
/external user directory/restart/dynamically added users OK 41s 804ms
/external user directory/restart/multiple external user directories OK 32s 617ms
/external user directory/restart/one external user directory OK 34s 245ms
/external user directory/restart/parallel login XFail 2ms
/external user directory/server config OK 3m 42s
/external user directory/server config/auth dn value OK 24s 218ms
/external user directory/server config/empty ca cert dir OK 23s 354ms
/external user directory/server config/empty ca cert file OK 24s 645ms
/external user directory/server config/empty host OK 2s 127ms
/external user directory/server config/empty server name OK 2s 107ms
/external user directory/server config/invalid auth dn prefix OK 23s 754ms
/external user directory/server config/invalid auth dn suffix OK 23s 147ms
/external user directory/server config/invalid enable tls value OK 2s 101ms
/external user directory/server config/invalid host OK 23s 746ms
/external user directory/server config/invalid port OK 23s 865ms
/external user directory/server config/invalid tls require cert value OK 24s 102ms
/external user directory/server config/invalid verification cooldown value OK 11s 531ms
/external user directory/server config/missing host OK 6s 446ms
/external user directory/server config/syntax OK 7s 707ms
/external user directory/external user directory config OK 3m 41s
/external user directory/external user directory config/defined twice roles OK 26s 312ms
/external user directory/external user directory config/defined twice server OK 22s 810ms
/external user directory/external user directory config/empty roles OK 24s 416ms
/external user directory/external user directory config/empty server OK 25s 166ms
/external user directory/external user directory config/invalid role in roles OK 24s 426ms
/external user directory/external user directory config/invalid server OK 24s 538ms
/external user directory/external user directory config/missing roles OK 24s 565ms
/external user directory/external user directory config/missing server OK 24s 19ms
/external user directory/external user directory config/more than one user directory OK 24s 966ms
/external user directory/connection protocols OK 8m 4s
/external user directory/connection protocols/plain text OK 23s 449ms
/external user directory/connection protocols/plain text with custom port OK 23s 500ms
/external user directory/connection protocols/starttls OK 1m 34s
/external user directory/connection protocols/starttls with custom port OK 24s 764ms
/external user directory/connection protocols/tls OK 1m 36s
/external user directory/connection protocols/tls cipher suite XFail 24s 631ms
/external user directory/connection protocols/tls enable tls default yes OK 24s 496ms
/external user directory/connection protocols/tls minimum protocol version OK 2m 5s
/external user directory/connection protocols/tls require cert default demand XFail 23s 81ms
/external user directory/connection protocols/tls with custom port OK 24s 687ms
/external user directory/user authentications OK 13m 2s
/external user directory/user authentications/empty username and empty password OK 113ms
/external user directory/user authentications/invalid long username and valid short password OK 159ms
/external user directory/user authentications/invalid username and valid password OK 175ms
/external user directory/user authentications/login after clickhouse server is restarted OK 13s 698ms
/external user directory/user authentications/login after ldap server is restarted OK 4s 9ms
/external user directory/user authentications/login after user cn changed in ldap OK 248ms
/external user directory/user authentications/login after user is added to ldap OK 202ms
/external user directory/user authentications/login after user is deleted from ldap OK 260ms
/external user directory/user authentications/login after user password changed in ldap OK 364ms
/external user directory/user authentications/parallel login OK 29s 459ms
/external user directory/user authentications/parallel login with rbac users OK 29s 537ms
/external user directory/user authentications/parallel login with the same user OK 28s 865ms
/external user directory/user authentications/user lookup priority OK 528ms
/external user directory/user authentications/valid ascii username and utf8 password OK 143ms
/external user directory/user authentications/valid long username and short password OK 199ms
/external user directory/user authentications/valid short username and invalid long password OK 148ms
/external user directory/user authentications/valid short username and long password OK 200ms
/external user directory/user authentications/valid username and invalid empty password OK 129ms
/external user directory/user authentications/valid username and invalid password OK 131ms
/external user directory/user authentications/valid username and password OK 171ms
/external user directory/user authentications/valid username and password invalid server OK 59ms
/external user directory/user authentications/valid username with valid empty password OK 119ms
/external user directory/user authentications/valid utf8 username and ascii password OK 166ms
/external user directory/user authentications/login after ldap external user directory is removed OK 16s 16ms
/external user directory/user authentications/parallel login with multiple servers OK 1m 20s
/external user directory/user authentications/parallel login with rbac and multiple servers OK 1m 38s
/external user directory/user authentications/parallel login with the same user multiple servers OK 51s 779ms
/external user directory/user authentications/default verification cooldown value OK 23s 953ms
/external user directory/user authentications/verification cooldown reset when invalid password is provided OK 23s 746ms
/external user directory/user authentications/valid verification cooldown value cn change OK 25s 95ms
/external user directory/user authentications/valid verification cooldown value ldap unavailable OK 29s 340ms
/external user directory/user authentications/valid verification cooldown value password change OK 26s 863ms
/external user directory/user authentications/verification cooldown performance OK 2m 37s
/external user directory/user authentications/verification cooldown reset on server auth dn prefix parameter change OK 29s 897ms
/external user directory/user authentications/verification cooldown reset on server auth dn suffix parameter change OK 28s 680ms
/external user directory/user authentications/verification cooldown reset on server host parameter change OK 26s 931ms
/external user directory/user authentications/verification cooldown reset on server port parameter change OK 31s 554ms
/external user directory/roles OK 1m 54s
/external user directory/roles/add privilege OK 18s 703ms
/external user directory/roles/new role OK 17s 876ms
/external user directory/roles/not present role added XFail 1ms
/external user directory/roles/readd privilege by readding role OK 17s 66ms
/external user directory/roles/remove privilege OK 16s 800ms
/external user directory/roles/remove privilege by removing role OK 18s 9ms
/external user directory/roles/remove role OK 18s 50ms

Generated by TestFlows Open-Source Test Framework v2.0.240705.1133204