External User Directory Test Run Report

DateAug 03, 2023 7:14
Duration26m 16s
Framework TestFlows 1.9.230315.1003122

Artifacts

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

Attributes

projectAltinity/ClickHouse
project.id159717931
packagehttps://s3.amazonaws.com/altinity-build-artifacts/22.8/7fb126d648460c159657a337b2f0cc24fbbce2ee/package_release/clickhouse-common-static_22.8.20.12.altinitystable_amd64.deb
version22.8.20.12.altinitystable
user.nameEnmk
repositoryhttps://github.com/Altinity/clickhouse-regression
commit.hashb13df10b2ee4ce720b5635d1e0208debff3f6ca8
job.id5744038919
job.urlhttps://github.com/Altinity/ClickHouse/actions/runs/5744038919
archx86_64
stressFalse
localTrue
clickhouse_versionNone
clickhouse_binary_pathhttps://s3.amazonaws.com/altinity-build-artifacts/22.8/7fb126d648460c159657a337b2f0cc24fbbce2ee/package_release/clickhouse-common-static_22.8.20.12.altinitystable_amd64.deb
collect_service_logsTrue

Summary

94.9%OK
5.1%Known

Statistics

Units OK Fail XFail
Suites
7
7
Features
7
7
Scenarios
83
81
2
Examples
21
17
4
Steps
6413
6401
12

Known Fails

Test NameResultMessage
/external user directory/connection protocols/tls cipher suiteXFail 15s 992ms
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 41ms
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 26m 16s
/external user directory/sanity OK 856ms
/external user directory/simple OK 16s 27ms
/external user directory/restart OK 2m 29s
/external user directory/restart/dynamically added users OK 24s 361ms
/external user directory/restart/multiple external user directories OK 23s 103ms
/external user directory/restart/one external user directory OK 22s 922ms
/external user directory/restart/parallel login OK 1m 18s
/external user directory/server config OK 2m 34s
/external user directory/server config/auth dn value OK 15s 836ms
/external user directory/server config/empty ca cert dir OK 15s 926ms
/external user directory/server config/empty ca cert file OK 15s 967ms
/external user directory/server config/empty host OK 2s 83ms
/external user directory/server config/empty server name OK 2s 88ms
/external user directory/server config/invalid auth dn prefix OK 16s 3ms
/external user directory/server config/invalid auth dn suffix OK 15s 933ms
/external user directory/server config/invalid enable tls value OK 2s 82ms
/external user directory/server config/invalid host OK 15s 939ms
/external user directory/server config/invalid port OK 16s 15ms
/external user directory/server config/invalid tls require cert value OK 15s 963ms
/external user directory/server config/invalid verification cooldown value OK 11s 502ms
/external user directory/server config/missing host OK 4s 456ms
/external user directory/server config/syntax OK 4s 456ms
/external user directory/external user directory config OK 2m 28s
/external user directory/external user directory config/defined twice roles OK 16s 631ms
/external user directory/external user directory config/defined twice server OK 16s 90ms
/external user directory/external user directory config/empty roles OK 15s 940ms
/external user directory/external user directory config/empty server OK 17s 6ms
/external user directory/external user directory config/invalid role in roles OK 16s 817ms
/external user directory/external user directory config/invalid server OK 15s 926ms
/external user directory/external user directory config/missing roles OK 15s 911ms
/external user directory/external user directory config/missing server OK 16s 723ms
/external user directory/external user directory config/more than one user directory OK 16s 978ms
/external user directory/connection protocols OK 5m 19s
/external user directory/connection protocols/plain text OK 16s 34ms
/external user directory/connection protocols/plain text with custom port OK 15s 890ms
/external user directory/connection protocols/starttls OK 1m 3s
/external user directory/connection protocols/starttls with custom port OK 15s 937ms
/external user directory/connection protocols/tls OK 1m 3s
/external user directory/connection protocols/tls cipher suite XFail 15s 992ms
/external user directory/connection protocols/tls enable tls default yes OK 15s 995ms
/external user directory/connection protocols/tls minimum protocol version OK 1m 20s
/external user directory/connection protocols/tls require cert default demand XFail 16s 41ms
/external user directory/connection protocols/tls with custom port OK 16s 79ms
/external user directory/user authentications OK 9m 35s
/external user directory/user authentications/empty username and empty password OK 70ms
/external user directory/user authentications/invalid long username and valid short password OK 143ms
/external user directory/user authentications/invalid username and valid password OK 126ms
/external user directory/user authentications/login after clickhouse server is restarted OK 12s 145ms
/external user directory/user authentications/login after ldap server is restarted OK 2s 72ms
/external user directory/user authentications/login after user cn changed in ldap OK 234ms
/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 203ms
/external user directory/user authentications/login after user password changed in ldap OK 303ms
/external user directory/user authentications/parallel login OK 26s 191ms
/external user directory/user authentications/parallel login with rbac users OK 26s 485ms
/external user directory/user authentications/parallel login with the same user OK 25s 813ms
/external user directory/user authentications/user lookup priority OK 473ms
/external user directory/user authentications/valid ascii username and utf8 password OK 168ms
/external user directory/user authentications/valid long username and short password OK 121ms
/external user directory/user authentications/valid short username and invalid long password OK 141ms
/external user directory/user authentications/valid short username and long password OK 133ms
/external user directory/user authentications/valid username and invalid empty password OK 123ms
/external user directory/user authentications/valid username and invalid password OK 119ms
/external user directory/user authentications/valid username and password OK 123ms
/external user directory/user authentications/valid username and password invalid server OK 57ms
/external user directory/user authentications/valid username with valid empty password OK 128ms
/external user directory/user authentications/valid utf8 username and ascii password OK 129ms
/external user directory/user authentications/login after ldap external user directory is removed OK 12s 486ms
/external user directory/user authentications/parallel login with multiple servers OK 1m 6s
/external user directory/user authentications/parallel login with rbac and multiple servers OK 1m 32s
/external user directory/user authentications/parallel login with the same user multiple servers OK 42s 151ms
/external user directory/user authentications/default verification cooldown value OK 16s 108ms
/external user directory/user authentications/verification cooldown reset when invalid password is provided OK 16s 274ms
/external user directory/user authentications/valid verification cooldown value cn change OK 18s 157ms
/external user directory/user authentications/valid verification cooldown value ldap unavailable OK 18s 551ms
/external user directory/user authentications/valid verification cooldown value password change OK 20s 215ms
/external user directory/user authentications/verification cooldown performance OK 1m 26s
/external user directory/user authentications/verification cooldown reset on server auth dn prefix parameter change OK 17s 545ms
/external user directory/user authentications/verification cooldown reset on server auth dn suffix parameter change OK 18s 410ms
/external user directory/user authentications/verification cooldown reset on server host parameter change OK 18s 497ms
/external user directory/user authentications/verification cooldown reset on server port parameter change OK 18s 481ms
/external user directory/roles OK 1m 42s
/external user directory/roles/add privilege OK 14s 238ms
/external user directory/roles/new role OK 14s 318ms
/external user directory/roles/not present role added OK 14s 252ms
/external user directory/roles/readd privilege by readding role OK 14s 573ms
/external user directory/roles/remove privilege OK 13s 202ms
/external user directory/roles/remove privilege by removing role OK 14s 258ms
/external user directory/roles/remove role OK 13s 106ms

Generated by TestFlows Open-Source Test Framework v1.9.230315.1003122