Skip to content

Conversation

@saschagrunert
Copy link
Member

What type of PR is this?

/kind failing-test

What this PR does / why we need it:

This should fix a regression in CI causing the error:

panic: runtime error: index out of range [1] with length 1

goroutine 111 [running]:
github.com/onsi/ginkgo/v2/reporters.(*DefaultReporter).codeLocationBlock(_, {{0xc00025aa40, 0x2, 0x2}, {0xc0001ec460, 0x2, 0x2}, {0xc0004ca540, 0x2, 0x2}, ...}, ...)
	/home/runner/go/pkg/mod/github.com/onsi/ginkgo/[email protected]/reporters/default_reporter.go:798 +0x2cb0
github.com/onsi/ginkgo/v2/reporters.(*DefaultReporter).DidRun(_, {{0xc00025aa40, 0x2, 0x2}, {0xc0001ec460, 0x2, 0x2}, {0xc0004ca540, 0x2, 0x2}, ...})
	/home/runner/go/pkg/mod/github.com/onsi/ginkgo/[email protected]/reporters/default_reporter.go:325 +0x12d5
github.com/onsi/ginkgo/v2/internal/parallel_support.(*ServerHandler).SpecSuiteWillBegin(_, {{0xc00002caf8, 0x17}, {0xc0001eb1b0, 0xe}, {0x0, 0x0, 0x0}, {0x0, 0x0, ...}, ...}, ...)
	/home/runner/go/pkg/mod/github.com/onsi/ginkgo/[email protected]/internal/parallel_support/server_handler.go:65 +0x1df
reflect.Value.call({0xc00028e5a0?, 0xc000288190?, 0x13?}, {0xad016a, 0x4}, {0xc000273ef8, 0x3, 0x3?})
	/opt/hostedtoolcache/go/1.25.0/x64/src/reflect/value.go:581 +0xcc6
reflect.Value.Call({0xc00028e5a0?, 0xc000288190?, 0x41df74?}, {0xc000059ef8?, 0x0?, 0x0?})
	/opt/hostedtoolcache/go/1.25.0/x64/src/reflect/value.go:365 +0xb9
net/rpc.(*service).call(0xc000290180, 0xc0002aa050, 0xc0001eab50, 0xc0001eab60, 0xc000282a00, 0xc0003fa020, {0xab8400?, 0xc0000e8800?, 0x893b45?}, {0x9eb8e0, ...}, ...)
	/opt/hostedtoolcache/go/1.25.0/x64/src/net/rpc/server.go:383 +0x209
created by net/rpc.(*Server).ServeCodec in goroutine 102
	/opt/hostedtoolcache/go/1.25.0/x64/src/net/rpc/server.go:480 +0x3de

Which issue(s) this PR fixes:

None

Special notes for your reviewer:

None

Does this PR introduce a user-facing change?

None

This should fix a regression in CI causing the error:

```
panic: runtime error: index out of range [1] with length 1

goroutine 111 [running]:
github.com/onsi/ginkgo/v2/reporters.(*DefaultReporter).codeLocationBlock(_, {{0xc00025aa40, 0x2, 0x2}, {0xc0001ec460, 0x2, 0x2}, {0xc0004ca540, 0x2, 0x2}, ...}, ...)
	/home/runner/go/pkg/mod/github.com/onsi/ginkgo/[email protected]/reporters/default_reporter.go:798 +0x2cb0
github.com/onsi/ginkgo/v2/reporters.(*DefaultReporter).DidRun(_, {{0xc00025aa40, 0x2, 0x2}, {0xc0001ec460, 0x2, 0x2}, {0xc0004ca540, 0x2, 0x2}, ...})
	/home/runner/go/pkg/mod/github.com/onsi/ginkgo/[email protected]/reporters/default_reporter.go:325 +0x12d5
github.com/onsi/ginkgo/v2/internal/parallel_support.(*ServerHandler).SpecSuiteWillBegin(_, {{0xc00002caf8, 0x17}, {0xc0001eb1b0, 0xe}, {0x0, 0x0, 0x0}, {0x0, 0x0, ...}, ...}, ...)
	/home/runner/go/pkg/mod/github.com/onsi/ginkgo/[email protected]/internal/parallel_support/server_handler.go:65 +0x1df
reflect.Value.call({0xc00028e5a0?, 0xc000288190?, 0x13?}, {0xad016a, 0x4}, {0xc000273ef8, 0x3, 0x3?})
	/opt/hostedtoolcache/go/1.25.0/x64/src/reflect/value.go:581 +0xcc6
reflect.Value.Call({0xc00028e5a0?, 0xc000288190?, 0x41df74?}, {0xc000059ef8?, 0x0?, 0x0?})
	/opt/hostedtoolcache/go/1.25.0/x64/src/reflect/value.go:365 +0xb9
net/rpc.(*service).call(0xc000290180, 0xc0002aa050, 0xc0001eab50, 0xc0001eab60, 0xc000282a00, 0xc0003fa020, {0xab8400?, 0xc0000e8800?, 0x893b45?}, {0x9eb8e0, ...}, ...)
	/opt/hostedtoolcache/go/1.25.0/x64/src/net/rpc/server.go:383 +0x209
created by net/rpc.(*Server).ServeCodec in goroutine 102
	/opt/hostedtoolcache/go/1.25.0/x64/src/net/rpc/server.go:480 +0x3de
```

Signed-off-by: Sascha Grunert <[email protected]>
@k8s-ci-robot k8s-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. kind/failing-test Categorizes issue or PR as related to a consistently or frequently failing test. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Feb 3, 2026
@k8s-ci-robot k8s-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Feb 3, 2026
@saschagrunert saschagrunert changed the title WIP: Make ginkgo less verbose Make ginkgo less verbose Feb 3, 2026
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Feb 3, 2026
@saschagrunert
Copy link
Member Author

@kubernetes-sigs/cri-tools-maintainers PTAL

Copy link
Member

@SergeyKanzhelev SergeyKanzhelev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Feb 3, 2026
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: saschagrunert, SergeyKanzhelev

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit 9faf355 into kubernetes-sigs:master Feb 3, 2026
30 of 31 checks passed
@saschagrunert saschagrunert deleted the ginkgo branch February 4, 2026 07:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/failing-test Categorizes issue or PR as related to a consistently or frequently failing test. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants