cockroachdb / cockroachdb/cockroach

pgwire: investigate TestAuthenticationAndHBARules with test tenants

Open
#107,310 4 comments 0 reactions 1 assignee Claimed by @sanchit-CRL View on GitHub
A-multitenancy C-bug C-investigation db-cy-23 P-2 T-product-security
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

Shared-process mode, only a single failure:
```
--- FAIL: TestAuthenticationAndHBARules/insecure=false/identity_map (0.43s)
--- PASS: TestAuthenticationAndHBARules/insecure=false/identity_map/password_still_works_with_db_username (0.02s)
--- PASS: TestAuthenticationAndHBARules/insecure=false/identity_map/password_evaluated_before_remapping (0.01s)
--- PASS: TestAuthenticationAndHBARules/insecure=false/identity_map/password_remapped_user_ok (0.01s)
--- FAIL: TestAuthenticationAndHBARules/insecure=false/identity_map/certificate_good (0.01s)
```
External-process mode, multiple failures:
```
--- FAIL: TestAuthenticationAndHBARules/insecure=false/conn_log (0.98s)
--- FAIL: TestAuthenticationAndHBARules/insecure=false/conn_log/conn_unix (0.00s)
--- FAIL: TestAuthenticationAndHBARules/insecure=false/conn_log/conn_unix/root_user (0.00s)
--- FAIL: TestAuthenticationAndHBARules/insecure=false/empty_hba (0.72s)
--- FAIL: TestAuthenticationAndHBARules/insecure=false/empty_hba/normaluser_cert (0.07s)
--- FAIL: TestAuthenticationAndHBARules/insecure=false/hba_default_equivalence (0.64s)
--- FAIL: TestAuthenticationAndHBARules/insecure=false/hba_default_equivalence/normaluser_cert (0.05s)
--- FAIL: TestAuthenticationAndHBARules/insecure=false/password_change (1.68s)
--- FAIL: TestAuthenticationAndHBARules/insecure=false/password_change/root_pw (0.17s)
--- FAIL: TestAuthenticationAndHBARules/insecure=false/password_change/root_pw/bcrypt (0.17s)
```

Jira issue: CRDB-29983
Epic: CRDB-48526

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.