Skip to content

Fix test_cacl_application for latest change in caclmgrd#13786

Merged
wangxin merged 3 commits intosonic-net:masterfrom
ZhaohuiS:fix/caclmgrd_ttl_sonic_mgmt
Jul 29, 2024
Merged

Fix test_cacl_application for latest change in caclmgrd#13786
wangxin merged 3 commits intosonic-net:masterfrom
ZhaohuiS:fix/caclmgrd_ttl_sonic_mgmt

Conversation

@ZhaohuiS
Copy link
Contributor

Description of PR

Summary:
Fixes # (issue)
According PR sonic-net/sonic-host-services#139, the expected iptables rules are changed.

Type of change

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

Back port request

  • 202012
  • 202205
  • 202305
  • 202311
  • 202405

Approach

What is the motivation for this PR?

RP test will fail after sonic-net/sonic-host-services#139, update the case accordingly.

How did you do it?

add expected iptable rules

How did you verify/test it?

run cacl/test_cacl_application.py

Any platform specific information?

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

Documentation

@ZhaohuiS
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Commenter does not have sufficient privileges for PR 13786 in repo sonic-net/sonic-mgmt

@yejianquan
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

- bgp/test_bgp_speaker.py
- bgp/test_bgp_update_timer.py
- bgp/test_bgpmon.py
- cacl/test_cacl_application.py
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With the skip rule in conditional mark, probably we can keep this line here to include in in PR testing. Then after the issue is fixed and resolved, then this script will be automatically covered by PR testing.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wangxin In my second commit, I added the skip condition and kept this line, but PR test still kept failing with this case, that's why I removed this line, I will add this line back when image change is included.

@wangxin wangxin merged commit bdd98b8 into sonic-net:master Jul 29, 2024
@yutongzhang-microsoft
Copy link
Contributor

@ZhaohuiS Why you remove the script cacl/test_cacl_application.py from PR test?

ZhaohuiS added a commit to ZhaohuiS/sonic-mgmt that referenced this pull request Jul 31, 2024
)

What is the motivation for this PR?
RP test will fail after sonic-net/sonic-host-services#139, update the case accordingly.

How did you do it?
add expected iptable rules

How did you verify/test it?
run cacl/test_cacl_application.py

Signed-off-by: Zhaohui Sun <[email protected]>
@weiguo-nvidia
Copy link
Contributor

Hi @ZhaohuiS

May I ask is there any plan to cherry-pick to 202405 branch?

@ZhaohuiS
Copy link
Contributor Author

ZhaohuiS commented Aug 9, 2024

Hi @ZhaohuiS

May I ask is there any plan to cherry-pick to 202405 branch?

@weiguo-nvidia It has been in 202405 already. #13900

arista-hpandya pushed a commit to arista-hpandya/sonic-mgmt that referenced this pull request Oct 2, 2024
)

What is the motivation for this PR?
RP test will fail after sonic-net/sonic-host-services#139, update the case accordingly.

How did you do it?
add expected iptable rules

How did you verify/test it?
run cacl/test_cacl_application.py

Signed-off-by: Zhaohui Sun <[email protected]>
vikshaw-Nokia pushed a commit to vikshaw-Nokia/sonic-mgmt that referenced this pull request Oct 23, 2024
)

What is the motivation for this PR?
RP test will fail after sonic-net/sonic-host-services#139, update the case accordingly.

How did you do it?
add expected iptable rules

How did you verify/test it?
run cacl/test_cacl_application.py

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants