Closed Rajalakshmi-Girish closed 6 months ago
@upodroid please confirm if this is a valid issue.
It seems the--flaky-attempts
flag was removed from the ginkgo tester as Kubernetes has zero flake policy.
@upodroid suggested using --ginkgo-args
flag if we want to have flake attempts.
The Kubernetes project has zero flake policy and this flag will no longer be exposed directly via ginkgo tester.
legacy behaviour can be maintained by adding this flag --ginkgo-args="--flaky-attempts=2"
https://groups.google.com/g/kubernetes-sig-testing/c/bvqV6I8iF28/m/SHswIE70AAAJ
https://github.com/kubernetes/community/blob/master/contributors/devel/sig-testing/flaky-tests.md
After the change https://github.com/kubernetes-sigs/kubetest2/pull/251, seems the flag
--flakeattempts
have been removed.Our internal CI job that uses kubetest2 ginkgo tester has been failing with below error:
Expected Result: The ginkgo tester should be allowed to use
--flake-attempts
flag as even when the test-package is downloaded from dl.k8s.io, we see this flag present withginkgo
binary.