Display only external ports on single-asic systems by default #4140
Build #20260114.17 had test failures
Details
- Failed: 83 (2.00%)
- Passed: 4,050 (97.83%)
- Other: 7 (0.17%)
- Total: 4,140
Annotations
Check failure on line 13581 in Build log
azure-pipelines / Azure.sonic-utilities
Build log #L13581
Bash exited with code '1'.
Check failure on line 24 in Build log
azure-pipelines / Azure.sonic-utilities
Build log #L24
There are one or more test failures detected in result files. Detailed summary of published test results can be viewed in the Tests tab.
Check failure on line 1 in test_bgp_summary_multi_asic_no_v4_neigh[show_bgp_summary_no_neigh]
azure-pipelines / Azure.sonic-utilities
test_bgp_summary_multi_asic_no_v4_neigh[show_bgp_summary_no_neigh]
AssertionError: assert '\nIPv4 Unicast Summary:\nasic0: BGP router identifier 10.1.0.32, local AS number 65100 vrf-id 0\nBGP table version 8972\nRIB entries 0, using 0 bytes of memory\nPeers 0, using 0 KiB of memory\nPeer groups 0, using 0 bytes of memory\n\n\nNeighbhor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd NeighborName\n----------- --- ---- --------- --------- -------- ----- ------ --------- -------------- --------------\n\nTotal number of neighbors 0\n' == '\nIPv4 Unicast Summary:\nasic0: BGP router identifier 10.1.0.32, local AS number 65100 vrf-id 0\nBGP table version 8972\nasic1: BGP router identifier 10.1.0.32, local AS number 65100 vrf-id 0\nBGP table version 8972\nRIB entries 0, using 0 bytes of memory\nPeers 0, using 0 KiB of memory\nPeer groups 0, using 0 bytes of memory\n\n\nNeighbhor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd NeighborName\n----------- --- ---- --------- --------- -------- ----- ------ --------- -------------- --------------\n\nTotal number of neighbors 0\n'
IPv4 Unicast Summary:
asic0: BGP router identifier 10.1.0.32, local AS number 65100 vrf-id 0
- BGP table version 8972
- asic1: BGP router identifier 10.1.0.32, local AS number 65100 vrf-id 0
BGP table version 8972
RIB entries 0, using 0 bytes of memory
Peers 0, using 0 KiB of memory
Peer groups 0, using 0 bytes of memory
Neighbhor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd NeighborName
----------- --- ---- --------- --------- -------- ----- ------ --------- -------------- --------------
Total number of neighbors 0
Raw output
self = <tests.bgp_commands_test.TestBgpCommandsMultiAsic object at 0x7f282cca2210>
setup_bgp_commands = <module 'show.main' from '/__w/1/s/show/main.py'>
setup_multi_asic_bgp_instance = None
@pytest.mark.parametrize('setup_multi_asic_bgp_instance',
['show_bgp_summary_no_neigh'], indirect=['setup_multi_asic_bgp_instance'])
def test_bgp_summary_multi_asic_no_v4_neigh(
self,
setup_bgp_commands,
setup_multi_asic_bgp_instance):
show = setup_bgp_commands
runner = CliRunner()
result = runner.invoke(
show.cli.commands["ip"].commands["bgp"].commands["summary"], [])
print("{}".format(result.output))
assert result.exit_code == 0
> assert result.output == show_error_no_v4_neighbor_multi_asic
E AssertionError: assert '\nIPv4 Unicast Summary:\nasic0: BGP router identifier 10.1.0.32, local AS number 65100 vrf-id 0\nBGP table version 8972\nRIB entries 0, using 0 bytes of memory\nPeers 0, using 0 KiB of memory\nPeer groups 0, using 0 bytes of memory\n\n\nNeighbhor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd NeighborName\n----------- --- ---- --------- --------- -------- ----- ------ --------- -------------- --------------\n\nTotal number of neighbors 0\n' == '\nIPv4 Unicast Summary:\nasic0: BGP router identifier 10.1.0.32, local AS number 65100 vrf-id 0\nBGP table version 8972\nasic1: BGP router identifier 10.1.0.32, local AS number 65100 vrf-id 0\nBGP table version 8972\nRIB entries 0, using 0 bytes of memory\nPeers 0, using 0 KiB of memory\nPeer groups 0, using 0 bytes of memory\n\n\nNeighbhor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd NeighborName\n----------- --- ---- --------- --------- -------- ----- ------ --------- -------------- --------------\n\nTotal number of neighbors 0\n'
E
E IPv4 Unicast Summary:
E asic0: BGP router identifier 10.1.0.32, local AS number 65100 vrf-id 0
E - BGP table version 8972
E - asic1: BGP router identifier 10.1.0.32, local AS number 65100 vrf-id 0
E BGP table version 8972
E RIB entries 0, using 0 bytes of memory
E Peers 0, using 0 KiB of memory
E Peer groups 0, using 0 bytes of memory
E
E
E Neighbhor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd NeighborName
E ----------- --- ---- --------- --------- -------- ----- ------ --------- -------------- --------------
E
E Total number of neighbors 0
tests/bgp_commands_test.py:965: AssertionError
Check failure on line 1 in test_bgp_vrf_summary_multi_asic_no_v4_neigh[show_bgp_summary_no_neigh]
azure-pipelines / Azure.sonic-utilities
test_bgp_vrf_summary_multi_asic_no_v4_neigh[show_bgp_summary_no_neigh]
AssertionError: assert '\nIPv4 Unicast Summary:\nasic0: BGP router identifier 10.1.0.32, local AS number 65100 vrf-id 0\nBGP table version 8972\nRIB entries 0, using 0 bytes of memory\nPeers 0, using 0 KiB of memory\nPeer groups 0, using 0 bytes of memory\n\n\nNeighbhor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd NeighborName\n----------- --- ---- --------- --------- -------- ----- ------ --------- -------------- --------------\n\nTotal number of neighbors 0\n' == '\nIPv4 Unicast Summary:\nasic0: BGP router identifier 10.1.0.32, local AS number 65100 vrf-id 0\nBGP table version 8972\nasic1: BGP router identifier 10.1.0.32, local AS number 65100 vrf-id 0\nBGP table version 8972\nRIB entries 0, using 0 bytes of memory\nPeers 0, using 0 KiB of memory\nPeer groups 0, using 0 bytes of memory\n\n\nNeighbhor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd NeighborName\n----------- --- ---- --------- --------- -------- ----- ------ --------- -------------- --------------\n\nTotal number of neighbors 0\n'
IPv4 Unicast Summary:
asic0: BGP router identifier 10.1.0.32, local AS number 65100 vrf-id 0
- BGP table version 8972
- asic1: BGP router identifier 10.1.0.32, local AS number 65100 vrf-id 0
BGP table version 8972
RIB entries 0, using 0 bytes of memory
Peers 0, using 0 KiB of memory
Peer groups 0, using 0 bytes of memory
Neighbhor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd NeighborName
----------- --- ---- --------- --------- -------- ----- ------ --------- -------------- --------------
Total number of neighbors 0
Raw output
self = <tests.bgp_commands_test.TestBgpCommandsMultiAsic object at 0x7f282cca3410>
setup_bgp_commands = <module 'show.main' from '/__w/1/s/show/main.py'>
setup_multi_asic_bgp_instance = None
@pytest.mark.parametrize('setup_multi_asic_bgp_instance',
['show_bgp_summary_no_neigh'], indirect=['setup_multi_asic_bgp_instance'])
def test_bgp_vrf_summary_multi_asic_no_v4_neigh(
self,
setup_bgp_commands,
setup_multi_asic_bgp_instance):
show = setup_bgp_commands
runner = CliRunner()
result = runner.invoke(
show.cli.commands["ip"].commands["bgp"].commands["vrf"], ['default', 'summary'])
print("{}".format(result.output))
assert result.exit_code == 0
> assert result.output == show_error_no_v4_neighbor_multi_asic
E AssertionError: assert '\nIPv4 Unicast Summary:\nasic0: BGP router identifier 10.1.0.32, local AS number 65100 vrf-id 0\nBGP table version 8972\nRIB entries 0, using 0 bytes of memory\nPeers 0, using 0 KiB of memory\nPeer groups 0, using 0 bytes of memory\n\n\nNeighbhor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd NeighborName\n----------- --- ---- --------- --------- -------- ----- ------ --------- -------------- --------------\n\nTotal number of neighbors 0\n' == '\nIPv4 Unicast Summary:\nasic0: BGP router identifier 10.1.0.32, local AS number 65100 vrf-id 0\nBGP table version 8972\nasic1: BGP router identifier 10.1.0.32, local AS number 65100 vrf-id 0\nBGP table version 8972\nRIB entries 0, using 0 bytes of memory\nPeers 0, using 0 KiB of memory\nPeer groups 0, using 0 bytes of memory\n\n\nNeighbhor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd NeighborName\n----------- --- ---- --------- --------- -------- ----- ------ --------- -------------- --------------\n\nTotal number of neighbors 0\n'
E
E IPv4 Unicast Summary:
E asic0: BGP router identifier 10.1.0.32, local AS number 65100 vrf-id 0
E - BGP table version 8972
E - asic1: BGP router identifier 10.1.0.32, local AS number 65100 vrf-id 0
E BGP table version 8972
E RIB entries 0, using 0 bytes of memory
E Peers 0, using 0 KiB of memory
E Peer groups 0, using 0 bytes of memory
E
E
E Neighbhor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd NeighborName
E ----------- --- ---- --------- --------- -------- ----- ------ --------- -------------- --------------
E
E Total number of neighbors 0
tests/bgp_commands_test.py:979: AssertionError
Check failure on line 1 in test_bgp_summary_multi_asic_no_v6_neigh[show_bgp_summary_no_neigh]
azure-pipelines / Azure.sonic-utilities
test_bgp_summary_multi_asic_no_v6_neigh[show_bgp_summary_no_neigh]
AssertionError: assert '\nIPv6 Unicast Summary:\nasic0: BGP router identifier 10.1.0.32, local AS number 65100 vrf-id 0\nBGP table version 8972\nRIB entries 0, using 0 bytes of memory\nPeers 0, using 0 KiB of memory\nPeer groups 0, using 0 bytes of memory\n\n\nNeighbhor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd NeighborName\n----------- --- ---- --------- --------- -------- ----- ------ --------- -------------- --------------\n\nTotal number of neighbors 0\n' == '\nIPv6 Unicast Summary:\nasic0: BGP router identifier 10.1.0.32, local AS number 65100 vrf-id 0\nBGP table version 8972\nasic1: BGP router identifier 10.1.0.32, local AS number 65100 vrf-id 0\nBGP table version 8972\nRIB entries 0, using 0 bytes of memory\nPeers 0, using 0 KiB of memory\nPeer groups 0, using 0 bytes of memory\n\n\nNeighbhor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd NeighborName\n----------- --- ---- --------- --------- -------- ----- ------ --------- -------------- --------------\n\nTotal number of neighbors 0\n'
IPv6 Unicast Summary:
asic0: BGP router identifier 10.1.0.32, local AS number 65100 vrf-id 0
- BGP table version 8972
- asic1: BGP router identifier 10.1.0.32, local AS number 65100 vrf-id 0
BGP table version 8972
RIB entries 0, using 0 bytes of memory
Peers 0, using 0 KiB of memory
Peer groups 0, using 0 bytes of memory
Neighbhor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd NeighborName
----------- --- ---- --------- --------- -------- ----- ------ --------- -------------- --------------
Total number of neighbors 0
Raw output
self = <tests.bgp_commands_test.TestBgpCommandsMultiAsic object at 0x7f282cca2d90>
setup_bgp_commands = <module 'show.main' from '/__w/1/s/show/main.py'>
setup_multi_asic_bgp_instance = None
@pytest.mark.parametrize('setup_multi_asic_bgp_instance',
['show_bgp_summary_no_neigh'], indirect=['setup_multi_asic_bgp_instance'])
def test_bgp_summary_multi_asic_no_v6_neigh(
self,
setup_bgp_commands,
setup_multi_asic_bgp_instance):
show = setup_bgp_commands
runner = CliRunner()
result = runner.invoke(
show.cli.commands["ipv6"].commands["bgp"].commands["summary"], [])
print("{}".format(result.output))
assert result.exit_code == 0
> assert result.output == show_error_no_v6_neighbor_multi_asic
E AssertionError: assert '\nIPv6 Unicast Summary:\nasic0: BGP router identifier 10.1.0.32, local AS number 65100 vrf-id 0\nBGP table version 8972\nRIB entries 0, using 0 bytes of memory\nPeers 0, using 0 KiB of memory\nPeer groups 0, using 0 bytes of memory\n\n\nNeighbhor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd NeighborName\n----------- --- ---- --------- --------- -------- ----- ------ --------- -------------- --------------\n\nTotal number of neighbors 0\n' == '\nIPv6 Unicast Summary:\nasic0: BGP router identifier 10.1.0.32, local AS number 65100 vrf-id 0\nBGP table version 8972\nasic1: BGP router identifier 10.1.0.32, local AS number 65100 vrf-id 0\nBGP table version 8972\nRIB entries 0, using 0 bytes of memory\nPeers 0, using 0 KiB of memory\nPeer groups 0, using 0 bytes of memory\n\n\nNeighbhor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd NeighborName\n----------- --- ---- --------- --------- -------- ----- ------ --------- -------------- --------------\n\nTotal number of neighbors 0\n'
E
E IPv6 Unicast Summary:
E asic0: BGP router identifier 10.1.0.32, local AS number 65100 vrf-id 0
E - BGP table version 8972
E - asic1: BGP router identifier 10.1.0.32, local AS number 65100 vrf-id 0
E BGP table version 8972
E RIB entries 0, using 0 bytes of memory
E Peers 0, using 0 KiB of memory
E Peer groups 0, using 0 bytes of memory
E
E
E Neighbhor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd NeighborName
E ----------- --- ---- --------- --------- -------- ----- ------ --------- -------------- --------------
E
E Total number of neighbors 0
tests/bgp_commands_test.py:994: AssertionError
Check failure on line 1 in test_bgp_vrf_summary_multi_asic_no_v6_neigh[show_bgp_summary_no_neigh]
azure-pipelines / Azure.sonic-utilities
test_bgp_vrf_summary_multi_asic_no_v6_neigh[show_bgp_summary_no_neigh]
AssertionError: assert '\nIPv6 Unicast Summary:\nasic0: BGP router identifier 10.1.0.32, local AS number 65100 vrf-id 0\nBGP table version 8972\nRIB entries 0, using 0 bytes of memory\nPeers 0, using 0 KiB of memory\nPeer groups 0, using 0 bytes of memory\n\n\nNeighbhor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd NeighborName\n----------- --- ---- --------- --------- -------- ----- ------ --------- -------------- --------------\n\nTotal number of neighbors 0\n' == '\nIPv6 Unicast Summary:\nasic0: BGP router identifier 10.1.0.32, local AS number 65100 vrf-id 0\nBGP table version 8972\nasic1: BGP router identifier 10.1.0.32, local AS number 65100 vrf-id 0\nBGP table version 8972\nRIB entries 0, using 0 bytes of memory\nPeers 0, using 0 KiB of memory\nPeer groups 0, using 0 bytes of memory\n\n\nNeighbhor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd NeighborName\n----------- --- ---- --------- --------- -------- ----- ------ --------- -------------- --------------\n\nTotal number of neighbors 0\n'
IPv6 Unicast Summary:
asic0: BGP router identifier 10.1.0.32, local AS number 65100 vrf-id 0
- BGP table version 8972
- asic1: BGP router identifier 10.1.0.32, local AS number 65100 vrf-id 0
BGP table version 8972
RIB entries 0, using 0 bytes of memory
Peers 0, using 0 KiB of memory
Peer groups 0, using 0 bytes of memory
Neighbhor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd NeighborName
----------- --- ---- --------- --------- -------- ----- ------ --------- -------------- --------------
Total number of neighbors 0
Raw output
self = <tests.bgp_commands_test.TestBgpCommandsMultiAsic object at 0x7f282ccae010>
setup_bgp_commands = <module 'show.main' from '/__w/1/s/show/main.py'>
setup_multi_asic_bgp_instance = None
@pytest.mark.parametrize('setup_multi_asic_bgp_instance',
['show_bgp_summary_no_neigh'], indirect=['setup_multi_asic_bgp_instance'])
def test_bgp_vrf_summary_multi_asic_no_v6_neigh(
self,
setup_bgp_commands,
setup_multi_asic_bgp_instance):
show = setup_bgp_commands
runner = CliRunner()
result = runner.invoke(
show.cli.commands["ipv6"].commands["bgp"].commands["vrf"], ['default', 'summary'])
print("{}".format(result.output))
assert result.exit_code == 0
> assert result.output == show_error_no_v6_neighbor_multi_asic
E AssertionError: assert '\nIPv6 Unicast Summary:\nasic0: BGP router identifier 10.1.0.32, local AS number 65100 vrf-id 0\nBGP table version 8972\nRIB entries 0, using 0 bytes of memory\nPeers 0, using 0 KiB of memory\nPeer groups 0, using 0 bytes of memory\n\n\nNeighbhor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd NeighborName\n----------- --- ---- --------- --------- -------- ----- ------ --------- -------------- --------------\n\nTotal number of neighbors 0\n' == '\nIPv6 Unicast Summary:\nasic0: BGP router identifier 10.1.0.32, local AS number 65100 vrf-id 0\nBGP table version 8972\nasic1: BGP router identifier 10.1.0.32, local AS number 65100 vrf-id 0\nBGP table version 8972\nRIB entries 0, using 0 bytes of memory\nPeers 0, using 0 KiB of memory\nPeer groups 0, using 0 bytes of memory\n\n\nNeighbhor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd NeighborName\n----------- --- ---- --------- --------- -------- ----- ------ --------- -------------- --------------\n\nTotal number of neighbors 0\n'
E
E IPv6 Unicast Summary:
E asic0: BGP router identifier 10.1.0.32, local AS number 65100 vrf-id 0
E - BGP table version 8972
E - asic1: BGP router identifier 10.1.0.32, local AS number 65100 vrf-id 0
E BGP table version 8972
E RIB entries 0, using 0 bytes of memory
E Peers 0, using 0 KiB of memory
E Peer groups 0, using 0 bytes of memory
E
E
E Neighbhor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd NeighborName
E ----------- --- ---- --------- --------- -------- ----- ------ --------- -------------- --------------
E
E Total number of neighbors 0
tests/bgp_commands_test.py:1008: AssertionError