External User Directory Test Run Report

DateJul 14, 2023 14:10
Duration25m 15s
Framework TestFlows 1.9.230315.1003122

Artifacts

Test artifacts can be found at https://altinity-test-reports.s3.amazonaws.com/index.html#clickhouse/23.3.8.22.altinitystable/5553084583/testflows/

Attributes

projectAltinity/ClickHouse
project.id159717931
packagehttps://s3.amazonaws.com/altinity-build-artifacts/23.3/b2217a3881bc514b436b6e2c0e21eb899b4d4aee/package_release/clickhouse-common-static_23.3.8.22.altinitystable_amd64.deb
version23.3.8.22.altinitystable
user.nameEnmk
repositoryhttps://github.com/Altinity/clickhouse-regression
commit.hashb13df10b2ee4ce720b5635d1e0208debff3f6ca8
job.id5553084583
job.urlhttps://github.com/Altinity/ClickHouse/actions/runs/5553084583
archx86_64
stressFalse
localTrue
clickhouse_versionNone
clickhouse_binary_pathhttps://s3.amazonaws.com/altinity-build-artifacts/23.3/b2217a3881bc514b436b6e2c0e21eb899b4d4aee/package_release/clickhouse-common-static_23.3.8.22.altinitystable_amd64.deb
collect_service_logsTrue

Summary

94.1%OK
5.9%Known

Statistics

Units OK Fail XFail
Suites
7
7
Features
7
7
Scenarios
83
80
3
Examples
21
17
4
Steps
6161
6149
12

Known Fails

Test NameResultMessage
/external user directory/restart/parallel loginXFail 1ms
fails on 23.3
None
/external user directory/connection protocols/tls cipher suiteXFail 16s 41ms
can't get it to work
AssertionError
Traceback (most recent call last):
  File "/home/ubuntu/actions-runner/_work/ClickHouse/ClickHouse/ldap/external_user_directory/regression.py", line 126, in 
    regression()
  File "/home/ubuntu/actions-runner/_work/ClickHouse/ClickHouse/ldap/external_user_directory/regression.py", line 118, in regression
    Feature(run=load("ldap.external_user_directory.tests.connections", "feature"))
  File "/home/ubuntu/actions-runner/_work/ClickHouse/ClickHouse/ldap/external_user_directory/../../ldap/external_user_directory/tests/connections.py", line 323, in feature
    scenario()
  File "/home/ubuntu/actions-runner/_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/actions-runner/_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/actions-runner/_work/ClickHouse/ClickHouse/ldap/external_user_directory/../../helpers/cluster.py", line 777, 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/actions-runner/_work/ClickHouse/ClickHouse/ldap/external_user_directory/../../helpers/cluster.py', line 777 in 'query'

769\|                  assert message in r.output, error(r.output)
770\|  
771\|          if not ignore_exception:
772\|              if message is None or "Exception:" not in message:
773\|                  with Then("check if output has exception") if steps else NullStep():
774\|                      if "Exception:" in r.output:
775\|                          if raise_on_exception:
776\|                              raise QueryRuntimeException(r.output)
777\|>                         assert False, error(r.output)
778\|  
779\|          return r
780\|
/external user directory/connection protocols/tls require cert default demandXFail 16s 38ms
can't be tested with self-signed certificates
AssertionError
Traceback (most recent call last):
  File "/home/ubuntu/actions-runner/_work/ClickHouse/ClickHouse/ldap/external_user_directory/regression.py", line 126, in 
    regression()
  File "/home/ubuntu/actions-runner/_work/ClickHouse/ClickHouse/ldap/external_user_directory/regression.py", line 118, in regression
    Feature(run=load("ldap.external_user_directory.tests.connections", "feature"))
  File "/home/ubuntu/actions-runner/_work/ClickHouse/ClickHouse/ldap/external_user_directory/../../ldap/external_user_directory/tests/connections.py", line 323, in feature
    scenario()
  File "/home/ubuntu/actions-runner/_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/actions-runner/_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/actions-runner/_work/ClickHouse/ClickHouse/ldap/external_user_directory/../../helpers/cluster.py", line 777, 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/actions-runner/_work/ClickHouse/ClickHouse/ldap/external_user_directory/../../helpers/cluster.py', line 777 in 'query'

769\|                  assert message in r.output, error(r.output)
770\|  
771\|          if not ignore_exception:
772\|              if message is None or "Exception:" not in message:
773\|                  with Then("check if output has exception") if steps else NullStep():
774\|                      if "Exception:" in r.output:
775\|                          if raise_on_exception:
776\|                              raise QueryRuntimeException(r.output)
777\|>                         assert False, error(r.output)
778\|  
779\|          return r
780\|

Results

Test Name Result Duration
/external user directory OK 25m 15s
/external user directory/sanity OK 851ms
/external user directory/simple OK 17s 953ms
/external user directory/restart OK 1m 11s
/external user directory/restart/dynamically added users OK 25s 202ms
/external user directory/restart/multiple external user directories OK 23s 176ms
/external user directory/restart/one external user directory OK 22s 991ms
/external user directory/restart/parallel login XFail 1ms
/external user directory/server config OK 2m 34s
/external user directory/server config/auth dn value OK 16s 18ms
/external user directory/server config/empty ca cert dir OK 15s 892ms
/external user directory/server config/empty ca cert file OK 15s 957ms
/external user directory/server config/empty host OK 2s 88ms
/external user directory/server config/empty server name OK 2s 81ms
/external user directory/server config/invalid auth dn prefix OK 15s 959ms
/external user directory/server config/invalid auth dn suffix OK 15s 935ms
/external user directory/server config/invalid enable tls value OK 2s 85ms
/external user directory/server config/invalid host OK 15s 995ms
/external user directory/server config/invalid port OK 15s 942ms
/external user directory/server config/invalid tls require cert value OK 15s 995ms
/external user directory/server config/invalid verification cooldown value OK 11s 503ms
/external user directory/server config/missing host OK 4s 474ms
/external user directory/server config/syntax OK 4s 427ms
/external user directory/external user directory config OK 2m 27s
/external user directory/external user directory config/defined twice roles OK 16s 730ms
/external user directory/external user directory config/defined twice server OK 16s 25ms
/external user directory/external user directory config/empty roles OK 16s 46ms
/external user directory/external user directory config/empty server OK 16s 953ms
/external user directory/external user directory config/invalid role in roles OK 16s 818ms
/external user directory/external user directory config/invalid server OK 16s 4ms
/external user directory/external user directory config/missing roles OK 15s 988ms
/external user directory/external user directory config/missing server OK 16s 734ms
/external user directory/external user directory config/more than one user directory OK 16s 25ms
/external user directory/connection protocols OK 5m 20s
/external user directory/connection protocols/plain text OK 15s 979ms
/external user directory/connection protocols/plain text with custom port OK 15s 978ms
/external user directory/connection protocols/starttls OK 1m 3s
/external user directory/connection protocols/starttls with custom port OK 16s 19ms
/external user directory/connection protocols/tls OK 1m 4s
/external user directory/connection protocols/tls cipher suite XFail 16s 41ms
/external user directory/connection protocols/tls enable tls default yes OK 15s 975ms
/external user directory/connection protocols/tls minimum protocol version OK 1m 20s
/external user directory/connection protocols/tls require cert default demand XFail 16s 38ms
/external user directory/connection protocols/tls with custom port OK 16s 92ms
/external user directory/user authentications OK 9m 51s
/external user directory/user authentications/empty username and empty password OK 75ms
/external user directory/user authentications/invalid long username and valid short password OK 142ms
/external user directory/user authentications/invalid username and valid password OK 134ms
/external user directory/user authentications/login after clickhouse server is restarted OK 12s 113ms
/external user directory/user authentications/login after ldap server is restarted OK 1s 994ms
/external user directory/user authentications/login after user cn changed in ldap OK 233ms
/external user directory/user authentications/login after user is added to ldap OK 125ms
/external user directory/user authentications/login after user is deleted from ldap OK 220ms
/external user directory/user authentications/login after user password changed in ldap OK 294ms
/external user directory/user authentications/parallel login OK 27s 580ms
/external user directory/user authentications/parallel login with rbac users OK 27s 689ms
/external user directory/user authentications/parallel login with the same user OK 26s 831ms
/external user directory/user authentications/user lookup priority OK 518ms
/external user directory/user authentications/valid ascii username and utf8 password OK 138ms
/external user directory/user authentications/valid long username and short password OK 120ms
/external user directory/user authentications/valid short username and invalid long password OK 132ms
/external user directory/user authentications/valid short username and long password OK 125ms
/external user directory/user authentications/valid username and invalid empty password OK 125ms
/external user directory/user authentications/valid username and invalid password OK 121ms
/external user directory/user authentications/valid username and password OK 124ms
/external user directory/user authentications/valid username and password invalid server OK 61ms
/external user directory/user authentications/valid username with valid empty password OK 135ms
/external user directory/user authentications/valid utf8 username and ascii password OK 165ms
/external user directory/user authentications/login after ldap external user directory is removed OK 12s 481ms
/external user directory/user authentications/parallel login with multiple servers OK 1m 10s
/external user directory/user authentications/parallel login with rbac and multiple servers OK 1m 36s
/external user directory/user authentications/parallel login with the same user multiple servers OK 42s 651ms
/external user directory/user authentications/default verification cooldown value OK 16s 251ms
/external user directory/user authentications/verification cooldown reset when invalid password is provided OK 17s 384ms
/external user directory/user authentications/valid verification cooldown value cn change OK 18s 201ms
/external user directory/user authentications/valid verification cooldown value ldap unavailable OK 18s 517ms
/external user directory/user authentications/valid verification cooldown value password change OK 19s 300ms
/external user directory/user authentications/verification cooldown performance OK 1m 30s
/external user directory/user authentications/verification cooldown reset on server auth dn prefix parameter change OK 17s 519ms
/external user directory/user authentications/verification cooldown reset on server auth dn suffix parameter change OK 18s 479ms
/external user directory/user authentications/verification cooldown reset on server host parameter change OK 18s 491ms
/external user directory/user authentications/verification cooldown reset on server port parameter change OK 18s 519ms
/external user directory/roles OK 1m 43s
/external user directory/roles/add privilege OK 14s 341ms
/external user directory/roles/new role OK 14s 342ms
/external user directory/roles/not present role added OK 14s 334ms
/external user directory/roles/readd privilege by readding role OK 14s 715ms
/external user directory/roles/remove privilege OK 13s 310ms
/external user directory/roles/remove privilege by removing role OK 14s 230ms
/external user directory/roles/remove role OK 14s 194ms

Generated by TestFlows Open-Source Test Framework v1.9.230315.1003122