-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
serverccl: TestVerifyPassword/some_admin_with_empty_password_should_fail fails with secondary tenants #106903
Labels
A-security
C-test-failure
Broken test (automatically or manually discovered).
db-cy-23
T-sql-foundations
SQL Foundations Team (formerly SQL Schema + SQL Sessions)
Comments
knz
added a commit
to knz/cockroach
that referenced
this issue
Jul 17, 2023
Followup issue: cockroachdb#106903 Release note: None
knz
added
A-security
T-sql-foundations
SQL Foundations Team (formerly SQL Schema + SQL Sessions)
labels
Jul 17, 2023
knz
added a commit
to knz/cockroach
that referenced
this issue
Jul 17, 2023
This also simplifies some tests so they don't need to start an entire cluster. The remaining mentions of `TODOTestTenantDisabled` are handled in issues cockroachdb#106897, cockroachdb#106903 and cockroachdb#106901. Release note: None
craig bot
pushed a commit
that referenced
this issue
Jul 17, 2023
106905: serverccl: mark `TestVerifyPassword` as problematic r=yuzefovich a=knz Informs #76378. Epic: CRDB-18499 Followup issue: #106903 Co-authored-by: Raphael 'kena' Poss <[email protected]>
knz
added a commit
to knz/cockroach
that referenced
this issue
Jul 18, 2023
This also simplifies some tests so they don't need to start an entire cluster. The remaining mentions of `TODOTestTenantDisabled` are handled in issues cockroachdb#106897, cockroachdb#106903 and cockroachdb#106901. Release note: None
craig bot
pushed a commit
that referenced
this issue
Jul 18, 2023
106910: serverccl: remove remaining uses of TODOTestTenantDisabled r=yuzefovich a=knz Epic: CRDB-18499 Informs #76378. This also simplifies some tests so they don't need to start an entire cluster. The remaining mentions of `TODOTestTenantDisabled` are handled in issues #106897, #106903 and #106901. Co-authored-by: Raphael 'kena' Poss <[email protected]>
Taking a look since I recently touched it. |
I can't repro on master. It looks likely it's caused by #107235 that was in the bors batch. |
Didn't see that, good catch. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-security
C-test-failure
Broken test (automatically or manually discovered).
db-cy-23
T-sql-foundations
SQL Foundations Team (formerly SQL Schema + SQL Sessions)
Epic: CRDB-26687
Emerged from #106905.
Informs #76378.
Describe the problem
The sub-test
some_admin_with_empty_password_should_fail
inTestVerifyPassword
fails when pointed to a secondary tenant.This is surprising (and possibly indicative of a security bug) given the other sub-tests pass successfully.
To Reproduce
On top of the #106905 branch, modify the test to replace
TestDoesNotWorkWithSecondaryTenantsButWeDontKnowWhyYet
byTestTenantAlwaysEnabled
.Expected behavior
The test should work the same whether or not a secondary tenant is used.
In an ideal world the parameter
DefaultTestTenant
is omitted and the default valueProbabilistic
can be used.Jira issue: CRDB-29757
The text was updated successfully, but these errors were encountered: