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

Example branch #1

Closed
wants to merge 853 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
853 commits
Select commit Hold shift + click to select a range
40968fc
Fix wrong bool argument parsing in upgrade_image.py script (#9452)
wangxin Aug 15, 2023
b73e9da
fix bgp update timer dual tor issue (#9423)
jcaiMR Aug 15, 2023
43093a5
Spytest 2.2 feature apis common tech support (#9438)
ramakristipati Aug 15, 2023
eef7c41
[VM]Add BGPSentinel testcase and testplan (#8814)
guangyao6 Aug 15, 2023
c58da33
Fix if-state testcase in test_events (#9406)
zbud-msft Aug 15, 2023
c0d0204
fix tcpdump issue in bgp update timer testing (#9446)
jcaiMR Aug 16, 2023
5ada8a2
[setup-container]: Fix incompatible packages between virtual env and …
Pterosaur Aug 16, 2023
41202d5
Revert "When dut is single-asic, set the key "asic0" to keep up with …
yutongzhang-microsoft Aug 16, 2023
ed7d254
Remove Arista products from sku-sensors-data.yml (#9415)
Staphylo Aug 16, 2023
1f339e9
[Fix] Fix multi-asic flaky lldp not ready issue (#9453)
yejianquan Aug 16, 2023
4de33b7
Fix dualtor inventory parse error (#9482)
lolyu Aug 16, 2023
2be821e
Add config save after TSB to reset device state (#9462)
tjchadaga Aug 16, 2023
69779c5
qos.yml update for gb topo-t2 and longlink (#9036)
zhixzhu Aug 16, 2023
5f3b101
add overflow_egress for PGDropTest multi-asic (#9464)
zhixzhu Aug 17, 2023
7057861
[PTF python3 migration] Modify test_vxlan_decap PTF script
wsycqyz Aug 17, 2023
8ca4243
Optimizing testQosSaiHeadroomPoolSize runtime (#8775)
ansrajpu-git Aug 17, 2023
4cbf8c1
[pre-test][Snappi] Changed headroom test params for 7050CX3 (#9466)
developfast Aug 17, 2023
d63de41
[Ixia] Update ixia directory README (#9469)
developfast Aug 17, 2023
54ccaae
[QoS] IP-IP DSCP to Queue Mapping Testgap (#9098)
developfast Aug 17, 2023
b302df9
[fdb] Address failures on td2 asics for fdb mac move test (#9487)
neethajohn Aug 17, 2023
723a307
[drop_packets]: Fix to support testbed with different (#9262)
SuvarnaMeenakshi Aug 17, 2023
e05210e
[Snappi] Update PFC helper - bug fix (#9532)
developfast Aug 17, 2023
aa4d872
Restore the MAC address of VLAN at the end of test_host_vlan (#9542)
bingwang-ms Aug 18, 2023
bcb7d9e
Workaound for ansible module executed twice issue of pytest-ansible (…
wangxin Aug 18, 2023
2ca0f9e
Fix key error caused by platform_asic (#9547)
yutongzhang-microsoft Aug 18, 2023
60d1f30
[icmp_responder] Cache replies to reduce response time (#9531)
lolyu Aug 18, 2023
9c8c3bc
Make test_neighbor_mac_noptf more robust (#9422)
ysmanman Aug 18, 2023
03068cd
[master][CI/CD] Priority use args.scripts to get test modules (#9480)
lerry-lee Aug 21, 2023
a4a6d15
Fix PR #9312 for KeyError and AttributeError (#9523)
yutongzhang-microsoft Aug 21, 2023
9aade99
[PTF python3 migration] Modify test_arpall PTF script
wsycqyz Aug 21, 2023
80eddb8
[Elastictest] Remove default min max worker definition (#9566)
yejianquan Aug 21, 2023
086f461
[memory-checker] Refactor the test_memory_checker test (#9193)
Staphylo Aug 21, 2023
837cf9d
Spytest 2.2 feature apis common instrument (#9436)
ramakristipati Aug 21, 2023
f1e4221
Spytest 2.2 feature apis common topology check (#9439)
ramakristipati Aug 21, 2023
efbc5b7
spytest-framework fix for E721 Do not compare types (#9533)
ramakristipati Aug 21, 2023
ef22e3f
spytest textfsm template changes-1 (#9553)
ramakristipati Aug 21, 2023
734fbc8
Spytest 2.2 update templates 2 (#9554)
ramakristipati Aug 21, 2023
8b70a58
spytest textfsm template changes-3 (#9555)
ramakristipati Aug 21, 2023
5a27198
spytest textfsm template changes-4 (#9556)
ramakristipati Aug 21, 2023
c46ca2a
Use dut's lb4096 IP instead of lb0 for ping from nbrs (#9124)
sanjair-git Aug 21, 2023
776dcba
enhance ecmp tests (#9541)
alawing Aug 21, 2023
4288c59
Adding populateArpEntries_T2 function to run for T2 Broadcom-dnx chas…
ansrajpu-git Aug 21, 2023
4019dd4
[advanced-reboot] Update fast-reboot test IO to depend on finalizer s…
vaibhavhd Aug 21, 2023
98c7b0b
Fix everflow syntax issue on T2 topology (#9575)
bingwang-ms Aug 22, 2023
c59baf9
Give more time for routes to programmed into ASIC for order ecmp test…
abdosi Aug 22, 2023
f86e83a
[PTF python3 migration] Modify test_vxlan_ecmp PTF script
wsycqyz Aug 22, 2023
5ae6e99
[PTF python3 migration] Modify test_wr_arp PTF script (#9546)
wsycqyz Aug 22, 2023
ef86610
Fix Python2/3 compatibility issue in device_connection.py
wsycqyz Aug 22, 2023
f44adee
remove bsl flag as default route and bgp neighbor not exist in bsl en…
jcaiMR Aug 22, 2023
ae986a3
fix for test_lag_db_status run with dut_lag param as unknown (#9564)
suypraka Aug 22, 2023
78fafb1
Improvising qos tests by tunning the qos params for single_asic, sing…
ansrajpu-git Aug 22, 2023
ac1d8d9
[snmp][multi-asic]: Fix test_snmp_queue to support multi-asic platfor…
SuvarnaMeenakshi Aug 22, 2023
ff78610
Add reset-failed to restoring telemetry (#9459)
zbud-msft Aug 22, 2023
f77deb0
Add qos params for topology dualtor-64 (#9580)
bingwang-ms Aug 22, 2023
14b4b2c
[Elastictest] nightly test template (#9589)
yejianquan Aug 23, 2023
023feb3
Use list to fix wrong population type error (#9586)
Gfrom2016 Aug 23, 2023
4bd906f
Add parameter `available-mem-threshold` when adding auto-techsupport-…
yutongzhang-microsoft Aug 23, 2023
f13adca
[Elastictest] fix nightly-template (#9607)
yejianquan Aug 23, 2023
6c38d6e
[Elastictest] Support to pass deploy minigraph parameter in the night…
yejianquan Aug 23, 2023
b629689
[Snappi] PFCWD Tolerance Fixes (#9567)
developfast Aug 23, 2023
36b86eb
Remove nightly template in the public repo (#9609)
yejianquan Aug 23, 2023
e4037c2
Revert "add overflow_egress for PGDropTest multi-asic (#9464)" (#9585)
XuChen-MSFT Aug 23, 2023
6245589
remove duplicated script for test_pfc_pause_extra_lossless_active (#9…
XuChen-MSFT Aug 23, 2023
81cb57f
[advanced-reboot][dualtor] Update Loopback0 ping test: expect same co…
vaibhavhd Aug 23, 2023
44359c5
Reduce time cost of test_fdb on topology dualtor-64 (#9463)
bingwang-ms Aug 23, 2023
7f5b5d0
[advanced-reboot] Update skip and xfail conditions for test_advanced_…
vaibhavhd Aug 24, 2023
592dcfa
Recover docker's available mem threshold after module show_techsuppor…
yutongzhang-microsoft Aug 24, 2023
5e5ca23
[Elastictest] support to pass specific parameter (#9612)
yejianquan Aug 24, 2023
bd6ed83
[ACL] Fix custom ACL table type testcases to align with HLD and Yang …
lizhijianrd Aug 24, 2023
b83e09c
Add on change update test case to test_telemetry (#9073)
zbud-msft Aug 25, 2023
82a99b2
Fix a test issue in test case test_pfc_pause_extra_lossless_standby/a…
congh-nvidia Aug 25, 2023
77ecc1f
[GCU] Update syslog ignore regex (#9604)
wen587 Aug 25, 2023
82ab47e
[SNMP][IPv6]: Skip SNMP IPv6 related tests in 202211 branch. (#9630)
SuvarnaMeenakshi Aug 25, 2023
21ab6e6
nit: Fix the title level of Option 3 (#9641)
collivier Aug 25, 2023
6f3e17d
[GCU] Update NTP ActiveState check (#9602)
wen587 Aug 26, 2023
5546a0e
[Elastictest] Support to pass affinity (#9640)
yejianquan Aug 26, 2023
c5d7ac0
Fix a test issue of auto techsupport test (#9352)
congh-nvidia Aug 27, 2023
a747ee0
[Mellanox] Added missed config in headroom calculation (#9261)
AntonHryshchuk Aug 27, 2023
b7c7f6b
[Mellanox] update tests related to thermal control (#9251)
JibinBao Aug 27, 2023
1d1f1ad
[Mellanox] Fix test_config_interface_speed issue (#9205)
JibinBao Aug 27, 2023
f2d3a99
[Mellanox] Fix check sysfs issue (#9202)
JibinBao Aug 27, 2023
d64e886
Add Static DNS test plan (#8436)
nhe-NV Aug 27, 2023
e7569f3
Cisco-8000 psu led support added (#9264)
spilkey-cisco Aug 28, 2023
8dbf47c
Revert PR #9256 "Remove pg lossless settings of port speed in module …
yutongzhang-microsoft Aug 28, 2023
7ae42c8
enable cisco 8800-LC-48H-C48 platform for pac asic (#9713)
alpeshspatel Aug 28, 2023
50f212c
[testfix] test_vxlan_ecmp unexpected logs fix. (#9653)
siqbal1986 Aug 28, 2023
86455d1
Enable warm-reboot test case on T0-sonic PR tests (#9594)
saiarcot895 Aug 28, 2023
aa1bdd0
[platform][s6100] increase timeout in wait_for to 10 seconds to invok…
vdahiya12 Aug 29, 2023
24e63b7
[VM]Add BGPMonv6 support in BGPSentinel (#9643)
guangyao6 Aug 29, 2023
129087b
Ignore pmon error for getting sensor data (#9009)
bingwang-ms Aug 29, 2023
176c8a5
Add debug info in test_lldp for AssertionError (#9739)
ZhaohuiS Aug 30, 2023
5b59f4a
[test_snmp_memory_load] reserver 256M free memory (#9645)
lipxu Aug 30, 2023
62a3e59
[Nvidia] Fix qos sai test for supporting LAG port (#9587)
JibinBao Aug 30, 2023
383dcc0
Fix permission of /tmp to unblock copp test (#9756)
bingwang-ms Aug 30, 2023
3256276
[TACACS] Retry reboot in ro-disk UT when DUT not reachable. (#9639)
liuh-80 Aug 30, 2023
0b880e5
[HLX] Stop cpu_wdt service before doing watchdog reboot (#9745)
lizhijianrd Aug 30, 2023
8cbd335
Add testbed health check scripts for testbed automatic monitor and re…
lerry-lee Aug 30, 2023
f6277fd
Add scripts for generating SecureCRT session files for testbeds. (#8711)
r12f Aug 30, 2023
8543c4d
[Snappi] Validate PFC frame bug fix (#9659)
developfast Aug 30, 2023
5e21c08
[crm]: Skip 'available' CRM check on broadcom (#9757)
theasianpianist Aug 30, 2023
94ac7f6
[QoS] Bug fix for DSCP to Queue Mapping Test (#9715)
developfast Aug 30, 2023
a854cd9
Adding SSH config generation support. (#9773)
r12f Aug 30, 2023
7b3038b
Add bgp sentinel support in GCU (#9735)
guangyao6 Aug 31, 2023
14e0ec1
[post-test] Add a param to specify show tech since in post-test (#9771)
lizhijianrd Aug 31, 2023
f504f8f
Skip test_secure_upgrade.py if current image is not secured. (#9747)
abdosi Aug 31, 2023
42e523a
skip test_trap_config_save_after_reboot (#9785)
lipxu Aug 31, 2023
834d12d
Add some conditional mark to skip testcases on 202305 (#9789)
lizhijianrd Aug 31, 2023
49dee11
[Snappi] PFCWD runtime traffic bug fix (#9781)
developfast Aug 31, 2023
c32c0ca
[QoS] DSCP to PG mapping for IP-IP traffic (#9658)
developfast Aug 31, 2023
657dace
[ansible] Update shell_cmds.py to print exact failed service (#9265)
wenyiz2021 Aug 31, 2023
58e7b2a
update port utils for cisco 8000 (#9797)
XuChen-MSFT Sep 1, 2023
64c9681
[Nightly] Skip test_dir_bcast test on t0-backend (#9793)
developfast Sep 1, 2023
5278a50
[PTF python3 migration] Modify test_advanced_reboot PTF script (#9550)
wsycqyz Sep 3, 2023
8447ea0
[DPU, CRM] Added testplan for SONiC DASH CRM tests (#7796)
ppikh Sep 3, 2023
abf44b2
Modify hashbang and mode of junit_xml_parser.py (#9814)
yejianquan Sep 4, 2023
787a0fc
[conditional mark] Xfail techsupport for 202305 (#9820)
StormLiangMS Sep 4, 2023
02d1191
[TACACS] Fix tacacs authorization and accounting UT randomly failed i…
liuh-80 Sep 5, 2023
b84340e
Skip checking expected core dump in module `bgp/test_traffic_shift.py…
yutongzhang-microsoft Sep 5, 2023
ce536d6
[show techsupport] Added fix for show_test_techsupport (#9826)
SavchukRomanLv Sep 5, 2023
6e2d83e
Ignore 'Failed to get port by bridge port ID' in test_vlan.py (#9818)
ZhaohuiS Sep 5, 2023
ba419ae
Improve the stability of dualtor memory leak test (#9198)
congh-nvidia Sep 5, 2023
bf7078f
fix getting current idle driver error (#9799)
Xichen96 Sep 5, 2023
49e3ab8
Add portstat to debug FDB packet delay (#9809)
kperumalbfn Sep 5, 2023
5614c11
[Elastictest]Support to pass lock_wait_timeout_seconds in the templat…
yejianquan Sep 6, 2023
2097c26
Specific field CustomMsg to distinguish config reload or core dump. (…
yutongzhang-microsoft Sep 6, 2023
19d853f
[dualtor-aa] Add `dualtor-aa-64` topology (#9854)
lolyu Sep 6, 2023
bb60f99
fix dual-tor test case failure based on latest code behavior (#9842)
jcaiMR Sep 6, 2023
5aaefeb
[Mellanox] Fix issue: fix typo and remove unused sensor for 4600C (#9…
Junchao-Mellanox Sep 6, 2023
6a4bad9
Add the PTF neighbor into the DEVICE_NEIGHBOR_METADATA table (#9845)
saiarcot895 Sep 6, 2023
4aafc56
Skip condition to skip SNMP IPv6 test case in 202211 branch. (#9856)
SuvarnaMeenakshi Sep 6, 2023
b0a1b2e
Revert "[PTF python3 migration] Modify test_advanced_reboot PTF scrip…
saiarcot895 Sep 7, 2023
0a2b908
[platform_tests/sfp]: Fix stop_xcvrd() fixture in test_check_sfputil_…
tudupa Sep 7, 2023
e7c72aa
Cisco PCBB test support (#9243)
rbpittman Sep 7, 2023
a291131
[dualtor] fixing test_downstream_ecmp_nexthops (#8906)
Ndancejic Sep 7, 2023
c412902
[VM]Add bgp sentinel route type convert (#9875)
guangyao6 Sep 8, 2023
7ea6ff5
Change to capture BaseException instead of Exception in sanity check …
ZhaohuiS Sep 8, 2023
965fe86
[topo]: Rename topology appliance to dpu (#9901)
Pterosaur Sep 8, 2023
6cf1b30
Fix for GCU Dhcp_Relay issue in KVM test failure (#9800)
ridahanif96 Sep 8, 2023
e247726
Fix bgp suppress fib test (#9910)
bingwang-ms Sep 8, 2023
4e53c25
Add container stopped and container down events test (#9632)
zbud-msft Sep 8, 2023
7e4223c
Add container running check before memory_checker test (#9848)
zbud-msft Sep 8, 2023
45ef86c
Update qos.yaml params for GB topo-t2. (#9860)
rraghav-cisco Sep 8, 2023
8a6d153
[dualtor] update skip logic of test_wr_arp for dualtor (#9922)
zjswhhh Sep 9, 2023
c971cb1
[spytest]: Add GNMI Support and improvements (#9828)
Chandra-BS Sep 9, 2023
8e40e9a
[spytest]: Apis routing arp (#9557)
Chandra-BS Sep 9, 2023
77bdea1
[Testbed] Fix the MAC address of br1 on server during add/remove topo…
lizhijianrd Sep 11, 2023
fd35ce7
Use ansible docker module instead of sleep to wait for teamd containe…
lizhijianrd Sep 11, 2023
95cfa80
Fix testcase failure for test_check_sfp_using_ethtool (#9927)
mihirpat1 Sep 11, 2023
e8e65f4
Revert "[Testbed] Fix the MAC address of br1 on server during add/rem…
yejianquan Sep 11, 2023
70abfae
[PBH] avoid traffic validation failure when the rule still loading (#…
AntonHryshchuk Sep 11, 2023
4185c1d
Fix _strptime issue (#9644)
JibinBao Sep 11, 2023
933613d
[PR test issue]Fix br1 mac issue (#9940)
yejianquan Sep 11, 2023
4eb6151
dhcpv6 per-interface counter script coverage (#9876)
jcaiMR Sep 11, 2023
2c97adc
update 400g_120km in gb qos params (#9778)
zhixzhu Sep 11, 2023
76db2b5
Fix for GCU Dhcp_relay (#9934)
ridahanif96 Sep 12, 2023
941c3e9
per-interface counter dhcpmon test coverage (#9943)
jcaiMR Sep 12, 2023
7ec49a4
[Feat]Support to remove existed br1 by parameter (#9947)
yejianquan Sep 12, 2023
399363e
Add is_host_service_running (#9942)
JibinBao Sep 12, 2023
a8c82a5
[configlet] Remove transciver check (#9855)
wen587 Sep 13, 2023
4a6e5b3
[GCU] Add GCU testcase for PG headroom modification (#9774)
neethajohn Sep 13, 2023
81aa504
RCA is When we are deleting the agent-id, hsflowd is referring for th…
Gokulnath-Raja Sep 14, 2023
dca7280
Fix for switchport mode routed (#9968)
ridahanif96 Sep 14, 2023
a92a51d
test_crm.py::test_crm_nexthop_group - Modified prefixes from 3.3.3.0,…
mannytaheri Sep 14, 2023
ff2199f
to xfail pfcwd_warm_reboot on 20235 7050cx3 (#9952)
Gfrom2016 Sep 14, 2023
106fbd9
[dualtor-io] Change the health expectation for bgp shutdown case (#9980)
lolyu Sep 14, 2023
7cf927e
New PCBB dualtor watermark storm tests (#9318)
rbpittman Sep 14, 2023
d115952
Autogenerate Cisco QOS config (#9420)
rbpittman Sep 14, 2023
65f94eb
removce stale code (#9571)
ramakristipati Sep 14, 2023
8d319ac
Fix acl outer vlan test (#9957)
bingwang-ms Sep 15, 2023
2dec67d
Stabilize counterpoll watermark test (#9805)
bingwang-ms Sep 15, 2023
ac69402
Skipping test_nhop_group_member_order_capability for all release befo…
vperumal Sep 15, 2023
a03634c
Always cleanup cEOS mount dir before creating cEOS (#9986)
wangxin Sep 15, 2023
9f9e4a9
Conditionally install env-python3 in setup-container.sh (#9987)
wangxin Sep 15, 2023
7f16cfc
[Python3 migration] Migrate test_advanced_reboot's PTF script advance…
wsycqyz Sep 15, 2023
e56dde3
Add t1-64-lag topo for test_lag_2.py::test_lag_db_status_with_po_upda…
ZhaohuiS Sep 15, 2023
087c971
add vnet route cleanup and re-setup after test_vxlan_remove_route2 (#…
yanjundeng Sep 15, 2023
f8b117e
[testfix]Fixed failures caused by python 3 conversion. (#9969)
siqbal1986 Sep 15, 2023
f487e11
Fix test_route_flow_counter (#9958)
andywongarista Sep 16, 2023
ebcf3e3
bug fix: TypeError: separated_dscp_to_tc_map_on_uplink() takes 1 posi…
XuChen-MSFT Sep 16, 2023
ddcd138
[spytest] Add support for GNMI (#9767)
Chandra-BS Sep 17, 2023
8af6b18
[spytest]: Add GNMI support and enhancement to existing APIs (#9783)
Chandra-BS Sep 17, 2023
6457674
[spytest]: Add support for GNMI for NAT (#9787)
Chandra-BS Sep 17, 2023
6748e4d
[spytest]: Add GNMI support for SAG APIs (#9788)
Chandra-BS Sep 17, 2023
f115eec
[spytest]: Add GNMI support and enhancements; (#9829)
Chandra-BS Sep 17, 2023
4d6ace0
[spytest]: Add GNMI support for STP (#9838)
Chandra-BS Sep 17, 2023
fc9db6b
[spytest]: Add GNMI support to VLAN APIs (#9841)
Chandra-BS Sep 17, 2023
f0cdd26
[spytest]: Add GNMI support for radius APIs (#9880)
Chandra-BS Sep 17, 2023
f89b2df
[spytest]: Add GNMI support for TACACS (#9882)
Chandra-BS Sep 17, 2023
a6bd56a
[spytest]: Add GNMI support for SFLOW (#9884)
Chandra-BS Sep 17, 2023
5324792
[spytest]: Add GNMI support for BGP and some minor fixes (#9886)
Chandra-BS Sep 17, 2023
f4e2317
[spytest]: Add GNMI support for COS (#9889)
Chandra-BS Sep 17, 2023
bf9730f
[spytest]: Apis qos acl (#9890)
Chandra-BS Sep 17, 2023
f5e929d
[spytest]: Apis qos wred (#9891)
Chandra-BS Sep 17, 2023
dca54a3
[spytest]: Apis qos qos (#9892)
Chandra-BS Sep 17, 2023
45cc60d
[spytest]: Add GNMI support for interface APIs (#9919)
Chandra-BS Sep 17, 2023
6c26f2a
[spytest]: Add GNMI support for port APIs (#9928)
Chandra-BS Sep 17, 2023
343c44d
[build] utilities fix for GCU test_dhcp_relay.py (#10058)
ridahanif96 Sep 18, 2023
9cac09d
Verify BFD traffic egress queue and default ToS (#10048)
kperumalbfn Sep 18, 2023
3484786
Add bgp notification event (#9862)
zbud-msft Sep 18, 2023
13ae2b5
Added verify routes method on vnet vxlan tests. (#9932)
AharonMalkin Sep 18, 2023
3c3d10c
[GCU E2E Testing] Improve Valid Platform Checker Setup (#9878)
isabelmsft Sep 18, 2023
0318951
Updated test nhop_group according to Nvidia ASICs behaviour (#9738)
JibinBao Sep 18, 2023
8e0149e
[ansible/library/conn_graph_facts] convert interface aliases to inter…
lipxu Sep 19, 2023
867761a
[dualtor-io] show mux port flaps (#9568)
lolyu Sep 19, 2023
f48e4cb
[test_reload_config] Fix `test_reload_configuration_checks` (#9966)
lolyu Sep 20, 2023
e4bdcf5
[VM]Add bgp sentinel peer type convert (#10065)
guangyao6 Sep 20, 2023
6dff3c1
reduce the burst rate for " test_po_update_io_no_loss" (#9716)
yanjundeng Sep 20, 2023
fa09713
[qos] fix keyerr dst (#10062)
XuChen-MSFT Sep 20, 2023
bb0175b
PFCWD - Test fixes for t2-chassis (#9416)
sanjair-git Sep 20, 2023
72d86d7
[chassis]TestbedProcessing script fixes and improvements (#9126)
patrickmacarthur Sep 20, 2023
c323bdf
Add the ability to download a SONiC image for use as the neighbor ima…
saiarcot895 Sep 20, 2023
dec1f47
[chassis] fix flakiness in test_chassisd.py (#9897)
wenyiz2021 Sep 20, 2023
73fae11
Bgp authentication (#6554)
Azarack Sep 20, 2023
786b6fe
Stabilize acl_outer_vlan test (#10080)
bingwang-ms Sep 20, 2023
9b287a6
Fix for GCU DHCP_Realy failure for HEAD (#10046)
ridahanif96 Sep 21, 2023
4f6f7a3
Xfail reboot cases (#10075)
Gfrom2016 Sep 21, 2023
092eacc
Add missing skip section in ctests_mark_conditions.yaml (#10086)
ZhaohuiS Sep 21, 2023
ed944c2
Improve the cleanup of processes and interfaces before stopping PTF c…
wangxin Sep 21, 2023
847d851
Temporarily skip macsec tests on sonic t0 testbed. (#10088)
judyjoseph Sep 21, 2023
f898429
Stabilize test_memory_checker (#10085)
bingwang-ms Sep 21, 2023
aecfb3c
[testfix] test cleanup and bfd_responder fix. (#10049)
siqbal1986 Sep 21, 2023
3dabb01
Verify ACL bind to portchannel (#10084)
ganglyu Sep 21, 2023
2f3bb34
[testfix] test_cpu_memory_usage_counterpoll threshold change. (#10081)
siqbal1986 Sep 21, 2023
a0efa52
Update function `posix_shell` in class `BaseConsoleConn` to support a…
yutongzhang-microsoft Sep 22, 2023
396b183
Revert Fix for GCU_DHCP_Relay to resolve HEAD PR (#10093)
ridahanif96 Sep 22, 2023
b8a19eb
Skip testcase on M0/Mx (#10102)
lizhijianrd Sep 22, 2023
3486626
Fix BufferPoolWatermarkTest failure for cisco long-link (#10067)
zhixzhu Sep 22, 2023
a65b01e
Cisco: Skip Watermark test for multi-DUT cases. (#9810)
rraghav-cisco Sep 22, 2023
19f6320
Added support of Cisco gb asic in T2 role
rraghav-cisco Sep 22, 2023
72abdb2
[pr_test]: Disable MACsec tests (#10101)
Pterosaur Sep 25, 2023
9cc07ac
use a custom table type for stress test (#10105)
yanjundeng Sep 25, 2023
5133f4b
test_ro_disk: Enhancement for reboot of supervisor card (#9893)
vikshaw-Nokia Sep 25, 2023
4f6fc6b
Adding COUNTER_MARGIN to Ingress drop counters for qos tests (#9896)
ansrajpu-git Sep 25, 2023
9ac683a
Fix test_gnmi_configdb_incremental_01 failure (#10091)
ganglyu Sep 25, 2023
f74ef05
GCU Fix for DHCP Head PR (#10109)
ridahanif96 Sep 26, 2023
06579a0
Run container_down test after monit config change (#10126)
zbud-msft Sep 26, 2023
ca0eb64
[dualtor_io] Add server to server I/O normal op test (#10124)
lolyu Sep 26, 2023
9bda496
Macsec type7 support for CAK keys (#9812)
judyjoseph Sep 26, 2023
eba4986
Ignore Failed to parse lldp age error log (#10135)
ZhaohuiS Sep 26, 2023
f7b358b
Increate max timeout to 400s for checking critical services (#10125)
ZhaohuiS Sep 26, 2023
5643939
Fix the test issue RM#3505137 (#9301)
congh-nvidia Sep 26, 2023
bbbec22
Fix sub_port_interfaces python3 migration issue (#8742)
congh-nvidia Sep 26, 2023
35fae33
Use pytest option for swapping syncd in dscp remapping test (#10074)
congh-nvidia Sep 26, 2023
ee8c2f8
Fix the QOS test failure when packet sent are greater than 4K in size…
abdosi Sep 27, 2023
3e6f98a
Fix bgp notification test (#10127)
zbud-msft Sep 27, 2023
790a819
Skip dualtor ecn test cases on Nvidia platforms. (#9001)
congh-nvidia Sep 27, 2023
e2ee098
[Mellanox] Update QoS test cases for SN5600 (#9583)
JibinBao Sep 27, 2023
b3d3a53
DPU test cases with GNMI and Protobuf (#9238)
Pterosaur Sep 27, 2023
3afe50d
Remove the skip for macsec tests (#10132)
judyjoseph Sep 27, 2023
7ad970d
Example commit
AharonMalkin Jan 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
173 changes: 173 additions & 0 deletions .azure-pipelines/get_dut_version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,173 @@
#!/usr/bin/env python3

import argparse
import logging
import os
import sys
import json
import yaml

_self_dir = os.path.dirname(os.path.abspath(__file__))
base_path = os.path.realpath(os.path.join(_self_dir, ".."))
if base_path not in sys.path:
sys.path.append(base_path)
ansible_path = os.path.realpath(os.path.join(_self_dir, "../ansible"))
if ansible_path not in sys.path:
sys.path.append(ansible_path)

from devutil.devices.factory import init_localhost, init_testbed_sonichosts # noqa E402

logger = logging.getLogger(__name__)

RC_INIT_FAILED = 1
RC_GET_DUT_VERSION_FAILED = 2

ASIC_NAME_PATH = '../ansible/group_vars/sonic/variables'


def read_asic_name(hwsku):
asic_name_file = os.path.join(os.path.dirname(__file__), ASIC_NAME_PATH)
try:
with open(asic_name_file) as f:
asic_name = yaml.safe_load(f)

asic_name_dict = {}
for key, value in asic_name.items():
if "hwskus" in key:
asic_name_dict[key] = value

for name, hw in asic_name_dict.items():
if hwsku in hw:
return name.split('_')[1]

return "unknown"

except IOError:
return None


def get_duts_version(sonichosts, output=None):
try:
ret = {}
duts_version = sonichosts.command("show version")
for dut, version in duts_version.items():
ret[dut] = {}
dut_version = version["stdout_lines"]

for line in dut_version:
if ":" in line:
line_splitted = line.split(":", 1)
key = line_splitted[0].strip()
value = line_splitted[1].strip()
if key == "Docker images":
ret[dut]["Docker images"] = []
continue
elif key == "ASIC":
ret[dut]["ASIC TYPE"] = value
continue
elif key == "HwSKU":
ret[dut]["ASIC"] = read_asic_name(value)
ret[dut][key] = value
elif "docker" in line:
line_splitted = line.split()
ret[dut]["Docker images"].append({"REPOSITORY": line_splitted[0],
"TAG": line_splitted[1],
"IMAGE ID": line_splitted[2],
"SIZE": line_splitted[3]})

if output:
with open(output, "w") as f:
f.write(json.dumps(ret))
f.close()
else:
print(ret)
except Exception as e:
logger.error("Failed to get DUT version: {}".format(e))
sys.exit(RC_GET_DUT_VERSION_FAILED)


def validate_args(args):
_log_level_map = {
"debug": logging.DEBUG,
"info": logging.INFO,
"warning": logging.WARNING,
"error": logging.ERROR,
"critical": logging.CRITICAL
}
logging.basicConfig(
stream=sys.stdout,
level=_log_level_map[args.log_level],
format="%(asctime)s %(filename)s#%(lineno)d %(levelname)s - %(message)s"
)


def main(args):
logger.info("Validating arguments")
validate_args(args)

logger.info("Initializing hosts")
localhost = init_localhost(args.inventory, options={"verbosity": args.verbosity})
sonichosts = init_testbed_sonichosts(
args.inventory, args.testbed_name, testbed_file=args.tbfile, options={"verbosity": args.verbosity}
)

if not localhost or not sonichosts:
sys.exit(RC_INIT_FAILED)

get_duts_version(sonichosts, args.output)


if __name__ == "__main__":
parser = argparse.ArgumentParser(
formatter_class=argparse.ArgumentDefaultsHelpFormatter,
description="Tool for getting sonic device version.")

parser.add_argument(
"-i", "--inventory",
dest="inventory",
nargs="+",
help="Ansible inventory file")

parser.add_argument(
"-t", "--testbed-name",
type=str,
required=True,
dest="testbed_name",
help="Testbed name."
)

parser.add_argument(
"--tbfile",
type=str,
dest="tbfile",
default="testbed.yaml",
help="Testbed definition file."
)

parser.add_argument(
"-v", "--verbosity",
type=int,
dest="verbosity",
default=2,
help="Log verbosity (0-3)."
)

parser.add_argument(
"--log-level",
type=str,
dest="log_level",
choices=["debug", "info", "warning", "error", "critical"],
default="debug",
help="Loglevel"
)

parser.add_argument(
"-o", "--output",
type=str,
dest="output",
required=False,
help="Output duts version to the specified file."
)

args = parser.parse_args()
main(args)
28 changes: 26 additions & 2 deletions .azure-pipelines/pr_test_scripts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ t0:
- arp/test_arp_extended.py
- arp/test_neighbor_mac.py
- arp/test_neighbor_mac_noptf.py
- bgp/test_bgp_dual_asn.py
- bgp/test_bgp_fact.py
- bgp/test_bgp_gr_helper.py::test_bgp_gr_helper_routes_perserved
- bgp/test_bgp_speaker.py
Expand All @@ -28,14 +29,16 @@ t0:
- generic_config_updater/test_syslog.py
- generic_config_updater/test_vlan_interface.py
- generic_config_updater/test_mmu_dynamic_threshold_config_update.py
- generic_config_updater/test_ecn_config_update.py
- iface_namingmode/test_iface_namingmode.py
- lldp/test_lldp.py
- minigraph/test_masked_services.py
- monit/test_monit_status.py
- ntp/test_ntp.py
- override_config_table/test_override_config_table.py
- pc/test_po_cleanup.py
- pc/test_po_update.py
# - platform_tests/test_advanced_reboot.py::test_warm_reboot
- platform_tests/test_advanced_reboot.py::test_warm_reboot
- platform_tests/test_cpu_memory_usage.py
- process_monitoring/test_critical_process_monitoring.py
- radv/test_radv_ipv6_ra.py
Expand All @@ -45,6 +48,7 @@ t0:
- snmp/test_snmp_cpu.py
- snmp/test_snmp_default_route.py
- snmp/test_snmp_interfaces.py
- snmp/test_snmp_link_local_ip.py
- snmp/test_snmp_lldp.py
- snmp/test_snmp_loopback.py
- snmp/test_snmp_pfc_counters.py
Expand All @@ -60,9 +64,12 @@ t0:
- tacacs/test_ro_user.py
- tacacs/test_rw_user.py
- telemetry/test_telemetry.py
- telemetry/test_events.py
- test_features.py
- test_interfaces.py
- test_procdockerstatsd.py
- database/test_db_scripts.py
- system_health/test_watchdog.py

t0-2vlans:
- dhcp_relay/test_dhcp_relay.py
Expand All @@ -75,6 +82,8 @@ t0-sonic:
- macsec/test_deployment.py
- macsec/test_fault_handling.py
- macsec/test_interop_protocol.py
- pc/test_retry_count.py
- platform_tests/test_advanced_reboot.py::test_warm_reboot

dualtor:
- arp/test_arp_extended.py
Expand All @@ -92,6 +101,7 @@ t1-lag:
- container_checker/test_container_checker.py
- generic_config_updater/test_mmu_dynamic_threshold_config_update.py
- http/test_http_copy.py
- iface_namingmode/test_iface_namingmode.py
- ipfwd/test_mtu.py
- lldp/test_lldp.py
- monit/test_monit_status.py
Expand All @@ -108,6 +118,7 @@ multi-asic-t1-lag:
- bgp/test_bgp_fact.py
- bgp/test_bgp_update_timer.py
- snmp/test_snmp_default_route.py
- snmp/test_snmp_link_local_ip.py
- snmp/test_snmp_loopback.py
- snmp/test_snmp_pfc_counters.py
- snmp/test_snmp_queue.py
Expand All @@ -121,7 +132,6 @@ multi-asic-t1-lag:
- iface_namingmode/test_iface_namingmode.py
- scp/test_scp_copy.py
- test_interfaces.py
- override_config_table/test_override_config_table.py
- process_monitoring/test_critical_process_monitoring.py
- container_checker/test_container_checker.py
- http/test_http_copy.py
Expand All @@ -146,3 +156,17 @@ wan-pub:
- tacacs/test_ro_disk.py
- tacacs/test_authorization.py
- tacacs/test_accounting.py

dpu:
- dash/test_dash_vnet.py

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"
dpu:
- name: dash/test_dash_vnet.py
param: " --skip_dataplane_checking "
5 changes: 1 addition & 4 deletions .azure-pipelines/pre-commit-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,7 @@ steps:
id:
comment: |
The [pre-commit](http://pre-commit.com/) check detected issues in the files touched by this pull request.
The detected issues may be old or new. For new issues, please try to fix them.

For old issues, it is not mandatory to fix them because they were not caused by this change. It is unfair to blame
author of this pull request. But if you can take extra effort to fix the old issues as well, that would be great!
The pre-commit check is a mandatory check, please fix detected issues.

Detailed pre-commit check results:
<samp>$(results)</samp>
Expand Down
44 changes: 44 additions & 0 deletions .azure-pipelines/pytest-collect-only.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
steps:

- script: |
sudo apt-get update
sudo apt-get install \
ca-certificates \
curl \
gnupg \
lsb-release -y
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor \
-o /usr/share/keyrings/docker-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] \
https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io -y
displayName: 'Install Docker'

- checkout: self
clean: true
displayName: 'Checkout sonic-mgmt repo'

- script: |
set -x

sudo docker pull sonicdev-microsoft.azurecr.io:443/docker-sonic-mgmt:latest

sudo docker run -dt --name sonic-mgmt-collect \
-v $(System.DefaultWorkingDirectory):/var/src/sonic-mgmt \
sonicdev-microsoft.azurecr.io:443/docker-sonic-mgmt:latest \
/bin/bash
displayName: 'Prepare sonic-mgmt docker container'

- script: |
set -x

sudo docker exec -t -w /var/src/sonic-mgmt/tests sonic-mgmt-collect \
python3 -m pytest --inventory ../ansible/veos_vtb --host-pattern all \
--testbed_file vtestbed.yaml --testbed vms-kvm-t0 \
--ignore saitests --ignore ptftests --ignore acstests \
--ignore scripts --ignore k8s --ignore sai_qualify --ignore common \
--ignore-conditional-mark \
--color=no --collect-only --continue-on-collection-errors
displayName: 'Run pytest --collect-only'
Loading