sonic-buildimage icon indicating copy to clipboard operation
sonic-buildimage copied to clipboard

[build] Add retry to avoid network issues.

Open liushilongbuaa opened this issue 3 years ago • 2 comments

Why I did it

Makefile needs some dependencies from the Internet. It will fail for network related issue. Retries will fix most of these issues.

How I did it

Add retries when running commands which maybe related with networking.

How to verify it

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

  • [ ] 201811
  • [ ] 201911
  • [ ] 202006
  • [ ] 202012
  • [ ] 202106
  • [ ] 202111
  • [ ] 202205

Description for 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

A picture of a cute animal (not mandatory but encouraged)

liushilongbuaa avatar Oct 09 '22 09:10 liushilongbuaa

/azp run Azure.sonic-buildimage

liushilongbuaa avatar Nov 13 '22 14:11 liushilongbuaa

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Nov 13 '22 14:11 azure-pipelines[bot]

/lgtm

liushilongbuaa avatar Dec 14 '22 06:12 liushilongbuaa

@liushilongbuaa PR conflicts with 202106 branch

mssonicbld avatar Dec 21 '22 02:12 mssonicbld

@liushilongbuaa PR conflicts with 202111 branch

mssonicbld avatar Dec 21 '22 02:12 mssonicbld

@liushilongbuaa PR conflicts with 202205 branch

mssonicbld avatar Dec 21 '22 02:12 mssonicbld

@liushilongbuaa PR conflicts with 202012 branch

mssonicbld avatar Dec 21 '22 02:12 mssonicbld

Cherry-pick PR to 202211: https://github.com/sonic-net/sonic-buildimage/pull/13122

mssonicbld avatar Dec 21 '22 02:12 mssonicbld