You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m trying to merge this PR, and it will run Yang validation for sonic-config-engine unit test. #9700
And I find the unit test is blocked by sonic-bgp-voq-chassis-neighbor.yang, and many test cases can’t satisfy this constraint. https://github.com/Azure/sonic-buildimage/blob/master/src/sonic-yang-models/yang-models/sonic-bgp-voq-chassis-neighbor.yang#L57-L59
And related test cases are:
test_minigraph_storage_backend_subintf
test_minigraph_storage_backend_resource_type
test_minigraph_storage_backend_no_resource_type
test_var_json_data
test_minigraph_vxlan
test_minigraph_vnet
test_minigraph_vlans
test_minigraph_vlan_members
test_minigraph_vlan_interfaces
test_minigraph_sub_port_intf_sub
test_minigraph_sub_port_intf_resource_type_non_backend_tor
test_minigraph_sub_port_intf_resource_type
test_minigraph_sub_port_interfaces
test_minigraph_portchannels
test_minigraph_portchannel_interfaces
test_minigraph_interfaces
test_minigraph_extra_ethernet_interfaces
test_minigraph_ethernet_interfaces
test_minigraph_bgp_voq_chassis_peer
test_minigraph_bgp_mon
Steps to reproduce the issue:
Use my PR to build sonic-config-engine
Check unit test result.
Describe the results you received:
20 test cases failed.
Describe the results you expected:
All test cases should pass.
Output of show version:
(paste your output here)
Output of show techsupport:
(paste your output here or download and attach the file here )
Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered:
Why I did it
Fixes#10793
How I did it
Removed the switch_type validation from the Yang model.
How to verify it
compile sonic_yang_mgmt-1.0-py3-none-any.whl and sonic_yang_mgmt-1.0-py3-none-any.whl
Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <arlakshm@microsoft.com>
liushilongbuaa
pushed a commit
to liushilongbuaa/sonic-buildimage
that referenced
this issue
Jun 20, 2022
Description
I’m trying to merge this PR, and it will run Yang validation for sonic-config-engine unit test.
#9700
And I find the unit test is blocked by sonic-bgp-voq-chassis-neighbor.yang, and many test cases can’t satisfy this constraint.
https://github.com/Azure/sonic-buildimage/blob/master/src/sonic-yang-models/yang-models/sonic-bgp-voq-chassis-neighbor.yang#L57-L59
And related test cases are:
test_minigraph_storage_backend_subintf
test_minigraph_storage_backend_resource_type
test_minigraph_storage_backend_no_resource_type
test_var_json_data
test_minigraph_vxlan
test_minigraph_vnet
test_minigraph_vlans
test_minigraph_vlan_members
test_minigraph_vlan_interfaces
test_minigraph_sub_port_intf_sub
test_minigraph_sub_port_intf_resource_type_non_backend_tor
test_minigraph_sub_port_intf_resource_type
test_minigraph_sub_port_interfaces
test_minigraph_portchannels
test_minigraph_portchannel_interfaces
test_minigraph_interfaces
test_minigraph_extra_ethernet_interfaces
test_minigraph_ethernet_interfaces
test_minigraph_bgp_voq_chassis_peer
test_minigraph_bgp_mon
Steps to reproduce the issue:
Describe the results you received:
20 test cases failed.
Describe the results you expected:
All test cases should pass.
Output of
show version
:Output of
show techsupport
:Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered: