Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cognitive Services 2025-04-01 #32877

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Merge branch 'main' into user/zhili/CogSvc-2025-04-01-preview

acfea3b
Select commit
Loading
Failed to load commit list.
Draft

Cognitive Services 2025-04-01 #32877

Merge branch 'main' into user/zhili/CogSvc-2025-04-01-preview
acfea3b
Select commit
Loading
Failed to load commit list.
openapi-pipeline-app / SDK azure-sdk-for-python failed Feb 27, 2025 in 9m 6s

SDK azure-sdk-for-python failed

Details

Note

For more instructions, please refer to the FAQ .

  • Code Generator Failed in generating from aab6b58. SDK Automation 14.0.0
    command	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-02-27 05:10:36 [ERROR] (C) 2018 Microsoft Corporation.
    cmdout	[automation_generate.sh] 2025-02-27 05:10:36 [ERROR] https://aka.ms/autorest
    cmdout	[automation_generate.sh] 2025-02-27 05:10:36 [ERROR] info    | AutoRest core version selected from configuration: 3.10.2.
    cmdout	[automation_generate.sh] 2025-02-27 05:10:36 [ERROR]
    cmdout	[automation_generate.sh] 2025-02-27 05:10:36 [ERROR] There is a new version of AutoRest available (3.7.1).
    cmdout	[automation_generate.sh] 2025-02-27 05:10:36 [ERROR]  > You can install the newer version with with npm install -g autorest@latest
    cmdout	[automation_generate.sh] 2025-02-27 05:10:36 [ERROR]
    cmdout	[automation_generate.sh] 2025-02-27 05:10:36 [ERROR] info    |    Loading AutoRest core      '/home/cloudtest/.autorest/@[email protected]/nodemodules/@autorest/core/dist' (3.10.2)
    cmdout	[automation_generate.sh] 2025-02-27 05:10:36 [ERROR] warning | DeprecatedConfig | Using directive.0.suppress which is deprecated and will be removed in the future.
    cmdout	[automation_generate.sh] 2025-02-27 05:10:36 [ERROR] info    |    Installing AutoRest extension '@autorest/modelerfour' (4.27.0 -> 4.27.0)
    cmdout	[automation_generate.sh] 2025-02-27 05:10:36 [ERROR] info    |    Installed AutoRest extension '@autorest/modelerfour' (4.27.0->4.27.0)
    cmdout	[automation_generate.sh] 2025-02-27 05:10:36 [ERROR] info    |    Installing AutoRest extension '@autorest/python' (6.27.4 -> 6.27.4)
    cmdout	[automation_generate.sh] 2025-02-27 05:10:36 [ERROR] info    |    Installed AutoRest extension '@autorest/python' (6.27.4->6.27.4)
    cmdout	[automation_generate.sh] 2025-02-27 05:10:36 [ERROR] error   | [Exception] No input files provided.
    cmdout	[automation_generate.sh] 2025-02-27 05:10:36 [ERROR]
    cmdout	[automation_generate.sh] 2025-02-27 05:10:36 [ERROR] Use --help to get help information or see https://aka.ms/autorest/cli for additional documentation
    cmdout	[automation_generate.sh] 2025-02-27 05:10:36 [ERROR] error   |   Error: [Exception] No input files provided.
    cmdout	[automation_generate.sh] 2025-02-27 05:10:36 [ERROR]
    cmdout	[automation_generate.sh] 2025-02-27 05:10:36 [ERROR] Use --help to get help information or see https://aka.ms/autorest/cli for additional documentation
    cmdout	[automation_generate.sh] 2025-02-27 05:10:36 [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-02-27 05:10:38 [ERROR] AutoRest code generation utility [cli version: 3.6.1; node: v18.20.5]
    cmdout	[automation_generate.sh] 2025-02-27 05:10:38 [ERROR] (C) 2018 Microsoft Corporation.
    cmdout	[automation_generate.sh] 2025-02-27 05:10:38 [ERROR] https://aka.ms/autorest
    cmdout	[automation_generate.sh] 2025-02-27 05:10:38 [ERROR] info    | AutoRest core version selected from configuration: 3.10.2.
    cmdout	[automation_generate.sh] 2025-02-27 05:10:38 [ERROR]
    cmdout	[automation_generate.sh] 2025-02-27 05:10:38 [ERROR] There is a new version of AutoRest available (3.7.1).
    cmdout	[automation_generate.sh] 2025-02-27 05:10:38 [ERROR]  > You can install the newer version with with npm install -g autorest@latest
    cmdout	[automation_generate.sh] 2025-02-27 05:10:38 [ERROR]
    cmdout	[automation_generate.sh] 2025-02-27 05:10:38 [ERROR] info    |    Loading AutoRest core      '/home/cloudtest/.autorest/@[email protected]/nodemodules/@autorest/core/dist' (3.10.2)
    cmdout	[automation_generate.sh] 2025-02-27 05:10:38 [ERROR] warning | DeprecatedConfig | Using directive.0.suppress which is deprecated and will be removed in the future.
    cmdout	[automation_generate.sh] 2025-02-27 05:10:38 [ERROR] info    |    Loading AutoRest extension '@autorest/modelerfour' (4.27.0->4.27.0)
    cmdout	[automation_generate.sh] 2025-02-27 05:10:38 [ERROR] info    |    Loading AutoRest extension '@autorest/python' (6.27.4->6.27.4)
    cmdout	[automation_generate.sh] 2025-02-27 05:10:38 [ERROR] error   | [Exception] No input files provided.
    cmdout	[automation_generate.sh] 2025-02-27 05:10:38 [ERROR]
    cmdout	[automation_generate.sh] 2025-02-27 05:10:38 [ERROR] Use --help to get help information or see https://aka.ms/autorest/cli for additional documentation
    cmdout	[automation_generate.sh] 2025-02-27 05:10:38 [ERROR] error   |   Error: [Exception] No input files provided.
    cmdout	[automation_generate.sh] 2025-02-27 05:10:38 [ERROR]
    cmdout	[automation_generate.sh] 2025-02-27 05:10:38 [ERROR] Use --help to get help information or see https://aka.ms/autorest/cli for additional documentation
    cmdout	[automation_generate.sh] 2025-02-27 05:10:38 [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-02-27 05:10:38 [ERROR] fail to generate sdk for specification/cognitiveservices/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/cognitiveservices/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-02-27 05:10:38 [ERROR] ======================================= Whant Can I do (begin) ========================================================================
    cmdout	[automation_generate.sh] 2025-02-27 05:10:38 [ERROR] Fail to generate sdk for specification/cognitiveservices/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-02-27 05:10:38 [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-02-27 05:10:38 [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-02-27 05:10:38 [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.