Commit Graph

1046 Commits

Author SHA1 Message Date
Devesh Pathak
acca64a8bd
[202012] Clear /etc/resolv.conf before building image (#12686)
Why I did it
nameserver and domain entries from build system fsroot gets into sonic image.

How I did it
Clear /etc/resolv.conf before building image

How to verify it
Built image with it and verified with install that /etc/resolv.conf is empty
2022-11-15 10:09:09 +08:00
mssonicbld
db770a9353
[ci/build]: Upgrade SONiC package versions (#12690) 2022-11-13 20:29:24 +08:00
Lawrence Lee
275adc6691 [arp_update]: Fix hardcoded vlan (#12566)
Typo in prior PR #11919 hardcodes Vlan name. Change command to use the $vlan variable instead

Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
2022-11-11 18:01:15 +00:00
mssonicbld
5d5339dd13
[ci/build]: Upgrade SONiC package versions (#12676) 2022-11-11 20:31:36 +08:00
bingwang-ms
4f4f4cba21
[202012] Add lossy scheduler for queue 7 (#12600)
* Add lossy scheduler for queue 7
2022-11-10 10:25:03 +08:00
mssonicbld
856e536659
[ci/build]: Upgrade SONiC package versions (#12655) 2022-11-09 23:36:30 +08:00
mssonicbld
bf39fca99e
[ci/build]: Upgrade SONiC package versions (#12604) 2022-11-06 20:16:03 +08:00
mssonicbld
8f80dc3a1b
[ci/build]: Upgrade SONiC package versions (#12583) 2022-11-02 21:21:29 +08:00
mssonicbld
0f721d8d98
[ci/build]: Upgrade SONiC package versions (#12550) 2022-10-30 20:05:48 +08:00
mssonicbld
eee839fddf
[ci/build]: Upgrade SONiC package versions (#12547) 2022-10-28 21:24:57 +08:00
mssonicbld
713747dc05
[ci/build]: Upgrade SONiC package versions (#12507) 2022-10-26 19:58:39 +08:00
Devesh Pathak
d45fe19576 Fix to improve hostname handling (#12064)
* Fix to improve hostname handling
If config_db.json is missing hostname entry, hostname-config.sh ends
up deleting existing entry too and hostname changes to default 'localhost'

* default hostname to 'sonic` if missing in config file
2022-10-26 05:48:16 +00:00
zitingguo-ms
bafbfb5a26
Pickup fix and make up BRCM SAI version to 4.3.7.1-6 (#12486)
Signed-off-by: zitingguo-ms <zitingguo@microsoft.com>

Signed-off-by: zitingguo-ms <zitingguo@microsoft.com>
2022-10-26 09:52:48 +08:00
mssonicbld
d2d25ac5f5
[ci/build]: Upgrade SONiC package versions (#12449) 2022-10-21 21:48:16 +08:00
zitingguo-ms
08d1d60ccb
Pick up fixes and make up BRCM SAI version to 4.3.7.1-3 (#12439)
Signed-off-by: zitingguo-ms <zitingguo@microsoft.com>

Signed-off-by: zitingguo-ms <zitingguo@microsoft.com>
2022-10-19 12:18:48 +08:00
mssonicbld
678edcb90f
[ci/build]: Upgrade SONiC package versions (#12417) 2022-10-16 21:21:35 +08:00
mssonicbld
bb2d0986e2
[ci/build]: Upgrade SONiC package versions (#12407) 2022-10-14 22:02:13 +08:00
xumia
2955a8dc72
[202012] Change submodule path from Azure to sonic-net (#12312)
Why I did it
Change the path of sonic submodules that point to "Azure" to point to "sonic-net"

How I did it
Replace "Azure" with "sonic-net" on all relevant paths of sonic submodules
2022-10-13 23:30:37 +08:00
mssonicbld
dd1db72c1f
[ci/build]: Upgrade SONiC package versions (#12368) 2022-10-13 15:35:28 +08:00
mssonicbld
54b0b8b557
[ci/build]: Upgrade SONiC package versions (#12355) 2022-10-11 21:45:13 +08:00
mssonicbld
30adf36ce3
[ci/build]: Upgrade SONiC package versions (#12302) 2022-10-09 18:25:20 +08:00
gechiang
1e6d63a412
[202012][BRCMSAI] 4.3.7.1-2 to back out a change that broke 4.3.7.1-1 (#12298)
This is basically the same as previous PR: (#12275)
With backing out a change that was breaking the build. Copying the same info from that PR here.
2022-10-06 21:25:34 -07:00
gechiang
9c9d902ede
[202012]BRCM SAI 4.3.7.1-1 pick up fix CS00012263713 (mirrored packet with extra VLAN Tag) (#12275)
Pick up fix for CS00012263713 (mirrored packet with extra VLAN Tag) BRCM SAI 4.3.7.1-1

Preliminary tests look fine. BGP neighbors were all up with proper routes programmed
interfaces are all up
Manually ran the following test cases on 7050CX3 (TD3) T0 DUT and all passed:

     fib/test_fib.py
     acl/test_acl.py
     arp/test_neighbor_mac_noptf.py
     fdb/test_fdb.py
     decap/test_decap.py
     pc/test_lag_2.py
     pc/test_po_cleanup.py
     pc/test_po_update.py
     everflow/test_everflow_ipv6.py
     everflow/test_everflow_testbed.py
     route/test_default_route.py
     ipfwd/test_dip_sip.py
     copp/test_copp.py
     crm/test_crm.py
2022-10-05 09:40:55 -07:00
mssonicbld
37a189b3f3
[ci/build]: Upgrade SONiC package versions (#12277) 2022-10-05 20:57:41 +08:00
mssonicbld
7474a1bcd8
[ci/build]: Upgrade SONiC package versions (#12267) 2022-10-04 21:20:48 +08:00
Ying Xie
64ce6696bb [mux] skip mux operations during warm shutdown (#11937)
* [mux] skip mux operations during warm shutdown

- Enhance write_standby.py script to skip actions during warm shutdown.
- Expand the support to BGP service.
- MuX support was added by a previous PR.
- don't skip action during warm recovery

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2022-10-03 22:30:55 +00:00
Longxiang Lyu
893391f76e [mux] Exit to write standby state to active-active ports (#11821)
[mux] Exit to write standby state to `active-active` ports

Signed-off-by: Longxiang Lyu <lolv@microsoft.com>
2022-10-03 19:52:51 +00:00
mssonicbld
a05d86a047
[ci/build]: Upgrade SONiC package versions (#12252) 2022-10-02 18:38:46 +08:00
mssonicbld
f61c84b09e
[ci/build]: Upgrade SONiC package versions (#12243) 2022-09-30 21:36:39 +08:00
mssonicbld
8994298788
[ci/build]: Upgrade SONiC package versions (#12199) 2022-09-28 21:32:50 +08:00
mssonicbld
dc67ec2869
[ci/build]: Upgrade SONiC package versions (#12181) 2022-09-25 20:10:04 +08:00
zitingguo-ms
95b19bbb46
Pick up fixes and make up BRCM SAI version to 4.3.7.1 (#12069)
Signed-off-by: zitingguo-ms <zitingguo@microsoft.com>

Signed-off-by: zitingguo-ms <zitingguo@microsoft.com>
2022-09-22 22:59:51 -07:00
mssonicbld
2b5eb45d83
[ci/build]: Upgrade SONiC package versions (#12141) 2022-09-21 20:37:27 +08:00
mssonicbld
4396d67d64
[ci/build]: Upgrade SONiC package versions (#12120) 2022-09-20 19:51:45 +08:00
mssonicbld
6678e3356e
[ci/build]: Upgrade SONiC package versions (#12101) 2022-09-18 19:48:13 +08:00
lixiaoyuner
0abf8d0419 Make client indentity by AME cert (#11946)
* Make client indentity by AME cert

* Join k8s cluster by ipv6

* Change join test cases

* Test case bug fix

* Improve read node label func

* Configure kubelet and change test cases

* For kubernetes version 1.22.2

* Fix undefine issue

Signed-off-by: Yun Li <yunli1@microsoft.com>
2022-09-17 00:41:53 +00:00
mssonicbld
a195f8343f
[ci/build]: Upgrade SONiC package versions (#12068) 2022-09-14 23:05:43 +08:00
mssonicbld
37ada92ad5
[ci/build]: Upgrade SONiC package versions (#12043) 2022-09-11 18:59:58 +08:00
mssonicbld
5e8332f505
[ci/build]: Upgrade SONiC package versions (#12039) 2022-09-09 21:46:28 +08:00
siqbal1986
10b6a5c402
[202012] StateDB table cleanup for VNET routes (#11999)
* added cleanup of tables. 'VNET_ROUTE_TUNNEL_TABLE*', 'VNET_ROUTE_TABLE*'
2022-09-08 14:57:20 -07:00
mssonicbld
143af80061
[ci/build]: Upgrade SONiC package versions (#11976) 2022-09-07 00:40:48 +08:00
mssonicbld
586a623422
[ci/build]: Upgrade SONiC package versions (#11911) 2022-09-04 19:29:06 +08:00
Lawrence Lee
e821dd8551 [arp_update]: Set failed IPv6 neighbors to incomplete (#11919)
After pinging any failed IPv6 neighbor entries, set the remaining failed/incomplete entries to a permanent INCOMPLETE state. This manual setting to INCOMPLETE prevents these entries from automatically transitioning to FAILED state, and since they are now incomplete any subsequent NA messages for these neighbors is able to resolve the entry in the cache.

Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
2022-09-02 21:57:47 +00:00
Ying Xie
4ab83170a5 [write_standby] update write_standby.py script (#11650)
Why I did it
The initial value has to be present for the state machines to work. In active-standby dual-tor scenario, or any hardware mux scenario, the value will be updtaed eventually with a delay.

However, in active-active dual-tor scenario, there is no other mechanism to initialize the value and get state machines started.
So this script will have to write something at start up time.

For active-active dualtor, 'active' is a more preferred initial value, the state machine will switch the state to standby soon if
link prober found link not in good state.

How I did it
Update the script to always provide initial values.

How to verify it
Tested on active-active dual-tor testbed.

Signed-off-by: Ying Xie ying.xie@microsoft.com
2022-09-01 23:57:23 +00:00
Jing Zhang
9d3194c77a Avoid write_standby in warm restart context (#11283)
Avoid write_standby in warm restart context.

sign-off: Jing Zhang zhangjing@microsoft.com

Why I did it
In warm restart context, we should avoid mux state change.

How I did it
Check warm restart flag before applying changes to app db.

How to verify it
Ran write_standby in table missing, key missing, field missing scenarios.
Did a warm restart, app db changes were skipped. Saw this in syslog:
WARNING write_standby: Taking no action due to ongoing warmrestart.
2022-09-01 23:57:17 +00:00
mssonicbld
ed68e4c97c
[ci/build]: Upgrade SONiC package versions (#11896) 2022-08-30 22:44:47 +08:00
mssonicbld
347b2dddcd
[ci/build]: Upgrade SONiC package versions (#11757) 2022-08-29 14:08:14 +08:00
mssonicbld
07082bb5f5
[ci/build]: Upgrade SONiC package versions (#11676) 2022-08-16 13:07:32 +00:00
Stepan Blyshchak
8ab448a852 [swss.sh/syncd.sh] Trap only on EXIT (#11590)
When using trap on SIGTERM the script will not react to the SIGTERM signal sent while a child is executing.
I.e, the following script does not react on SIGTERM sent to it if it is
waiting for sleep to finish:

```

trap "echo Handled SIGTERM" 0 2 3 15

echo "Before sleep"
sleep inf
echo "After sleep"
```

Instead, trap only on EXIT which covers also a scenario with exit on
SIGINT, SIGTERM.

Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
2022-08-11 20:38:20 +00:00
zitingguo-ms
5b5bd5e818
[202012 BRCM SAI 4.3.7.0] Pick up fixes and make up BRCM SAI version to 4.3.7.0 (#11681)
Pick upfollowing fixes and update BRCM SAI to 4.3.7.0:

CS00012208537: Add back previous commit 54c5bc4848eb748
CS00012253061,SONIC-63280: WB from 3.5 to 4.3, followed by WB to 4.3
CS00012207978: SDK-296517, time spent for SAI operations
CS00012245601,SONIC-62898: Egress ACL Counted ad Interface TX drops
Update pcbb with Fixes for CS00012243699
Upgrade on pcbb with Fixes for KB0025353, CS00012221689, CS00012221688, KB0025391, CS00012230519
commit of "CS00012221688:PFC frames egressing, PFC storm happens simultaneously on 2 ports" is purposely skipped to be picked up later due to SWSS dependency not ready.
Why I did it
How I did it
How to verify it
Tested build target, successful

Manually run these tests after installing sai binary within image 20201231.73 on 7050CX3 (TD3) T0 DUT, all passed.

vxlan/test_vxlan_decap.py
fdb/test_fdb.py
pfcwd/test_pfcwd_all_port_storm.py
acl/null_route/test_null_route_helper.py
acl/test_acl.py
vlan/test_vlan.py
platform_tests/test_reboot.py


Signed-off-by: zitingguo-ms <zitingguo@microsoft.com>
2022-08-10 15:02:47 -07:00