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

Remove depot_tools repo #16114

Merged

Conversation

saiarcot895
Copy link
Contributor

@saiarcot895 saiarcot895 commented Aug 11, 2023

Why I did it

It appears that this was initially added to provide the git-retry command (which doesn't appear to be used today). However, this repo is now also providing bazel (which is actually used in our build today), and this command (along with git-retry) expects some vpython3 binary to be set up/installed. The sonic-p4rt code runs bazel, which means this depot_tools version would get called instead of the regular system-installed version.

Rather than going through the process of setting up/installing vpython3, just get rid of this repo.

Fixes #16087.

Work item tracking
  • Microsoft ADO (number only): 25059424

How I did it

How to verify it

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

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211
  • 202305

Tested branch (Please provide the tested image version)

Description for the changelog

Link to config_db schema for YANG module changes

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

It appears that this was initially added to provide the git-retry
command (which doesn't appear to be used today). However, this repo is
now also providing bazel (which is actually used in our build today),
and this command (along with git-retry) expects some vpython3 binary to
be set up/installed.

Rather than going through that, just get rid of this repo.

Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
Copy link
Contributor

@liushilongbuaa liushilongbuaa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.
Root cause is code change in depot_tools repo.
Daily build succeeded because we pined repo HEAD:

https://chromium.googlesource.com/chromium/tools/depot_tools.git==d411904b84c0d9f539bbdc84e3d63f9f282c658b

@qiluo-msft qiluo-msft merged commit 5723ba2 into sonic-net:master Aug 16, 2023
10 checks passed
@saiarcot895 saiarcot895 deleted the remove-depot-tools-from-slave branch August 18, 2023 00:52
@jusherma
Copy link
Contributor

We're still seeing this issue on 202305. Can you please get this double committed? @qiluo-msft @lguohan

@StormLiangMS
Copy link
Contributor

@saiarcot895 do we have an ADO?

mssonicbld pushed a commit to mssonicbld/sonic-buildimage that referenced this pull request Sep 3, 2023
It appears that this was initially added to provide the git-retry
command (which doesn't appear to be used today). However, this repo is
now also providing bazel (which is actually used in our build today),
and this command (along with git-retry) expects some vpython3 binary to
be set up/installed.

Rather than going through that, just get rid of this repo.
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202305: #16408

mssonicbld pushed a commit that referenced this pull request Sep 3, 2023
It appears that this was initially added to provide the git-retry
command (which doesn't appear to be used today). However, this repo is
now also providing bazel (which is actually used in our build today),
and this command (along with git-retry) expects some vpython3 binary to
be set up/installed.

Rather than going through that, just get rid of this repo.
@saiarcot895
Copy link
Contributor Author

@StormLiangMS Updated PR description with the ADO number, and ADO for backport to 202305 is 25059425.

sonic-otn pushed a commit to sonic-otn/sonic-buildimage that referenced this pull request Sep 20, 2023
It appears that this was initially added to provide the git-retry
command (which doesn't appear to be used today). However, this repo is
now also providing bazel (which is actually used in our build today),
and this command (along with git-retry) expects some vpython3 binary to
be set up/installed.

Rather than going through that, just get rid of this repo.
fengkm pushed a commit to ufispace-dev/sonic-buildimage that referenced this pull request Apr 2, 2024
It appears that this was initially added to provide the git-retry
command (which doesn't appear to be used today). However, this repo is
now also providing bazel (which is actually used in our build today),
and this command (along with git-retry) expects some vpython3 binary to
be set up/installed.

Rather than going through that, just get rid of this repo.
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.

[202305] Build failure on latest 202305 in target sonic-p4rt_0.0.1_amd64.deb
6 participants