New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 672050 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Dec 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug-Regression



Sign in to add a comment

git cl upload error

Project Member Reported by eyaich@chromium.org, Dec 7 2016

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$
 
Cc: aga...@chromium.org andyb...@chromium.org tandrii@chromium.org
Labels: Infra-DX
Owner: ----
Status: Available (was: Untriaged)
cc-ing agable, although he's been on and off this week :/

Andy, who else knows about git cl stuff?

Also tandrii, do you know anything about this?
Cc: machenb...@chromium.org
Michael, this seem related to what you've landed recently - snowballing :(
Ah, wait, have you tried synchronizing your depot_tools? just run "$ gclient"
Owner: eyaich@chromium.org
Status: Assigned (was: Available)
Assigning to eyaich@chromium.org to sync depot_tools, and retry.
Components: -Infra>Client>Perf Infra>SDK
Status: Fixed (was: Assigned)
Yes that solved my problem.  Thanks!

Comment 7 by pdr@chromium.org, 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