Skip to content

[loganalyzer] Fix the match_file_list accumulating issue#1031

Merged
lguohan merged 2 commits intosonic-net:masterfrom
wangxin:la-match-file-list
Jul 30, 2019
Merged

[loganalyzer] Fix the match_file_list accumulating issue#1031
lguohan merged 2 commits intosonic-net:masterfrom
wangxin:la-match-file-list

Conversation

@wangxin
Copy link
Copy Markdown
Collaborator

@wangxin wangxin commented Jul 24, 2019

Description of PR

Summary:
Fixes # (issue)
The match_file_list is not initialized to empty list when it is used.
The side effect is that when the log analyzer is called multiple times,
test match file used in earlier analysis will be used in later analysis
and cause issue. The fix is to initialize match_file_list to empty list
before using it.

Related PRs:

Type of change

  • Bug fix
  • [] Testbed and Framework(new/improvement)
  • [] Test case(new/improvement)

Approach

How did you do it?

Initilize the match_file_list to empty list before using it.

How did you verify/test it?

Tested on Mellanox platform.

Any platform specific information?

NA

Supported testbed topology if it's a new test case?

NA

Documentation

Xin Wang added 2 commits July 24, 2019 21:43
The match_file_list is not initialized to empty list when it is used.
The side effect is that when the log analyzer is called multiple times,
test match file used in earlier analysis will be used in later analysis
and cause issue. The fix is to initialize match_file_list to empty list
before using it.

Signed-off-by: Xin Wang <xinw@mellanox.com>
@lguohan lguohan merged commit 0d34186 into sonic-net:master Jul 30, 2019
@wangxin wangxin deleted the la-match-file-list branch September 26, 2019 12:35
fraserg-arista pushed a commit to fraserg-arista/sonic-mgmt that referenced this pull request Feb 24, 2026
sonic-net#1031)

…nic-net/sonic-mgmt/pull/21142 (sonic-net#22126)

What is the motivation for this PR?
To enable ipv6 only topo for test_default_route tests.

How did you do it?
Edit the test code to not require ipv4 when in ipv6 only topo situation.

How did you verify/test it?
Original PR at: sonic-net#21142
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
)

Remove duplicate cisco-8000 functions and call to those functions (sonic-net#1077)
Support For CISCO debug-shell in syncd-container (sonic-net#1070)
Fix submodule SAI branch name (sonic-net#1031)

Signed-off-by: Kevin Wang <shengkaiwang@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants