-
Notifications
You must be signed in to change notification settings - Fork 103
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
NO-ISSUE: Add filtered controller logs when timeout during installation. #2587
base: master
Are you sure you want to change the base?
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: bkopilov 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 |
Hi @bkopilov. Thanks for your PR. I'm waiting for a openshift member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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-sigs/prow repository. |
@bkopilov Do we have a way to reproduce the issue and check it works ? |
Yes , i changed the timeout for 10 minutes .
|
Example from Run:
E Exception: ('TimeoutExpired', {'_timeout_seconds': 60, '_what': "Monitored ['builtin'] operators to be in of the statuses ['available']", 'notes': ["Failed to deploy the following operators ['console', 'cvo']"], 'filter_message': '['time="2024-12-04T10:36:39Z" level=error msg="Failed to get list of nodes from k8s client" func="github.com/openshift/assisted-installer/src/assisted_installer_controller.(*controller).waitAndUpdateNodesStatus" file="/remote-source/app/src/assisted_installer_controller/assisted_installer_controller.go:256" error="the server was unable to return a response in the time allotted, but may still be processing the request (get nodes)" request_id=a1b43260-4693-49f8-9c1f-ec8b1cd08044\n']'}) src/assisted_test_infra/test_infra/helper_classes/cluster.py:706: Exception |
@bkopilov when the PR is ready, lets run the tests |
During CI runs we got timeout failures without any root cause for failures. The default timeout is 3600 seconds. We are going to increase total masters and operators installed and probably May hit on timeout and the current timers are not enough. Added support for filtering last messages from assisted controller log when timeout occured. In case controller logs exists on timeout we extract last error/ warning and report them as part of the raise exception We expect the see additional info when bubbled up timeout exception and get more details from the raised exception .
0ef023b
to
e7c61ba
Compare
Its ready , i will start running full CI with it |
Hi , Example of a test when the installation failed: |
/retitle NO-ISSUE: Add filtered controller logs when timeout during installation. |
@bkopilov: This pull request explicitly references no jira issue. In response to 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 openshift-eng/jira-lifecycle-plugin repository. |
Tested in CI when there is a timeout:
|
PR needs rebase. 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-sigs/prow repository. |
During CI runs we got timeout failures without any root cause for failures. The default timeout is 3600 seconds.
We are going to increase total masters and operators installed and probably May hit on timeout and the current timers are not enough.
Added support for filtering last messages from assisted controller log when timeout occured. In case controller logs exists on timeout we extract last error/ warning and report them as part of the raise exception
We expect the see additional info when bubbled up timeout exception and get more details from the raised exception
.