[loganalyzer]add log patterns to the common ignore#5411
Closed
StormLiangMS wants to merge 6 commits intosonic-net:masterfrom
Closed
[loganalyzer]add log patterns to the common ignore#5411StormLiangMS wants to merge 6 commits intosonic-net:masterfrom
StormLiangMS wants to merge 6 commits intosonic-net:masterfrom
Conversation
Collaborator
|
There are more error messages need to be temporarily ignored to unblock PR testing: |
Contributor
GCU test's log analyzer failure will be fixed by this PR. |
Contributor
|
Hi @wangxin @StormLiangMS , Seems the added regex are all GCU regex. Currently they are all covered in GCU ignored regex. |
Collaborator
Contributor
wangxin
added a commit
that referenced
this pull request
Mar 30, 2022
… files (#5193)" (#5433) This reverts commit 03cccf7. Reverts #5193 After this fix was merged, PR test keeps failing because of errors in syslog. We spent some effort trying to temporarily ignore the errors. However, the list seems endless. Please refer to: [loganalyzer]add log patterns to the common ignore #5411 Add loganalyzer ignore regex for GCU #5391 We need a way to temporarily unblock PR testing. Let's revert this fix for now. Then I'll submit another PR to fix the loganalyzer issue together with a complete ignore list.
wangxin
added a commit
that referenced
this pull request
Mar 30, 2022
… files (#5193)" (#5433) This reverts commit 03cccf7. Reverts #5193 After this fix was merged, PR test keeps failing because of errors in syslog. We spent some effort trying to temporarily ignore the errors. However, the list seems endless. Please refer to: [loganalyzer]add log patterns to the common ignore #5411 Add loganalyzer ignore regex for GCU #5391 We need a way to temporarily unblock PR testing. Let's revert this fix for now. Then I'll submit another PR to fix the loganalyzer issue together with a complete ignore list.
Collaborator
|
The log analyzer fix was reverted. Let's abandon this one. I'll submit a new PR to include both the log analyzer fix and the changes of this PR. |
5 tasks
wangxin
pushed a commit
to wangxin/sonic-mgmt
that referenced
this pull request
Apr 2, 2022
Loganalyzer was broken in PR sonic-net#3235. The issue is that common config was loaded in subprocess for adding marks to syslog. After the subprocess exited, the common config is lost. PR sonic-net#5193 tried to fix this issue. However, because of many new error logs sneaked in when log analyzer was not working, PR testing started to fail by these error logs after PR sonic-net#5193 was merged. PR sonic-net#5191 and sonic-net#5411 tried to workaround the PR testing failure to unblock PR testing. PR sonic-net#5191 is to address the GCU related error logs and was merged. PR sonic-net#5411 tried to add other error logs to the common ignore list. But the effort took too long because the ignore list seemed endless. To unblock PR testing as soon as possible, the original fix sonic-net#5193 was reverted in sonic-net#5433. This PR tries to complete the work left over from sonic-net#5411 and sonic-net#5433. Changes: 1. Fix the log analyzer common config not loaded issue. 2. Temporarily add error logs to the common ignore list. 3. Improve the logging of log analyzer and parallel_run 4. PR testing t0_part2 takes much more time than t0_part1 after the GCU test scripts are added. This change re-balanced t0 part1&part2 testing by moving some of the tests from part2 to part1. 5. Sorted the PR testing scripts in alphabetic order. Signed-off-by: Xin Wang <xiwang5@microsoft.com>
wangxin
added a commit
that referenced
this pull request
Apr 11, 2022
What is the motivation for this PR? Loganalyzer was broken in PR #3235. The issue is that common config was loaded in subprocess for adding marks to syslog. After the subprocess exited, the common config is lost. PR #5193 tried to fix this issue. However, because of many new error logs sneaked in when log analyzer was not working, PR testing started to fail by these error logs after PR #5193 was merged. PR #5391 and #5411 tried to work around the PR testing failure to unblock PR testing. PR #5391 is to address the GCU related error logs and was merged. PR #5411 tried to add other error logs to the common ignore list. But the effort took too long because the ignore list seemed endless. To unblock PR testing as soon as possible, the original fix #5193 was reverted in #5433. This PR tries to complete the work left over from #5411 and #5433. How did you do it? Changes: * Fix the log analyzer common config not loaded issue. * Temporarily add error logs to the common ignore list. * Improve the logging of log analyzer and parallel_run * PR testing t0_part2 takes much more time than t0_part1 after the GCU test scripts are added. This change re-balanced t0 part1&part2 testing by moving some of the tests from part2 to part1. * Sorted the PR testing scripts in alphabetic order. How did you verify/test it? Tested run a few test scripts with log analyzer enabled on KVM testbed. Signed-off-by: Xin Wang <xiwang5@microsoft.com>
wangxin
added a commit
that referenced
this pull request
Apr 11, 2022
What is the motivation for this PR? Loganalyzer was broken in PR #3235. The issue is that common config was loaded in subprocess for adding marks to syslog. After the subprocess exited, the common config is lost. PR #5193 tried to fix this issue. However, because of many new error logs sneaked in when log analyzer was not working, PR testing started to fail by these error logs after PR #5193 was merged. PR #5391 and #5411 tried to work around the PR testing failure to unblock PR testing. PR #5391 is to address the GCU related error logs and was merged. PR #5411 tried to add other error logs to the common ignore list. But the effort took too long because the ignore list seemed endless. To unblock PR testing as soon as possible, the original fix #5193 was reverted in #5433. This PR tries to complete the work left over from #5411 and #5433. How did you do it? Changes: * Fix the log analyzer common config not loaded issue. * Temporarily add error logs to the common ignore list. * Improve the logging of log analyzer and parallel_run * PR testing t0_part2 takes much more time than t0_part1 after the GCU test scripts are added. This change re-balanced t0 part1&part2 testing by moving some of the tests from part2 to part1. * Sorted the PR testing scripts in alphabetic order. How did you verify/test it? Tested run a few test scripts with log analyzer enabled on KVM testbed. Signed-off-by: Xin Wang <xiwang5@microsoft.com>
xwjiang-ms
pushed a commit
to xwjiang-ms/sonic-mgmt
that referenced
this pull request
Apr 13, 2022
… files (sonic-net#5193)" (sonic-net#5433) This reverts commit 03cccf7. Reverts sonic-net#5193 After this fix was merged, PR test keeps failing because of errors in syslog. We spent some effort trying to temporarily ignore the errors. However, the list seems endless. Please refer to: [loganalyzer]add log patterns to the common ignore sonic-net#5411 Add loganalyzer ignore regex for GCU sonic-net#5391 We need a way to temporarily unblock PR testing. Let's revert this fix for now. Then I'll submit another PR to fix the loganalyzer issue together with a complete ignore list.
This file contains hidden or 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
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.
Description of PR
There are PR tests failed due to loganalyzer, some of the error logs should be ignored by loganalyzer, in order to unblock the PR procedure, move those errors to common ignore for now, and filed an issue to have code owner to check later. #5410
Summary:
Fixes # (issue)
Type of change
Back port request
Approach
What is the motivation for this PR?
How did you do it?
How did you verify/test it?
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation