diff --git a/tools/run_tests/sanity/check_bazel_workspace.py b/tools/run_tests/sanity/check_bazel_workspace.py index 99252b717af..6a01e71a9e1 100755 --- a/tools/run_tests/sanity/check_bazel_workspace.py +++ b/tools/run_tests/sanity/check_bazel_workspace.py @@ -68,6 +68,7 @@ _GRPC_DEP_NAMES = [ ] _GRPC_BAZEL_ONLY_DEPS = [ + 'upb', # third_party/upb is checked in locally 'rules_cc', 'com_google_absl', 'io_opencensus_cpp', @@ -170,6 +171,11 @@ if len(workspace_git_hashes - git_submodule_hashes) > 0: print( "Found discrepancies between git submodules and Bazel WORKSPACE dependencies" ) + print("workspace_git_hashes: %s" % workspace_git_hashes) + print("git_submodule_hashes: %s" % git_submodule_hashes) + print("workspace_git_hashes - git_submodule_hashes: %s" % + (workspace_git_hashes - git_submodule_hashes)) + sys.exit(1) # Also check that we can override each dependency for name in _GRPC_DEP_NAMES: