Skip to content

panic in tests/pdctl/operator #7414

@lhy1024

Description

@lhy1024

Flaky Test

Which jobs are failing

[2023/11/22 07:04:19.297 +00:00] [FATAL] [log.go:87] [panic] [recover="\"invalid memory address or nil pointer dereference\""] [stack="github.com/tikv/pd/pkg/utils/logutil.LogPanic\n\t/home/runner/work/pd/pd/pkg/utils/logutil/log.go:87\nruntime.gopanic\n\t/opt/hostedtoolcache/go/1.21.4/x64/src/runtime/panic.go:920\nruntime.panicmem\n\t/opt/hostedtoolcache/go/1.21.4/x64/src/runtime/panic.go:261\nruntime.sigpanic\n\t/opt/hostedtoolcache/go/1.21.4/x64/src/runtime/signal_unix.go:861\ngithub.com/tikv/pd/pkg/schedule/checker.(*RuleChecker).CheckWithFit\n\t/home/runner/work/pd/pd/pkg/schedule/checker/rule_checker.go:142\ngithub.com/tikv/pd/pkg/schedule/checker.(*Controller).CheckRegion\n\t/home/runner/work/pd/pd/pkg/schedule/checker/checker_controller.go:103\ngithub.com/tikv/pd/pkg/schedule.(*Coordinator).tryAddOperators\n\t/home/runner/work/pd/pd/pkg/schedule/coordinator.go:301\ngithub.com/tikv/pd/pkg/schedule.(*Coordinator).checkSuspectRegions\n\t/home/runner/work/pd/pd/pkg/schedule/coordinator.go:212\ngithub.com/tikv/pd/pkg/schedule.(*Coordinator).PatrolRegions\n\t/home/runner/work/pd/pd/pkg/schedule/coordinator.go:170"]

CI link

https://github.com/tikv/pd/actions/runs/6952490392/job/18916139666?pr=7403
https://github.com/tikv/pd/actions/runs/6953924973/job/18919849256?pr=7368

Reason for failure (if possible)

Anything else

Metadata

Metadata

Assignees

No one assigned

    Labels

    affects-6.1This bug affects the 6.1.x(LTS) versions.affects-6.5This bug affects the 6.5.x(LTS) versions.affects-7.1This bug affects the 7.1.x(LTS) versions.affects-7.5This bug affects the 7.5.x(LTS) versions.severity/majortype/bugThe issue is confirmed as a bug.

    Type

    No type

    Projects

    Status

    Closed

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions