Skip to content

Conversation

tpantelis
Copy link
Contributor

@tpantelis tpantelis commented Aug 29, 2025

This test has been failing intermittently for a while:

STEP: verifying a local, unexported service is reachable via cluster.local

[FAILED] Timed out after 10.092s.
  There is no failure as the matcher passed to Eventually succeeded on its most recent iteration
  In [It] at: ./home/prow/go/src/sigs.k8s.io/mcs-api/e2e/localserviceimpact_test.go:167

So the Eventually in checkAllClustersReachable:

Eventually(func(g Gomega) {
...
}, "10s").MustPassRepeatedly(50).Should(Succeed())

does succeed but sometimes does not do so 50 times within 10s. I don't know why these specific values were chosen but it seems we need to relax these criteria, either increase the timeout or decrease the number of times. I opted for the latter, ie 20 times.

This test has been failing intermittently for a while:

STEP: verifying a local, unexported service is reachable via cluster.local

[FAILED] Timed out after 10.092s.
  There is no failure as the matcher passed to Eventually succeeded on its
      most recent iteration
  In [It] at: .../mcs-api/e2e/localserviceimpact_test.go:167

So the Eventually in checkAllClustersReachable:

Eventually(func(g Gomega) {
...
}, "10s").MustPassRepeatedly(50).Should(Succeed())

does succeed but sometimes does not do so 50 times within 10s. So we
need to relax these criteria, either increase the timeout or decrease
the number of times. I opted for the latter, ie 20 times.

Signed-off-by: Tom Pantelis <[email protected]>
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Aug 29, 2025
@tpantelis
Copy link
Contributor Author

/cc @MrFreezeex

@k8s-ci-robot k8s-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Aug 29, 2025
Copy link
Member

@MrFreezeex MrFreezeex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!
/lgtm

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: MrFreezeex, tpantelis
Once this PR has been reviewed and has the lgtm label, please assign lauralorenz for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants