Skip to content

CI: operator/pkg/bgp: flake in TestRouterIDAllocation: the object has been modified; resource version mismatch #44434

@tklauser

Description

@tklauser
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃   FAIL  package: github.com/cilium/cilium/operator/pkg/bgp   ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛

--- FAIL: TestRouterIDAllocation (3.12s)
--- FAIL: TestRouterIDAllocation/multiple_nodes_and_multiple_instances_with_single_cluster_configs_and_cleanup_the_2_instances_in_the_cluster_config (1.20s)

    logger.go:256: time=2026-02-19T08:39:14.258Z level=INFO source=/home/runner/work/cilium/cilium/vendor/github.com/cilium/hive/hive.go:385 msg="Starting hive"
    logger.go:256: time=2026-02-19T08:39:14.259Z level=INFO source=/home/runner/work/cilium/cilium/vendor/github.com/cilium/hive/hive.go:389 msg="Started hive" duration=45.779µs
    logger.go:256: time=2026-02-19T08:39:14.459Z level=INFO source=/home/runner/work/cilium/cilium/operator/pkg/bgp/manager.go:151 msg="BGP control plane operator started" module=bgp-cp-operator
    cluster_test.go:1637: 
        	Error Trace:	/home/runner/work/cilium/cilium/operator/pkg/bgp/cluster_test.go:1637
        	            				/home/runner/work/cilium/cilium/operator/pkg/bgp/cluster_test.go:1577
        	            				/opt/hostedtoolcache/go/1.26.0/x64/src/runtime/asm_amd64.s:1771
        	Error:      	Received unexpected error:
        	            	Operation cannot be fulfilled on ciliumbgpclusterconfigs.cilium.io "test-cc-multi-node": the object has been modified; resource version mismatch, current "18", got "15"
        	Test:       	TestRouterIDAllocation/multiple_nodes_and_multiple_instances_with_single_cluster_configs_and_cleanup_the_2_instances_in_the_cluster_config
    logger.go:256: time=2026-02-19T08:39:15.461Z level=INFO source=/home/runner/work/cilium/cilium/vendor/github.com/cilium/hive/hive.go:401 msg="Stopping hive"
    logger.go:256: time=2026-02-19T08:39:15.461Z level=INFO source=/home/runner/work/cilium/cilium/vendor/github.com/cilium/hive/hive.go:405 msg="Stopped hive" duration=601.289µs

https://github.com/cilium/cilium/actions/runs/22174214293/job/64118716945

Can easily be reproduced locally using go test -c ./operator/pkg/bgp && stress ./bgp.test.

cc @cilium/sig-bgp

Metadata

Metadata

Assignees

Labels

area/CIContinuous Integration testing issue or flakearea/bgpImpacts the Border Gateway Protocol feature.ci/flakeThis is a known failure that occurs in the tree. Please investigate me!

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions