-
Notifications
You must be signed in to change notification settings - Fork 131
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
feat: make Test Workflow processing more stable #5814
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ies from resources
vsukhin
reviewed
Sep 5, 2024
vsukhin
reviewed
Sep 5, 2024
vsukhin
reviewed
Sep 5, 2024
vsukhin
reviewed
Sep 5, 2024
vsukhin
reviewed
Sep 5, 2024
vsukhin
reviewed
Sep 5, 2024
pkg/testworkflows/testworkflowcontroller/watchers/executionwatcher.go
Outdated
Show resolved
Hide resolved
vsukhin
reviewed
Sep 5, 2024
pkg/testworkflows/testworkflowcontroller/watchinstrumentedpod.go
Outdated
Show resolved
Hide resolved
vsukhin
reviewed
Sep 5, 2024
vsukhin
reviewed
Sep 5, 2024
vsukhin
reviewed
Sep 5, 2024
vsukhin
approved these changes
Sep 5, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
rangoo94
added a commit
that referenced
this pull request
Sep 6, 2024
* feat: add new individual Events and Job Watchers * feat: add individual pod watcher * fix: resuming concurrency problems in parallel operations * feat: add multiple fallbacks for fetching important execution properties from resources * chore: get rid of Peek(ctx) and Exists() from PodWatcher and JobWatcher * chore: get rid of Stop() from PodWatcher, JobWatcher and EventsWatcher * chore: rename `hook` to `listener`, delete IsStarted() * chore: store watcher's error directly in the context * chore: extract code for reading the job/pod latest timestamp * chore: add boolean to determine if the watcher is actually watching * chore: make pod events watcher immediately available when pod name is received * feat: reimplement watching * fix: handle case when the job is aborted before the pod is started * fix: building unique references on the layer * fix: deadlock while watching the execution * feat: make the control server lightweight and faster (small TCP packets instead of HTTP) * fix: add retrying mechanism for resuming the parallel workflows * chore: delete Merge() from TestWorkflowStepResult * feat: implement refined way to build Test Workflow's result * feat: speed up aborting job * chore: get rid of part of Notifier functionality * fix: make sending the results more stable * chore: optimize getting container error from Pod * chore: optimize reading container name from event * chore: optimize building result state by caching actions and sequence * chore: delete some logs and avoid sending finishedAt without status * fix: handle edge case with node resources issue (EPIPE) * chore: move RecomputeTimestamps implementation to TestWorkflowResult * chore: move more healing functions to TestWorkflowResult * chore: move another set of healing functions to TestWorkflowResult * fix: adjust a bit completion timestamp * fix: handle GOAWAY in logs * fix: handle connection to control plane lost in logs * fix: retry fetching tarball on failure * fix: retry fetching parallel/service logs * fix: retry saving the logs to Minio * fix: reduce number of FS operations in Init Process * fix: avoid negative periods in results * fix: processing tests with massive logs, align completion time to the newest logs/events
exu
pushed a commit
that referenced
this pull request
Sep 6, 2024
* feat: add new individual Events and Job Watchers * feat: add individual pod watcher * fix: resuming concurrency problems in parallel operations * feat: add multiple fallbacks for fetching important execution properties from resources * chore: get rid of Peek(ctx) and Exists() from PodWatcher and JobWatcher * chore: get rid of Stop() from PodWatcher, JobWatcher and EventsWatcher * chore: rename `hook` to `listener`, delete IsStarted() * chore: store watcher's error directly in the context * chore: extract code for reading the job/pod latest timestamp * chore: add boolean to determine if the watcher is actually watching * chore: make pod events watcher immediately available when pod name is received * feat: reimplement watching * fix: handle case when the job is aborted before the pod is started * fix: building unique references on the layer * fix: deadlock while watching the execution * feat: make the control server lightweight and faster (small TCP packets instead of HTTP) * fix: add retrying mechanism for resuming the parallel workflows * chore: delete Merge() from TestWorkflowStepResult * feat: implement refined way to build Test Workflow's result * feat: speed up aborting job * chore: get rid of part of Notifier functionality * fix: make sending the results more stable * chore: optimize getting container error from Pod * chore: optimize reading container name from event * chore: optimize building result state by caching actions and sequence * chore: delete some logs and avoid sending finishedAt without status * fix: handle edge case with node resources issue (EPIPE) * chore: move RecomputeTimestamps implementation to TestWorkflowResult * chore: move more healing functions to TestWorkflowResult * chore: move another set of healing functions to TestWorkflowResult * fix: adjust a bit completion timestamp * fix: handle GOAWAY in logs * fix: handle connection to control plane lost in logs * fix: retry fetching tarball on failure * fix: retry fetching parallel/service logs * fix: retry saving the logs to Minio * fix: reduce number of FS operations in Init Process * fix: avoid negative periods in results * fix: processing tests with massive logs, align completion time to the newest logs/events
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull request description
Checklist (choose whats happened)
Fixes