Skip to content
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

Skip tests macsec tests for t0-sonic #9874

Merged
merged 1 commit into from
Sep 7, 2023

Conversation

judyjoseph
Copy link
Contributor

@judyjoseph judyjoseph commented Sep 7, 2023

What is the motivation for this PR?

There is a deadlock to merge this sonic-swss submodule PR: sonic-net/sonic-buildimage#16455 as it has a prerequisite to merge this PR : #9873 before that

Both PR's are dependent on each other and hence both PR merge is blocked.

How did you do it?

To fix and come out of the deadlock, solution is to skip macsec tests in t0-sonic testbed and let the sonic-mgmt PR #9873 merge . We will introduce the macsec again and let is pass for the sonic-swss submodule update PR

How did you verify/test it?

Any platform specific information?

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

Documentation

Copy link
Collaborator

@yejianquan yejianquan left a comment

Choose a reason for hiding this comment

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

LGTM

@judyjoseph
Copy link
Contributor Author

@wangxin @yxieca Please could you approve and merge.
Discussed with @yejianquan for this solution -- Plan to bring back macsec test suite with t0-sonic once I have the sonic-swss submodule update PR merged in.

@yxieca yxieca merged commit 9d521d2 into sonic-net:202205 Sep 7, 2023
9 checks passed
@judyjoseph judyjoseph deleted the 202205_macsec_skip_temp branch September 7, 2023 16:54
yejianquan pushed a commit that referenced this pull request Sep 8, 2023
…lone (#9903)

What is the motivation for this PR?
This is a follow up of the fix earlier made to skip macsec tests from pipeline t0-sonic via this PR : #9874

Even with this PR merged, there was still failures in one of the tests run in t0-sonic pipeline.

Further debugging showed that, we have this special param, to enable macsec (as shown below) which results in macsec setup with macsec enabled links which will fail again.

REF:

specific_param:

  t0-sonic:
  - name: bgp/test_bgp_fact.py
    param: "--neighbor_type=sonic --enable_macsec --macsec_profile=128_SCI,256_XPN_SCI" <<<<<<<
#  all the test modules under macsec directory
  - name: macsec
    param: "--neighbor_type=sonic --enable_macsec --macsec_profile=128_SCI,256_XPN_SCI"   <<<<<<<<
~                                                                                                                                                                                                                                                               
".azure-pipelines/pr_test_scripts.yaml" line 73 of 143 --51%-- col 1
How did you do it?
So idea here is to skip the test test_bgp_fact.py for t0-sonic pipeline alone.

co-authorized by: jianquanye@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.

4 participants