Ignore error during config reload in BGP/QOS/FPC test cases#19869
Ignore error during config reload in BGP/QOS/FPC test cases#19869bingwang-ms merged 2 commits intosonic-net:masterfrom
Conversation
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
Instead of adding the log pattern for each test cases, can we ignore it globally in https://github.com/sonic-net/sonic-mgmt/blob/master/tests/common/plugins/loganalyzer/loganalyzer_common_ignore.txt ? |
I warry about add to global list may make us ignore some real issue, can we use this ignore_loganalyzer for now? if there are more similer issue in future we can add to global list. |
|
@yejianquan Can you help with cherry-pick? Thanks |
|
@liuh-80 PR conflicts with 202505 branch |
|
Hi @liuh-80 , could you fix the conflict and create pr to 202505 branch? Thanks |
…t#19869) * Ignore error during config reload * Fix format issue --------- Co-authored-by: sonicbld <sonicbld@microsoft.com>
…t#19869) * Ignore error during config reload * Fix format issue --------- Co-authored-by: sonicbld <sonicbld@microsoft.com>
…20198) Ignore error during config reload in BGP/QOS/FPC test cases Cherry-pick for #19869 Why I did it BGP/QOS/FPC test case failed because following error: E 2025 Jul 28 04:41:57.469604 str2-msn2700-spy-1 ERR iptables: tac_connect_single: connection to 10.64.246.145:49 failed: Network is unreachable These test case reload_config but not set ignore_loganalyzer parameter. Because reload config will restart networking service, which will cause TACACS server unreachable during networking service shutdown. Work item tracking Microsoft ADO (number only): How I did it Set reload_config ignore_loganalyzer parameter in BGP/QOS/FPC test cases. How to verify it Pass all test case. Tested branch (Please provide the tested image version) Description for the changelog Ignore error during config reload in BGP/QOS/FPC test cases co-authorized by: jianquanye@microsoft.com
…t#19869) * Ignore error during config reload * Fix format issue --------- Co-authored-by: sonicbld <sonicbld@microsoft.com>
…t#19869) * Ignore error during config reload * Fix format issue --------- Co-authored-by: sonicbld <sonicbld@microsoft.com>
…t#19869) * Ignore error during config reload * Fix format issue --------- Co-authored-by: sonicbld <sonicbld@microsoft.com> Signed-off-by: opcoder0 <110003254+opcoder0@users.noreply.github.com>
…t#19869) * Ignore error during config reload * Fix format issue --------- Co-authored-by: sonicbld <sonicbld@microsoft.com> Signed-off-by: Guy Shemesh <gshemesh@nvidia.com>
…t#19869) * Ignore error during config reload * Fix format issue --------- Co-authored-by: sonicbld <sonicbld@microsoft.com> Signed-off-by: Aharon Malkin <amalkin@nvidia.com>
…t#19869) * Ignore error during config reload * Fix format issue --------- Co-authored-by: sonicbld <sonicbld@microsoft.com> Signed-off-by: Guy Shemesh <gshemesh@nvidia.com>
…t#19869) * Ignore error during config reload * Fix format issue --------- Co-authored-by: sonicbld <sonicbld@microsoft.com>
…t#19869) * Ignore error during config reload * Fix format issue --------- Co-authored-by: sonicbld <sonicbld@microsoft.com> Signed-off-by: Guy Shemesh <gshemesh@nvidia.com>
…t#19869) * Ignore error during config reload * Fix format issue --------- Co-authored-by: sonicbld <sonicbld@microsoft.com> Signed-off-by: Yael Tzur <ytzur@nvidia.com>
…t#19869) * Ignore error during config reload * Fix format issue --------- Co-authored-by: sonicbld <sonicbld@microsoft.com>
Ignore error during config reload in BGP/QOS/FPC test cases
Why I did it
BGP/QOS/FPC test case failed because following error:
E 2025 Jul 28 04:41:57.469604 str2-msn2700-spy-1 ERR iptables: tac_connect_single: connection to 10.64.246.145:49 failed: Network is unreachable
These test case reload_config but not set ignore_loganalyzer parameter.
Because reload config will restart networking service, which will cause TACACS server unreachable during networking service shutdown.
Work item tracking
How I did it
Set reload_config ignore_loganalyzer parameter in BGP/QOS/FPC test cases.
How to verify it
Pass all test case.
Which release branch to backport (provide reason below if selected)
Tested branch (Please provide the tested image version)
Description for the changelog
Ignore error during config reload in BGP/QOS/FPC test cases
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)