Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix wait-loop in domain E2E test #1919

Merged
merged 2 commits into from
Mar 27, 2024

Conversation

dsimansk
Copy link
Contributor

@dsimansk dsimansk commented Mar 14, 2024

Description

Changes

  • Add trim to domain wait loop

There's an ongoing intermittent failure that causing flaked E2E tests. The wait loop doesn't seem to be very effective to prevent those. Trying to add simple string trim. Any other ideas are welcome. :)

/cc @rhuss

Reference

Fixes #1873

Release Note

Fix wait-loop in domain E2E test

@knative-prow knative-prow bot requested a review from rhuss March 14, 2024 09:42
@knative-prow knative-prow bot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Mar 14, 2024
Copy link

@knative-prow knative-prow bot left a comment

Choose a reason for hiding this comment

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

@dsimansk: 0 warnings.

In response to this:

Description

Changes

  • Add trim to domain wait loop

There's an ongoing intermittent failure that causing flaked E2E tests. The wait loop doesn't seem to be very effective to prevent those. Trying to add simple string trim. Any other ideas are welcome. :)

/cc @rhuss

Reference

Fixes #

Release Note

NONE

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.

@knative-prow knative-prow bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Mar 14, 2024
Copy link

codecov bot commented Mar 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.58%. Comparing base (03e5516) to head (ddd343c).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1919   +/-   ##
=======================================
  Coverage   74.58%   74.58%           
=======================================
  Files         207      207           
  Lines       15563    15563           
=======================================
  Hits        11607    11607           
  Misses       3167     3167           
  Partials      789      789           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dsimansk
Copy link
Contributor Author

/test all

@dsimansk
Copy link
Contributor Author

/test integration-tests-latest-release_client_main

@dsimansk
Copy link
Contributor Author

/test integration-tests-latest-release_client_main
/integration-tests_client_main

@dsimansk
Copy link
Contributor Author

It seems to be more stable, might be really a matter of sanitizing the string before in the wait loop then.

@dsimansk dsimansk changed the title WIP: E2E test wait loop debug Fix wait-loop in domain E2E test Mar 14, 2024
@knative-prow knative-prow bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Mar 14, 2024
@dsimansk
Copy link
Contributor Author

For a quick comparison the other PR run into the issue with flake immediately, #1920.

Copy link
Contributor

@rhuss rhuss left a comment

Choose a reason for hiding this comment

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

Looks good to me, but do you why there could be strings with spaces only occur ? 🤔 Feel free to unhold though.

/approve
/lgtm
/hold

@knative-prow knative-prow bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Mar 14, 2024
@knative-prow knative-prow bot added the lgtm Indicates that a PR is ready to be merged. label Mar 14, 2024
@dsimansk
Copy link
Contributor Author

/test all

@dsimansk
Copy link
Contributor Author

@rhuss with the recent run it's not really fixing anything, just a placebo. I'll try to debug it further.

@knative-prow knative-prow bot removed the lgtm Indicates that a PR is ready to be merged. label Mar 15, 2024
@dsimansk
Copy link
Contributor Author

@rhuss found it per 8e75391.

@dsimansk
Copy link
Contributor Author

@dsimansk
Copy link
Contributor Author

/retest

2 similar comments
@dsimansk
Copy link
Contributor Author

/retest

@dsimansk
Copy link
Contributor Author

/retest

@rhuss
Copy link
Contributor

rhuss commented Mar 27, 2024

/approve
/lgtm

@knative-prow knative-prow bot added the lgtm Indicates that a PR is ready to be merged. label Mar 27, 2024
Copy link

knative-prow bot commented Mar 27, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dsimansk, rhuss

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

The pull request process is described 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

@dsimansk
Copy link
Contributor Author

/unhold

@knative-prow knative-prow bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Mar 27, 2024
@knative-prow knative-prow bot merged commit c462958 into knative:main Mar 27, 2024
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm 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.

Flaky E2E test: e2e/TestDomain - create domain with TLS
2 participants