Issue metadata
Sign in to add a comment
|
git cl upload error |
||||||||||||||||||||||
Issue description
I started getting git upload errors when creating CLs in src yesterday and it is unclear how to debug it:
eyaich@snowshoe:~/projects/chromium/src$ git cl upload
Using 50% similarity for rename/copy detection. Override with --similarity.
Running presubmit upload checks ...
Traceback (most recent call last):
File "/usr/local/google/home/eyaich/depot_tools/git_cl.py", line 5403, in <module>
sys.exit(main(sys.argv[1:]))
File "/usr/local/google/home/eyaich/depot_tools/git_cl.py", line 5385, in main
return dispatcher.execute(OptionParser(), argv)
File "/usr/local/google/home/eyaich/depot_tools/subcommand.py", line 252, in execute
return command(parser, args[1:])
File "/usr/local/google/home/eyaich/depot_tools/git_cl.py", line 4210, in CMDupload
return cl.CMDUpload(options, args, orig_args)
File "/usr/local/google/home/eyaich/depot_tools/git_cl.py", line 1592, in CMDUpload
change=change)
File "/usr/local/google/home/eyaich/depot_tools/git_cl.py", line 1536, in RunHook
gerrit_obj=self._codereview_impl.GetGerritObjForPresubmit())
File "/usr/local/google/home/eyaich/depot_tools/presubmit_support.py", line 1403, in DoPresubmitChecks
results += executer.ExecPresubmitScript(presubmit_script, filename)
File "/usr/local/google/home/eyaich/depot_tools/presubmit_support.py", line 1313, in ExecPresubmitScript
result = eval(function_name + '(*__args)', context)
File "<string>", line 1, in <module>
File "<string>", line 2270, in CheckChangeOnUpload
File "<string>", line 2034, in _CommonChecks
AttributeError: 'module' object has no attribute 'CheckAuthorizedAuthor'
eyaich@snowshoe:~/projects/chromium/src$
,
Dec 7 2016
Michael, this seem related to what you've landed recently - snowballing :(
,
Dec 7 2016
Ah, wait, have you tried synchronizing your depot_tools? just run "$ gclient"
,
Dec 7 2016
Assigning to eyaich@chromium.org to sync depot_tools, and retry.
,
Dec 7 2016
,
Dec 7 2016
Yes that solved my problem. Thanks!
,
Jan 9 2017
I ran into this as well. I setup a new windows computer and had a conflict with "cipd" for some reason which prevented depot_tools from updating. Removing my local changes to cipd (git checkout -- cipd) then running gclient fixed the issue. |
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by martiniss@chromium.org
, Dec 7 2016Labels: Infra-DX
Owner: ----
Status: Available (was: Untriaged)