sonic-mgmt
sonic-mgmt copied to clipboard
[Snappi] Adding BGP Outbound Traffic Testcases for T2
Description of PR
Summary:This PR includes the scripts for testcase 2.1, 2.2, 2.3, 2.4, 2.5, 2.6, 2.7 from https://github.com/kamalsahu0001/sonic-mgmt/blob/Work-T2-Convergence/docs/testplan/Convergence%20measurement%20in%20data%20center%20networks.md Fixes # (issue)
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?
Contribute the scripts for BGP Outbound Traffic Testcases
How did you do it?
We created connection between T1 and T2 setup and executed our outbound testcase
How did you verify/test it?
This was tested on T1 and T2 chassis
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation
https://github.com/kamalsahu0001/sonic-mgmt/blob/Work-T2-Convergence/docs/testplan/Convergence%20measurement%20in%20data%20center%20networks.md
Output
AzDevOps@4d5f3ec9993b:~/sonic-mgmt/tests$ py.test --inventory ../ansible/snappi-sonic --host-pattern all --testbed vms-snappi-sonic-multidut --testbed_file ../ansible/testbed.csv --show-capture=stdout --log-cli-level info --showlocals -ra --allow_recover --skip_sanity --disable_loganalyzer snappi_tests/multidut/bgp/test_bgp_outbound_flap_interconnectivity.py ========================================================= test session starts ========================================================= platform linux -- Python 3.8.10, pytest-7.4.0, pluggy-1.5.0 ansible: 2.13.13 rootdir: /var/AzDevOps/sonic-mgmt/tests configfile: pytest.ini plugins: ansible-4.0.0, allure-pytest-2.8.22, html-4.1.1, repeat-0.9.3, metadata-3.1.1, xdist-1.28.0, forked-1.6.0 collecting ... --------------------------------------------------------- live log collection --------------------------------------------------------- 22:30:19 conftest.generate_params_dut_hostname L1155 INFO | Using DUTs ['sonic-t1', 'sonic-t2-uplink', 'sonic-t2-downlink'] in testbed 'vms-snappi-sonic-multidut' 22:30:19 conftest.set_rand_one_dut_hostname L0402 INFO | Randomly select dut sonic-t1 for testing 22:30:19 init.pytest_collection_modifyitems L0581 INFO | Available basic facts that can be used in conditional skip: { "topo_type": "ptf", "topo_name": "ptf64", "testbed": "vms-snappi-sonic-multidut" } collected 1 item
snappi_tests/multidut/bgp/test_bgp_outbound_flap_interconnectivity.py::test_bgp_outbound_flap_interconnectivity[route_range0-IPv4] ----------------------------------------------------------- live log setup ------------------------------------------------------------ 22:30:19 init.set_default L0053 INFO | Completeness level not set during test execution. Setting to default level: CompletenessLevel.basic 22:30:19 init.check_test_completeness L0151 INFO | Test has no defined levels. Continue without test completeness checks 22:30:36 ptfhost_utils.run_icmp_responder_session L0239 INFO | Skip running icmp_responder at session level, it is only for dualtor testbed with active-active mux ports. 22:30:36 conftest.creds_on_dut L0741 INFO | dut sonic-t1 belongs to groups ['snappi-sonic', 'sonic', 'sonic_dell64_40', 'fanout'] 22:30:36 conftest.creds_on_dut L0765 INFO | skip empty var file ../ansible/group_vars/all/env.yml 22:30:36 conftest.creds_on_dut L0765 INFO | skip empty var file ../ansible/group_vars/all/corefile_uploader.yml 22:30:36 transport._log L1873 INFO | Connected (version 2.0, client OpenSSH_9.2p1) 22:30:37 transport._log L1873 INFO | Auth banner: b'Debian GNU/Linux 12 \n \l\n\n' 22:30:37 transport._log L1873 INFO | Authentication (password) successful! 22:30:37 conftest.nbrhosts L0558 INFO | No VMs exist for this topology: ptf64 22:30:37 conftest.core_dump_and_config_check L2099 INFO | Dumping Disk and Memory Space informataion before test on sonic-t1 22:30:38 conftest.core_dump_and_config_check L2103 INFO | Collecting core dumps before test on sonic-t1 22:30:38 conftest.core_dump_and_config_check L2112 INFO | Collecting running config before test on sonic-t1 22:30:39 conftest.core_dump_and_config_check L2099 INFO | Dumping Disk and Memory Space informataion before test on sonic-t2-uplink 22:30:40 conftest.core_dump_and_config_check L2103 INFO | Collecting core dumps before test on sonic-t2-uplink 22:30:40 conftest.core_dump_and_config_check L2112 INFO | Collecting running config before test on sonic-t2-uplink 22:30:42 conftest.core_dump_and_config_check L2099 INFO | Dumping Disk and Memory Space informataion before test on sonic-t2-downlink 22:30:43 conftest.core_dump_and_config_check L2103 INFO | Collecting core dumps before test on sonic-t2-downlink 22:30:43 conftest.core_dump_and_config_check L2112 INFO | Collecting running config before test on sonic-t2-downlink 22:30:55 init.sanity_check L0125 INFO | Skip sanity check according to command line argument 22:30:55 init._fixture_generator_decorator L0081 INFO | -------------------- fixture enable_packet_aging_after_test setup starts -------------------- 22:30:55 init._fixture_generator_decorator L0085 INFO | -------------------- fixture enable_packet_aging_after_test setup ends -------------------- 22:30:55 init._fixture_generator_decorator L0081 INFO | -------------------- fixture rand_lossless_prio setup starts -------------------- 22:30:55 init._fixture_generator_decorator L0085 INFO | -------------------- fixture rand_lossless_prio setup ends -------------------- 22:30:55 init._fixture_generator_decorator L0081 INFO | -------------------- fixture rand_lossy_prio setup starts -------------------- 22:30:55 init._fixture_generator_decorator L0085 INFO | -------------------- fixture rand_lossy_prio setup ends -------------------- 22:30:55 init._fixture_generator_decorator L0081 INFO | -------------------- fixture start_pfcwd_after_test setup starts -------------------- 22:30:55 init._fixture_generator_decorator L0085 INFO | -------------------- fixture start_pfcwd_after_test setup ends -------------------- 22:30:55 init._fixture_func_decorator L0069 INFO | -------------------- fixture snappi_api_serv_ip setup starts -------------------- 22:30:55 init._fixture_func_decorator L0076 INFO | -------------------- fixture snappi_api_serv_ip setup ends -------------------- 22:30:55 init._fixture_func_decorator L0069 INFO | -------------------- fixture snappi_api_serv_port setup starts -------------------- 22:30:55 init._fixture_func_decorator L0076 INFO | -------------------- fixture snappi_api_serv_port setup ends -------------------- 22:30:55 init._fixture_generator_decorator L0081 INFO | -------------------- fixture cvg_api setup starts -------------------- 22:30:55 init._fixture_generator_decorator L0085 INFO | -------------------- fixture cvg_api setup ends -------------------- 22:30:55 init.loganalyzer L0051 INFO | Log analyzer is disabled 22:30:55 init._fixture_func_decorator L0069 INFO | -------------------- fixture multidut_snappi_ports setup starts -------------------- 22:30:55 init._fixture_func_decorator L0076 INFO | -------------------- fixture multidut_snappi_ports setup ends -------------------- ------------------------------------------------------------ live log call ------------------------------------------------------------ 22:30:57 snappi_fixtures._multidut_snappi_ports L1130 INFO | [{'ip': '10.0.0.5', 'card_id': '1', 'port_id': '16', 'peer_port': 'Ethernet8', 'peer_device': 'sonic-t1', 'speed': 'speed_400_gbps', 'location': '152.148.150.177;1;16', 'asic_value': None, 'peer_ip': '10.0.0.4', 'prefix': '31'}, {'ip': '152.148.150.177', 'card_id': '1', 'port_id': '7', 'peer_port': 'Ethernet16', 'peer_device': 'sonic-t1', 'speed': 'speed_400_gbps', 'location': '152.148.150.177;1;7', 'asic_value': None}] 22:30:58 snappi_fixtures._multidut_snappi_ports L1130 INFO | [{'ip': '152.148.150.177', 'card_id': '1', 'port_id': '5', 'peer_port': 'Ethernet0', 'peer_device': 'sonic-t2-uplink', 'speed': 'speed_400_gbps', 'location': '152.148.150.177;1;5', 'asic_value': 'asic0'}, {'ip': '152.148.150.177', 'card_id': '1', 'port_id': '6', 'peer_port': 'Ethernet144', 'peer_device': 'sonic-t2-uplink', 'speed': 'speed_400_gbps', 'location': '152.148.150.177;1;6', 'asic_value': 'asic1'}, {'ip': '152.148.150.177', 'card_id': '1', 'port_id': '8', 'peer_port': 'Ethernet192', 'peer_device': 'sonic-t2-uplink', 'speed': 'speed_400_gbps', 'location': '152.148.150.177;1;8', 'asic_value': 'asic1'}, {'ip': '152.148.150.177', 'card_id': '1', 'port_id': '15', 'peer_port': 'Ethernet88', 'peer_device': 'sonic-t2-uplink', 'speed': 'speed_400_gbps', 'location': '152.148.150.177;1;15', 'asic_value': 'asic0'}] 22:30:58 bgp_outbound_helperv2.duthost_bgp_config L0079 INFO | --------------- T1 - Tgen Section -------------------- 22:30:58 bgp_outbound_helperv2.duthost_bgp_config L0080 INFO |
22:31:01 bgp_outbound_helperv2.duthost_bgp_config L0089 INFO | Configuring IPs 20.0.1.1 / 2000:1::1 on Ethernet8 in sonic-t1 22:31:04 bgp_outbound_helperv2.duthost_bgp_config L0089 INFO | Configuring IPs 20.0.2.1 / 2000:1:0:1::1 on Ethernet16 in sonic-t1 22:31:04 bgp_outbound_helperv2.duthost_bgp_config L0092 INFO |
22:31:04 bgp_outbound_helperv2.duthost_bgp_config L0093 INFO | T1 Dut AS Number: 65200 22:31:04 bgp_outbound_helperv2.duthost_bgp_config L0094 INFO | T1 Snappi AS Number: 65300 22:31:06 bgp_outbound_helperv2.duthost_bgp_config L0131 INFO | Configuring BGPv4 and BGP+ Neighbor 20.0.1.2 2000:1::2 in sonic-t1 22:31:06 bgp_outbound_helperv2.duthost_bgp_config L0131 INFO | Configuring BGPv4 and BGP+ Neighbor 20.0.2.2 2000:1:0:1::2 in sonic-t1 22:31:06 bgp_outbound_helperv2.duthost_bgp_config L0134 INFO |
22:31:06 bgp_outbound_helperv2.duthost_bgp_config L0136 INFO | ---------------T1 - T2 Downlink Inter-Connectivity Section -------------------- 22:31:06 bgp_outbound_helperv2.duthost_bgp_config L0137 INFO |
22:31:09 bgp_outbound_helperv2.duthost_bgp_config L0146 INFO | Configuring IPs 20.0.3.1 2000:1:0:2::1 to Ethernet120 in sonic-t1 22:31:10 bgp_outbound_helperv2.duthost_bgp_config L0155 INFO | Configuring IPs 20.0.3.2 2000:1:0:2::2 to Ethernet272 -n asic1 in sonic-t2-downlink 22:31:10 bgp_outbound_helperv2.duthost_bgp_config L0156 INFO |
22:31:10 bgp_outbound_helperv2.duthost_bgp_config L0157 INFO | T1 Dut AS Number: 65200 22:31:10 bgp_outbound_helperv2.duthost_bgp_config L0158 INFO | T2 Dut AS Number: 65100 22:31:11 bgp_outbound_helperv2.duthost_bgp_config L0177 INFO | Configuring BGPv4 and BGP+ Neighbor 20.0.3.2 2000:1:0:2::2 in sonic-t1 22:31:12 bgp_outbound_helperv2.duthost_bgp_config L0199 INFO | Configuring BGPv4 and BGP+ Neighbor 20.0.3.1 2000:1:0:2::1 in sonic-t2-downlink frr 1 22:31:12 bgp_outbound_helperv2.duthost_bgp_config L0203 INFO | --------------- T2 Uplink - Tgen Section -------------------- 22:31:12 bgp_outbound_helperv2.duthost_bgp_config L0209 INFO |
22:31:12 bgp_outbound_helperv2.duthost_bgp_config L0210 INFO | Adding -n asic0 PortChannel0 in sonic-t2-uplink 22:31:13 bgp_outbound_helperv2.duthost_bgp_config L0213 INFO | Adding member Ethernet0 to PortChannel0 22:31:14 bgp_outbound_helperv2.duthost_bgp_config L0213 INFO | Adding member Ethernet88 to PortChannel0 22:31:14 bgp_outbound_helperv2.duthost_bgp_config L0215 INFO | Configuring IPs 30.0.1.1 / 3000:1::1 to PortChannel0 22:31:16 bgp_outbound_helperv2.duthost_bgp_config L0209 INFO |
22:31:16 bgp_outbound_helperv2.duthost_bgp_config L0210 INFO | Adding -n asic1 PortChannel1 in sonic-t2-uplink 22:31:16 bgp_outbound_helperv2.duthost_bgp_config L0213 INFO | Adding member Ethernet192 to PortChannel1 22:31:17 bgp_outbound_helperv2.duthost_bgp_config L0213 INFO | Adding member Ethernet144 to PortChannel1 22:31:17 bgp_outbound_helperv2.duthost_bgp_config L0215 INFO | Configuring IPs 30.0.2.1 / 3000:1:0:1::1 to PortChannel1 22:31:18 bgp_outbound_helperv2.duthost_bgp_config L0223 INFO |
22:31:19 bgp_outbound_helperv2.duthost_bgp_config L0254 INFO | T2 Dut AS Number: 65100 22:31:19 bgp_outbound_helperv2.duthost_bgp_config L0255 INFO | T2 Snappi AS Number: 65400 22:31:19 bgp_outbound_helperv2.duthost_bgp_config L0256 INFO | Configuring BGPv4 and BGP+ Neighbor 30.0.1.2 3000:1::2 in sonic-t2-uplink frr 0 22:31:19 bgp_outbound_helperv2.duthost_bgp_config L0259 INFO |
22:31:19 bgp_outbound_helperv2.duthost_bgp_config L0223 INFO |
22:31:20 bgp_outbound_helperv2.duthost_bgp_config L0254 INFO | T2 Dut AS Number: 65100 22:31:20 bgp_outbound_helperv2.duthost_bgp_config L0255 INFO | T2 Snappi AS Number: 65400 22:31:20 bgp_outbound_helperv2.duthost_bgp_config L0256 INFO | Configuring BGPv4 and BGP+ Neighbor 30.0.2.2 3000:1:0:1::2 in sonic-t2-uplink frr 1 22:31:20 bgp_outbound_helperv2.duthost_bgp_config L0259 INFO |
22:31:20 bgp_outbound_helperv2.__tgen_bgp_config L0338 INFO |
22:31:20 bgp_outbound_helperv2.__tgen_bgp_config L0338 INFO |
22:31:20 bgp_outbound_helperv2.__tgen_bgp_config L0338 INFO |
22:31:20 bgp_outbound_helperv2.__tgen_bgp_config L0338 INFO |
22:31:20 bgp_outbound_helperv2.createTrafficItem L0462 INFO | IPv4_Traffic Source : ['T1_IPv4_0'] 22:31:20 bgp_outbound_helperv2.createTrafficItem L0463 INFO | IPv4_Traffic Destination : ['T2_IPv4_Routes_0', 'T2_IPv4_Routes_1', 'T1_IPv4_Routes_1'] 22:31:20 connection._warn L0246 WARNING| Verification of certificates is disabled 22:31:20 connection._info L0243 INFO | Determining the platform and rest_port using the 172.17.0.4 address... 22:31:20 connection._warn L0246 WARNING| Unable to connect to http://172.17.0.4:443/. 22:31:20 connection._info L0243 INFO | Connection established to https://172.17.0.4:443 on linux 22:31:31 connection._info L0243 INFO | Using IxNetwork api server version 10.20.2403.2 22:31:31 connection._info L0243 INFO | User info IxNetwork/tb11-tgen-ixia/admin-21-2320020 22:31:31 snappi_api.info L1132 INFO | snappi-0.9.1 22:31:31 snappi_api.info L1132 INFO | snappi_ixnetwork-0.9.1 22:31:31 snappi_api.info L1132 INFO | ixnetwork_restpy-1.0.64 22:31:31 snappi_api.info L1132 INFO | Config validation 0.006s 22:31:34 snappi_api.info L1132 INFO | Ports configuration 2.172s 22:31:34 snappi_api.info L1132 INFO | Captures configuration 0.092s 22:31:36 snappi_api.info L1132 INFO | Add location hosts [152.148.150.177] 2.198s 22:31:43 snappi_api.info L1132 INFO | Location hosts ready [152.148.150.177] 6.147s 22:31:43 snappi_api.info L1132 INFO | Speed conversion is not require for (port.name, speed) : [('Test_Port_0', 'starTwoByFourHundredGigNonFannedOutPAM4'), ('Test_Port_1', 'starTwoByFourHundredGigNonFannedOutPAM4'), ('Test_Port_2', 'starTwoByFourHundredGigNonFannedOutPAM4'), ('Test_Port_3', 'starTwoByFourHundredGigNonFannedOutPAM4'), ('Test_Port_4', 'starTwoByFourHundredGigNonFannedOutPAM4'), ('Test_Port_5', 'starTwoByFourHundredGigNonFannedOutPAM4')] 22:31:43 snappi_api.info L1132 INFO | Aggregation mode speed change 0.656s 22:31:56 snappi_api.info L1132 INFO | Location preemption [152.148.150.177;1;16, 152.148.150.177;1;7, 152.148.150.177;1;5, 152.148.150.177;1;6, 152.148.150.177;1;8, 152.148.150.177;1;15] 0.169s 22:32:10 snappi_api.info L1132 INFO | Location connect [Test_Port_0, Test_Port_1, Test_Port_2, Test_Port_3, Test_Port_4, Test_Port_5] 14.211s 22:32:10 snappi_api.info L1132 INFO | Location state check [Test_Port_0, Test_Port_1, Test_Port_2, Test_Port_3, Test_Port_4, Test_Port_5] 0.141s 22:32:10 snappi_api.info L1132 INFO | Location configuration 36.503s 22:32:12 snappi_api.info L1132 INFO | Layer1 configuration 1.567s 22:32:13 snappi_api.info L1132 INFO | Lag Configuration 1.106s 22:32:14 snappi_api.info L1132 INFO | Lag Ethernet Configuration 0.913s 22:32:15 snappi_api.info L1132 INFO | Lag Protocol Configuration 1.281s 22:32:15 snappi_api.info L1132 INFO | Convert device config : 0.134s 22:32:15 snappi_api.info L1132 INFO | Create IxNetwork device config : 0.001s 22:32:17 snappi_api.info L1132 INFO | Push IxNetwork device config : 1.684s 22:32:17 snappi_api.info L1132 INFO | Devices configuration 1.859s 22:32:18 snappi_api.info L1132 INFO | Flows configuration 1.312s 22:32:20 snappi_api.info L1132 INFO | Start interfaces 1.185s 22:32:26 bgp_outbound_helperv2.get_install_time L0499 INFO | |--------------------------- Iteration : 1 -----------------------| 22:32:26 bgp_outbound_helperv2.get_install_time L0502 INFO | Starting all protocols ... 22:34:28 snappi_api.info L1132 INFO | Setting protocol state 121.943s 22:34:28 utilities.wait L0107 INFO | Pause 20 seconds, reason: For Protocols To start 22:34:48 bgp_outbound_helperv2.get_install_time L0508 INFO | Starting Traffic 22:34:51 snappi_api.info L1132 INFO | Flows generate/apply 2.343s 22:35:05 snappi_api.info L1132 INFO | Flows clear statistics 14.320s 22:35:05 snappi_api.info L1132 INFO | Captures start 0.000s 22:35:09 snappi_api.info L1132 INFO | Flows start 4.112s 22:35:09 utilities.wait L0107 INFO | Pause 20 seconds, reason: For Traffic To start 22:35:29 bgp_outbound_helperv2.get_install_time L0517 INFO | Shutting down Ethernet120 port of sonic-t1 dut !! 22:35:31 utilities.wait L0107 INFO | Pause 20 seconds, reason: For link to shutdown 22:35:52 bgp_outbound_helperv2.get_install_time L0529 INFO | Delta Frames : 761068 22:35:52 bgp_outbound_helperv2.get_install_time L0530 INFO | |-------------------------------------| 22:35:52 bgp_outbound_helperv2.get_install_time L0531 INFO | |PACKET LOSS DURATION (ms): 158.9109994170304 22:35:52 bgp_outbound_helperv2.get_install_time L0532 INFO | |-------------------------------------| 22:35:52 bgp_outbound_helperv2.get_install_time L0535 INFO | Stopping Traffic 22:35:58 snappi_api.info L1132 INFO | Flows stop 5.315s 22:35:58 utilities.wait L0107 INFO | Pause 20 seconds, reason: For Traffic To stop 22:36:18 bgp_outbound_helperv2.get_install_time L0542 INFO | Stopping all protocols ... 22:36:18 snappi_api.info L1132 INFO | Setting protocol state 0.096s 22:36:18 utilities.wait L0107 INFO | Pause 20 seconds, reason: For Protocols To stop 22:36:38 bgp_outbound_helperv2.get_install_time L0549 INFO | Starting up Ethernet120 port of sonic-t1 dut !! 22:36:40 utilities.wait L0107 INFO | Pause 20 seconds, reason: For link to startup 22:37:00 bgp_outbound_helperv2.get_install_time L0555 INFO |
22:37:00 bgp_outbound_helperv2.get_install_time L0558 INFO | +--------------------------------+--------------+----------------+---------------+--------------------------------------------+ | Event Name | Iterations | Traffic Type | Route Count | Avg Calculated Packet Loss Duration (ms) | |--------------------------------+--------------+----------------+---------------+--------------------------------------------| | sonic-t1:Ethernet120 Link Flap | 1 | IPv4 | 30000 | 158.911 | +--------------------------------+--------------+----------------+---------------+--------------------------------------------+ PASSED [100%] ---------------------------------------------------------- live log teardown ---------------------------------------------------------- 22:37:00 init._fixture_generator_decorator L0093 INFO | -------------------- fixture cvg_api teardown starts -------------------- 22:37:00 init._fixture_generator_decorator L0102 INFO | -------------------- fixture cvg_api teardown ends -------------------- 22:37:00 init._fixture_generator_decorator L0093 INFO | -------------------- fixture start_pfcwd_after_test teardown starts -------------------- 22:37:02 init._fixture_generator_decorator L0102 INFO | -------------------- fixture start_pfcwd_after_test teardown ends -------------------- 22:37:02 init._fixture_generator_decorator L0093 INFO | -------------------- fixture rand_lossy_prio teardown starts -------------------- 22:37:02 init._fixture_generator_decorator L0102 INFO | -------------------- fixture rand_lossy_prio teardown ends -------------------- 22:37:02 init._fixture_generator_decorator L0093 INFO | -------------------- fixture rand_lossless_prio teardown starts -------------------- 22:37:02 init._fixture_generator_decorator L0102 INFO | -------------------- fixture rand_lossless_prio teardown ends -------------------- 22:37:02 init._fixture_generator_decorator L0093 INFO | -------------------- fixture enable_packet_aging_after_test teardown starts -------------------- 22:37:02 init._fixture_generator_decorator L0102 INFO | -------------------- fixture enable_packet_aging_after_test teardown ends -------------------- 22:37:02 conftest.core_dump_and_config_check L2140 INFO | Dumping Disk and Memory Space informataion after test on sonic-t1 22:37:03 conftest.core_dump_and_config_check L2144 INFO | Collecting core dumps after test on sonic-t1 22:37:04 conftest.core_dump_and_config_check L2161 INFO | Collecting running config after test on sonic-t1 22:37:05 conftest.core_dump_and_config_check L2140 INFO | Dumping Disk and Memory Space informataion after test on sonic-t2-uplink 22:37:06 conftest.core_dump_and_config_check L2144 INFO | Collecting core dumps after test on sonic-t2-uplink 22:37:06 conftest.core_dump_and_config_check L2161 INFO | Collecting running config after test on sonic-t2-uplink 22:37:08 conftest.core_dump_and_config_check L2140 INFO | Dumping Disk and Memory Space informataion after test on sonic-t2-downlink 22:37:09 conftest.core_dump_and_config_check L2144 INFO | Collecting core dumps after test on sonic-t2-downlink 22:37:09 conftest.core_dump_and_config_check L2161 INFO | Collecting running config after test on sonic-t2-downlink 22:37:11 conftest.core_dump_and_config_check L2285 WARNING| Core dump or config check failed for test_bgp_outbound_flap_interconnectivity.py, results: {"core_dump_check": {"pass": true, "new_core_dumps": {"sonic-t1": [], "sonic-t2-uplink": [], "sonic-t2-downlink": []}}, "config_db_check": {"pass": false, "pre_only_config": {"sonic-t1": {"null": {"BGP_NEIGHBOR": {"10.0.0.1": {"asn": "65200", "holdtime": "180", "keepalive": "60", "local_addr": "10.0.0.0", "name": "ARISTA01T2", "nhopself": "0", "rrclient": "0"}, "10.0.0.11": {"asn": "65200", "holdtime": "180", "keepalive": "60", "local_addr": "10.0.0.10", "name": "ARISTA06T2", "nhopself": "0", "rrclient": "0"}, "10.0.0.13": {"asn": "65200", "holdtime": "180", "keepalive": "60", "local_addr": "10.0.0.12", "name": "ARISTA07T2", "nhopself": "0", "rrclient": "0"}, "10.0.0.15": {"asn": "65200", "holdtime": "180", "keepalive": "60", "local_addr": "10.0.0.14", "name": "ARISTA08T2", "nhopself": "0", "rrclient": "0"}, "10.0.0.17": {"asn": "65200", "holdtime": "180", "keepalive": "60", "local_addr": "10.0.0.16", "name": "ARISTA09T2", "nhopself": "0", "rrclient": "0"}, "10.0.0.19": {"asn": "65200", "holdtime": "180", "keepalive": "60", "local_addr": "10.0.0.18", "name": "ARISTA10T2", "nhopself": "0", "rrclient": "0"}, "10.0.0.21": {"asn": "65200", "holdtime": "180", "keepalive": "60", "local_addr": "10.0.0.20", "name": "ARISTA11T2", "nhopself": "0", "rrclient": "0"}, "10.0.0.23": {"asn": "65200", "holdtime": "180", "keepalive": "60", "local_addr": "10.0.0.22", "name": "ARISTA12T2", "nhopself": "0", "rrclient": "0"}, "10.0.0.25": {"asn": "65200", "holdtime": "180", "keepalive": "60", "local_addr": "10.0.0.24", "name": "ARISTA13T2", "nhopself": "0", "rrclient": "0"}, "10.0.0.27": {"asn": "65200", "holdtime": "180", "keepalive": "60", "local_addr": "10.0.0.26", "name": "ARISTA14T2", "nhopself": "0", "rrclient": "0"}, "10.0.0.29": {"asn": "65200", "holdtime": "180", "keepalive": "60", "local_addr": "10.0.0.28", "name": "ARISTA15T2", "nhopself": "0", "rrclient": "0"}, "10.0.0.3": {"asn": "65200", "holdtime": "180", "keepalive": "60", "local_addr": "10.0.0.2", "name": "ARISTA02T2", "nhopself": "0", "rrclient": "0"}, "10.0.0.31": {"asn": "65200", "holdtime": "180", "keepalive": "60", "local_addr": "10.0.0.30", "name": "ARISTA16T2", "nhopself": "0", "rrclient": "0"}, "10.0.0.33": {"asn": "65200", "holdtime": "180", "keepalive": "60", "local_addr": "10.0.0.32", "name": "ARISTA17T2", "nhopself": "0", "rrclient": "0"}, "10.0.0.35": {"asn": "64001", "holdtime": "180", "keepalive": "60", "local_addr": "10.0.0.34", "name": "ARISTA01T0", "nhopself": "0", "rrclient": "0"}, "10.0.0.37": {"asn": "64002", "holdtime": "180", "keepalive": "60", "local_addr": "10.0.0.36", "name": "ARISTA02T0", "nhopself": "0", "rrclient": "0"}, "10.0.0.39": {"asn": "64003", "holdtime": "180", "keepalive": "60", "local_addr": "10.0.0.38", "name": "ARISTA03T0", "nhopself": "0", "rrclient": "0"}, "10.0.0.41": {"asn": "64004", "holdtime": "180", "keepalive": "60", "local_addr": "10.0.0.40", "name": "ARISTA04T0", "nhopself": "0", "rrclient": "0"}, "10.0.0.43": {"asn": "64005", "holdtime": "180", "keepalive": "60", "local_addr": "10.0.0.42", "name": "ARISTA05T0", "nhopself": "0", "rrclient": "0"}, "10.0.0.45": {"asn": "64006", "holdtime": "180", "keepalive": "60", "local_addr": "10.0.0.44", "name": "ARISTA06T0", "nhopself": "0", "rrclient": "0"}, "10.0.0.47": {"asn": "64007", "holdtime": "180", "keepalive": "60", "local_addr": "10.0.0.46", "name": "ARISTA07T0", "nhopself": "0", "rrclient": "0"}, "10.0.0.49": {"asn": "64008", "holdtime": "180", "keepalive": "60", "local_addr": "10.0.0.48", "name": "ARISTA08T0", "nhopself": "0", "rrclient": "0"}, "10.0.0.5": {"asn": "65200", "holdtime": "180", "keepalive": "60", "local_addr": "10.0.0.4", "name": "ARISTA03T2", "nhopself": "0", "rrclient": "0"}, "10.0.0.51": {"asn": "64009", "holdtime": "180", "keepalive": "60", "local_addr": "10.0.0.50", "name": "ARISTA09T0", "nhopself": "0", "rrclient": "0"}, "10.0.0.53": {"asn": "64010", "holdtime": "180", "keepalive": "60", "local_addr": "10.0.0.52", "name": "ARISTA10T0", "nhopself": "0", "rrclient": "0"}, "10.0.0.55": {"asn": "64011", "holdtime": "180", "keepalive": "60", "local_addr": "10.0.0.54", "name": "ARISTA11T0", "nhopself": "0", "rrclient": "0"}, "10.0.0.57": {"asn": "64012", "holdtime": "180", "keepalive": "60", "local_addr": "10.0.0.56", "name": "ARISTA12T0", "nhopself": "0", "rrclient": "0"}, "10.0.0.59": {"asn": "64013", "holdtime": "180", "keepalive": "60", "local_addr": "10.0.0.58", "name": "ARISTA13T0", "nhopself": "0", "rrclient": "0"}, "10.0.0.61": {"asn": "64014", "holdtime": "180", "keepalive": "60", "local_addr": "10.0.0.60", "name": "ARISTA14T0", "nhopself": "0", "rrclient": "0"}, "10.0.0.63": {"asn": "64015", "holdtime": "180", "keepalive": "60", "local_addr": "10.0.0.62", "name": "ARISTA15T0", "nhopself": "0", "rrclient": "0"}, "10.0.0.65": {"asn": "64016", "holdtime": "180", "keepalive": "60", "local_addr": "10.0.0.64", "name": "ARISTA16T0", "nhopself": "0", "rrclient": "0"}, "10.0.0.67": {"asn": "64017", "holdtime": "180", "keepalive": "60", "local_addr": "10.0.0.66", "name": "ARISTA17T0", "nhopself": "0", "rrclient": "0"}, "10.0.0.7": {"asn": "65200", "holdtime": "180", "keepalive": "60", "local_addr": "10.0.0.6", "name": "ARISTA04T2", "nhopself": "0", "rrclient": "0"}, "10.0.0.9": {"asn": "65200", "holdtime": "180", "keepalive": "60", "local_addr": "10.0.0.8", "name": "ARISTA05T2", "nhopself": "0", "rrclient": "0"}}}}, "sonic-t2-uplink": {"null": {}, "asic0": {}, "asic1": {}}, "sonic-t2-downlink": {"null": {}, "asic0": {}, "asic1": {}}}, "cur_only_config": {"sonic-t1": {"null": {}}, "sonic-t2-uplink": {"null": {}, "asic0": {"PORTCHANNEL_INTERFACE": {"PortChannel0": {}, "PortChannel0|30.0.1.1/24": {}, "PortChannel0|3000:1::1/64": {}}, "PORTCHANNEL_MEMBER": {"PortChannel0|Ethernet0": {}, "PortChannel0|Ethernet88": {}}, "PORTCHANNEL": {"PortChannel0": {"admin_status": "up", "lacp_key": "auto", "min_links": "1", "mtu": "9100"}}}, "asic1": {"PORTCHANNEL_INTERFACE": {"PortChannel1": {}, "PortChannel1|30.0.2.1/24": {}, "PortChannel1|3000:1:0:1::1/64": {}}, "PORTCHANNEL_MEMBER": {"PortChannel1|Ethernet144": {}, "PortChannel1|Ethernet192": {}}, "PORTCHANNEL": {"PortChannel1": {"admin_status": "up", "lacp_key": "auto", "min_links": "1", "mtu": "9100"}}}}, "sonic-t2-downlink": {"null": {}, "asic0": {}, "asic1": {}}}, "inconsistent_config": {"sonic-t1": {"null": {"DEVICE_METADATA": {"pre_value": {"localhost": {"bgp_asn": "65100", "buffer_model": "traditional", "default_bgp_status": "up", "default_pfcwd_status": "disable", "docker_routing_config_mode": "separated", "hostname": "sonic", "hwsku": "Nokia-IXR7220-H3", "mac": "ac:8f:f8:6f:ee:52", "platform": "x86_64-nokia_ixr7220_h3-r0", "timezone": "UTC", "type": "LeafRouter"}}, "cur_value": {"localhost": {"bgp_asn": "65200", "buffer_model": "traditional", "default_bgp_status": "up", "default_pfcwd_status": "disable", "docker_routing_config_mode": "separated", "hostname": "sonic", "hwsku": "Nokia-IXR7220-H3", "mac": "ac:8f:f8:6f:ee:52", "platform": "x86_64-nokia_ixr7220_h3-r0", "timezone": "UTC", "type": "LeafRouter"}}}}}, "sonic-t2-uplink": {"null": {}, "asic0": {"INTERFACE": {"pre_value": {"Ethernet-Rec0": {}, "Ethernet0": {}, "Ethernet32": {}, "Ethernet64": {}, "Ethernet88": {}, "Ethernet0|10.0.0.0/31": {}, "Ethernet0|FC00::1/126": {}, "Ethernet32|10.0.0.4/31": {}, "Ethernet32|FC00::9/126": {}, "Ethernet64|10.0.0.12/31": {}, "Ethernet64|FC00::19/126": {}, "Ethernet88|10.0.0.18/31": {}, "Ethernet88|FC00::25/126": {}}, "cur_value": {"Ethernet-Rec0": {}, "Ethernet32": {}, "Ethernet64": {}, "Ethernet32|10.0.0.4/31": {}, "Ethernet32|FC00::9/126": {}, "Ethernet64|10.0.0.12/31": {}, "Ethernet64|FC00::19/126": {}}}}, "asic1": {"INTERFACE": {"pre_value": {"Ethernet-Rec1": {}, "Ethernet144": {}, "Ethernet176": {}, "Ethernet192": {}, "Ethernet208": {}, "Ethernet144|10.0.0.6/31": {}, "Ethernet144|FC00::D/126": {}, "Ethernet176|10.0.0.10/31": {}, "Ethernet176|FC00::15/126": {}, "Ethernet192|10.0.0.14/31": {}, "Ethernet192|FC00::1D/126": {}, "Ethernet208|10.0.0.16/31": {}, "Ethernet208|FC00::21/126": {}}, "cur_value": {"Ethernet-Rec1": {}, "Ethernet176": {}, "Ethernet208": {}, "Ethernet176|10.0.0.10/31": {}, "Ethernet176|FC00::15/126": {}, "Ethernet208|10.0.0.16/31": {}, "Ethernet208|FC00::21/126": {}}}}}, "sonic-t2-downlink": {"null": {}, "asic0": {}, "asic1": {"INTERFACE": {"pre_value": {"Ethernet-Rec1": {}, "Ethernet144": {}, "Ethernet176": {}, "Ethernet272": {}, "Ethernet144|10.0.0.18/31": {}, "Ethernet144|FC00::25/126": {}, "Ethernet176|10.0.0.22/31": {}, "Ethernet176|FC00::2D/126": {}, "Ethernet272|10.0.0.24/31": {}, "Ethernet272|FC00::31/126": {}}, "cur_value": {"Ethernet-Rec1": {}, "Ethernet144": {}, "Ethernet176": {}, "Ethernet272": {}, "Ethernet144|10.0.0.18/31": {}, "Ethernet144|FC00::25/126": {}, "Ethernet176|10.0.0.22/31": {}, "Ethernet176|FC00::2D/126": {}, "Ethernet272|20.0.3.2/24": {}, "Ethernet272|2000:1:0:2::2/64": {}}}}}}}} 22:37:11 conftest.__dut_reload L2031 INFO | dut reload called on sonic-t1 22:37:11 conftest.__dut_reload L2031 INFO | dut reload called on sonic-t2-uplink 22:37:11 conftest.__dut_reload L2031 INFO | dut reload called on sonic-t2-downlink 22:37:13 parallel.on_terminate L0085 INFO | process __dut_reload-- terminated with exit code None 22:37:13 parallel.on_terminate L0085 INFO | process __dut_reload-- terminated with exit code None 22:37:13 parallel.on_terminate L0085 INFO | process __dut_reload-- terminated with exit code None 22:37:13 parallel.parallel_run L0221 INFO | Completed running processes for target "__dut_reload" in 0:00:01.877875 seconds
========================================================== warnings summary =========================================================== ../../../../usr/local/lib/python3.8/dist-packages/_pytest/config/init.py:755 /usr/local/lib/python3.8/dist-packages/_pytest/config/init.py:755: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: tests.common.plugins.loganalyzer self.import_plugin(import_spec)
../../../../usr/local/lib/python3.8/dist-packages/_pytest/config/init.py:755 /usr/local/lib/python3.8/dist-packages/_pytest/config/init.py:755: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: tests.common.plugins.sanity_check self.import_plugin(import_spec)
../../../../usr/local/lib/python3.8/dist-packages/_pytest/config/init.py:755 /usr/local/lib/python3.8/dist-packages/_pytest/config/init.py:755: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: tests.common.plugins.test_completeness self.import_plugin(import_spec)
../../../../usr/local/lib/python3.8/dist-packages/_pytest/config/init.py:755 /usr/local/lib/python3.8/dist-packages/_pytest/config/init.py:755: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: tests.common.dualtor self.import_plugin(import_spec)
../../../../usr/local/lib/python3.8/dist-packages/paramiko/transport.py:236 /usr/local/lib/python3.8/dist-packages/paramiko/transport.py:236: CryptographyDeprecationWarning: Blowfish has been deprecated "class": algorithms.Blowfish,
common/plugins/loganalyzer/system_msg_handler.py:1
/var/AzDevOps/sonic-mgmt/tests/common/plugins/loganalyzer/system_msg_handler.py:1: DeprecationWarning: invalid escape sequence
'''
snappi_tests/multidut/bgp/test_bgp_outbound_flap_interconnectivity.py::test_bgp_outbound_flap_interconnectivity[route_range0-IPv4] snappi_tests/multidut/bgp/test_bgp_outbound_flap_interconnectivity.py::test_bgp_outbound_flap_interconnectivity[route_range0-IPv4] snappi_tests/multidut/bgp/test_bgp_outbound_flap_interconnectivity.py::test_bgp_outbound_flap_interconnectivity[route_range0-IPv4] snappi_tests/multidut/bgp/test_bgp_outbound_flap_interconnectivity.py::test_bgp_outbound_flap_interconnectivity[route_range0-IPv4] /usr/local/lib/python3.8/dist-packages/pytest_ansible/module_dispatcher/v213.py:100: UserWarning: provided hosts list is empty, only localhost is available warnings.warn("provided hosts list is empty, only localhost is available")
snappi_tests/multidut/bgp/test_bgp_outbound_flap_interconnectivity.py::test_bgp_outbound_flap_interconnectivity[route_range0-IPv4] /usr/local/lib/python3.8/dist-packages/snappi_ixnetwork/device/utils.py:2: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working from collections import namedtuple, Mapping
snappi_tests/multidut/bgp/test_bgp_outbound_flap_interconnectivity.py::test_bgp_outbound_flap_interconnectivity[route_range0-IPv4] snappi_tests/multidut/bgp/test_bgp_outbound_flap_interconnectivity.py::test_bgp_outbound_flap_interconnectivity[route_range0-IPv4] /usr/local/lib/python3.8/dist-packages/ixnetwork_restpy/testplatform/sessions/sessions.py:59: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. elif LooseVersion(build_number) < LooseVersion('8.52'):
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ------------------------------------------------------- live log sessionfinish -------------------------------------------------------- 22:38:54 init.pytest_terminal_summary L0067 INFO | Can not get Allure report URL. Please check logs ============================================= 1 passed, 13 warnings in 514.72s (0:08:34) ============================================== INFO:root:Can not get Allure report URL. Please check logs AzDevOps@4d5f3ec9993b:~/sonic-mgmt/tests$