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

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

Merged
merged 9 commits into from
Dec 19, 2022

Conversation

liushilongbuaa
Copy link
Contributor

@liushilongbuaa liushilongbuaa commented Oct 9, 2022

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 liushilongbuaa force-pushed the fix-network-issue branch 2 times, most recently from 6e55580 to 7390760 Compare October 10, 2022 07:04
@liushilongbuaa liushilongbuaa marked this pull request as ready for review October 10, 2022 07:24
@liushilongbuaa
Copy link
Contributor Author

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

slave.mk Outdated Show resolved Hide resolved
Makefile.work Outdated Show resolved Hide resolved
scripts/run_with_retry Outdated Show resolved Hide resolved
@liushilongbuaa
Copy link
Contributor Author

/lgtm

@mssonicbld
Copy link
Collaborator

@liushilongbuaa PR conflicts with 202205 branch

mssonicbld pushed a commit to mssonicbld/sonic-buildimage that referenced this pull request Dec 21, 2022
…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
@mssonicbld
Copy link
Collaborator

@liushilongbuaa PR conflicts with 202012 branch

@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202211: #13122

liushilongbuaa added a commit to liushilongbuaa/sonic-buildimage that referenced this pull request Dec 21, 2022
…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
liushilongbuaa added a commit to liushilongbuaa/sonic-buildimage that referenced this pull request Dec 21, 2022
…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
liushilongbuaa added a commit to liushilongbuaa/sonic-buildimage that referenced this pull request Dec 21, 2022
…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
liushilongbuaa added a commit to liushilongbuaa/sonic-buildimage that referenced this pull request Dec 21, 2022
…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
mssonicbld pushed a commit that referenced this pull request Dec 21, 2022
)

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 pushed a commit that referenced this pull request Dec 23, 2022
) (#13128)

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 pushed a commit that referenced this pull request Dec 23, 2022
) (#13129)

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 pushed a commit that referenced this pull request Dec 23, 2022
) (#13131)

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 pushed a commit that referenced this pull request Dec 23, 2022
) (#13132)

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants