Skip to content

Skip test_cacl_application for PR test temporarily #18785

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

Merged

Conversation

ZhaohuiS
Copy link
Contributor

@ZhaohuiS ZhaohuiS commented Jun 4, 2025

Description of PR

Summary:
Fixes # (issue)
sonic-net/sonic-host-services#197 added a new change for caclmgrd,
PR test for submodule advanced PR of sonic-host-services failed.

Disable test_cacl_application in PR test temporarily for merging submodule PR.

>       pytest_assert(len(missing_iptables_rules) == 0, "Missing expected iptables rules: {}"
                      .format(repr(missing_iptables_rules)))
E       Failed: Missing expected iptables rules: {'-A INPUT -p tcp -m tcp --dport 179 -j ACCEPT'}

For any changes in caclmgrd, if it will fail test_cacl_application case, need to follow the steps:

  1. skip test_cacl_application from PR test
  2. imagebuild PR get merged
  3. update test case
  4. add test_cacl_application back for PR test

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • New Test case
    • Skipped for non-supported platforms
  • Test case improvement

Back port request

  • 202205
  • 202305
  • 202311
  • 202405
  • 202411
  • 202505

Approach

What is the motivation for this PR?

sonic-net/sonic-host-services#197 added a new change for caclmgrd,
PR test for submodule advanced PR of sonic-host-services failed.

How did you do it?

Disable test_cacl_application in PR test temporarily for merging submodule PR.

How did you verify/test it?

Retrigger PR test for sonic-host-services submodule advance PR.

Any platform specific information?

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

Documentation

@yejianquan
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@yejianquan yejianquan merged commit 5dffdeb into sonic-net:master Jun 4, 2025
18 checks passed
mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Jun 4, 2025
Description of PR
Summary:
Fixes # (issue)
sonic-net/sonic-host-services#197 added a new change for caclmgrd,
PR test for submodule advanced PR of sonic-host-services failed.

Disable test_cacl_application in PR test temporarily for merging submodule PR.

>       pytest_assert(len(missing_iptables_rules) == 0, "Missing expected iptables rules: {}"
                      .format(repr(missing_iptables_rules)))
E       Failed: Missing expected iptables rules: {'-A INPUT -p tcp -m tcp --dport 179 -j ACCEPT'}
For any changes in caclmgrd, if it will fail test_cacl_application case, need to follow the steps:

skip test_cacl_application from PR test
imagebuild PR get merged
update test case
add test_cacl_application back for PR test
Type of change
 Bug fix
 Testbed and Framework(new/improvement)
 New Test case
 Skipped for non-supported platforms
 Test case improvement
Back port request
 202205
 202305
 202311
 202405
 202411
 202505
Approach
What is the motivation for this PR?
sonic-net/sonic-host-services#197 added a new change for caclmgrd,
PR test for submodule advanced PR of sonic-host-services failed.

How did you do it?
Disable test_cacl_application in PR test temporarily for merging submodule PR.

How did you verify/test it?
Retrigger PR test for sonic-host-services submodule advance PR.

Signed-off-by: Zhaohui Sun <[email protected]>
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202505: #18791

mssonicbld pushed a commit that referenced this pull request Jun 4, 2025
Description of PR
Summary:
Fixes # (issue)
sonic-net/sonic-host-services#197 added a new change for caclmgrd,
PR test for submodule advanced PR of sonic-host-services failed.

Disable test_cacl_application in PR test temporarily for merging submodule PR.

>       pytest_assert(len(missing_iptables_rules) == 0, "Missing expected iptables rules: {}"
                      .format(repr(missing_iptables_rules)))
E       Failed: Missing expected iptables rules: {'-A INPUT -p tcp -m tcp --dport 179 -j ACCEPT'}
For any changes in caclmgrd, if it will fail test_cacl_application case, need to follow the steps:

skip test_cacl_application from PR test
imagebuild PR get merged
update test case
add test_cacl_application back for PR test
Type of change
 Bug fix
 Testbed and Framework(new/improvement)
 New Test case
 Skipped for non-supported platforms
 Test case improvement
Back port request
 202205
 202305
 202311
 202405
 202411
 202505
Approach
What is the motivation for this PR?
sonic-net/sonic-host-services#197 added a new change for caclmgrd,
PR test for submodule advanced PR of sonic-host-services failed.

How did you do it?
Disable test_cacl_application in PR test temporarily for merging submodule PR.

How did you verify/test it?
Retrigger PR test for sonic-host-services submodule advance PR.

Signed-off-by: Zhaohui Sun <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants