Skip to content

CI: Integration tests - Test_meshEndpointSlice_Reconcile #32931

@giorio94

Description

@giorio94

CI failure

/tmp/go-stress-20240606T093130-3062731158
I0606 09:32:49.496892  156987 endpointslice_controller.go:296] "Starting endpoint slice controller"
I0606 09:32:49.496976  156987 shared_informer.go:313] Waiting for caches to sync for endpoint_slice
I0606 09:32:49.497011  156987 shared_informer.go:320] Caches are synced for endpoint_slice
--- FAIL: Test_meshEndpointSlice_Reconcile (0.31s)
    logger.go:257: time=2024-06-06T09:32:49.294+02:00 level=INFO source=/home/marco/Documents/isovalent/cilium/vendor/github.com/cilium/hive/hive.go:337 msg=Starting
    logger.go:257: time=2024-06-06T09:32:49.294+02:00 level=INFO source=/home/marco/Documents/isovalent/cilium/vendor/github.com/cilium/hive/hive.go:341 msg=Started duration=95.581µs
    --- FAIL: Test_meshEndpointSlice_Reconcile/Create_global_service_then_service (0.01s)
        endpointslice_test.go:189: 
                Error Trace:    /home/marco/Documents/isovalent/cilium/pkg/clustermesh/endpointslicesync/endpointslice_test.go:189
                Error:          Not equal: 
                                expected: 1
                                actual  : 0
                Test:           Test_meshEndpointSlice_Reconcile/Create_global_service_then_service
    logger.go:257: time=2024-06-06T09:32:49.590+02:00 level=INFO source=/home/marco/Documents/isovalent/cilium/vendor/github.com/cilium/hive/hive.go:353 msg=Stopping
    logger.go:257: time=2024-06-06T09:32:49.590+02:00 level=INFO source=/home/marco/Documents/isovalent/cilium/pkg/hive/health/provider.go:62 msg="health.job-module-status-metrics (rev=2)" module=health
FAIL

I managed to reproduce it locally (although it seems fairly rare) with:

$ go install golang.org/x/tools/cmd/stress@latest
$ go test -c -race ./pkg/clustermesh/endpointslicesync
$ stress -p 250 ./endpointslicesync.test

/cc @MrFreezeex

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/CIContinuous Integration testing issue or flakeci/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