Skip to content

0.8.0 has a data race #1337

@cflewis

Description

@cflewis

0.8.0 has introduced a data race:

go test -v -race ./...

================== WARNING: DATA RACE Write at 0x00c00043ec60 by goroutine 8: sigs.k8s.io/controller-runtime/pkg/log.(*loggerPromise).Fulfill() /app/vendor/sigs.k8s.io/controller-runtime/pkg/log/deleg.go:75 +0xef sigs.k8s.io/controller-runtime/pkg/log.(*DelegatingLogger).Fulfill() /app/vendor/sigs.k8s.io/controller-runtime/pkg/log/deleg.go:124 +0x12e sigs.k8s.io/controller-runtime/pkg/log.init.0.func1() /app/vendor/sigs.k8s.io/controller-runtime/pkg/log/log.go:67 +0xbb Previous read at 0x00c00043ec60 by main goroutine: [failed to restore the stack] Goroutine 8 (running) created at: sigs.k8s.io/controller-runtime/pkg/log.init.0() /app/vendor/sigs.k8s.io/controller-runtime/pkg/log/log.go:62 +0x44 ================== 

This error is failing my CI, so I can't upgrade to 0.8 at this time.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions