-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[build_debuian]: Fix issue #267 (docker connect failure). #365
Conversation
@@ -37,7 +37,6 @@ trap_push clean_sys | |||
sudo LANG=C chroot $FILESYSTEM_ROOT mount sysfs /sys -t sysfs | |||
|
|||
sudo chroot $FILESYSTEM_ROOT service docker start | |||
sudo chroot $FILESYSTEM_ROOT docker version |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you provide explaination?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Docker version command gets information from docker engine via socket. Service runs docker engine but it doesn't wait until docker engine will be fully initialized. In some cases docker version command was run before docker was fully initialized. Actually we don't need in a build time information that docker version command returns so I just removed execution of this command.
I've run build of sonic-mellanox.bin target for 50 times with this patch and issue wasn't reproduced.
can you put this explanation in the commit comment? |
done |
actually, the commit comment doesn't contain the explanation. |
[fast-reboot]: Use pkill instead of killall
Signed-off-by: Jipan Yang <jipan.yang@alibaba-inc.com>
… automatically (#14945) src/sonic-platform-common * c97af3c - (HEAD -> 202205, origin/202205) Modify sfputil show fwversion to include build version for active/inactive FW version fields (#367) (2 days ago) [mihirpat1] * 7705a20 - Adding electrical for 800G and 100G (#365) (2 days ago) [mihirpat1] * d0038fc - SFF-8472: Fix tx_disable_channel to avoid write to read-only bit (#364) (2 days ago) [mihirpat1] * 518a471 - fix get module hardware minor revision (#361) (2 days ago) [Qingxiao Ren]
… automatically (#16332) #### Why I did it src/sonic-platform-common ``` * 05cf5c1 - (HEAD -> 202211, origin/202211) Change Y cable simulator log level from error to warning due to false alarm (11 hours ago) [ShiyanWangMS] * 35ea290 - Update CMIS api's rendering max-duration (#375) (11 hours ago) [rajann] * 33bd498 - Retrieve FW version using CDB command for CMIS transceivers + handle single bank FW versioning (#372) (11 hours ago) [mihirpat1] * 2434362 - Render Media lane and Media assignment options info from Application Code (#368) (11 hours ago) [rajann] * 862674b - Modify sfputil show fwversion to include build version for active/inactive FW version fields (#367) (11 hours ago) [mihirpat1] * 8edfece - Adding electrical for 800G and 100G (#365) (11 hours ago) [mihirpat1] * 8a1debf - SFF-8472: Fix tx_disable_channel to avoid write to read-only bit (#364) (11 hours ago) [mihirpat1] * 223a231 - Update host electrical interface for 2x400G breakout cable (#363) (11 hours ago) [mihirpat1] * baabd8f - fix get module hardware minor revision (#361) (11 hours ago) [Qingxiao Ren] * 2ebabf5 - Prevent VDM dictionary related KeyError when a transceiver module is pulled while a bulk get method is interrogating said module (#360) (11 hours ago) [snider-nokia] * 1498ed6 - [CMIS] Add API to get module power up duration (#354) (11 hours ago) [ChiouRung Haung] * 1cae718 - Modify get_host_lane_assignment_option to return value based on application id (#352) (11 hours ago) [mihirpat1] ``` #### How I did it #### How to verify it #### Description for the changelog
Docker version command gets information from docker engine via socket. Service runs docker engine but it doesn't wait until it will be fully initialized. In some cases docker version command was run before docker engine socket was initialized (it depends on system load). Information returned by docker version command is not needed in compile time so it is removed.