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

Issue 669902 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Last visit > 30 days ago
Closed: Jan 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: ----


Previous locations:
gerrit:5026


Sign in to add a comment

git cl upload asks for username+password

Project Member Reported by tansell@chromium.org, Nov 30 2016

Issue description

git 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):
------------------------------------------------



 
Labels: -Restrict-View-Google
Owner: aga...@chromium.org
Status: Accepted (was: New)
Project: chromium
Moved issue gerrit:5026 to now be  issue chromium:669902 .
Components: Infra>Codereview
Labels: Milestone-Fishfood Proj-Gerrit-Migration Pri-2
Cc: tandrii@chromium.org
Cc: aga...@chromium.org
Owner: tansell@chromium.org
Status: Assigned (was: Accepted)
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.
Status: WontFix (was: Assigned)
If this is still occurring for you, please re-open this bug.

Sign in to add a comment