Skip to content

"Wait" is overly used in e2e/conformance #1178

Closed

Description

@mattmoor

The conformance (and possibly e2e) tests have a number of checks that poll for success. This masks problems where we say we're Ready but aren't actually.

We should change the e2e test to use Wait methods a bit more sparingly and then concretely check the state of the system.

If this is too flaky, we can consider adding retries, but the idea of "Wait" feels wrong to me.

/assign @mattmoor

I'll see how flaky this is after we get it re-enabled with Wait in place.

Activity

  1. added
    area/test-and-release
    kind/cleanup
    on Jun 12, 2018
  2. removed their assignment
    on Jun 13, 2018
  3. mattmoor commented on Jun 13, 2018

    @mattmoor
    ContributorAuthor

    Sent out a PoC (linked above).

  4. mattmoor commented on Jun 23, 2018

    @mattmoor
    ContributorAuthor

    It is notable that the small change I made in the PoC above caught a bug I almost introduced in #1322.
    The Revision's status would have converged to what we expected after a resync, but because we were "Check"ing vs. "Wait"ing it blocked my PR. I'd like to see us tighten up more of this checking to hopefully squeeze out other issues we might be missing.

    /kind API
    /kind spec
    /assign @jonjohnsonjr

  5. added
    kind/spec
    on Jun 23, 2018
  6. knative-housekeeping-robot commented on Dec 22, 2019

    @knative-housekeeping-robot

    Issues go stale after 90 days of inactivity.
    Mark the issue as fresh by adding the comment /remove-lifecycle stale.
    Stale issues rot after an additional 30 days of inactivity and eventually close.
    If this issue is safe to close now please do so by adding the comment /close.

    Send feedback to Knative Productivity Slack channel or file an issue in knative/test-infra.

    /lifecycle stale

  7. 28 remaining items

  8. added
    triage/needs-user-input
    on Mar 22, 2021
  9. dprotaso commented on Jun 12, 2021

    @dprotaso
    Member

    /unassign @dprotaso
    /assign @shinigambit will take a look at this

  10. knative-prow-robot commented on Jun 12, 2021

    @knative-prow-robot
    Contributor

    @dprotaso: GitHub didn't allow me to assign the following users: at, this, will, take, a, look.

    Note that only knative members, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time.
    For more information please see the contributor guide

    Details

    In response to this:

    /unassign @dprotaso
    /assign @shinigambit will take a look at this

    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.

  11. evankanderson commented on Jun 23, 2021

    @evankanderson
    Member

    /remove-triage needs-user-input
    /triage accepted

  12. added
    triage/accepted
    and removed
    triage/needs-user-input
    on Jun 23, 2021
  13. removed this from the Ice Box milestone on Oct 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area/test-and-releasegood first issuekind/cleanupkind/speclifecycle/frozentriage/accepted

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions