Skip to content

add saiserver docker for mlnx sn2700 platform#12

Merged
lguohan merged 3 commits intosonic-net:masterfrom
lguohan:saiserver
Sep 24, 2016
Merged

add saiserver docker for mlnx sn2700 platform#12
lguohan merged 3 commits intosonic-net:masterfrom
lguohan:saiserver

Conversation

@lguohan
Copy link
Collaborator

@lguohan lguohan commented Sep 23, 2016

No description provided.


RUN apt-get update

COPY deps /deps
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

More specific files in deps/

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

Ethernet29 112,113,114,115
Ethernet30 116,117,118,119
Ethernet31 120,121,122,123
Ethernet32 124,125,126,127 No newline at end of file
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add new line at the end?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I prefer not to have newline in the end.

@@ -0,0 +1 @@
SAI_INIT_CONFIG_FILE=/usr/share/sai_2700.xml No newline at end of file
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add new line at the end?

<root>
<platform_info type="2700">

<!-- Device MAC address -->
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replace tab with spaces?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this file is from mlnx, do not want to change it.


function clean_up {
service rsyslog stop
exit
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to 'exit'


start_mlnx()
{
mkdir -p /dev/sxdevs
Copy link
Collaborator

@qiluo-msft qiluo-msft Sep 23, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move after '-e' test? Or you may create the folder in Dockerfile.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that's what syncd does.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

moved

@lguohan lguohan merged commit 146c881 into sonic-net:master Sep 24, 2016
Staphylo pushed a commit to Staphylo/sonic-buildimage that referenced this pull request Feb 15, 2018
Use single start script for all platforms and remove symbolic links
Change path to system eeprom

Signed-off-by: marian-pritsak <marianp@mellanox.com>
Staphylo pushed a commit to Staphylo/sonic-buildimage that referenced this pull request Mar 6, 2018
Use single start script for all platforms and remove symbolic links
Change path to system eeprom

Signed-off-by: marian-pritsak <marianp@mellanox.com>
Staphylo pushed a commit to Staphylo/sonic-buildimage that referenced this pull request Mar 20, 2018
Use single start script for all platforms and remove symbolic links
Change path to system eeprom

Signed-off-by: marian-pritsak <marianp@mellanox.com>
mykolaf pushed a commit to mykolaf/sonic-buildimage that referenced this pull request Apr 10, 2018
Use single start script for all platforms and remove symbolic links
Change path to system eeprom

Signed-off-by: marian-pritsak <marianp@mellanox.com>
yurypm pushed a commit to yurypm/sonic-buildimage that referenced this pull request Apr 17, 2018
Use single start script for all platforms and remove symbolic links
Change path to system eeprom

Signed-off-by: marian-pritsak <marianp@mellanox.com>
yurypm pushed a commit to yurypm/sonic-buildimage that referenced this pull request Jun 4, 2018
Use single start script for all platforms and remove symbolic links
Change path to system eeprom

Signed-off-by: marian-pritsak <marianp@mellanox.com>
Staphylo pushed a commit to Staphylo/sonic-buildimage that referenced this pull request Jul 13, 2018
Use single start script for all platforms and remove symbolic links
Change path to system eeprom

Signed-off-by: marian-pritsak <marianp@mellanox.com>
volodymyrsamotiy referenced this pull request in volodymyrsamotiy/sonic-buildimage Aug 9, 2018
Use single start script for all platforms and remove symbolic links
Change path to system eeprom

Signed-off-by: marian-pritsak <marianp@mellanox.com>
lguohan pushed a commit that referenced this pull request Aug 12, 2018
Use single start script for all platforms and remove symbolic links
Change path to system eeprom

Signed-off-by: marian-pritsak <marianp@mellanox.com>
johcheun referenced this pull request Sep 27, 2018
ae99de0 Extend RFC 2737 MIB and implement RFC 3433 (#69)

Signed-off-by: Guohan Lu <gulv@microsoft.com>
yxieca added a commit to yxieca/sonic-buildimage that referenced this pull request Dec 4, 2018
- Merge pull request sonic-net#18 from yxieca/no_buffering
- Revert "Pep 8 compliance, code cleanup (sonic-net#15)" (sonic-net#16)
- Pep 8 compliance, code cleanup (sonic-net#15)
- add detailed comments for get_transceiver_change_event (sonic-net#12)


Signed-off-by: Ying Xie <ying.xie@microsoft.com>
yxieca added a commit that referenced this pull request Dec 4, 2018
- Merge pull request #18 from yxieca/no_buffering
- Revert "Pep 8 compliance, code cleanup (#15)" (#16)
- Pep 8 compliance, code cleanup (#15)
- add detailed comments for get_transceiver_change_event (#12)


Signed-off-by: Ying Xie <ying.xie@microsoft.com>
Kalimuthu-Velappan pushed a commit to Kalimuthu-Velappan/sonic-buildimage that referenced this pull request Sep 12, 2019
[sonic_cli]: Fix bash completion for 'show' command
samaity pushed a commit to samaity/sonic-buildimage that referenced this pull request Dec 12, 2019
* [sonic-head.yang]: Minor modification for enumeration of ip-type in ACL yang models.

[sonic-vlan.yang]: modify vlan table key from vlanid(int) to vlan_name(string).

[yangModelTesting.py] Fix Test Code and JSON input.

* [sonic-acl.yang]: Present Enumeration similar to config DB.

* [sonic-head.yang]: Minor update in enumeration
samaity pushed a commit to samaity/sonic-buildimage that referenced this pull request Jan 14, 2020
* [sonic-head.yang]: Minor modification for enumeration of ip-type in ACL yang models.

[sonic-vlan.yang]: modify vlan table key from vlanid(int) to vlan_name(string).

[yangModelTesting.py] Fix Test Code and JSON input.

* [sonic-acl.yang]: Present Enumeration similar to config DB.

* [sonic-head.yang]: Minor update in enumeration
Gfrom2016 pushed a commit to Gfrom2016/sonic-buildimage that referenced this pull request Apr 5, 2025
<!--
     Please make sure you've read and understood our contributing guidelines:
     https://github.com/Azure/SONiC/blob/gh-pages/CONTRIBUTING.md

     ** Make sure all your commits include a signature generated with `git commit -s` **

     If this is a bug fix, make sure your description includes "fixes #xxxx", or
     "closes #xxxx" or "resolves #xxxx"

     Please provide the following information:
-->

#### Why I did it

Adding the below fix from FRR FRRouting/frr#17297

This is to fix the following crash which is a statistical issue

```
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/lib/frr/zebra -A 127.0.0.1 -s 90000000 -M dplane_fpm_nl -M snmp'.
Program terminated with signal SIGABRT, Aborted.
#0  0x00007fccd7351e2c in ?? () from /lib/x86_64-linux-gnu/libc.so.6
[Current thread is 1 (Thread 0x7fccd6faf7c0 (LWP 36))]
(gdb) bt
#0  0x00007fccd7351e2c in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007fccd7302fb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007fccd72ed472 in abort () from /lib/x86_64-linux-gnu/libc.so.6
#3  0x00007fccd75bb3a9 in _zlog_assert_failed (xref=xref@entry=0x7fccd7652380 <_xref.16>, extra=extra@entry=0x0) at ../lib/zlog.c:678
#4  0x00007fccd759b2fe in route_node_delete (node=<optimized out>) at ../lib/table.c:352
sonic-net#5  0x00007fccd759b445 in route_unlock_node (node=0x0) at ../lib/table.h:258
sonic-net#6  route_next (node=<optimized out>) at ../lib/table.c:436
sonic-net#7  route_next (node=node@entry=0x56029d89e560) at ../lib/table.c:410
sonic-net#8  0x000056029b6b6b7a in if_lookup_by_name_per_ns (ns=ns@entry=0x56029d873d90, ifname=ifname@entry=0x7fccc0029340 "PortChannel1020")
    at ../zebra/interface.c:312
sonic-net#9  0x000056029b6b8b36 in zebra_if_dplane_ifp_handling (ctx=0x7fccc0029310) at ../zebra/interface.c:1867
sonic-net#10 zebra_if_dplane_result (ctx=0x7fccc0029310) at ../zebra/interface.c:2221
sonic-net#11 0x000056029b7137a9 in rib_process_dplane_results (thread=<optimized out>) at ../zebra/zebra_rib.c:4810
sonic-net#12 0x00007fccd75a0e0d in thread_call (thread=thread@entry=0x7ffe8e553cc0) at ../lib/thread.c:1990
sonic-net#13 0x00007fccd7559368 in frr_run (master=0x56029d65a040) at ../lib/libfrr.c:1198
sonic-net#14 0x000056029b6ac317 in main (argc=9, argv=0x7ffe8e5540d8) at ../zebra/main.c:478
```

##### Work item tracking
- Microsoft ADO **(number only)**:

#### How I did it
Added patch.

#### How to verify it
Running BGP tests.

<!--
If PR needs to be backported, then the PR must be tested against the base branch and the earliest backport release branch and provide tested image version on these two branches. For example, if the PR is requested for master, 202211 and 202012, then the requester needs to provide test results on master and 202012.
-->

#### Which release branch to backport (provide reason below if selected)

<!--
- Note we only backport fixes to a release branch, *not* features!
- Please also provide a reason for the backporting below.
- e.g.
- [x] 202006
-->

- [ ] 201811
- [ ] 201911
- [ ] 202006
- [ ] 202012
- [ ] 202106
- [ ] 202111
- [ ] 202205
- [ ] 202211
- [ ] 202305

#### Tested branch (Please provide the tested image version)

<!--
- Please provide tested image version
- e.g.
- [x] 20201231.100
-->

- [ ] <!-- image version 1 -->
- [ ] <!-- image version 2 -->

#### Description for the changelog
<!--
Write a short (one line) summary that describes the changes in this
pull request for inclusion in the changelog:
-->

<!--
 Ensure to add label/tag for the feature raised. example - PR#2174 under sonic-utilities repo. where, Generic Config and Update feature has been labelled as GCU.
-->

#### Link to config_db schema for YANG module changes
<!--
Provide a link to config_db schema for the table for which YANG model
is defined
Link should point to correct section on https://github.com/Azure/sonic-buildimage/blob/master/src/sonic-yang-models/doc/Configuration.md
-->

#### A picture of a cute animal (not mandatory but encouraged)
Gfrom2016 pushed a commit to Gfrom2016/sonic-buildimage that referenced this pull request Apr 5, 2025
…tically (sonic-net#636)

#### Why I did it
src/sonic-sairedis
```
* adaa609 - (HEAD -> 202412, origin/HEAD, origin/202412) [code sync] Merge code from sonic-net/sonic-sairedis:202411 to 202412 (sonic-net#13) (7 hours ago) [mssonicbld]
* 7153b15 - [code sync] Merge code from sonic-net/sonic-sairedis:202411 to 202412 (sonic-net#12) (31 hours ago) [mssonicbld]
* 0a2f3d8 - [code sync] Merge code from sonic-net/sonic-sairedis:202411 to 202412 (sonic-net#11) (2 days ago) [mssonicbld]
```
#### How I did it
#### How to verify it
#### Description for the changelog
Gfrom2016 pushed a commit to Gfrom2016/sonic-buildimage that referenced this pull request Apr 5, 2025
…omatically (sonic-net#647)

#### Why I did it
src/sonic-swss-common
```
* 9d80355 - (HEAD -> 202412, origin/HEAD, origin/202412) [code sync] Merge code from sonic-net/sonic-swss-common:202411 to 202412 (sonic-net#12) (21 hours ago) [mssonicbld]
```
#### How I did it
#### How to verify it
#### Description for the changelog
Gfrom2016 pushed a commit to Gfrom2016/sonic-buildimage that referenced this pull request Apr 5, 2025
…tomatically (sonic-net#646)

#### Why I did it
src/sonic-linux-kernel
```
* b4829d4 - (HEAD -> 202412, origin/HEAD, origin/202412) [optoe] Reset page select byte to 0 before upper memory access on page 0h (sonic-net#464) (sonic-net#12) (21 hours ago) [mssonicbld]
```
#### How I did it
#### How to verify it
#### Description for the changelog
Gfrom2016 pushed a commit to Gfrom2016/sonic-buildimage that referenced this pull request Apr 5, 2025
…test HEAD automatically (sonic-net#953)

#### Why I did it
src/sonic-platform-daemons
```
* 30e63a6 - (HEAD -> 202412, origin/202412) Merge pull request sonic-net#12 from mihirpat1/wait_maxduration_txturnoff_202412 (8 hours ago) [Prince George]
* 6fb2374 - [xcvrd] Add wait based on MaxDurationDPTxTurnOff after disabling Tx (sonic-net#602) (9 hours ago) [mihirpat1]
```
#### How I did it
#### How to verify it
#### Description for the changelog
qiluo-msft pushed a commit that referenced this pull request Jul 25, 2025
…tener (#23419)

Why I did it
It found the following KeyError in syslog, not only for lldp, but also for snmp and bgp.

2025 Jul 19 18:13:00.240397 vlab-01 ERR lldp#supervisor-proc-exit-listener: Exception: 'len', trace: Traceback (most recent call last):
  File "/usr/bin/supervisor-proc-exit-listener", line 249, in <module>
    main(sys.argv[1:])
  File "/usr/bin/supervisor-proc-exit-listener", line 182, in main
    payload = sys.stdin.read(int(headers['len']))
KeyError: 'len'
The context syslog is:

2025 Jul 19 18:12:59.505711 vlab-01 INFO lldp#supervisord 2025-07-19 18:12:59,504 INFO waiting for supervisor-proc-exit-listener, rsyslogd, lldpd, lldp-syncd, lldpmgrd to die
2025 Jul 19 18:12:59.761223 vlab-01 INFO containerd[684]: time="2025-07-19T18:12:59.759992163Z" level=info msg="shim disconnected" id=cd6e41a2cc82aae25d2d65801984943311b3f025c98ca865ea79be95194abc95
2025 Jul 19 18:12:59.762463 vlab-01 INFO containerd[684]: time="2025-07-19T18:12:59.760103279Z" level=warning msg="cleaning up after shim disconnected" id=cd6e41a2cc82aae25d2d65801984943311b3f025c98ca865ea79be95194abc95 namespace=moby
2025 Jul 19 18:12:59.765745 vlab-01 INFO containerd[684]: time="2025-07-19T18:12:59.760116062Z" level=info msg="cleaning up dead shim"
2025 Jul 19 18:12:59.767134 vlab-01 INFO dockerd[752]: time="2025-07-19T18:12:59.760554606Z" level=info msg="ignoring event" container=cd6e41a2cc82aae25d2d65801984943311b3f025c98ca865ea79be95194abc95 module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete"
2025 Jul 19 18:12:59.784436 vlab-01 INFO containerd[684]: time="2025-07-19T18:12:59.783563921Z" level=warning msg="cleanup warnings time=\"2025-07-19T18:12:59Z\" level=info msg=\"starting signal loop\" namespace=moby pid=42053 runtime=io.containerd.runc.v2\n"
2025 Jul 19 18:12:59.826676 vlab-01 INFO systemd[1]: var-lib-docker-overlay2-472b96da162023c3bc1e0d4132486ad7c122b23acf07f93d0e5b0a9538d7cebe-merged.mount: Deactivated successfully.
2025 Jul 19 18:12:59.840815 vlab-01 INFO container: docker cmd: wait for teamd
2025 Jul 19 18:12:59.843934 vlab-01 INFO container: docker cmd: stop for teamd
2025 Jul 19 18:12:59.861044 vlab-01 DEBUG container: container_stop: END
2025 Jul 19 18:12:59.906677 vlab-01 NOTICE admin: Stopped teamd service...
2025 Jul 19 18:12:59.938168 vlab-01 INFO systemd[1]: teamd.service: Deactivated successfully.
2025 Jul 19 18:12:59.938548 vlab-01 INFO systemd[1]: Stopped teamd.service - TEAMD container.
2025 Jul 19 18:12:59.939901 vlab-01 NOTICE rsyslog_plugin: :- publish: EVENT_PUBLISHED: {"sonic-events-host:event-stopped-ctr":{"ctr_name":"TEAMD","timestamp":"2025-07-19T18:12:59.939561Z"}}
2025 Jul 19 18:13:00.196745 vlab-01 INFO dockerd[752]: time="2025-07-19T18:13:00.196382391Z" level=info msg="Container failed to exit within 10s of signal 15 - using the force" container=2188a8952aa8d602224b78e325295831aceb8f14d1b6ec8869cc153b7eafef6a
2025 Jul 19 18:13:00.240397 vlab-01 ERR lldp#supervisor-proc-exit-listener: Exception: 'len', trace: Traceback (most recent call last):#12  File "/usr/bin/supervisor-proc-exit-listener", line 249, in <module>#12    main(sys.argv[1:])#12  File "/usr/bin/supervisor-proc-exit-listener", line 182, in main#012    payload = sys.stdin.read(int(headers['len']))#12                                 ~~~~~~~^^^^^^^#012KeyError: 'len'
During shutdown, supervisor is sending termination events to the event listener, but the shutdown process is interrupting the event stream.
The container is being forcibly killed (Container failed to exit within 10s of signal 15 - using the force), which can interrupt the supervisor event protocol mid-stream.

Supervisor starts sending an event header
Before it can complete sending the full header (including len: field), the process gets interrupted
The listener receives a partial/malformed header without the len field

Work item tracking
Microsoft ADO 33409727:
How I did it
Check if 'len' exists before using it, if there is no len, it can't process the further steps.
mssonicbld added a commit that referenced this pull request Oct 14, 2025
…atically (#23557)

#### Why I did it
src/sonic-utilities
```
* e59bbfc - (HEAD -> master, origin/master, origin/HEAD) Fixing state_db not having delete_field attribute causing a crash when DPUs in bad state (#4064) (9 hours ago) [rameshraghupathy]
* 9386963 - Improve set/get cmdline to support uefi (#4062) (3 days ago) [Hua Liu]
* 3a7d0b4 - [dhcp_relay] Update show cli sample for dhcp_relay (#4070) (4 days ago) [Balakrishna-goshika]
* 89c9aef - FEC histogram with ability to clear stat (#4075) (7 days ago) [Prince George]
* b247e93 - Skip speed validation for chassis. (#4076) (10 days ago) [Xincun Li]
* 70926dd - [FRR]Adding additional FRR dumps (#4073) (11 days ago) [Sudharsan Dhamal Gopalarathnam]
* d7c16c3 - Fix incorrect output format for pre-fec ber in sfpshow pm (#4066) (2 weeks ago) [Changrong Wu]
* 80a20e7 - [doc][dhcp_server] Update cli doc for dhcp_server #4069 (3 weeks ago) [Balakrishna-goshika]
* c1843fa - Issue #22759: Prevent CLI from adding invalid routed interfaces (#3901) (3 weeks ago) [Anders Linn]
* 7c5378e - Issue 23798: Wrap getpass.getpass in a signal handler to avoid SIGTTOU (#4061) (3 weeks ago) [Anders Linn]
* 28dfb29 - Fix issue that dynamic/static threshold 0 can not be configured using mmuconfig (#4049) (4 weeks ago) [Stephen Sun]
* e276765 - Support multi-asic in gcu.py (#4057) (5 weeks ago) [ganglv]
* d2c697f - Add sonic-error-report tool for structured error reporting (#4037) (5 weeks ago) [Dawei Huang]
* ed5afd8 - Add python wheels for GCU (#4042) (5 weeks ago) [ganglv]
* 98e4916 - Add Arista-7060X6-64PE-B-O128S2, Arista-7060X6-16PE-384C-B-O128S2 to GCU (#4055) (5 weeks ago) [rick-arista]
* 9e9a65b - Issue #22420: Modify 'config route add' command not to include empty elements (#12) (#3862) (5 weeks ago) [Anders Linn]
* 0edb592 - Mux cable show config command Added prober_type and fixed one format (#4013) (5 weeks ago) [harjotsinghpawra]
* 2657ee3 - Fixed cli command for ECN config on voq switch to set the WRED_PROFILE for all Voqs (#4029) (6 weeks ago) [saksarav-nokia]
* d1c9d1a - [show][config] Add CLI support for configurable drop monitor feature (#3756) (6 weeks ago) [HP]
* 7baa75b - [spm] Rename entry tag variable to docker_image_reference (#4019) (6 weeks ago) [DavidZagury]
* 63364a3 - Add BlockingMode for Reboot script (#3958) (6 weeks ago) [Litao Yu]
* ee8113f - Support for platforms based on Clounix net device (#3970) (6 weeks ago) [LongWuuu]
* f53a5c1 - [config show]BGP Suppress fib pending config and display for multi-asic (#3948) (7 weeks ago) [vganesan-nokia]
* b3de0af - Add Arista 7800 platforms to GCU validator (#4038) (7 weeks ago) [Xincun Li]
* 13a0cb2 - Add check_pfc_storm_active() to fast-reboot script (#3969) (7 weeks ago) [Dawei Huang]
* f45d896 - [smartswitch] Update get_gnmi_port() based on smartswitch config updates (#4041) (7 weeks ago) [Vasundhara Volam]
* ea33ef3 - [nvidia-bluefield] Add CLI for packet-drop and config-record (#4002) (8 weeks ago) [Vivek]
* ffc891d - [dhcp_server] Add CLI sample for dhcp_server (#4033) (8 weeks ago) [Yaqiang Zhu]
* 1e9d04c - Update doc to including dhcp_server ipv4 counter related CLI (#4028) (9 weeks ago) [Yaqiang Zhu]
* 19594b9 - Fix show int transceiver EEPROM crash for for Backplane cartridge + enhance EEPROM CLI output (#4020) (9 weeks ago) [mihirpat1]
* 0f8ac9b - Added MAX pre-fec_ber for FEC counter (#4027) (9 weeks ago) [Prince George]
* 732dc09 - Added json support for show platform temperature (#3874) (9 weeks ago) [Vinod Kumar]
* bacff45 - Add Arista 7800 platforms to GCU validator (#4030) (9 weeks ago) [Xincun Li]
* c63e9ea - [trim]: Add Packet Trimming Drop Counters CLI (#3993) (9 weeks ago) [Nazarii Hnydyn]
* 50df9ea - Adapt 'show muxcable tunnel-route' for prefix route based mux neighbors (#4007) (9 weeks ago) [manamand2020]
* 868189c - Pr json support queue and priority-group watermark and persistent-watermark (#3875) (9 weeks ago) [Vinod Kumar]
* 5347757 - Revert "[SPM] Rename the variable tag to docker-image-reference (#3998)" (#4024) (9 weeks ago) [Jianquan Ye]
* 1418f21 - Added json support intfutil (#3906) (10 weeks ago) [Vinod Kumar]
* ec01962 - sfputil and sfpshow eeprom and DOM CLI enhancement to display data for all CMIS transceivers (#4010) (10 weeks ago) [mihirpat1]
* c0838d7 - CLI for Configuring PFC Historical Statistics (#3779) (2 months ago) [Peter Bailey]
* d623c25 - [Mellanox][Smartswitch]Added dpu status output to dump (#3959) (2 months ago) [Gagan Punathil Ellath]
* a3101ea - Fix for #23205 [Smartswitch] Issues caused due to introduction of the chassisd/sonic-utiltiies changes for consecutive admin state changes (#3984) (2 months ago) [rameshraghupathy]
* d3bc688 - CLI addition for PFC counters --history (#3778) (2 months ago) [Peter Bailey]
* 3282ab3 - DOM for flat memory transceiver modules (#3950) (2 months ago) [Ariz Zubair]
* 6f1a794 - Add queuestat changes for aggregate VOQ counters (#3617) (2 months ago) [Vivek Verma]
* d86b2b6 - g[sfputil debug] Fix issue: do not check output status when CMIS version is lower than 5.0 (#3938) (2 months ago) [Junchao-Mellanox]
* 252a643 - [SPM] Rename the variable tag to docker-image-reference (#3998) (2 months ago) [DavidZagury]
```
#### How I did it
#### How to verify it
#### Description for the changelog
mssonicbld added a commit that referenced this pull request Oct 26, 2025
…atically (#24272)

#### Why I did it
src/sonic-utilities
```
* 8d2bc08 - (HEAD -> master, origin/master, origin/HEAD) Add pfc_stat_history support (#4102) (6 hours ago) [Xincun Li]
* 7a046d6 - [trim]: Fix GCU trimming eligibility modification (#4087) (28 hours ago) [Nazarii Hnydyn]
* f4e5de3 - [GCU] Handle duplicate array entries and auto-create empty tables during patch application (#4095) (2 days ago) [Xincun Li]
* a131061 - [fast/warm-reboot] Fix timers query (#4022) (2 days ago) [Stepan Blyshchak]
* 3bf5c27 - [Mellanox] Update generate_dump to include SDK sysfs files (#4071) (2 days ago) [Noa Or]
* d4eb8ec - [portstat] Add FEC FLR statistics support to port counters (#4054) (3 days ago) [Apoorv Sachan]
* 55b665b - Secureboot: Image signing verification enhancements (#3989) (7 days ago) [Brad House - NextHop]
* e59bbfc - Fixing state_db not having delete_field attribute causing a crash when DPUs in bad state (#4064) (12 days ago) [rameshraghupathy]
* 9386963 - Improve set/get cmdline to support uefi (#4062) (2 weeks ago) [Hua Liu]
* 3a7d0b4 - [dhcp_relay] Update show cli sample for dhcp_relay (#4070) (2 weeks ago) [Balakrishna-goshika]
* 89c9aef - FEC histogram with ability to clear stat (#4075) (3 weeks ago) [Prince George]
* b247e93 - Skip speed validation for chassis. (#4076) (3 weeks ago) [Xincun Li]
* 70926dd - [FRR]Adding additional FRR dumps (#4073) (3 weeks ago) [Sudharsan Dhamal Gopalarathnam]
* d7c16c3 - Fix incorrect output format for pre-fec ber in sfpshow pm (#4066) (4 weeks ago) [Changrong Wu]
* 80a20e7 - [doc][dhcp_server] Update cli doc for dhcp_server #4069 (4 weeks ago) [Balakrishna-goshika]
* c1843fa - Issue #22759: Prevent CLI from adding invalid routed interfaces (#3901) (4 weeks ago) [Anders Linn]
* 7c5378e - Issue 23798: Wrap getpass.getpass in a signal handler to avoid SIGTTOU (#4061) (5 weeks ago) [Anders Linn]
* 28dfb29 - Fix issue that dynamic/static threshold 0 can not be configured using mmuconfig (#4049) (5 weeks ago) [Stephen Sun]
* e276765 - Support multi-asic in gcu.py (#4057) (6 weeks ago) [ganglv]
* d2c697f - Add sonic-error-report tool for structured error reporting (#4037) (6 weeks ago) [Dawei Huang]
* ed5afd8 - Add python wheels for GCU (#4042) (6 weeks ago) [ganglv]
* 98e4916 - Add Arista-7060X6-64PE-B-O128S2, Arista-7060X6-16PE-384C-B-O128S2 to GCU (#4055) (6 weeks ago) [rick-arista]
* 9e9a65b - Issue #22420: Modify 'config route add' command not to include empty elements (#12) (#3862) (7 weeks ago) [Anders Linn]
* 0edb592 - Mux cable show config command Added prober_type and fixed one format (#4013) (7 weeks ago) [harjotsinghpawra]
* 2657ee3 - Fixed cli command for ECN config on voq switch to set the WRED_PROFILE for all Voqs (#4029) (7 weeks ago) [saksarav-nokia]
* d1c9d1a - [show][config] Add CLI support for configurable drop monitor feature (#3756) (7 weeks ago) [HP]
* 7baa75b - [spm] Rename entry tag variable to docker_image_reference (#4019) (8 weeks ago) [DavidZagury]
* 63364a3 - Add BlockingMode for Reboot script (#3958) (8 weeks ago) [Litao Yu]
* ee8113f - Support for platforms based on Clounix net device (#3970) (8 weeks ago) [LongWuuu]
* f53a5c1 - [config show]BGP Suppress fib pending config and display for multi-asic (#3948) (8 weeks ago) [vganesan-nokia]
* b3de0af - Add Arista 7800 platforms to GCU validator (#4038) (9 weeks ago) [Xincun Li]
* 13a0cb2 - Add check_pfc_storm_active() to fast-reboot script (#3969) (9 weeks ago) [Dawei Huang]
* f45d896 - [smartswitch] Update get_gnmi_port() based on smartswitch config updates (#4041) (9 weeks ago) [Vasundhara Volam]
* ea33ef3 - [nvidia-bluefield] Add CLI for packet-drop and config-record (#4002) (9 weeks ago) [Vivek]
* ffc891d - [dhcp_server] Add CLI sample for dhcp_server (#4033) (10 weeks ago) [Yaqiang Zhu]
* 1e9d04c - Update doc to including dhcp_server ipv4 counter related CLI (#4028) (2 months ago) [Yaqiang Zhu]
* 19594b9 - Fix show int transceiver EEPROM crash for for Backplane cartridge + enhance EEPROM CLI output (#4020) (2 months ago) [mihirpat1]
* 0f8ac9b - Added MAX pre-fec_ber for FEC counter (#4027) (2 months ago) [Prince George]
* 732dc09 - Added json support for show platform temperature (#3874) (2 months ago) [Vinod Kumar]
* bacff45 - Add Arista 7800 platforms to GCU validator (#4030) (2 months ago) [Xincun Li]
* c63e9ea - [trim]: Add Packet Trimming Drop Counters CLI (#3993) (3 months ago) [Nazarii Hnydyn]
* 50df9ea - Adapt 'show muxcable tunnel-route' for prefix route based mux neighbors (#4007) (3 months ago) [manamand2020]
* 868189c - Pr json support queue and priority-group watermark and persistent-watermark (#3875) (3 months ago) [Vinod Kumar]
* 5347757 - Revert "[SPM] Rename the variable tag to docker-image-reference (#3998)" (#4024) (3 months ago) [Jianquan Ye]
* 1418f21 - Added json support intfutil (#3906) (3 months ago) [Vinod Kumar]
* ec01962 - sfputil and sfpshow eeprom and DOM CLI enhancement to display data for all CMIS transceivers (#4010) (3 months ago) [mihirpat1]
* c0838d7 - CLI for Configuring PFC Historical Statistics (#3779) (3 months ago) [Peter Bailey]
* d623c25 - [Mellanox][Smartswitch]Added dpu status output to dump (#3959) (3 months ago) [Gagan Punathil Ellath]
* a3101ea - Fix for #23205 [Smartswitch] Issues caused due to introduction of the chassisd/sonic-utiltiies changes for consecutive admin state changes (#3984) (3 months ago) [rameshraghupathy]
* d3bc688 - CLI addition for PFC counters --history (#3778) (3 months ago) [Peter Bailey]
* 3282ab3 - DOM for flat memory transceiver modules (#3950) (3 months ago) [Ariz Zubair]
* 6f1a794 - Add queuestat changes for aggregate VOQ counters (#3617) (3 months ago) [Vivek Verma]
* d86b2b6 - g[sfputil debug] Fix issue: do not check output status when CMIS version is lower than 5.0 (#3938) (3 months ago) [Junchao-Mellanox]
* 252a643 - [SPM] Rename the variable tag to docker-image-reference (#3998) (3 months ago) [DavidZagury]
```
#### How I did it
#### How to verify it
#### Description for the changelog
FengPan-Frank pushed a commit to FengPan-Frank/sonic-buildimage that referenced this pull request Dec 4, 2025
…atically (sonic-net#23557)

#### Why I did it
src/sonic-utilities
```
* e59bbfc - (HEAD -> master, origin/master, origin/HEAD) Fixing state_db not having delete_field attribute causing a crash when DPUs in bad state (sonic-net#4064) (9 hours ago) [rameshraghupathy]
* 9386963 - Improve set/get cmdline to support uefi (sonic-net#4062) (3 days ago) [Hua Liu]
* 3a7d0b4 - [dhcp_relay] Update show cli sample for dhcp_relay (sonic-net#4070) (4 days ago) [Balakrishna-goshika]
* 89c9aef - FEC histogram with ability to clear stat (sonic-net#4075) (7 days ago) [Prince George]
* b247e93 - Skip speed validation for chassis. (sonic-net#4076) (10 days ago) [Xincun Li]
* 70926dd - [FRR]Adding additional FRR dumps (sonic-net#4073) (11 days ago) [Sudharsan Dhamal Gopalarathnam]
* d7c16c3 - Fix incorrect output format for pre-fec ber in sfpshow pm (sonic-net#4066) (2 weeks ago) [Changrong Wu]
* 80a20e7 - [doc][dhcp_server] Update cli doc for dhcp_server sonic-net#4069 (3 weeks ago) [Balakrishna-goshika]
* c1843fa - Issue sonic-net#22759: Prevent CLI from adding invalid routed interfaces (sonic-net#3901) (3 weeks ago) [Anders Linn]
* 7c5378e - Issue 23798: Wrap getpass.getpass in a signal handler to avoid SIGTTOU (sonic-net#4061) (3 weeks ago) [Anders Linn]
* 28dfb29 - Fix issue that dynamic/static threshold 0 can not be configured using mmuconfig (sonic-net#4049) (4 weeks ago) [Stephen Sun]
* e276765 - Support multi-asic in gcu.py (sonic-net#4057) (5 weeks ago) [ganglv]
* d2c697f - Add sonic-error-report tool for structured error reporting (sonic-net#4037) (5 weeks ago) [Dawei Huang]
* ed5afd8 - Add python wheels for GCU (sonic-net#4042) (5 weeks ago) [ganglv]
* 98e4916 - Add Arista-7060X6-64PE-B-O128S2, Arista-7060X6-16PE-384C-B-O128S2 to GCU (sonic-net#4055) (5 weeks ago) [rick-arista]
* 9e9a65b - Issue sonic-net#22420: Modify 'config route add' command not to include empty elements (sonic-net#12) (sonic-net#3862) (5 weeks ago) [Anders Linn]
* 0edb592 - Mux cable show config command Added prober_type and fixed one format (sonic-net#4013) (5 weeks ago) [harjotsinghpawra]
* 2657ee3 - Fixed cli command for ECN config on voq switch to set the WRED_PROFILE for all Voqs (sonic-net#4029) (6 weeks ago) [saksarav-nokia]
* d1c9d1a - [show][config] Add CLI support for configurable drop monitor feature (sonic-net#3756) (6 weeks ago) [HP]
* 7baa75b - [spm] Rename entry tag variable to docker_image_reference (sonic-net#4019) (6 weeks ago) [DavidZagury]
* 63364a3 - Add BlockingMode for Reboot script (sonic-net#3958) (6 weeks ago) [Litao Yu]
* ee8113f - Support for platforms based on Clounix net device (sonic-net#3970) (6 weeks ago) [LongWuuu]
* f53a5c1 - [config show]BGP Suppress fib pending config and display for multi-asic (sonic-net#3948) (7 weeks ago) [vganesan-nokia]
* b3de0af - Add Arista 7800 platforms to GCU validator (sonic-net#4038) (7 weeks ago) [Xincun Li]
* 13a0cb2 - Add check_pfc_storm_active() to fast-reboot script (sonic-net#3969) (7 weeks ago) [Dawei Huang]
* f45d896 - [smartswitch] Update get_gnmi_port() based on smartswitch config updates (sonic-net#4041) (7 weeks ago) [Vasundhara Volam]
* ea33ef3 - [nvidia-bluefield] Add CLI for packet-drop and config-record (sonic-net#4002) (8 weeks ago) [Vivek]
* ffc891d - [dhcp_server] Add CLI sample for dhcp_server (sonic-net#4033) (8 weeks ago) [Yaqiang Zhu]
* 1e9d04c - Update doc to including dhcp_server ipv4 counter related CLI (sonic-net#4028) (9 weeks ago) [Yaqiang Zhu]
* 19594b9 - Fix show int transceiver EEPROM crash for for Backplane cartridge + enhance EEPROM CLI output (sonic-net#4020) (9 weeks ago) [mihirpat1]
* 0f8ac9b - Added MAX pre-fec_ber for FEC counter (sonic-net#4027) (9 weeks ago) [Prince George]
* 732dc09 - Added json support for show platform temperature (sonic-net#3874) (9 weeks ago) [Vinod Kumar]
* bacff45 - Add Arista 7800 platforms to GCU validator (sonic-net#4030) (9 weeks ago) [Xincun Li]
* c63e9ea - [trim]: Add Packet Trimming Drop Counters CLI (sonic-net#3993) (9 weeks ago) [Nazarii Hnydyn]
* 50df9ea - Adapt 'show muxcable tunnel-route' for prefix route based mux neighbors (sonic-net#4007) (9 weeks ago) [manamand2020]
* 868189c - Pr json support queue and priority-group watermark and persistent-watermark (sonic-net#3875) (9 weeks ago) [Vinod Kumar]
* 5347757 - Revert "[SPM] Rename the variable tag to docker-image-reference (sonic-net#3998)" (sonic-net#4024) (9 weeks ago) [Jianquan Ye]
* 1418f21 - Added json support intfutil (sonic-net#3906) (10 weeks ago) [Vinod Kumar]
* ec01962 - sfputil and sfpshow eeprom and DOM CLI enhancement to display data for all CMIS transceivers (sonic-net#4010) (10 weeks ago) [mihirpat1]
* c0838d7 - CLI for Configuring PFC Historical Statistics (sonic-net#3779) (2 months ago) [Peter Bailey]
* d623c25 - [Mellanox][Smartswitch]Added dpu status output to dump (sonic-net#3959) (2 months ago) [Gagan Punathil Ellath]
* a3101ea - Fix for sonic-net#23205 [Smartswitch] Issues caused due to introduction of the chassisd/sonic-utiltiies changes for consecutive admin state changes (sonic-net#3984) (2 months ago) [rameshraghupathy]
* d3bc688 - CLI addition for PFC counters --history (sonic-net#3778) (2 months ago) [Peter Bailey]
* 3282ab3 - DOM for flat memory transceiver modules (sonic-net#3950) (2 months ago) [Ariz Zubair]
* 6f1a794 - Add queuestat changes for aggregate VOQ counters (sonic-net#3617) (2 months ago) [Vivek Verma]
* d86b2b6 - g[sfputil debug] Fix issue: do not check output status when CMIS version is lower than 5.0 (sonic-net#3938) (2 months ago) [Junchao-Mellanox]
* 252a643 - [SPM] Rename the variable tag to docker-image-reference (sonic-net#3998) (2 months ago) [DavidZagury]
```
#### How I did it
#### How to verify it
#### Description for the changelog

Signed-off-by: Feng Pan <fenpan@microsoft.com>
FengPan-Frank pushed a commit to FengPan-Frank/sonic-buildimage that referenced this pull request Dec 4, 2025
…atically (sonic-net#24272)

#### Why I did it
src/sonic-utilities
```
* 8d2bc08 - (HEAD -> master, origin/master, origin/HEAD) Add pfc_stat_history support (sonic-net#4102) (6 hours ago) [Xincun Li]
* 7a046d6 - [trim]: Fix GCU trimming eligibility modification (sonic-net#4087) (28 hours ago) [Nazarii Hnydyn]
* f4e5de3 - [GCU] Handle duplicate array entries and auto-create empty tables during patch application (sonic-net#4095) (2 days ago) [Xincun Li]
* a131061 - [fast/warm-reboot] Fix timers query (sonic-net#4022) (2 days ago) [Stepan Blyshchak]
* 3bf5c27 - [Mellanox] Update generate_dump to include SDK sysfs files (sonic-net#4071) (2 days ago) [Noa Or]
* d4eb8ec - [portstat] Add FEC FLR statistics support to port counters (sonic-net#4054) (3 days ago) [Apoorv Sachan]
* 55b665b - Secureboot: Image signing verification enhancements (sonic-net#3989) (7 days ago) [Brad House - NextHop]
* e59bbfc - Fixing state_db not having delete_field attribute causing a crash when DPUs in bad state (sonic-net#4064) (12 days ago) [rameshraghupathy]
* 9386963 - Improve set/get cmdline to support uefi (sonic-net#4062) (2 weeks ago) [Hua Liu]
* 3a7d0b4 - [dhcp_relay] Update show cli sample for dhcp_relay (sonic-net#4070) (2 weeks ago) [Balakrishna-goshika]
* 89c9aef - FEC histogram with ability to clear stat (sonic-net#4075) (3 weeks ago) [Prince George]
* b247e93 - Skip speed validation for chassis. (sonic-net#4076) (3 weeks ago) [Xincun Li]
* 70926dd - [FRR]Adding additional FRR dumps (sonic-net#4073) (3 weeks ago) [Sudharsan Dhamal Gopalarathnam]
* d7c16c3 - Fix incorrect output format for pre-fec ber in sfpshow pm (sonic-net#4066) (4 weeks ago) [Changrong Wu]
* 80a20e7 - [doc][dhcp_server] Update cli doc for dhcp_server sonic-net#4069 (4 weeks ago) [Balakrishna-goshika]
* c1843fa - Issue sonic-net#22759: Prevent CLI from adding invalid routed interfaces (sonic-net#3901) (4 weeks ago) [Anders Linn]
* 7c5378e - Issue 23798: Wrap getpass.getpass in a signal handler to avoid SIGTTOU (sonic-net#4061) (5 weeks ago) [Anders Linn]
* 28dfb29 - Fix issue that dynamic/static threshold 0 can not be configured using mmuconfig (sonic-net#4049) (5 weeks ago) [Stephen Sun]
* e276765 - Support multi-asic in gcu.py (sonic-net#4057) (6 weeks ago) [ganglv]
* d2c697f - Add sonic-error-report tool for structured error reporting (sonic-net#4037) (6 weeks ago) [Dawei Huang]
* ed5afd8 - Add python wheels for GCU (sonic-net#4042) (6 weeks ago) [ganglv]
* 98e4916 - Add Arista-7060X6-64PE-B-O128S2, Arista-7060X6-16PE-384C-B-O128S2 to GCU (sonic-net#4055) (6 weeks ago) [rick-arista]
* 9e9a65b - Issue sonic-net#22420: Modify 'config route add' command not to include empty elements (sonic-net#12) (sonic-net#3862) (7 weeks ago) [Anders Linn]
* 0edb592 - Mux cable show config command Added prober_type and fixed one format (sonic-net#4013) (7 weeks ago) [harjotsinghpawra]
* 2657ee3 - Fixed cli command for ECN config on voq switch to set the WRED_PROFILE for all Voqs (sonic-net#4029) (7 weeks ago) [saksarav-nokia]
* d1c9d1a - [show][config] Add CLI support for configurable drop monitor feature (sonic-net#3756) (7 weeks ago) [HP]
* 7baa75b - [spm] Rename entry tag variable to docker_image_reference (sonic-net#4019) (8 weeks ago) [DavidZagury]
* 63364a3 - Add BlockingMode for Reboot script (sonic-net#3958) (8 weeks ago) [Litao Yu]
* ee8113f - Support for platforms based on Clounix net device (sonic-net#3970) (8 weeks ago) [LongWuuu]
* f53a5c1 - [config show]BGP Suppress fib pending config and display for multi-asic (sonic-net#3948) (8 weeks ago) [vganesan-nokia]
* b3de0af - Add Arista 7800 platforms to GCU validator (sonic-net#4038) (9 weeks ago) [Xincun Li]
* 13a0cb2 - Add check_pfc_storm_active() to fast-reboot script (sonic-net#3969) (9 weeks ago) [Dawei Huang]
* f45d896 - [smartswitch] Update get_gnmi_port() based on smartswitch config updates (sonic-net#4041) (9 weeks ago) [Vasundhara Volam]
* ea33ef3 - [nvidia-bluefield] Add CLI for packet-drop and config-record (sonic-net#4002) (9 weeks ago) [Vivek]
* ffc891d - [dhcp_server] Add CLI sample for dhcp_server (sonic-net#4033) (10 weeks ago) [Yaqiang Zhu]
* 1e9d04c - Update doc to including dhcp_server ipv4 counter related CLI (sonic-net#4028) (2 months ago) [Yaqiang Zhu]
* 19594b9 - Fix show int transceiver EEPROM crash for for Backplane cartridge + enhance EEPROM CLI output (sonic-net#4020) (2 months ago) [mihirpat1]
* 0f8ac9b - Added MAX pre-fec_ber for FEC counter (sonic-net#4027) (2 months ago) [Prince George]
* 732dc09 - Added json support for show platform temperature (sonic-net#3874) (2 months ago) [Vinod Kumar]
* bacff45 - Add Arista 7800 platforms to GCU validator (sonic-net#4030) (2 months ago) [Xincun Li]
* c63e9ea - [trim]: Add Packet Trimming Drop Counters CLI (sonic-net#3993) (3 months ago) [Nazarii Hnydyn]
* 50df9ea - Adapt 'show muxcable tunnel-route' for prefix route based mux neighbors (sonic-net#4007) (3 months ago) [manamand2020]
* 868189c - Pr json support queue and priority-group watermark and persistent-watermark (sonic-net#3875) (3 months ago) [Vinod Kumar]
* 5347757 - Revert "[SPM] Rename the variable tag to docker-image-reference (sonic-net#3998)" (sonic-net#4024) (3 months ago) [Jianquan Ye]
* 1418f21 - Added json support intfutil (sonic-net#3906) (3 months ago) [Vinod Kumar]
* ec01962 - sfputil and sfpshow eeprom and DOM CLI enhancement to display data for all CMIS transceivers (sonic-net#4010) (3 months ago) [mihirpat1]
* c0838d7 - CLI for Configuring PFC Historical Statistics (sonic-net#3779) (3 months ago) [Peter Bailey]
* d623c25 - [Mellanox][Smartswitch]Added dpu status output to dump (sonic-net#3959) (3 months ago) [Gagan Punathil Ellath]
* a3101ea - Fix for sonic-net#23205 [Smartswitch] Issues caused due to introduction of the chassisd/sonic-utiltiies changes for consecutive admin state changes (sonic-net#3984) (3 months ago) [rameshraghupathy]
* d3bc688 - CLI addition for PFC counters --history (sonic-net#3778) (3 months ago) [Peter Bailey]
* 3282ab3 - DOM for flat memory transceiver modules (sonic-net#3950) (3 months ago) [Ariz Zubair]
* 6f1a794 - Add queuestat changes for aggregate VOQ counters (sonic-net#3617) (3 months ago) [Vivek Verma]
* d86b2b6 - g[sfputil debug] Fix issue: do not check output status when CMIS version is lower than 5.0 (sonic-net#3938) (3 months ago) [Junchao-Mellanox]
* 252a643 - [SPM] Rename the variable tag to docker-image-reference (sonic-net#3998) (3 months ago) [DavidZagury]
```
#### How I did it
#### How to verify it
#### Description for the changelog

Signed-off-by: Feng Pan <fenpan@microsoft.com>
rustiqly added a commit to rustiqly/sonic-buildimage that referenced this pull request Mar 4, 2026
- Use free -m with division instead of free -g to avoid rounding (#1)
- Add = and ?= to Makefile dependency regex patterns (sonic-net#2, sonic-net#7)
- CPU calculation now uses /proc/stat delta (two reads) (sonic-net#3, sonic-net#14)
- Fix misleading 'critical path estimate' comment (sonic-net#4)
- Fix parallelism timeline comment (60s not 10s) (sonic-net#5)
- Include after-relationship packages in fan stats (sonic-net#6)
- Guard disk I/O division by zero when INTERVAL<=1 (sonic-net#8)
- Remove unused elapsed_line variable (sonic-net#9)
- Remove redundant LIBSWSSCOMMON_DBG check (sonic-net#10)
- Remove active_make_jobs from CSV header comment (sonic-net#11)
- Wire up _RDEPENDS parsing to build reverse deps (sonic-net#12)
- Remove unnecessary 'if v' filter on rdeps JSON (sonic-net#13)
- Remove unused REPORT_FORMAT parameter (sonic-net#15)
- Add cycle detection to critical path algorithm (sonic-net#16)
- Add execute permission check for companion scripts (sonic-net#17)

Signed-off-by: Rustiqly <rustiqly@users.noreply.github.com>
lihuay pushed a commit that referenced this pull request Mar 5, 2026
* [build] Add build timing report and dependency analysis tools

Add three scripts for build performance instrumentation:

- scripts/build-timing-report.sh: Parse per-package timing from build
  logs (HEADER/FOOTER timestamps), generate sorted duration table,
  phase breakdown, parallelism timeline, and CSV export.

- scripts/build-dep-graph.py: Parse rules/*.mk dependency graph,
  compute critical path, fan-out/fan-in bottleneck analysis, and
  generate DOT/JSON output for visualization.

- scripts/build-resource-monitor.sh: Sample CPU, memory, disk I/O,
  and Docker container count during builds for resource utilization
  analysis.

Add "make build-report" target to slave.mk that runs the timing
report and dependency analysis after a build completes.

Example output from a VS build on 24-core/30GB machine:
- 210 packages built in 53m wall time (173m CPU)
- Max concurrency: 5 (with SONIC_CONFIG_BUILD_JOBS=4)
- Critical path: 14 packages deep (libnl -> libswsscommon -> utilities)
- Top bottleneck: LIBSWSSCOMMON with 48 downstream dependents

Signed-off-by: Rustiqly <rustiqly@users.noreply.github.com>

* Address Copilot review: fix 17 bugs in build analysis scripts

- Use free -m with division instead of free -g to avoid rounding (#1)
- Add = and ?= to Makefile dependency regex patterns (#2, #7)
- CPU calculation now uses /proc/stat delta (two reads) (#3, #14)
- Fix misleading 'critical path estimate' comment (#4)
- Fix parallelism timeline comment (60s not 10s) (#5)
- Include after-relationship packages in fan stats (#6)
- Guard disk I/O division by zero when INTERVAL<=1 (#8)
- Remove unused elapsed_line variable (#9)
- Remove redundant LIBSWSSCOMMON_DBG check (#10)
- Remove active_make_jobs from CSV header comment (#11)
- Wire up _RDEPENDS parsing to build reverse deps (#12)
- Remove unnecessary 'if v' filter on rdeps JSON (#13)
- Remove unused REPORT_FORMAT parameter (#15)
- Add cycle detection to critical path algorithm (#16)
- Add execute permission check for companion scripts (#17)

Signed-off-by: Rustiqly <rustiqly@users.noreply.github.com>

---------

Signed-off-by: Rustiqly <rustiqly@users.noreply.github.com>
Co-authored-by: Rustiqly <rustiqly@users.noreply.github.com>
rustiqly added a commit to rustiqly/sonic-buildimage that referenced this pull request Mar 5, 2026
- Use free -m with division instead of free -g to avoid rounding (#1)
- Add = and ?= to Makefile dependency regex patterns (sonic-net#2, sonic-net#7)
- CPU calculation now uses /proc/stat delta (two reads) (sonic-net#3, sonic-net#14)
- Fix misleading 'critical path estimate' comment (sonic-net#4)
- Fix parallelism timeline comment (60s not 10s) (sonic-net#5)
- Include after-relationship packages in fan stats (sonic-net#6)
- Guard disk I/O division by zero when INTERVAL<=1 (sonic-net#8)
- Remove unused elapsed_line variable (sonic-net#9)
- Remove redundant LIBSWSSCOMMON_DBG check (sonic-net#10)
- Remove active_make_jobs from CSV header comment (sonic-net#11)
- Wire up _RDEPENDS parsing to build reverse deps (sonic-net#12)
- Remove unnecessary 'if v' filter on rdeps JSON (sonic-net#13)
- Remove unused REPORT_FORMAT parameter (sonic-net#15)
- Add cycle detection to critical path algorithm (sonic-net#16)
- Add execute permission check for companion scripts (sonic-net#17)

Signed-off-by: Rustiqly <rustiqly@users.noreply.github.com>
FengPan-Frank pushed a commit to FengPan-Frank/sonic-buildimage that referenced this pull request Mar 6, 2026
…net#25643)

* [build] Add build timing report and dependency analysis tools

Add three scripts for build performance instrumentation:

- scripts/build-timing-report.sh: Parse per-package timing from build
  logs (HEADER/FOOTER timestamps), generate sorted duration table,
  phase breakdown, parallelism timeline, and CSV export.

- scripts/build-dep-graph.py: Parse rules/*.mk dependency graph,
  compute critical path, fan-out/fan-in bottleneck analysis, and
  generate DOT/JSON output for visualization.

- scripts/build-resource-monitor.sh: Sample CPU, memory, disk I/O,
  and Docker container count during builds for resource utilization
  analysis.

Add "make build-report" target to slave.mk that runs the timing
report and dependency analysis after a build completes.

Example output from a VS build on 24-core/30GB machine:
- 210 packages built in 53m wall time (173m CPU)
- Max concurrency: 5 (with SONIC_CONFIG_BUILD_JOBS=4)
- Critical path: 14 packages deep (libnl -> libswsscommon -> utilities)
- Top bottleneck: LIBSWSSCOMMON with 48 downstream dependents

Signed-off-by: Rustiqly <rustiqly@users.noreply.github.com>

* Address Copilot review: fix 17 bugs in build analysis scripts

- Use free -m with division instead of free -g to avoid rounding (sonic-net#1)
- Add = and ?= to Makefile dependency regex patterns (sonic-net#2, sonic-net#7)
- CPU calculation now uses /proc/stat delta (two reads) (sonic-net#3, sonic-net#14)
- Fix misleading 'critical path estimate' comment (sonic-net#4)
- Fix parallelism timeline comment (60s not 10s) (sonic-net#5)
- Include after-relationship packages in fan stats (sonic-net#6)
- Guard disk I/O division by zero when INTERVAL<=1 (sonic-net#8)
- Remove unused elapsed_line variable (sonic-net#9)
- Remove redundant LIBSWSSCOMMON_DBG check (sonic-net#10)
- Remove active_make_jobs from CSV header comment (sonic-net#11)
- Wire up _RDEPENDS parsing to build reverse deps (sonic-net#12)
- Remove unnecessary 'if v' filter on rdeps JSON (sonic-net#13)
- Remove unused REPORT_FORMAT parameter (sonic-net#15)
- Add cycle detection to critical path algorithm (sonic-net#16)
- Add execute permission check for companion scripts (sonic-net#17)

Signed-off-by: Rustiqly <rustiqly@users.noreply.github.com>

---------

Signed-off-by: Rustiqly <rustiqly@users.noreply.github.com>
Co-authored-by: Rustiqly <rustiqly@users.noreply.github.com>
Signed-off-by: Feng Pan <fenpan@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants