You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a problem with tasks in Azure Devops.
From time to time, tasks crash on different pipelines, also different ones!
This happens with different tasks: AzureCLI, kubectl, etc.
Versions
Agent.Version: 3.243.1 on Ubuntu 20.04
Environment type (Please select at least one enviroment where you face this issue)
Self-Hosted
Microsoft Hosted
VMSS Pool
Container
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
Ubuntu 20.04
Version controll system
No response
Relevant log output
For example:
To check existing issues, please visit: https://github.com/Azure/azure-cli/issues
##[error]Script failed with error: ERROR: The command failed with an unexpected error. Here is the traceback:
ERROR: [Errno 2] No such file or directory: '/home/user/_work/_temp/.azclitask/commandIndex.json'
Traceback (most recent call last):
File "/opt/az/lib/python3.11/site-packages/knack/cli.py", line 233, in invoke
cmd_result = self.invocation.execute(args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/az/lib/python3.11/site-packages/azure/cli/core/commands/__init__.py", line 518, in execute
self.commands_loader.load_command_table(args)
File "/opt/az/lib/python3.11/site-packages/azure/cli/core/__init__.py", line 483, in load_command_table
command_index.update(self.command_table)
File "/opt/az/lib/python3.11/site-packages/azure/cli/core/__init__.py", line 607, in update
self.INDEX[self._COMMAND_INDEX_VERSION] = __version__
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/az/lib/python3.11/site-packages/azure/cli/core/_session.py", line 75, in __setitem__
self.save_with_retry()
File "/opt/az/lib/python3.11/site-packages/azure/cli/core/_session.py", line 65, in save_with_retry
self.save()
File "/opt/az/lib/python3.11/site-packages/azure/cli/core/_session.py", line 54, in save
with open(self.filename, 'w', encoding=self._encoding) as f:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/home/user/_work/_temp/.azclitask/commandIndex.json'
To check existing issues, please visit: https://github.com/Azure/azure-cli/issues
Another pipeline:
Starting: Checkout master
##[error]Could not find a part of the path '/home/user/_work/_tasks/CmdLine_d9bafed4-0b18-4f58-968d-86655b4d2ce9/2.237.1/task.json'
The text was updated successfully, but these errors were encountered:
Hi @sphtd, thank you for your report.
Could you please clarify when the issue first occurredd? Does it also happen on the other agent versions?
According to the error message it's looks like some conflict between azure-cli and python interpreter - could you please also share the error logs for the kubectl task failure, or any other?
What happened?
Hi,
We have a problem with tasks in Azure Devops.
From time to time, tasks crash on different pipelines, also different ones!
This happens with different tasks: AzureCLI, kubectl, etc.
Versions
Agent.Version: 3.243.1 on Ubuntu 20.04
Environment type (Please select at least one enviroment where you face this issue)
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
Ubuntu 20.04
Version controll system
No response
Relevant log output
The text was updated successfully, but these errors were encountered: