Skip to content

[build] Add retry when make SONiC image to improve success rate. (#12325)#13129

Merged
xumia merged 1 commit intosonic-net:202111from
liushilongbuaa:202111-retry
Dec 23, 2022
Merged

[build] Add retry when make SONiC image to improve success rate. (#12325)#13129
xumia merged 1 commit intosonic-net:202111from
liushilongbuaa:202111-retry

Conversation

@liushilongbuaa
Copy link
Contributor

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
  • 202211

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)

…ic-net#12325)

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
@xumia
Copy link
Collaborator

xumia commented Dec 21, 2022

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@xumia xumia merged commit e858dc0 into sonic-net:202111 Dec 23, 2022
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