Skip to content

Instantly share code, notes, and snippets.

@lindhe
Created August 28, 2019 13:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lindhe/02a1cf257906f5b34d262b2fe3feea68 to your computer and use it in GitHub Desktop.
Save lindhe/02a1cf257906f5b34d262b2fe3feea68 to your computer and use it in GitHub Desktop.
Debug log of `az devops project list --debug`
DEBUG: Command arguments: ['devops', 'project', 'list', '--debug']
DEBUG: Event: Cli.PreExecute []
DEBUG: Event: CommandParser.OnGlobalArgumentsCreate [<function CLILogging.on_global_arguments at 0x7f6d7e9dad90>, <function OutputProducer.on_global_arguments at 0x7f6d7e513b70>, <function CLIQuery.on_global_arguments at 0x7f6d7e53dbf8>]
DEBUG: Event: CommandInvoker.OnPreCommandTableCreate []
DEBUG: Installed command modules ['acr', 'acs', 'advisor', 'ams', 'appconfig', 'appservice', 'backup', 'batch', 'batchai', 'billing', 'botservice', 'cdn', 'cloud', 'cognitiveservices', 'configure', 'consumption', 'container', 'cosmosdb', 'deploymentmanager', 'dla', 'dls', 'dms', 'eventgrid', 'eventhubs', 'extension', 'feedback', 'find', 'hdinsight', 'interactive', 'iot', 'iotcentral', 'keyvault', 'kusto', 'lab', 'managedservices', 'maps', 'monitor', 'natgateway', 'netappfiles', 'network', 'policyinsights', 'privatedns', 'profile', 'rdbms', 'redis', 'relay', 'reservations', 'resource', 'role', 'search', 'security', 'servicebus', 'servicefabric', 'signalr', 'sql', 'sqlvm', 'storage', 'vm']
DEBUG: Loaded module 'acr' in 0.015 seconds.
DEBUG: Loaded module 'acs' in 0.005 seconds.
DEBUG: Loaded module 'advisor' in 0.001 seconds.
DEBUG: Event: CommandLoader.OnLoadCommandTable []
DEBUG: Loaded module 'ams' in 0.004 seconds.
DEBUG: Loaded module 'appconfig' in 0.002 seconds.
DEBUG: Loaded module 'appservice' in 0.007 seconds.
DEBUG: Loaded module 'backup' in 0.002 seconds.
DEBUG: Event: CommandLoader.OnLoadCommandTable []
DEBUG: Loaded module 'batch' in 0.007 seconds.
DEBUG: Loaded module 'batchai' in 0.002 seconds.
DEBUG: Loaded module 'billing' in 0.001 seconds.
DEBUG: Loaded module 'botservice' in 0.002 seconds.
DEBUG: Event: CommandLoader.OnLoadCommandTable []
DEBUG: Loaded module 'cdn' in 0.002 seconds.
DEBUG: Loaded module 'cloud' in 0.001 seconds.
DEBUG: Loaded module 'cognitiveservices' in 0.001 seconds.
DEBUG: Loaded module 'configure' in 0.001 seconds.
DEBUG: Loaded module 'consumption' in 0.002 seconds.
DEBUG: Loaded module 'container' in 0.001 seconds.
DEBUG: Loaded module 'cosmosdb' in 0.003 seconds.
DEBUG: Loaded module 'deploymentmanager' in 0.002 seconds.
DEBUG: Loaded module 'dla' in 0.003 seconds.
DEBUG: Loaded module 'dls' in 0.002 seconds.
DEBUG: Loaded module 'dms' in 0.002 seconds.
DEBUG: Loaded module 'eventgrid' in 0.002 seconds.
DEBUG: Loaded module 'eventhubs' in 0.003 seconds.
DEBUG: Loaded module 'extension' in 0.001 seconds.
DEBUG: Loaded module 'feedback' in 0.000 seconds.
DEBUG: Loaded module 'find' in 0.001 seconds.
DEBUG: Loaded module 'hdinsight' in 0.001 seconds.
DEBUG: Loaded module 'interactive' in 0.000 seconds.
DEBUG: Loaded module 'iot' in 0.003 seconds.
DEBUG: Loaded module 'iotcentral' in 0.001 seconds.
DEBUG: Loaded module 'keyvault' in 0.005 seconds.
DEBUG: Loaded module 'kusto' in 0.001 seconds.
DEBUG: Loaded module 'lab' in 0.002 seconds.
DEBUG: Loaded module 'managedservices' in 0.001 seconds.
DEBUG: Loaded module 'maps' in 0.001 seconds.
DEBUG: Loaded module 'monitor' in 0.004 seconds.
DEBUG: Loaded module 'natgateway' in 0.001 seconds.
DEBUG: Event: CommandLoader.OnLoadCommandTable []
DEBUG: Loaded module 'netappfiles' in 0.002 seconds.
DEBUG: Loaded module 'network' in 0.023 seconds.
DEBUG: Loaded module 'policyinsights' in 0.001 seconds.
DEBUG: Loaded module 'privatedns' in 0.003 seconds.
DEBUG: Loaded module 'profile' in 0.001 seconds.
DEBUG: Loaded module 'rdbms' in 0.004 seconds.
DEBUG: Loaded module 'redis' in 0.002 seconds.
DEBUG: Loaded module 'relay' in 0.002 seconds.
DEBUG: Loaded module 'reservations' in 0.001 seconds.
DEBUG: Loaded module 'resource' in 0.006 seconds.
DEBUG: Loaded module 'role' in 0.003 seconds.
DEBUG: Loaded module 'search' in 0.001 seconds.
DEBUG: Loaded module 'security' in 0.002 seconds.
DEBUG: Loaded module 'servicebus' in 0.004 seconds.
DEBUG: Loaded module 'servicefabric' in 0.001 seconds.
DEBUG: Loaded module 'signalr' in 0.001 seconds.
DEBUG: Loaded module 'sql' in 0.005 seconds.
DEBUG: Loaded module 'sqlvm' in 0.002 seconds.
DEBUG: Event: CommandLoader.OnLoadCommandTable []
DEBUG: Loaded module 'storage' in 0.024 seconds.
DEBUG: Loaded module 'vm' in 0.014 seconds.
DEBUG: Loaded all modules in 0.199 seconds. (note: there's always an overhead with the first module loaded)
DEBUG: Extensions directory: '/home/andreas/.azure/cliextensions'
DEBUG: Found 1 extensions: ['azure-devops']
DEBUG: Extensions directory: '/home/andreas/.azure/cliextensions'
DEBUG: Extension compatibility result: is_compatible=True cli_core_version=2.0.70 min_required=2.0.49 max_required=None
DEBUG: Extensions directory: '/home/andreas/.azure/cliextensions'
DEBUG: Loaded extension 'azure-devops' in 0.017 seconds.
DEBUG: Event: CommandInvoker.OnPreCommandTableTruncate [<function AzCliLogging.init_command_file_logging at 0x7f6d7e23eea0>]
INFO: az_command_data_logger : command args: devops project list --debug
DEBUG: metadata file logging enabled - writing logs to '/home/andreas/.azure/commands'.
DEBUG: Event: CommandInvoker.OnPreArgumentLoad [<function register_global_subscription_argument.<locals>.add_subscription_parameter at 0x7f6d7e25eea0>]
DEBUG: Event: CommandInvoker.OnPostArgumentLoad []
DEBUG: Event: CommandInvoker.OnPostCommandTableCreate [<function register_ids_argument.<locals>.add_ids_arguments at 0x7f6d7e2138c8>, <function register_cache_arguments.<locals>.add_cache_arguments at 0x7f6d7e213a60>]
DEBUG: Event: CommandInvoker.OnCommandTableLoaded []
DEBUG: Event: CommandInvoker.OnPreParseArgs [<function _documentdb_deprecate at 0x7f6d7be0e730>]
DEBUG: Event: CommandInvoker.OnPostParseArgs [<function OutputProducer.handle_output_argument at 0x7f6d7e513bf8>, <function CLIQuery.handle_query_parameter at 0x7f6d7e53dc80>, <function register_ids_argument.<locals>.parse_ids_arguments at 0x7f6d7e213950>, <function handler at 0x7f6d7bca9bf8>, <function DevCommandsLoader.post_parse_args at 0x7f6d7b4fb1e0>]
DEBUG: Extensions directory: '/home/andreas/.azure/cliextensions'
DEBUG: Extensions directory: '/home/andreas/.azure/cliextensions'
INFO: az_command_data_logger : extension name: azure-devops
INFO: az_command_data_logger : extension version: 0.11.0
INFO: GitDetect: Could not detect current remotes based on current working directory.
DEBUG: Command '['git', 'remote', '-v']' returned non-zero exit status 128.
Traceback (most recent call last):
File "/home/andreas/.azure/cliextensions/azure-devops/azext_devops/dev/common/git.py", line 105, in get_git_remotes
output = subprocess.check_output([_GIT_EXE, 'remote', '-v'], stderr=subprocess.STDOUT)
File "/opt/az/lib/python3.6/subprocess.py", line 336, in check_output
**kwargs).stdout
File "/opt/az/lib/python3.6/subprocess.py", line 418, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['git', 'remote', '-v']' returned non-zero exit status 128.
INFO: Detect: Url discovery took 0:00:00.004096
DEBUG: Getting credential: azdevops-cli:https://example.visualstudio.com
INFO: keyring.backend : Loading KWallet
INFO: keyring.backend : Loading SecretService
INFO: keyring.backend : Loading Windows
INFO: keyring.backend : Loading chainer
INFO: keyring.backend : Loading macOS
DEBUG: asyncio : Using selector: EpollSelector
DEBUG: Keyring backend : keyring.backends.SecretService.Keyring (priority: 5)
DEBUG: PAT is present which can be used against this instance
DEBUG: Current cloud config:
AzureCloud
DEBUG: trying to get token (temp) for tenant d7c44ffd-d531-4104-85ed-6466227ed835 and user andreas.lindhe@combitech.com
DEBUG: attempting to read file /home/andreas/.azure/accessTokens.json as utf-8-sig
DEBUG: adal-python : 52f6eb14-c088-4876-9d7a-06f602e9d723 - Authority:Performing instance discovery: ...
DEBUG: adal-python : 52f6eb14-c088-4876-9d7a-06f602e9d723 - Authority:Performing static instance discovery
DEBUG: adal-python : 52f6eb14-c088-4876-9d7a-06f602e9d723 - Authority:Authority validated via static instance discovery
INFO: adal-python : 52f6eb14-c088-4876-9d7a-06f602e9d723 - TokenRequest:Getting token from cache with refresh if necessary.
DEBUG: adal-python : 52f6eb14-c088-4876-9d7a-06f602e9d723 - CacheDriver:finding with query keys: {'_clientId': '...', 'userId': '...'}
DEBUG: adal-python : 52f6eb14-c088-4876-9d7a-06f602e9d723 - CacheDriver:Looking for potential cache entries: {'_clientId': '...', 'userId': '...'}
DEBUG: adal-python : 52f6eb14-c088-4876-9d7a-06f602e9d723 - CacheDriver:Found 7 potential entries.
DEBUG: adal-python : 52f6eb14-c088-4876-9d7a-06f602e9d723 - CacheDriver:Resource specific token found.
DEBUG: adal-python : 52f6eb14-c088-4876-9d7a-06f602e9d723 - CacheDriver:Returning token from cache lookup, AccessTokenId: b'redacted', RefreshTokenId: b'redacted'
DEBUG: instance recieved in validate_token_for_instance https://example.visualstudio.com/
DEBUG: instance processed in validate_token_for_instance https://example.visualstudio.com/
DEBUG: msrest.universal_http.requests : Configuring retry: max_retries=3, backoff_factor=0.8, max_backoff=90
DEBUG: msrest.universal_http.requests : Configuring retry: max_retries=3, backoff_factor=0.8, max_backoff=90
DEBUG: azext_devops.devops_sdk._file_cache : Loading cache file: /home/andreas/.azure-devops/python-sdk/cache/resources.json
DEBUG: azext_devops.devops_sdk._file_cache : attempting to read file /home/andreas/.azure-devops/python-sdk/cache/resources.json as utf-8-sig
DEBUG: azext_devops.devops_sdk.connection : File cache hit for resources on: https://example.visualstudio.com
DEBUG: msrest.universal_http.requests : Configuring retry: max_retries=3, backoff_factor=0.8, max_backoff=90
DEBUG: azext_devops.devops_sdk._file_cache : Loading cache file: /home/andreas/.azure-devops/python-sdk/cache/options.json
DEBUG: azext_devops.devops_sdk._file_cache : attempting to read file /home/andreas/.azure-devops/python-sdk/cache/options.json as utf-8-sig
DEBUG: azext_devops.devops_sdk.client : File cache hit for options on: https://example.visualstudio.com
DEBUG: azext_devops.devops_sdk.client : Route template: _apis/{resource}/{*projectId}
DEBUG: azext_devops.devops_sdk.client : Api version '5.0'
DEBUG: azext_devops.devops_sdk.client : GET https://example.visualstudio.com/_apis/projects?stateFilter=all&$top=1&$skip=0
DEBUG: azext_devops.devops_sdk.client : Request content: None
DEBUG: msrest.universal_http : Configuring redirects: allow=True, max=30
DEBUG: msrest.universal_http : Configuring request: timeout=100, verify=True, cert=None
DEBUG: msrest.universal_http : Configuring proxies: ''
DEBUG: msrest.universal_http : Evaluate proxies against ENV settings: True
DEBUG: urllib3.connectionpool : Starting new HTTPS connection (1): example.visualstudio.com:443
DEBUG: urllib3.connectionpool : https://example.visualstudio.com:443 "GET /_apis/projects?stateFilter=all&$top=1&$skip=0 HTTP/1.1" 401 373
DEBUG: azext_devops.devops_sdk.client : Response content: b'{"$id":"1","innerException":null,"message":"TF400813: The user \'d7c44ffd-d531-4104-85ed-6466227ed835\\\\andreas.lindhe@combitech.com\' is not authorized to access this resource.","typeName":"Microsoft.TeamFoundation.Framework.Server.UnauthorizedRequestException, Microsoft.TeamFoundation.Framework.Server","typeKey":"UnauthorizedRequestException","errorCode":0,"eventId":3000}'
DEBUG: msrest.exceptions : TF400813: The user 'd7c44ffd-d531-4104-85ed-6466227ed835\andreas.lindhe@combitech.com' is not authorized to access this resource.
DEBUG: TF400813: The user 'd7c44ffd-d531-4104-85ed-6466227ed835\andreas.lindhe@combitech.com' is not authorized to access this resource.
Traceback (most recent call last):
File "/home/andreas/.azure/cliextensions/azure-devops/azext_devops/dev/common/services.py", line 93, in validate_token_for_instance
core_client.get_projects(state_filter='all', top=1, skip=0)
File "/home/andreas/.azure/cliextensions/azure-devops/azext_devops/devops_sdk/v5_0/core/core_client.py", line 143, in get_projects
query_parameters=query_parameters)
File "/home/andreas/.azure/cliextensions/azure-devops/azext_devops/devops_sdk/client.py", line 90, in _send
response = self._send_request(request=request, headers=headers, content=content, media_type=media_type)
File "/home/andreas/.azure/cliextensions/azure-devops/azext_devops/devops_sdk/client.py", line 54, in _send_request
self._handle_error(request, response)
File "/home/andreas/.azure/cliextensions/azure-devops/azext_devops/devops_sdk/client.py", line 233, in _handle_error
raise AzureDevOpsServiceError(wrapped_exception)
azext_devops.devops_sdk.exceptions.AzureDevOpsServiceError: TF400813: The user 'd7c44ffd-d531-4104-85ed-6466227ed835\andreas.lindhe@combitech.com' is not authorized to access this resource.
DEBUG: Failed to connect using provided credentials
DEBUG: invalid token obtained for tenant d7c44ffd-d531-4104-85ed-6466227ed835
DEBUG: trying to get token (temp) for tenant 74c901f0-6a97-4cfa-8505-9542ce009b27 and user andreas.lindhe@combitech.com
DEBUG: adal-python : b0ab64b7-fb84-4d94-84d8-04f3b7d2d89d - Authority:Performing instance discovery: ...
DEBUG: adal-python : b0ab64b7-fb84-4d94-84d8-04f3b7d2d89d - Authority:Performing static instance discovery
DEBUG: adal-python : b0ab64b7-fb84-4d94-84d8-04f3b7d2d89d - Authority:Authority validated via static instance discovery
INFO: adal-python : b0ab64b7-fb84-4d94-84d8-04f3b7d2d89d - TokenRequest:Getting token from cache with refresh if necessary.
DEBUG: adal-python : b0ab64b7-fb84-4d94-84d8-04f3b7d2d89d - CacheDriver:finding with query keys: {'_clientId': '...', 'userId': '...'}
DEBUG: adal-python : b0ab64b7-fb84-4d94-84d8-04f3b7d2d89d - CacheDriver:Looking for potential cache entries: {'_clientId': '...', 'userId': '...'}
DEBUG: adal-python : b0ab64b7-fb84-4d94-84d8-04f3b7d2d89d - CacheDriver:Found 7 potential entries.
DEBUG: adal-python : b0ab64b7-fb84-4d94-84d8-04f3b7d2d89d - CacheDriver:Resource specific token found.
DEBUG: adal-python : b0ab64b7-fb84-4d94-84d8-04f3b7d2d89d - CacheDriver:Returning token from cache lookup, AccessTokenId: b'redacted', RefreshTokenId: b'redacted'
DEBUG: instance recieved in validate_token_for_instance https://example.visualstudio.com/
DEBUG: instance processed in validate_token_for_instance https://example.visualstudio.com/
DEBUG: msrest.universal_http.requests : Configuring retry: max_retries=3, backoff_factor=0.8, max_backoff=90
DEBUG: msrest.universal_http.requests : Configuring retry: max_retries=3, backoff_factor=0.8, max_backoff=90
DEBUG: azext_devops.devops_sdk.connection : File cache hit for resources on: https://example.visualstudio.com
DEBUG: msrest.universal_http.requests : Configuring retry: max_retries=3, backoff_factor=0.8, max_backoff=90
DEBUG: azext_devops.devops_sdk.client : Route template: _apis/{resource}/{*projectId}
DEBUG: azext_devops.devops_sdk.client : Api version '5.0'
DEBUG: azext_devops.devops_sdk.client : GET https://example.visualstudio.com/_apis/projects?stateFilter=all&$top=1&$skip=0
DEBUG: azext_devops.devops_sdk.client : Request content: None
DEBUG: msrest.universal_http : Configuring redirects: allow=True, max=30
DEBUG: msrest.universal_http : Configuring request: timeout=100, verify=True, cert=None
DEBUG: msrest.universal_http : Configuring proxies: ''
DEBUG: msrest.universal_http : Evaluate proxies against ENV settings: True
DEBUG: urllib3.connectionpool : Starting new HTTPS connection (1): example.visualstudio.com:443
DEBUG: urllib3.connectionpool : https://example.visualstudio.com:443 "GET /_apis/projects?stateFilter=all&$top=1&$skip=0 HTTP/1.1" 401 373
DEBUG: azext_devops.devops_sdk.client : Response content: b'{"$id":"1","innerException":null,"message":"TF400813: The user \'74c901f0-6a97-4cfa-8505-9542ce009b27\\\\andreas.lindhe@combitech.com\' is not authorized to access this resource.","typeName":"Microsoft.TeamFoundation.Framework.Server.UnauthorizedRequestException, Microsoft.TeamFoundation.Framework.Server","typeKey":"UnauthorizedRequestException","errorCode":0,"eventId":3000}'
DEBUG: msrest.exceptions : TF400813: The user '74c901f0-6a97-4cfa-8505-9542ce009b27\andreas.lindhe@combitech.com' is not authorized to access this resource.
DEBUG: TF400813: The user '74c901f0-6a97-4cfa-8505-9542ce009b27\andreas.lindhe@combitech.com' is not authorized to access this resource.
Traceback (most recent call last):
File "/home/andreas/.azure/cliextensions/azure-devops/azext_devops/dev/common/services.py", line 93, in validate_token_for_instance
core_client.get_projects(state_filter='all', top=1, skip=0)
File "/home/andreas/.azure/cliextensions/azure-devops/azext_devops/devops_sdk/v5_0/core/core_client.py", line 143, in get_projects
query_parameters=query_parameters)
File "/home/andreas/.azure/cliextensions/azure-devops/azext_devops/devops_sdk/client.py", line 90, in _send
response = self._send_request(request=request, headers=headers, content=content, media_type=media_type)
File "/home/andreas/.azure/cliextensions/azure-devops/azext_devops/devops_sdk/client.py", line 54, in _send_request
self._handle_error(request, response)
File "/home/andreas/.azure/cliextensions/azure-devops/azext_devops/devops_sdk/client.py", line 233, in _handle_error
raise AzureDevOpsServiceError(wrapped_exception)
azext_devops.devops_sdk.exceptions.AzureDevOpsServiceError: TF400813: The user '74c901f0-6a97-4cfa-8505-9542ce009b27\andreas.lindhe@combitech.com' is not authorized to access this resource.
DEBUG: Failed to connect using provided credentials
DEBUG: invalid token obtained for tenant 74c901f0-6a97-4cfa-8505-9542ce009b27
DEBUG: Getting credential: azdevops-cli:https://example.visualstudio.com
DEBUG: Keyring backend : keyring.backends.SecretService.Keyring (priority: 5)
INFO: Creating connection with personal access token.
DEBUG: msrest.universal_http.requests : Configuring retry: max_retries=3, backoff_factor=0.8, max_backoff=90
DEBUG: Current cloud config:
AzureCloud
DEBUG: Azure devops telemetry enabled.
DEBUG: Logging telemetry to azure devops server.
DEBUG: msrest.universal_http.requests : Configuring retry: max_retries=3, backoff_factor=0.8, max_backoff=90
DEBUG: azext_devops.devops_sdk.connection : File cache hit for resources on: https://example.visualstudio.com
DEBUG: msrest.universal_http.requests : Configuring retry: max_retries=3, backoff_factor=0.8, max_backoff=90
DEBUG: azext_devops.devops_sdk.client : Route template: _apis/{resource}/{*projectId}
DEBUG: azext_devops.devops_sdk.client : Api version '5.0'
DEBUG: azext_devops.devops_sdk.client : GET https://example.visualstudio.com/_apis/projects?stateFilter=all
DEBUG: azext_devops.devops_sdk.client : Request content: None
DEBUG: msrest.universal_http : Configuring redirects: allow=True, max=30
DEBUG: msrest.universal_http : Configuring request: timeout=100, verify=True, cert=None
DEBUG: msrest.universal_http : Configuring proxies: ''
DEBUG: msrest.universal_http : Evaluate proxies against ENV settings: True
DEBUG: msrest.universal_http.requests : Configuring retry: max_retries=3, backoff_factor=0.8, max_backoff=90
DEBUG: azext_devops.devops_sdk.client : Route template: _apis/{area}/{resource}
DEBUG: azext_devops.devops_sdk.client : Api version '5.0-preview.1'
DEBUG: azext_devops.devops_sdk.client : POST https://example.visualstudio.com/_apis/CustomerIntelligence/Events
DEBUG: azext_devops.devops_sdk.client : Request content: [{'area': 'AzureDevopsCli', 'feature': 'devops', 'properties': {'Command': 'project list', 'Args': '', 'ShellType': '/bin/bash', 'IsInteractive': 'True', 'OutputType': 'json', 'OrgPresentInCommand': False, 'ProjectPresentInCommand': False, 'RepoPresentInCommand': False, 'OrgPickedFromGit': False, 'ProjectPickedFromGit': False, 'RepoPickedFromGit': False, 'OrgPickedFromConfig': True, 'ProjectPickedFromConfig': True}}]
DEBUG: msrest.universal_http : Configuring redirects: allow=True, max=30
DEBUG: msrest.universal_http : Configuring request: timeout=100, verify=True, cert=None
DEBUG: msrest.universal_http : Configuring proxies: ''
DEBUG: msrest.universal_http : Evaluate proxies against ENV settings: True
DEBUG: urllib3.connectionpool : Starting new HTTPS connection (1): example.visualstudio.com:443
DEBUG: urllib3.connectionpool : Starting new HTTPS connection (1): example.visualstudio.com:443
DEBUG: urllib3.connectionpool : https://example.visualstudio.com:443 "POST /_apis/CustomerIntelligence/Events HTTP/1.1" 401 0
DEBUG: msrest.exceptions : The requested resource requires user authentication: https://example.visualstudio.com/_apis/CustomerIntelligence/Events
DEBUG: The requested resource requires user authentication: https://example.visualstudio.com/_apis/CustomerIntelligence/Events
Traceback (most recent call last):
File "/home/andreas/.azure/cliextensions/azure-devops/azext_devops/dev/common/telemetry.py", line 92, in _send_tracking_ci_event
ci_client.publish_events([vsts_tracking_data])
File "/home/andreas/.azure/cliextensions/azure-devops/azext_devops/devops_sdk/v5_0/customer_intelligence/customer_intelligence_client.py", line 23, in publish_events
content=content)
File "/home/andreas/.azure/cliextensions/azure-devops/azext_devops/devops_sdk/client.py", line 90, in _send
response = self._send_request(request=request, headers=headers, content=content, media_type=media_type)
File "/home/andreas/.azure/cliextensions/azure-devops/azext_devops/devops_sdk/client.py", line 54, in _send_request
self._handle_error(request, response)
File "/home/andreas/.azure/cliextensions/azure-devops/azext_devops/devops_sdk/client.py", line 254, in _handle_error
url=request.url))
azext_devops.devops_sdk.exceptions.AzureDevOpsAuthenticationError: The requested resource requires user authentication: https://example.visualstudio.com/_apis/CustomerIntelligence/Events
DEBUG: urllib3.connectionpool : https://example.visualstudio.com:443 "GET /_apis/projects?stateFilter=all HTTP/1.1" 200 375
DEBUG: azext_devops.devops_sdk.client : Response content: b'{"count":1,"value":[{"id":"adc22627-a0cc-4a07-864d-a78324432e3c","name":"redacted","description":"Arena for integration and test planning","url":"https://example.visualstudio.com/_apis/projects/adc22627-a0cc-4a07-864d-a78324432e3c","state":"wellFormed","revision":418211976,"visibility":"private","lastUpdateTime":"2019-07-29T07:14:10.32Z"}]}'
DEBUG: Event: CommandInvoker.OnTransformResult [<function _resource_group_transform at 0x7f6d7e20b2f0>, <function _x509_from_base64_to_hex_transform at 0x7f6d7e20b378>]
DEBUG: Event: CommandInvoker.OnFilterResult []
DEBUG: Event: Cli.PostExecute []
INFO: az_command_data_logger : exit code: 0
INFO: telemetry.save : Save telemetry record of length 2547 in cache
WARNING: telemetry.check : Negative: The /home/andreas/.azure/telemetry.txt was modified at 2019-08-28 15:33:37.204177, which in less than 600.000000 s
INFO: command ran in 1.406 seconds.
[
{
"abbreviation": null,
"defaultTeamImageUrl": null,
"description": "redacted",
"id": "redacted",
"lastUpdateTime": "2019-07-29T07:14:10.32Z",
"name": "redacted",
"revision": 418211976,
"state": "wellFormed",
"url": "redacted",
"visibility": "private"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment