-
Notifications
You must be signed in to change notification settings - Fork 744
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
[Bug]: srv6/test_srv6_basic_sanity.py failed due to KeyError #15561
Comments
To skip it for non cisco vs topologies.
|
@yejianquan @r12f is this the best solution? Why didn't the test case come in and limited to applicable platform only? @ZhaohuiS I think we should have a standard check list for new test cases, when it goes in, it should have clear limited scope for the platform it has been tested on. And expand to other platforms after validation? |
@yxieca Ye, totally agree. Let me see how to do this kind of standard check in future. |
Skip it in #15564 |
@eddieruan-alibaba , can you please take a look? |
This test case only runs on topology vms-kvm-ciscovs-7nodes, uses Cisco vsonic with hwsku cisco-8101-p4-32x100-vs, and vsonic image needs to build from phoenixwing branch. How did you triggered this test ? And why do you need to run this test? |
@BYGX-wcr I think it is caused by the pytestmark in script. If it's specific for some topology, please don't use pytestmark = [ |
I understand. Hi @LARLSN , are you part of Alibaba's SONiC team? Please fix this issue and treat the topology marker seriously. |
@BYGX-wcr I assume you just need us to add supported topology list in stead of "any" here, right? https://github.com/sonic-net/sonic-mgmt/blob/master/tests/srv6/test_srv6_basic_sanity.py#L34 @LARLSN is from Alibaba SONiC team. You could assign this issue to her. |
Yes, please use another topo marker instead of "any". Looks like your topology is a bit special. There may not be an existing topo marker for your testcase, so you probably need to define a customized one.
|
Hi @BYGX-wcr , I'v added topology marker in this test and added our marker in topo_name_to_type func, I'm not sure if there is anywhere else we need to add our custom marker, could you please help us confirm that, this is pr : #16545, thanks |
This should be fine. @ZhaohuiS , may you take a look? |
Issue Description
srv6/test_srv6_basic_sanity.py failed due to KeyError
Results you see
Results you expected to see
This case should be passed
Is it platform specific
generic
Relevant log output
srv6.test_srv6_basic_sanity.test_interface_on_each_node | failure | KeyError: 'PE1'
srv6.test_srv6_basic_sanity.test_check_bgp_neighbors | failure | KeyError: 'PE3'
Output of
show version
No response
Attach files (if any)
No response
The text was updated successfully, but these errors were encountered: