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

flaky test TestCursorFetchErrorInFetch #50682

Closed
Tracked by #41316
hawkingrei opened this issue Jan 24, 2024 · 0 comments · Fixed by #50683
Closed
Tracked by #41316

flaky test TestCursorFetchErrorInFetch #50682

hawkingrei opened this issue Jan 24, 2024 · 0 comments · Fixed by #50683
Labels
component/test severity/moderate sig/sql-infra SIG: SQL Infra type/bug The issue is confirmed as a bug.

Comments

@hawkingrei
Copy link
Member

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

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

3. What did you see instead (Required)

 --- FAIL: TestCursorFetchErrorInFetch (13.74s)
    conn_stmt_test.go:326: 
        	Error Trace:	pkg/server/conn_stmt_test.go:326
        	Error:      	Received unexpected error:
        	            	[executor:8175]Your query has been cancelled due to exceeding the allowed memory limit for a single SQL query. Please try narrowing your query scope or increase the tidb_mem_quota_query limit and try again.[conn=17163206481289329585]
        	            	github.com/pingcap/errors.AddStack
        	            		external/com_github_pingcap_errors/errors.go:174
        	            	github.com/pingcap/errors.(*Error).GenWithStackByArgs
        	            		external/com_github_pingcap_errors/normalize.go:164
        	            	github.com/pingcap/tidb/pkg/util/sqlkiller.(*SQLKiller).HandleSignal
        	            		pkg/util/sqlkiller/sqlkiller.go:68
        	            	github.com/pingcap/tidb/pkg/util/memory.(*PanicOnExceed).Action
        	            		pkg/util/memory/action.go:172
        	            	github.com/pingcap/tidb/pkg/util/memory.(*Tracker).Consume.func1
        	            		pkg/util/memory/tracker.go:437
        	            	github.com/pingcap/tidb/pkg/util/memory.(*Tracker).Consume
        	            		pkg/util/memory/tracker.go:464
        	            	github.com/pingcap/tidb/pkg/store/copr.(*copIteratorWorker).sendToRespCh
        	            		pkg/store/copr/coprocessor.go:1006
        	            	github.com/pingcap/tidb/pkg/store/copr.(*copIteratorWorker).handleCopResponse
        	            		pkg/store/copr/coprocessor.go:1449
        	            	github.com/pingcap/tidb/pkg/store/copr.(*copIteratorWorker).handleCopPagingResult
        	            		pkg/store/copr/coprocessor.go:1349
        	            	github.com/pingcap/tidb/pkg/store/copr.(*copIteratorWorker).handleTaskOnce
        	            		pkg/store/copr/coprocessor.go:1282
        	            	github.com/pingcap/tidb/pkg/store/copr.(*copIteratorWorker).handleTask
        	            		pkg/store/copr/coprocessor.go:1135
        	            	github.com/pingcap/tidb/pkg/store/copr.(*copIteratorWorker).run
        	            		pkg/store/copr/coprocessor.go:817
        	            	runtime.goexit
        	            		src/runtime/asm_amd64.s:1650
        	Test:       	TestCursorFetchErrorInFetch 

4. What is your TiDB version? (Required)

@hawkingrei hawkingrei added the type/bug The issue is confirmed as a bug. label Jan 24, 2024
ti-chi-bot bot pushed a commit that referenced this issue Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/test severity/moderate 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.

1 participant