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

panic in the TestManagerDispatchLoop #50409

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

panic in the TestManagerDispatchLoop #50409

hawkingrei opened this issue Jan 15, 2024 · 0 comments · Fixed by #50446
Labels
component/ddl This issue is related to DDL of TiDB. component/test severity/major 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)

 [2024/01/15 03:03:17.975 +00:00] [ERROR] [spool.go:139] ["recover panic"] [recover="runtime error: index out of range [2227] with length 6"] [stack="github.com/pingcap/tidb/pkg/resourcemanager/pool/spool.(*Pool).run.func1.1\n\tpkg/resourcemanager/pool/spool/spool.go:139\nruntime.gopanic\n\tGOROOT/src/runtime/panic.go:914\nruntime.goPanicIndex\n\tGOROOT/src/runtime/panic.go:114\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler_test.TestManagerDispatchLoop.func3.1\n\tpkg/disttask/framework/scheduler/scheduler_test.go:550\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:596\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:380\ngo.uber.org/mock/gomock.(*Call).Do.func1\n\texternal/org_uber_go_mock/gomock/call.go:179\ngo.uber.org/mock/gomock.(*Controller).Call\n\texternal/org_uber_go_mock/gomock/controller.go:229\ngithub.com/pingcap/tidb/pkg/disttask/framework/mock.(*MockScheduler).ScheduleTask\n\tpkg/disttask/framework/mock/scheduler_mock.go:171\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).startScheduler.func1\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:321\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/spool.(*Pool).run.func1\n\tpkg/resourcemanager/pool/spool/spool.go:144"] [stack="github.com/pingcap/tidb/pkg/resourcemanager/pool/spool.(*Pool).run.func1.1\n\tpkg/resourcemanager/pool/spool/spool.go:139\nruntime.gopanic\n\tGOROOT/src/runtime/panic.go:914\nruntime.goPanicIndex\n\tGOROOT/src/runtime/panic.go:114\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler_test.TestManagerDispatchLoop.func3.1\n\tpkg/disttask/framework/scheduler/scheduler_test.go:550\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:596\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:380\ngo.uber.org/mock/gomock.(*Call).Do.func1\n\texternal/org_uber_go_mock/gomock/call.go:179\ngo.uber.org/mock/gomock.(*Controller).Call\n\texternal/org_uber_go_mock/gomock/controller.go:229\ngithub.com/pingcap/tidb/pkg/disttask/framework/mock.(*MockScheduler).ScheduleTask\n\tpkg/disttask/framework/mock/scheduler_mock.go:171\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).startScheduler.func1\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:321\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/spool.(*Pool).run.func1\n\tpkg/resourcemanager/pool/spool/spool.go:144"]
    scheduler_test.go:602: 
        	Error Trace:	pkg/disttask/framework/scheduler/scheduler_test.go:602
        	Error:      	Condition never satisfied
        	Test:       	TestManagerDispatchLoop 

https://tiprow.hawkingrei.com/view/gs/pingcapprow/pr-logs/pull/pingcap_tidb/50405/tiprow_fast_test/1746727973362339840#1:build-log.txt%3A4492

4. What is your TiDB version? (Required)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/ddl This issue is related to DDL of TiDB. component/test severity/major type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants