git cl upload asks for username+password |
|||||
Issue descriptiongit cl upload asks for username+password yet you can't use a username+password for https://chromium.googlesource.com you must set up the cookies as shown in the "Generate Password" on https://chromium.googlesource.com/ ------------------------------------------------ tansell@tansell-z620-l2:~/work/chromium/tools/build$ git cl upload Using 50% similarity for rename/copy detection. Override with --similarity. Running presubmit upload checks ... Presubmit checks passed. scripts/slave/recipe_modules/chromium_tests/steps.py | 65 +++++++++++++++++++++++++++++++++++++++++++---------------------- scripts/slave/recipe_modules/isolate/api.py | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 83 insertions(+), 22 deletions(-) Username for 'https://chromium.googlesource.com': tansell@chromium.org Password for 'https://tansell@chromium.org@chromium.googlesource.com': remote: Login Required fatal: Authentication failed for 'https://chromium.googlesource.com/chromium/tools/build/' Traceback (most recent call last): ------------------------------------------------
,
Nov 30 2016
,
Nov 30 2016
,
Nov 30 2016
,
Jan 6 2017
What are the conditions under which this happens? If the netrc file doesn't exist or has the wrong permissions, we error out. In addition, we call git_cl.py:EnsureAuthenticated() to double-check that the user is authenticated at the very beginning of the upload process, well before running the presubmit checks. When we do that check, we print a message telling folks how to update their .gitcookies file if it looks like it doesn't have the necessary credentials. The only reason that check is skipped is if you have "git config gerrit.skip-ensure-authenticated" set. Do you? If so, please close this issue. If not, please provide reproduction steps.
,
Jan 12 2017
If this is still occurring for you, please re-open this bug. |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by andyb...@chromium.org
, Nov 30 2016Owner: aga...@chromium.org
Status: Accepted (was: New)