New issue
Advanced search Search tips

Issue 593213 link

Starred by 1 user

Issue metadata

Status: Closed
Owner:
Closed: Sep 5
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

Unable to run ./tools/bisect-builds.py due to 'unauthorized_client' error

Project Member Reported by chrishall@chromium.org, Mar 9 2016

Issue description

I have signed in via 'gsutil config' and then 'gcloud auth login' via this account (chrishall@chromium.org) to no avail


chrishall@chrishall-x1v3-l:~/devel/chromium/src$ git log HEAD -1
commit da4870f2cebe4698a7a7c4665d7a7cf016f8632c
Author: chrome-tpm <chrome-tpm@google.com>
Date:   Sun Nov 9 12:05:37 2014 -0800

    Publish DEPS for Chromium 41.0.2215.0

chrishall@chrishall-x1v3-l:~/devel/chromium/src$ ./tools/bisect-builds.py -o -b 41.0.2272.0 -g 41.0.2272.89 -a linux64
Downloading list of known revisions...
Traceback (most recent call last):
  File "./tools/bisect-builds.py", line 1189, in <module>
    sys.exit(main())
  File "./tools/bisect-builds.py", line 1147, in main
    not opts.not_interactive, evaluator)
  File "./tools/bisect-builds.py", line 735, in Bisect
    revlist = context.GetOfficialBuildsList()
  File "./tools/bisect-builds.py", line 468, in GetOfficialBuildsList
    build_numbers = GsutilList(GS_BUCKET_NAME)
  File "./tools/bisect-builds.py", line 462, in GsutilList
    stdout = RunGsutilCommand(['ls', query])
  File "./tools/bisect-builds.py", line 457, in RunGsutilCommand
    raise Exception('Error running the gsutil command: %s' % stderr)
Exception: Error running the gsutil command: Failure: Failed to exchange refresh token into access token; request failed: HTTP Error 401: Unauthorized; OAuth2 error: unauthorized_client.



 

Comment 1 by benhenry@google.com, Jun 21 2016

Components: -Infra Infra>SDK
Owner: chrishall@chromium.org
Status: Assigned (was: Unconfirmed)
Hey Chris - have you checked that you're using the right .boto file when you run bisect-builds.py?
Status: Closed (was: Assigned)

Sign in to add a comment