chore(backend): flaky CI tests
Chore description
The backend integration test test run_api_test.go (backend/test/v2/integration) with K8s v1.31.0 failed on first attempt with a failure to delete pipelines during test cleanup step (run_api_test:442). Test passed on the second attempt. The test passed on the first attempt for K8s versions 1.29.2 and 1.30.2. The failed run can be viewed here: https://github.com/kubeflow/pipelines/actions/runs/14891424179/job/41824158085
The complete error message is below, and the stack trace can be viewed at the link above under the API integration tests v2 tab.
Expected nil, but got: &util.UserError{internalError:(*errors.withStack)(0xc00056d6e0), externalMessage:"Failed to delete pipeline '5d0da1e6-d6d2-462b-b08f-8f03d7a24290'. Raw error from the service: Failed to delete pipeline 5d0da1e6-d6d2-462b-b08f-8f03d7a24290. Check error stack: Invalid input error: Failed to delete pipeline with id 5d0da1e6-d6d2-462b-b08f-8f03d7a24290 as it has existing pipeline versions (e.g. e12d1c8c-afa3-4127-8f0e-d93b7624eca0) (code: 3)", externalStatusCode:0xd}
Labels
/area backend
Love this idea? Give it a 👍.
I have a fix for the flakiness in #11952. Sorry for not making it a separate PR.
/assign @mprahl