Request for RecoveryServicesSiteRecovery to add version stable/2025-01-01 #32979
openapi-pipeline-app / SDK azure-sdk-for-python
failed
Mar 4, 2025 in 6m 43s
SDK azure-sdk-for-python failed
azure-sdk-for-python
View Azure DevOps build log for more details.
Details
Note
For more instructions, please refer to the FAQ .
❌
Code Generator Failed in generating from 17c32b0. SDK Automation 14.0.0command sh scripts/automation_init.sh ../azure-sdk-for-python_tmp/initInput.json ../azure-sdk-for-python_tmp/initOutput.json command sh scripts/automation_generate.sh ../azure-sdk-for-python_tmp/generateInput.json ../azure-sdk-for-python_tmp/generateOutput.json cmdout [automation_generate.sh] 2025-03-04 13:29:48 [ERROR] (Use `node --trace-deprecation ...` to show where the warning was created) cmdout [automation_generate.sh] 2025-03-04 13:29:48 [ERROR] info | Installing AutoRest extension '@autorest/modelerfour' (4.27.0 -> 4.27.0) cmdout [automation_generate.sh] 2025-03-04 13:29:48 [ERROR] info | Installed AutoRest extension '@autorest/modelerfour' (4.27.0->4.27.0) cmdout [automation_generate.sh] 2025-03-04 13:29:48 [ERROR] info | Installing AutoRest extension '@autorest/python' (6.27.4 -> 6.27.4) cmdout [automation_generate.sh] 2025-03-04 13:29:48 [ERROR] info | Installed AutoRest extension '@autorest/python' (6.27.4->6.27.4) cmdout [automation_generate.sh] 2025-03-04 13:29:48 [ERROR] error | JsonSpec/SyntaxError | Syntax Error Encountered: Expected ',' or '}' after property value in JSON cmdout [automation_generate.sh] 2025-03-04 13:29:48 [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2025-01-01/service.json:2:4 cmdout [automation_generate.sh] 2025-03-04 13:29:48 [ERROR] error | JsonSpec/SyntaxError | Syntax Error Encountered: Expected ',' or '}' after property value in JSON cmdout [automation_generate.sh] 2025-03-04 13:29:48 [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2025-01-01/service.json:2:4 cmdout [automation_generate.sh] 2025-03-04 13:29:48 [ERROR] fatal | Process() cancelled due to failure cmdout [automation_generate.sh] 2025-03-04 13:29:48 [ERROR] error | YAMLException: missed comma between flow collection entries (24122:5) cmdout [automation_generate.sh] 2025-03-04 13:29:48 [ERROR] cmdout [automation_generate.sh] 2025-03-04 13:29:48 [ERROR] 24119 | } cmdout [automation_generate.sh] 2025-03-04 13:29:48 [ERROR] 24120 | → } cmdout [automation_generate.sh] 2025-03-04 13:29:48 [ERROR] 24121 | →} cmdout [automation_generate.sh] 2025-03-04 13:29:48 [ERROR] 24122 | "ReplicationProtectionClusterC ... cmdout [automation_generate.sh] 2025-03-04 13:29:48 [ERROR] -------------^ cmdout [automation_generate.sh] 2025-03-04 13:29:48 [ERROR] 24123 | "description": "Replication ... cmdout [automation_generate.sh] 2025-03-04 13:29:48 [ERROR] 24124 | "type": "object", cmdout [automation_generate.sh] 2025-03-04 13:29:48 [ERROR] error | Autorest completed with an error. If you think the error message is unclear, or is a bug, please declare an issues at https://github.com/Azure/autorest/issues with the error message you are seeing. cmdout [automation_generate.sh] 2025-03-04 13:29:50 [ERROR] warning | DeprecatedConfig | Using directive.3.suppress which is deprecated and will be removed in the future. cmdout [automation_generate.sh] 2025-03-04 13:29:50 [ERROR] warning | DeprecatedConfig | Using directive.4.suppress which is deprecated and will be removed in the future. cmdout [automation_generate.sh] 2025-03-04 13:29:50 [ERROR] warning | DeprecatedConfig | Using directive.0.suppress which is deprecated and will be removed in the future. cmdout [automation_generate.sh] 2025-03-04 13:29:50 [ERROR] info | Loading AutoRest extension '@autorest/modelerfour' (4.27.0->4.27.0) cmdout [automation_generate.sh] 2025-03-04 13:29:50 [ERROR] info | Loading AutoRest extension '@autorest/python' (6.27.4->6.27.4) cmdout [automation_generate.sh] 2025-03-04 13:29:50 [ERROR] error | JsonSpec/SyntaxError | Syntax Error Encountered: Expected ',' or '}' after property value in JSON cmdout [automation_generate.sh] 2025-03-04 13:29:50 [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2025-01-01/service.json:2:4 cmdout [automation_generate.sh] 2025-03-04 13:29:50 [ERROR] error | JsonSpec/SyntaxError | Syntax Error Encountered: Expected ',' or '}' after property value in JSON cmdout [automation_generate.sh] 2025-03-04 13:29:50 [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2025-01-01/service.json:2:4 cmdout [automation_generate.sh] 2025-03-04 13:29:50 [ERROR] fatal | Process() cancelled due to failure cmdout [automation_generate.sh] 2025-03-04 13:29:50 [ERROR] error | YAMLException: missed comma between flow collection entries (24122:5) cmdout [automation_generate.sh] 2025-03-04 13:29:50 [ERROR] cmdout [automation_generate.sh] 2025-03-04 13:29:50 [ERROR] 24119 | } cmdout [automation_generate.sh] 2025-03-04 13:29:50 [ERROR] 24120 | → } cmdout [automation_generate.sh] 2025-03-04 13:29:50 [ERROR] 24121 | →} cmdout [automation_generate.sh] 2025-03-04 13:29:50 [ERROR] 24122 | "ReplicationProtectionClusterC ... cmdout [automation_generate.sh] 2025-03-04 13:29:50 [ERROR] -------------^ cmdout [automation_generate.sh] 2025-03-04 13:29:50 [ERROR] 24123 | "description": "Replication ... cmdout [automation_generate.sh] 2025-03-04 13:29:50 [ERROR] 24124 | "type": "object", cmdout [automation_generate.sh] 2025-03-04 13:29:50 [ERROR] error | Autorest completed with an error. If you think the error message is unclear, or is a bug, please declare an issues at https://github.com/Azure/autorest/issues with the error message you are seeing. cmdout [automation_generate.sh] 2025-03-04 13:29:50 [ERROR] fail to generate sdk for specification/recoveryservicessiterecovery/resource-manager/readme.md: Command '['/mnt/vss/_work/1/a/unified-pipeline-runtime/private/azure-rest-api-specs-pipeline/node_modules/.bin/autorest', '/mnt/vss/_work/1/s/azure-rest-api-specs/specification/recoveryservicessiterecovery/resource-manager/readme.md', '--generate-sample=True', '--generate-test=True', '--include-x-ms-examples-original-file=True', '--python', '--python-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-python/sdk', '--use=@autorest/[email protected]', '--use=@autorest/[email protected]', '--version=3.10.2', '--version-tolerant=False']' returned non-zero exit status 1. cmdout [automation_generate.sh] 2025-03-04 13:29:50 [ERROR] ======================================= Whant Can I do (begin) ======================================================================== cmdout [automation_generate.sh] 2025-03-04 13:29:50 [ERROR] Fail to generate sdk for specification/recoveryservicessiterecovery/resource-manager/readme.md. If you are from service team, please first check if the failure happens only to Python automation, or for all SDK automations. cmdout [automation_generate.sh] 2025-03-04 13:29:50 [ERROR] If it happens for all SDK automations, please double check your Swagger / Typespec, and check whether there is error in ModelValidation and LintDiff. cmdout [automation_generate.sh] 2025-03-04 13:29:50 [ERROR] If it happens to Python alone, you can open an issue to https://github.com/Azure/autorest.python/issues. Please include the link of this Pull Request in the issue. cmdout [automation_generate.sh] 2025-03-04 13:29:50 [ERROR] ======================================= Whant Can I do (end) ========================================================================= error Script return with result [failed] code [1] signal [null] cwd [azure-sdk-for-python]: sh scripts/automation_generate.sh warn Warning: File azure-sdk-for-python_tmp/generateOutput.json not found to read. Please re-run the pipeline if the error is transitient error or report this issue through https://aka.ms/azsdk/support/specreview-channel. warn Warning: Package processing is skipped as the SDK generation fails. Please look into the above generation errors or report this issue through https://aka.ms/azsdk/support/specreview-channel.
Loading