azure-cli-extensions
azure-cli-extensions copied to clipboard
Json Encoder MemoryError during job list
This is autogenerated. Please review and update as needed.
Describe the bug
Az singularity job list cli failed with MemoryError when trying to list jobs in json format.
Command Name
az singularity job list Extension Name: singularity-cli. Version: 1.0.20472898.
Errors:
The command failed with an unexpected error. Here is the traceback:
Traceback (most recent call last):
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py", line 237, in invoke
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/output.py", line 146, in out
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/output.py", line 37, in format_json
File "json\__init__.py", line 238, in dumps
File "json\encoder.py", line 202, in encode
MemoryError
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
- Put any pre-requisite steps here...
-
az singularity job list --resource-group {} --account-name {} --only-show-errors
Expected Behavior
Environment Summary
Windows-10-10.0.22000-SP0
Python 3.10.5
Installer: MSI
azure-cli 2.38.0 *
Extensions:
azure-devops 0.25.0
singularity-cli 1.0.20472898
Dependencies:
msal 1.18.0b1
azure-mgmt-resource 21.1.0b1
Additional Context
Thank you for your feedback. This has been routed to the support team for assistance.
route to CXP team
@jjdharini22 Apologies for the late reply. Thanks for reaching out to us and reporting this issue. We are looking into this issue and we will provide an update.
@jjdharini22 Could you please confirm if this is the Singularity-cli python client you are using ? Please run the same command with --debug
argument and share the detailed debug logs here ? Awaiting your reply.
No, this is Singularity which is an AI Infrastructure Azure service. https://singularitydocs.azurewebsites.net/
I ran the command with --debug argument. Please find the logs here.
@jjdharini22 Thanks for sharing the details, Could you please try to update your AzCLI to most recent version and see if that helps ?
Yes, I updated to the latest AzCli. That does not help. Still seeing the same error.
@jjdharini22 Please refer to our internal Teams group conversation and let us know if you have any follow-up questions.
@jjdharini22 Please track this issue in our internal Teams conversation with the CLI Product team.