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

Unstable test found in CI TestInitConnect #30249

Closed
tiancaiamao opened this issue Nov 30, 2021 · 3 comments
Closed

Unstable test found in CI TestInitConnect #30249

tiancaiamao opened this issue Nov 30, 2021 · 3 comments
Assignees
Labels
component/test severity/major sig/sql-infra SIG: SQL Infra type/bug The issue is confirmed as a bug.

Comments

@tiancaiamao
Copy link
Contributor

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

[2021-11-30T02:29:26.743Z] --- FAIL: TestInitConnect (1.36s)
[2021-11-30T02:29:26.743Z]     dbtestkit.go:72:
[2021-11-30T02:29:26.743Z]              Error Trace:    dbtestkit.go:72
[2021-11-30T02:29:26.743Z]                                                      server_test.go:1939
[2021-11-30T02:29:26.743Z]                                                      server_test.go:117
[2021-11-30T02:29:26.743Z]                                                      server_test.go:1938
[2021-11-30T02:29:26.743Z]                                                      tidb_test.go:1107
[2021-11-30T02:29:26.743Z]              Error:          Received unexpected error:
[2021-11-30T02:29:26.743Z]                              commands out of sync. Did you run multiple statements at once?
[2021-11-30T02:29:26.743Z]              Test:           TestInitConnect
[2021-11-30T02:29:26.743Z]              Messages:       sql:SET GLOBAL init_connect="insert into test.ts VALUES (NOW());SET @a=1;", args:[]
[2021-11-30T02:29:26.743Z]     server_test.go:112:
[2021-11-30T02:29:26.743Z]              Error Trace:    server_test.go:112
[2021-11-30T02:29:26.743Z]                                                      panic.go:613
[2021-11-30T02:29:26.743Z]                                                      testing.go:741
[2021-11-30T02:29:26.743Z]                                                      dbtestkit.go:72
[2021-11-30T02:29:26.743Z]                                                      server_test.go:1939
[2021-11-30T02:29:26.743Z]                                                      server_test.go:117
[2021-11-30T02:29:26.743Z]                                                      server_test.go:1938
[2021-11-30T02:29:26.743Z]                                                      tidb_test.go:1107
[2021-11-30T02:29:26.743Z]              Error:          Received unexpected error:
[2021-11-30T02:29:26.743Z]                              bad connection
[2021-11-30T02:29:26.743Z]              Test:           TestInitConnect

2. What did you expect to see? (Required)

CI pass

3. What did you see instead (Required)

Sometimes fail ... I don't know how it happens

4. What is your TiDB version? (Required)

Head:     master executor: send a task with error to the resultCh when panic happen (#30214)
Merge:    origin/master executor: send a task with error to the resultCh when panic happen (#30214)
Tag:      v5.4.0-alpha (263)
@hawkingrei
Copy link
Member

Closed by #30306

@github-actions
Copy link

github-actions bot commented Dec 7, 2021

Please check whether the issue should be labeled with 'affects-x.y' or 'fixes-x.y.z', and then remove 'needs-more-info' label.

@hawkingrei
Copy link
Member

we can re-open it if the error happens again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/test severity/major sig/sql-infra SIG: SQL Infra type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants