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

use docker --squash to build sonic dockers #272

Merged
merged 1 commit into from
Feb 7, 2017

Conversation

lguohan
Copy link
Collaborator

@lguohan lguohan commented Feb 7, 2017

No description provided.

@lguohan
Copy link
Collaborator Author

lguohan commented Feb 7, 2017

obselete #125

@lguohan
Copy link
Collaborator Author

lguohan commented Feb 7, 2017

admin@CCPSCH01026DDLF:~$ docker images
REPOSITORY                TAG                 IMAGE ID            CREATED             SIZE
docker-snmp-sv2           latest              802ae9693b55        38 minutes ago      365 MB
docker-fpm                latest              38b02aca042d        38 minutes ago      271.5 MB
docker-orchagent-brcm     latest              3808f89a4be3        38 minutes ago      269.2 MB
docker-teamd              latest              8c028adfd2ea        39 minutes ago      265.2 MB
docker-syncd-brcm         latest              b9d94c4e0c43        40 minutes ago      281.9 MB
docker-lldp-sv2           latest              8819eae3fef7        41 minutes ago      269.3 MB
docker-dhcp-relay         latest              9967acde9cc4        43 minutes ago      263.3 MB
docker-platform-monitor   latest              c4ec1100629d        43 minutes ago      285.7 MB
docker-database           latest              9b8bb9739063        45 minutes ago      215.6 MB
admin@CCPSCH01026DDLF:~$ docker history 802ae9693b55
IMAGE               CREATED             CREATED BY                                      SIZE                COMMENT
802ae9693b55        38 minutes ago                                                      171.9 MB            merge sha256:d6832357c9bc6b662a5d77ffb83be73428b46bed15449c724489bf18fcc873be to sha256:feaff5b36003b857677767f547f4654523652c2bb926e682ab93b9f205c03d73
<missing>           38 minutes ago      /bin/sh -c #(nop)  ENTRYPOINT ["/bin/sh" "-c"   0 B                 
<missing>           38 minutes ago      /bin/sh -c #(nop)  EXPOSE 161/udp 162/udp       0 B                 
<missing>           39 minutes ago      /bin/sh -c #(nop) COPY file:a1648f2ee02f01ff5   0 B                 
<missing>           39 minutes ago      /bin/sh -c #(nop) COPY file:38c260b9a2fde0eb6   0 B                 
<missing>           39 minutes ago      /bin/sh -c #(nop) COPY multi:95d7d6539990f69b   0 B                 
<missing>           40 minutes ago      /bin/sh -c #(nop) COPY file:f88411786439e9974   0 B                 
<missing>           40 minutes ago      /bin/sh -c apt-get -y install build-essential   0 B                 
<missing>           45 minutes ago      /bin/sh -c rm -rf /debs                         0 B                 
<missing>           46 minutes ago      /bin/sh -c dpkg -i debs/libnl-3-200_3.2.27-1_   0 B                 
<missing>           47 minutes ago      /bin/sh -c apt-get install -y python-lxml pyt   0 B                 
<missing>           47 minutes ago      /bin/sh -c apt-get update && apt-get install    0 B                 
<missing>           48 minutes ago      /bin/sh -c #(nop)  ENV PYTHONOPTIMIZE=1         0 B                 
<missing>           48 minutes ago      /bin/sh -c #(nop) COPY dir:495418f07118dd2809   0 B                 
<missing>           49 minutes ago      /bin/sh -c #(nop) COPY multi:e227dc517c817d62   0 B                 
<missing>           50 minutes ago                                                      70.12 MB            merge sha256:bb3fa6f533e1fa24566c50d88113ed3c2eb39e300c3bf7c561144ed7c08e9ccf to sha256:e5599115b6a67e08278d176b05a3defb30e5564f5be6d73264ec560b484514a2
<missing>           50 minutes ago      /bin/sh -c apt-get clean -y; apt-get autoclea   0 B                 
<missing>           50 minutes ago      /bin/sh -c apt-get -y purge                     0 B                 
<missing>           50 minutes ago      /bin/sh -c #(nop) COPY file:f6413f486620dc358   0 B                 
<missing>           50 minutes ago      /bin/sh -c apt-get -y install                   0 B                 
<missing>           51 minutes ago      /bin/sh -c apt-get clean && apt-get update      0 B                 
<missing>           51 minutes ago      /bin/sh -c #(nop) COPY file:6a852d6413ddd0cb9   0 B                 
<missing>           51 minutes ago      /bin/sh -c #(nop) COPY file:5f7531c45c2284be8   0 B                 
<missing>           51 minutes ago      /bin/sh -c rm -rf                               0 B                 
<missing>           51 minutes ago      /bin/sh -c while [ -n "$(find /usr/share/doc    0 B                 
<missing>           51 minutes ago      /bin/sh -c find /usr/share/doc -depth \( -typ   0 B                 
<missing>           3 weeks ago         /bin/sh -c #(nop)  CMD ["/bin/bash"]            0 B                 
<missing>           3 weeks ago         /bin/sh -c #(nop) ADD file:89ecb642d662ee7edb   123 MB              
admin@CCPSCH01026DDLF:~$ docker history 38b02aca042d
IMAGE               CREATED             CREATED BY                                      SIZE                COMMENT
38b02aca042d        39 minutes ago                                                      78.36 MB            merge sha256:59aaa1020e62043d5e0d926362701662691bd02258df32d657e8806701946874 to sha256:feaff5b36003b857677767f547f4654523652c2bb926e682ab93b9f205c03d73
<missing>           39 minutes ago      /bin/sh -c #(nop)  ENTRYPOINT ["/bin/sh" "-c"   0 B                 
<missing>           39 minutes ago      /bin/sh -c #(nop) COPY file:90fbabf241baf0453   0 B                 
<missing>           40 minutes ago      /bin/sh -c #(nop) COPY multi:1c88d2c6315fd87b   0 B                 
<missing>           40 minutes ago      /bin/sh -c #(nop) COPY multi:e8d161a25a5480b3   0 B                 
<missing>           41 minutes ago      /bin/sh -c rm -rf /debs                         0 B                 
<missing>           41 minutes ago      /bin/sh -c apt-get clean -y; apt-get autoclea   0 B                 
<missing>           42 minutes ago      /bin/sh -c dpkg -i debs/libnl-route-3-200_3.2   0 B                 
<missing>           42 minutes ago      /bin/sh -c #(nop) COPY multi:668579d3325f897d   0 B                 
<missing>           43 minutes ago      /bin/sh -c apt-get install -y python-lxml pyt   0 B                 
<missing>           44 minutes ago      /bin/sh -c apt-get install -y libdbus-1-3 lib   0 B                 
<missing>           44 minutes ago      /bin/sh -c apt-get update                       0 B                 
<missing>           50 minutes ago                                                      70.12 MB            merge sha256:bb3fa6f533e1fa24566c50d88113ed3c2eb39e300c3bf7c561144ed7c08e9ccf to sha256:e5599115b6a67e08278d176b05a3defb30e5564f5be6d73264ec560b484514a2
<missing>           50 minutes ago      /bin/sh -c apt-get clean -y; apt-get autoclea   0 B                 
<missing>           50 minutes ago      /bin/sh -c apt-get -y purge                     0 B                 
<missing>           50 minutes ago      /bin/sh -c #(nop) COPY file:f6413f486620dc358   0 B                 
<missing>           51 minutes ago      /bin/sh -c apt-get -y install                   0 B                 
<missing>           51 minutes ago      /bin/sh -c apt-get clean && apt-get update      0 B                 
<missing>           51 minutes ago      /bin/sh -c #(nop) COPY file:6a852d6413ddd0cb9   0 B                 
<missing>           51 minutes ago      /bin/sh -c #(nop) COPY file:5f7531c45c2284be8   0 B                 
<missing>           51 minutes ago      /bin/sh -c rm -rf                               0 B                 
<missing>           52 minutes ago      /bin/sh -c while [ -n "$(find /usr/share/doc    0 B                 
<missing>           52 minutes ago      /bin/sh -c find /usr/share/doc -depth \( -typ   0 B                 
<missing>           3 weeks ago         /bin/sh -c #(nop)  CMD ["/bin/bash"]            0 B                 
<missing>           3 weeks ago         /bin/sh -c #(nop) ADD file:89ecb642d662ee7edb   123 MB              

@lguohan
Copy link
Collaborator Author

lguohan commented Feb 7, 2017

build fails because we need to upgrade the docker first.

@lguohan lguohan merged commit 8b5d05e into sonic-net:master Feb 7, 2017
@lguohan lguohan deleted the docker13 branch January 14, 2018 08:58
stcheng pushed a commit to stcheng/sonic-buildimage that referenced this pull request May 17, 2019
Add schema for buffer pool: COUNTER_ID_LIST, PLUGIN_LIST, and COUNTERS NAME_MAP (sonic-net#272)
[schema]: Add STATE_MIRROR_SESSION_TABLE_NAME (sonic-net#278)
[schema]: Add POLICER configuration table (sonic-net#277)
[schema]: Add SWITCH_CAPABILITY_TABLE (sonic-net#276)

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
lguohan pushed a commit that referenced this pull request May 18, 2019
Add schema for buffer pool: COUNTER_ID_LIST, PLUGIN_LIST, and COUNTERS NAME_MAP (#272)
[schema]: Add STATE_MIRROR_SESSION_TABLE_NAME (#278)
[schema]: Add POLICER configuration table (#277)
[schema]: Add SWITCH_CAPABILITY_TABLE (#276)

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
MichelMoriniaux pushed a commit to criteo-forks/sonic-buildimage that referenced this pull request May 28, 2019
Add schema for buffer pool: COUNTER_ID_LIST, PLUGIN_LIST, and COUNTERS NAME_MAP (sonic-net#272)
[schema]: Add STATE_MIRROR_SESSION_TABLE_NAME (sonic-net#278)
[schema]: Add POLICER configuration table (sonic-net#277)
[schema]: Add SWITCH_CAPABILITY_TABLE (sonic-net#276)

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
Kalimuthu-Velappan pushed a commit to Kalimuthu-Velappan/sonic-buildimage that referenced this pull request Sep 12, 2019
…t#272)

* Improve generate_dump script

Add additional debugging information to the generate_dump script
including
-usb and pci devices
-transceiver status and eeprom data
-interface status and counters
-asic data
-Arista specific info

* Improve generate_dump script

Add additional debugging information to the generate_dump script
including
-usb and pci devices
-transceiver status and eeprom data
-interface status and counters
-asic data
-Arista specific info
madhanmellanox pushed a commit to madhanmellanox/sonic-buildimage that referenced this pull request Mar 23, 2020
sg893052 pushed a commit to sg893052/sonic-buildimage that referenced this pull request Apr 25, 2022
…d_scaling_enhancements/L3_Vlan_interface_scaling.md

Updated TD3 platform peer gw scale value
zjswhhh pushed a commit to vdahiya12/sonic-buildimage that referenced this pull request May 9, 2022
Following commits will be added

8bfe9c0 (HEAD -> 202012, origin/202012) [Credo][Ycable] improve logging
for Server Powered off/Faulty cables (sonic-net#272)

Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>
vdahiya12 added a commit to vdahiya12/sonic-buildimage that referenced this pull request May 27, 2022
update

Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>

This PR adds the following commits are added in sonic-platform-common
ac25515 (HEAD -> 202012, origin/202012) [Credo][Ycable] changes for
synchronizing executing Telemetry API's when mux toggle is inprogress
(sonic-net#280)
fb304c1 [sonic_ssd] Nokia-7215: "show platform ssdhealth" not showing
health percent (sonic-net#279)
8bfe9c0 [Credo][Ycable] improve logging for Server Powered off/Faulty
cables (sonic-net#272)

The following commits are added in sonic-platform-daemons
6695c55 (HEAD -> 202012, origin/202012) [ycabled] fix the posting for
mux_cable_static_info per downlink when ycabled is spawned;
synchronizing executing Telemetry API (sonic-net#257)
6a315ae (HEAD -> 202012, origin/202012) [ycabled] Fix some syntax
warnings in ycabled (sonic-net#263)
vdahiya12 added a commit that referenced this pull request May 31, 2022
…0938)


Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>

This PR adds the following commits are added in sonic-platform-common
ac25515 (HEAD -> 202012, origin/202012) [Credo][Ycable] changes for
synchronizing executing Telemetry API's when mux toggle is inprogress
(#280)
fb304c1 [sonic_ssd] Nokia-7215: "show platform ssdhealth" not showing
health percent (#279)
8bfe9c0 [Credo][Ycable] improve logging for Server Powered off/Faulty
cables (#272)

The following commits are added in sonic-platform-daemons
6695c55 (HEAD -> 202012, origin/202012) [ycabled] fix the posting for
mux_cable_static_info per downlink when ycabled is spawned;
synchronizing executing Telemetry API (#257)
6a315ae (HEAD -> 202012, origin/202012) [ycabled] Fix some syntax
warnings in ycabled (#263)
vdahiya12 added a commit to vdahiya12/sonic-buildimage that referenced this pull request May 31, 2022
vdahiya@vdahiya-dev3:~/sonic-buildimage8/sonic-buildimage/src/sonic-platform-daemons$
git log --oneline 9ac12bf..master
0d90023 (HEAD -> master, origin/master, origin/HEAD, origin/202205) grpc
client implementation for active-active dualtor (sonic-net#248)
6b8bf69 [ycabled] Fix some syntax warnings in ycabled (sonic-net#263)
2bcf936 [ycabled] fix the posting for mux_cable_static_info per downlink
when ycabled is spawned; synchronizing executing Telemetry API (sonic-net#257)
ce217c0 Include changes from xcvr_api in transceiver_info table (sonic-net#253)
e0f8a35 Fix checkReplyType failed issue via recreating xcvr_table_helper
on forking subprocess (sonic-net#255)

f575a40 (origin/master, origin/HEAD, origin/202205, master)
[Credo][Ycable] changes for synchronizing executing Telemetry API's when
mux toggle is inprogress (sonic-net#280)
b043372 [sonic_ssd] Nokia-7215: "show platform ssdhealth" not showing
health percent (sonic-net#279)
d62d3d6 [CMIS]Fix low-power to high power mode transition (sonic-net#268)
f918125 [syseeprom] Enable display of vendor extension TLV content
(sonic-net#270)
4e08440 [Credo][Ycable] improve logging for Server Powered off/Faulty
cables (sonic-net#272)

Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>
yxieca added a commit to yxieca/sonic-buildimage that referenced this pull request Jun 2, 2022
linkmgrd:
* 3c2b546 2022-05-31 | Add default route support to `active-active` state machine (sonic-net#78) (github/202205, master, 202205) [Jing Zhang]
* 6fa892e 2022-05-27 | Degrade `LinkProberStateMachineBase` virtual function logging level (sonic-net#80) [Longxiang Lyu]
* 7b695ca 2022-05-27 | Fix mux wait timer and peer mux wait timer (sonic-net#81) [Longxiang Lyu]

platform-daemons:
* 0d90023 2022-05-31 | grpc client implementation for active-active dualtor (sonic-net#248) (github/master, github/202205, master, 202205) [vdahiya12]
* 6b8bf69 2022-05-27 | [ycabled] Fix some syntax warnings in ycabled (sonic-net#263) [vdahiya12]
* 2bcf936 2022-05-24 | [ycabled] fix the posting for mux_cable_static_info per downlink when ycabled is spawned; synchronizing executing Telemetry API (sonic-net#257) [vdahiya12]
* ce217c0 2022-04-25 | Include changes from xcvr_api in transceiver_info table (sonic-net#253) [qinchuanares]
* e0f8a35 2022-04-22 | Fix checkReplyType failed issue via recreating xcvr_table_helper on forking subprocess (sonic-net#255) [Stephen Sun]

platform-common:
* f575a40 2022-05-24 | [Credo][Ycable] changes for synchronizing executing Telemetry API's when mux toggle is inprogress (sonic-net#280) (github/202205, master, 202205) [vdahiya12]
* b043372 2022-05-11 | [sonic_ssd] Nokia-7215: "show platform ssdhealth" not showing health percent (sonic-net#279) [bill-nokia]
* d62d3d6 2022-05-04 | [CMIS]Fix low-power to high power mode transition (sonic-net#268) [Prince George]
* f918125 2022-05-02 | [syseeprom] Enable display of vendor extension TLV content (sonic-net#270) [dflynn-Nokia]
* 4e08440 2022-04-14 | [Credo][Ycable] improve logging for Server Powered off/Faulty cables (sonic-net#272) [vdahiya12]

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
yxieca added a commit that referenced this pull request Jun 2, 2022
linkmgrd:
* 3c2b546 2022-05-31 | Add default route support to `active-active` state machine (#78) (github/202205, master, 202205) [Jing Zhang]
* 6fa892e 2022-05-27 | Degrade `LinkProberStateMachineBase` virtual function logging level (#80) [Longxiang Lyu]
* 7b695ca 2022-05-27 | Fix mux wait timer and peer mux wait timer (#81) [Longxiang Lyu]

platform-daemons:
* 0d90023 2022-05-31 | grpc client implementation for active-active dualtor (#248) (github/master, github/202205, master, 202205) [vdahiya12]
* 6b8bf69 2022-05-27 | [ycabled] Fix some syntax warnings in ycabled (#263) [vdahiya12]
* 2bcf936 2022-05-24 | [ycabled] fix the posting for mux_cable_static_info per downlink when ycabled is spawned; synchronizing executing Telemetry API (#257) [vdahiya12]
* ce217c0 2022-04-25 | Include changes from xcvr_api in transceiver_info table (#253) [qinchuanares]
* e0f8a35 2022-04-22 | Fix checkReplyType failed issue via recreating xcvr_table_helper on forking subprocess (#255) [Stephen Sun]

platform-common:
* f575a40 2022-05-24 | [Credo][Ycable] changes for synchronizing executing Telemetry API's when mux toggle is inprogress (#280) (github/202205, master, 202205) [vdahiya12]
* b043372 2022-05-11 | [sonic_ssd] Nokia-7215: "show platform ssdhealth" not showing health percent (#279) [bill-nokia]
* d62d3d6 2022-05-04 | [CMIS]Fix low-power to high power mode transition (#268) [Prince George]
* f918125 2022-05-02 | [syseeprom] Enable display of vendor extension TLV content (#270) [dflynn-Nokia]
* 4e08440 2022-04-14 | [Credo][Ycable] improve logging for Server Powered off/Faulty cables (#272) [vdahiya12]

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
yxieca pushed a commit that referenced this pull request Jun 4, 2022
…ove python2 sonic-platform-common wheel (#10994)

* [sonic-platform-common][sonic-platform-daemons] submodule update

vdahiya@vdahiya-dev3:~/sonic-buildimage8/sonic-buildimage/src/sonic-platform-daemons$
git log --oneline 9ac12bf..master
0d90023 (HEAD -> master, origin/master, origin/HEAD, origin/202205) grpc
client implementation for active-active dualtor (#248)
6b8bf69 [ycabled] Fix some syntax warnings in ycabled (#263)
2bcf936 [ycabled] fix the posting for mux_cable_static_info per downlink
when ycabled is spawned; synchronizing executing Telemetry API (#257)
ce217c0 Include changes from xcvr_api in transceiver_info table (#253)
e0f8a35 Fix checkReplyType failed issue via recreating xcvr_table_helper
on forking subprocess (#255)

f575a40 (origin/master, origin/HEAD, origin/202205, master)
[Credo][Ycable] changes for synchronizing executing Telemetry API's when
mux toggle is inprogress (#280)
b043372 [sonic_ssd] Nokia-7215: "show platform ssdhealth" not showing
health percent (#279)
d62d3d6 [CMIS]Fix low-power to high power mode transition (#268)
f918125 [syseeprom] Enable display of vendor extension TLV content
(#270)
4e08440 [Credo][Ycable] improve logging for Server Powered off/Faulty
cables (#272)

Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>

* remove python2 wheel for sonic-platform-common

Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>

* remove python2 platform_common definitions

Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>
qiluo-msft pushed a commit that referenced this pull request Nov 16, 2022
#### Why I did it

Update sonic-snmpagent ubmodule pointer to include the following:

* bf6cd4c Remove error logging on "failed in fdb_vlanmac" ([#272](sonic-net/sonic-snmpagent#272))
* 05f2a28 Remove LOGLEVEL DB since is no longer used ([#271](sonic-net/sonic-snmpagent#271))
* 06299e1 Don't cache the vlan-id if it is not valid from DB ([#273](sonic-net/sonic-snmpagent#273))
* 8a515f2 Install libyang to azure pipeline ([#268](sonic-net/sonic-snmpagent#268))

#### How I did it

Advance sonic-snmpagent pointer
richardyu-ms pushed a commit to richardyu-ms/sonic-buildimage that referenced this pull request Nov 18, 2022
#### Why I did it

Update sonic-snmpagent ubmodule pointer to include the following:

* bf6cd4c Remove error logging on "failed in fdb_vlanmac" ([sonic-net#272](sonic-net/sonic-snmpagent#272))
* 05f2a28 Remove LOGLEVEL DB since is no longer used ([sonic-net#271](sonic-net/sonic-snmpagent#271))
* 06299e1 Don't cache the vlan-id if it is not valid from DB ([sonic-net#273](sonic-net/sonic-snmpagent#273))
* 8a515f2 Install libyang to azure pipeline ([sonic-net#268](sonic-net/sonic-snmpagent#268))

#### How I did it

Advance sonic-snmpagent pointer
qiluo-msft added a commit that referenced this pull request Nov 18, 2022
#### Why I did it
Include below commits
```
00b4dc0 2022-11-14 | Remove error logging on "failed in fdb_vlanmac" (#272) [Qi Luo]
792afe8 2022-11-14 | Don't cache the vlan-id if it is not valid from DB (#273) [zhenggen-xu]
```
snider-nokia pushed a commit to snider-nokia/sonic-buildimage that referenced this pull request Apr 6, 2023
…onic-net#272)

Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>

Signed-off-by: vaibhav-dahiya vdahiya@microsoft.com
Cable could be powered off during which the i2c to the NIC MCU would not be able to respond with which side is active.
For such cases the log needs to be improved.
In case the cable is powered correctly but still the cable is not able to get the actve side, that would mean a faulty cable.
Added/improved the appropriate logs

Description
Motivation and Context
How Has This Been Tested?
Improved logs only
Additional Information (Optional)
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.

1 participant