cilium / tetragon

eBPF-based Security Observability and Runtime Enforcement

Home Page:https://tetragon.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

New `TestPolicyListingWhileLoadUnload` introduces a flake

mtardy opened this issue · comments

New TestPolicyListingWhileLoadUnload might be flaky. Related to #2506 cc @kkourt.

See https://github.com/cilium/tetragon/actions/runs/9514547742/job/26226959827?pr=2560#step:8:191

--- FAIL: TestPolicyListingWhileLoadUnload (10.00s)
    manager_test.go:351: adding policy
    manager_test.go:380: disabling policy
    delayed_sensor_test.go:70: unblocked failed: channel does not seem to be empty
    manager_test.go:382: 
        	Error Trace:	/home/runner/actions-runner/_work/tetragon/tetragon/go/src/github.com/cilium/tetragon/pkg/sensors/manager_test.go:382
        	Error:      	Received unexpected error:
        	            	failed to unload tracing policy "test-policy": failed to unload all sensors from collection test-policy: TestDelayedSensor/Unload timeout when waiting for unblocking
        	Test:       	TestPolicyListingWhileLoadUnload
FAIL