Skip to content
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

[Bug]: bvt failed in password_reuse.sql #20362

Open
1 task done
badboynt1 opened this issue Nov 26, 2024 · 6 comments
Open
1 task done

[Bug]: bvt failed in password_reuse.sql #20362

badboynt1 opened this issue Nov 26, 2024 · 6 comments
Assignees
Labels
kind/bug Something isn't working phase/testing severity/s0 Extreme impact: Cause the application to break down and seriously affect the use
Milestone

Comments

@badboynt1
Copy link
Contributor

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Branch Name

main

Commit ID

lastest

Other Environment Information

- Hardware parameters:
- OS type:
- Others:

Actual Behavior

2024-11-26 01:59:30 ERROR Executor:269 - [/home/runner/work/matrixone/matrixone/test/distributed/cases/zz_accesscontrol/password_management/password_reuse.sql][row:74][ALTER USER 'test_user'@'localhost' IDENTIFIED BY 'password1';] was executed failed, con[id=0, user=dump, ***
2024-11-26 01:59:30 ERROR Executor:271 - [EXPECT RESULT]:
null
2024-11-26 01:59:30 ERROR Executor:272 - [ACTUAL RESULT]:
invalid input: The password has been used before, please change another one
2024-11-26 01:59:30 ERROR Executor:269 - [/home/runner/work/matrixone/matrixone/test/distributed/cases/zz_accesscontrol/password_management/password_reuse.sql][row:77][ALTER USER 'test_user'@'localhost' IDENTIFIED BY 'password1';] was executed failed, con[id=0, user=dump, ***
2024-11-26 01:59:30 ERROR Executor:271 - [EXPECT RESULT]:
invalid input: The password has been used before, please change another one.
2024-11-26 01:59:30 ERROR Executor:272 - [ACTUAL RESULT]:
invalid input: The password has been used before, please change another one

Expected Behavior

No response

Steps to Reproduce

https://github.com/matrixorigin/matrixone/actions/runs/12022138515/job/33513845938?pr=20360

Additional information

No response

@badboynt1 badboynt1 added kind/bug Something isn't working needs-triage labels Nov 26, 2024
@badboynt1 badboynt1 assigned matrix-meow and YANGGMM and unassigned matrix-meow Nov 26, 2024
@YANGGMM
Copy link
Contributor

YANGGMM commented Nov 26, 2024

image

看报错的是违反了 password_interval的规则,但是password_interval 已经set成default 0了

image

@YANGGMM YANGGMM added the severity/s1 High impact: Logical errors or data errors that must occur label Nov 26, 2024
@sukki37 sukki37 added this to the 2.0.1 milestone Nov 27, 2024
@sukki37
Copy link
Contributor

sukki37 commented Nov 27, 2024

@YANGGMM YANGGMM added severity/s0 Extreme impact: Cause the application to break down and seriously affect the use and removed severity/s1 High impact: Logical errors or data errors that must occur labels Nov 27, 2024
@qingxinhome
Copy link
Contributor

repro: https://github.com/matrixorigin/matrixone/actions/runs/12051327175/job/33603030172

2024-11-27 14:14:21 INFO TestReport:76 - [/home/runner/_work/matrixone/matrixone/matrixone/test/distributed/cases/security/password.sql] SQL: ALTER USER user1_group4 IDENTIFIED BY 'oldpassword123'; -- Expected failure: Old password cannot be reused
2024-11-27 14:14:21 INFO TestReport:76 - [/home/runner/_work/matrixone/matrixone/matrixone/test/distributed/cases/security/password.sql] SQL: ALTER USER user2_group4 IDENTIFIED BY 'oldpassword456'; -- Expected failure: Old password cannot be reused

@Songxx-7
Copy link

Songxx-7 commented Nov 28, 2024

由于全局变量需要每次设置之后退出对话,才可以生效,测试组设置较多导致超出session会话限制。发现在session id=10 or id=11的时候"%connection_control_failed_connections_threshold%"变量设置无效。现在已经把id限制在10以内,变量组设置成功,正在提pr。

@Songxx-7
Copy link

fix:#20428

@YANGGMM
Copy link
Contributor

YANGGMM commented Nov 29, 2024

fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working phase/testing severity/s0 Extreme impact: Cause the application to break down and seriously affect the use
Projects
None yet
Development

No branches or pull requests

7 participants