kubernetes/kubernetes

UT pkg/kubelet/cm/dra TestUnprepareResources/should_timeout flaking with stable golang version and Kubernetes master

srivastav-abhishek opened this issue · 12 comments

Which jobs are flaking?

Failed-dra-test

Which tests are flaking?

test TestUnprepareResources/should_timeout

Since when has it been flaking?

Since Oct 25th

Testgrid link

No response

Reason for failure (if possible)

stack trace:

{Failed;Failed;  === RUN   TestUnprepareResources/should_timeout
I1102 22:20:03.622379   47650 plugin.go:106] "Register new DRA plugin" name="test-cdi-device" endpoint="/tmp/dra608345482/server.sock"
    manager_test.go:1083: 
        	Error Trace:	/home/prow/go/src/github.com/kubernetes/kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/kubelet/cm/dra/manager_test.go:1083
        	Error:      	An error is expected but got nil.
        	Test:       	TestUnprepareResources/should_timeout
I1102 22:20:48.683925   47650 plugin.go:179] "DeRegister DRA plugin" name="test-cdi-device"
    --- FAIL: TestUnprepareResources/should_timeout (45.07s)
;=== RUN   TestUnprepareResources
--- FAIL: TestUnprepareResources (45.09s)
;}

Anything else we need to know?

Test has been flaking with master golang as well.

Relevant SIG(s)

/sig node

This issue is currently awaiting triage.

If a SIG or subproject determines this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance.

The triage/accepted label can be added by org members by writing /triage accepted in a comment.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

#119709 (comment)

seems like we need to increase the timeout..
/assign

I tried with different values of timeout in setupFakeDRADriverGRPCServer function viz 1ms, 10ms, 20ms and running test binary using stress tool. In most cases, test is getting passed.