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

ResouceType: OEP Adding stable version #29177

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

Conversation

anubhavaron1996
Copy link

@anubhavaron1996 anubhavaron1996 commented May 21, 2024

ARM (Control Plane) API Specification Update Pull Request

Tip

Overwhelmed by all this guidance? See the Getting help section at the bottom of this PR description.

PR review workflow diagram

Please understand this diagram before proceeding. It explains how to get your PR approved & merged.

spec_pr_review_workflow_diagram

Purpose of this PR

What's the purpose of this PR? Check the specific option that applies. This is mandatory!

  • New resource provider.
  • New API version for an existing resource provider. (If API spec is not defined in TypeSpec, the PR should have been created in adherence to OpenAPI specs PR creation guidance).
  • Update existing version for a new feature. (This is applicable only when you are revising a private preview API version.)
  • Update existing version to fix OpenAPI spec quality issues in S360.
  • Other, please clarify:
    • edit this with your clarification

Due diligence checklist

To merge this PR, you must go through the following checklist and confirm you understood
and followed the instructions by checking all the boxes:

  • I confirm this PR is modifying Azure Resource Manager (ARM) related specifications, and not data plane related specifications.
  • I have reviewed following Resource Provider guidelines, including
    ARM resource provider contract and
    REST guidelines (estimated time: 4 hours).
    I understand this is required before I can proceed to the diagram Step 2, "ARM API changes review", for this PR.

Additional information

Viewing API changes

For convenient view of the API changes made by this PR, refer to the URLs provided in the table
in the Generated ApiView comment added to this PR. You can use ApiView to show API versions diff.

Suppressing failures

If one or multiple validation error/warning suppression(s) is detected in your PR, please follow the
suppressions guide to get approval.

Getting help

  • First, please carefully read through this PR description, from top to bottom. Please fill out the Purpose of this PR and Due diligence checklist.
  • To understand what you must do next to merge this PR, see the Next Steps to Merge comment. It will appear within few minutes of submitting this PR and will continue to be up-to-date with current PR state.
  • For guidance on fixing this PR CI check failures, see the hyperlinks provided in given failure
    and https://aka.ms/ci-fix.
  • For help with ARM review (PR workflow diagram Step 2), see https://aka.ms/azsdk/pr-arm-review.
  • If the PR CI checks appear to be stuck in queued state, please add a comment with contents /azp run.
    This should result in a new comment denoting a PR validation pipeline has started and the checks should be updated after few minutes.
  • If the help provided by the previous points is not enough, post to https://aka.ms/azsdk/support/specreview-channel and link to this PR.

Copy link

openapi-pipeline-app bot commented May 21, 2024

PR validation pipeline restarted successfully. This comment will be populated with next steps to merge this PR once validation is completed. Please wait ⌛.

Copy link

openapi-pipeline-app bot commented May 21, 2024

Swagger Validation Report

️️✔️BreakingChange succeeded [Detail] [Expand]
There are no breaking changes.
️⚠️Breaking Change(Cross-Version): 2 Warnings warning [Detail]
Compared specs (v0.10.8) new version base version
oep.json 2024-05-21(94b8f6e) 2022-04-04-preview(main)

The following breaking changes are detected by comparison with the latest preview version:

Rule Message
⚠️ 1011 - AddingResponseCode The new version adds a response code '202'.
New: Microsoft.OpenEnergyPlatform/stable/2024-05-21/oep.json#L282:11
⚠️ 1044 - XmsLongRunningOperationChanged The new version has a different 'x-ms-longrunning-operation' value than the previous one.
New: Microsoft.OpenEnergyPlatform/stable/2024-05-21/oep.json#L242:7
Old: Microsoft.OpenEnergyPlatform/preview/2022-04-04-preview/oep.json#L239:7
️️✔️CredScan succeeded [Detail] [Expand]
There is no credential detected.
️❌LintDiff: 3 Errors, 0 Warnings failed [Detail] [must fix]The following errors/warnings are introduced by current PR:
Rule Message Related RPC [For API reviewers]
AutoRest exception "tag":"package-2024-05-21",
"details":"Process() cancelled due to failure"
AutoRest exception "tag":"package-2024-05-21",
"details":"!Error: Could not read 'file:///mnt/vss/_work/1/azure-rest-api-specs/specification/oep/resource-manager/Microsoft.OpenEnergyPlatform/preview/2024-05-21/oep.json'."
AutoRest exception "tag":"package-2024-05-21",
"details":"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."
️❌Avocado: 49 Errors, 0 Warnings failed [Detail]

Only 30 items are listed, please refer to log for more details.

Rule Message
NO_JSON_FILE_FOUND The JSON file is not found but it is referenced from the readme file.
readme: specification/oep/resource-manager/readme.md
json: Microsoft.OpenEnergyPlatform/preview/2024-05-21/oep.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/oep/resource-manager/readme.md
json: stable/2024-05-21/examples/EnergyServices_AddPartition_MaximumSet_Gen.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/oep/resource-manager/readme.md
json: stable/2024-05-21/examples/EnergyServices_AddPartition_MinimumSet_Gen.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/oep/resource-manager/readme.md
json: stable/2024-05-21/examples/EnergyServices_Create_MaximumSet_Gen.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/oep/resource-manager/readme.md
json: stable/2024-05-21/examples/EnergyServices_Delete_MaximumSet_Gen.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/oep/resource-manager/readme.md
json: stable/2024-05-21/examples/EnergyServices_Delete_MinimumSet_Gen.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/oep/resource-manager/readme.md
json: stable/2024-05-21/examples/EnergyServices_Get_MaximumSet_Gen.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/oep/resource-manager/readme.md
json: stable/2024-05-21/examples/EnergyServices_ListByResourceGroup_MaximumSet_Gen.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/oep/resource-manager/readme.md
json: stable/2024-05-21/examples/EnergyServices_ListBySubscription_MaximumSet_Gen.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/oep/resource-manager/readme.md
json: stable/2024-05-21/examples/EnergyServices_ListPartitions_MaximumSet_Gen.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/oep/resource-manager/readme.md
json: stable/2024-05-21/examples/EnergyServices_ListPartitions_MinimumSet_Gen.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/oep/resource-manager/readme.md
json: stable/2024-05-21/examples/EnergyServices_RemovePartition_MaximumSet_Gen.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/oep/resource-manager/readme.md
json: stable/2024-05-21/examples/EnergyServices_RemovePartition_MinimumSet_Gen.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/oep/resource-manager/readme.md
json: stable/2024-05-21/examples/EnergyServices_Update_MaximumSet_Gen.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/oep/resource-manager/readme.md
json: stable/2024-05-21/examples/Locations_CheckNameAvailability_MaximumSet_Gen.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/oep/resource-manager/readme.md
json: stable/2024-05-21/examples/Locations_CheckNameAvailability_MinimumSet_Gen.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/oep/resource-manager/readme.md
json: stable/2024-05-21/examples/Operations_List_MaximumSet_Gen.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/oep/resource-manager/readme.md
json: stable/2024-05-21/examples/Operations_List_MinimumSet_Gen.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/oep/resource-manager/readme.md
json: stable/2024-05-21/examples/PrivateEndpointConnectionProxies_CreateOrUpdate_MaximumSet_Gen.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/oep/resource-manager/readme.md
json: stable/2024-05-21/examples/PrivateEndpointConnectionProxies_CreateOrUpdate_MinimumSet_Gen.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/oep/resource-manager/readme.md
json: stable/2024-05-21/examples/PrivateEndpointConnectionProxies_Delete_MaximumSet_Gen.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/oep/resource-manager/readme.md
json: stable/2024-05-21/examples/PrivateEndpointConnectionProxies_Delete_MinimumSet_Gen.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/oep/resource-manager/readme.md
json: stable/2024-05-21/examples/PrivateEndpointConnectionProxies_Get_MaximumSet_Gen.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/oep/resource-manager/readme.md
json: stable/2024-05-21/examples/PrivateEndpointConnectionProxies_Get_MinimumSet_Gen.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/oep/resource-manager/readme.md
json: stable/2024-05-21/examples/PrivateEndpointConnectionProxies_ListByOAKInstance_MaximumSet_Gen.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/oep/resource-manager/readme.md
json: stable/2024-05-21/examples/PrivateEndpointConnectionProxies_ListByOAKInstance_MinimumSet_Gen.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/oep/resource-manager/readme.md
json: stable/2024-05-21/examples/PrivateEndpointConnectionProxies_Validate_MaximumSet_Gen.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/oep/resource-manager/readme.md
json: stable/2024-05-21/examples/PrivateEndpointConnectionProxies_Validate_MinimumSet_Gen.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/oep/resource-manager/readme.md
json: stable/2024-05-21/examples/PrivateEndpointConnections_CreateOrUpdate_MaximumSet_Gen.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/oep/resource-manager/readme.md
json: stable/2024-05-21/examples/PrivateEndpointConnections_CreateOrUpdate_MinimumSet_Gen.json
️️✔️SwaggerAPIView succeeded [Detail] [Expand]
️️✔️TypeSpecAPIView succeeded [Detail] [Expand]
️️✔️ModelValidation succeeded [Detail] [Expand]
Validation passes for ModelValidation.
️️✔️SemanticValidation succeeded [Detail] [Expand]
Validation passes for SemanticValidation.
️️✔️PoliCheck succeeded [Detail] [Expand]
Validation passed for PoliCheck.
️️✔️SpellCheck succeeded [Detail] [Expand]
Validation passes for SpellCheck.
️️✔️Lint(RPaaS) succeeded [Detail]
Rule Message
AutoRest exception "details":"Process() cancelled due to failure "
AutoRest exception "details":"!Error: Could not read 'file:///mnt/vss/_work/1/azure-rest-api-specs/specification/oep/resource-manager/Microsoft.OpenEnergyPlatform/preview/2024-05-21/oep.json'."
AutoRest exception "details":"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."
️️✔️PR Summary succeeded [Detail] [Expand]
Validation passes for Summary.
️️✔️Automated merging requirements met succeeded [Detail] [Expand]
Posted by Swagger Pipeline | How to fix these errors?

Copy link

openapi-pipeline-app bot commented May 21, 2024

Swagger Generation Artifacts

️️✔️ApiDocPreview succeeded [Detail] [Expand]
 Please click here to preview with your @microsoft account. 
️❌ azure-sdk-for-python failed [Detail]
  • Code Generator Failed in generating from eae2066. 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
    cmderr	[automation_init.sh] W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/azure-cli.list:1 and /etc/apt/sources.list.d/azure-cli.sources:1
    cmderr	[automation_init.sh] W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/azure-cli.list:1 and /etc/apt/sources.list.d/azure-cli.sources:1
    cmderr	[automation_init.sh] W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/azure-cli.list:1 and /etc/apt/sources.list.d/azure-cli.sources:1
    cmderr	[automation_init.sh] W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/azure-cli.list:1 and /etc/apt/sources.list.d/azure-cli.sources:1
    cmderr	[automation_init.sh] W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/azure-cli.list:1 and /etc/apt/sources.list.d/azure-cli.sources:1
    cmderr	[automation_init.sh] W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/azure-cli.list:1 and /etc/apt/sources.list.d/azure-cli.sources:1
    cmderr	[automation_init.sh] W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/azure-cli.list:1 and /etc/apt/sources.list.d/azure-cli.sources:1
    cmderr	[automation_init.sh] W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/azure-cli.list:1 and /etc/apt/sources.list.d/azure-cli.sources:1
    cmderr	[automation_init.sh] W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/azure-cli.list:1 and /etc/apt/sources.list.d/azure-cli.sources:1
    cmderr	[automation_init.sh] W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/azure-cli.list:1 and /etc/apt/sources.list.d/azure-cli.sources:1
    cmderr	[automation_init.sh] WARNING: Skipping azure-nspkg as it is not installed.
    command	sh scripts/automation_generate.sh ../azure-sdk-for-python_tmp/generateInput.json ../azure-sdk-for-python_tmp/generateOutput.json
    cmdout	[automation_generate.sh] [Autorest] AutoRest code generation utility [cli version: 3.6.1; node: v18.20.2]
    cmdout	[automation_generate.sh] [Autorest] (C) 2018 Microsoft Corporation.
    cmdout	[automation_generate.sh] [Autorest] https://aka.ms/autorest
    cmdout	[automation_generate.sh] [Autorest] info    | AutoRest core version selected from configuration: 3.10.2.
    cmdout	[automation_generate.sh] [Autorest]
    cmdout	[automation_generate.sh] [Autorest] There is a new version of AutoRest available (3.7.1).
    cmdout	[automation_generate.sh] [Autorest]  > You can install the newer version with with npm install -g autorest@latest
    cmdout	[automation_generate.sh] [Autorest]
    cmdout	[automation_generate.sh] [Autorest] info    |    Loading AutoRest core      '/home/cloudtest/.autorest/@autorestcore@3.10.2/nodemodules/@autorest/core/dist' (3.10.2)
    cmdout	[automation_generate.sh] [Autorest] warning | DeprecatedConfig | Using directive.0.suppress which is deprecated and will be removed in the future.
    cmdout	[automation_generate.sh] [Autorest] warning | DeprecatedConfig | Using directive.1.suppress which is deprecated and will be removed in the future.
    cmdout	[automation_generate.sh] [Autorest] info    |    Installing AutoRest extension '@autorest/modelerfour' (4.27.0 -> 4.27.0)
    cmdout	[automation_generate.sh] [Autorest] info    |    Installed AutoRest extension '@autorest/modelerfour' (4.27.0->4.27.0)
    cmdout	[automation_generate.sh] [Autorest] info    |    Installing AutoRest extension '@autorest/python' (6.13.16 -> 6.13.16)
    cmdout	[automation_generate.sh] [Autorest] info    |    Installed AutoRest extension '@autorest/python' (6.13.16->6.13.16)
    cmdout	[automation_generate.sh] [Autorest] fatal   | Process() cancelled due to failure
    cmdout	[automation_generate.sh] [Autorest] error   |   Error: Could not read 'file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/oep/resource-manager/Microsoft.OpenEnergyPlatform/preview/2024-05-21/oep.json'.
    cmdout	[automation_generate.sh] [Autorest] 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] [Autorest] AutoRest code generation utility [cli version: 3.6.1; node: v18.20.2]
    cmdout	[automation_generate.sh] [Autorest] (C) 2018 Microsoft Corporation.
    cmdout	[automation_generate.sh] [Autorest] https://aka.ms/autorest
    cmdout	[automation_generate.sh] [Autorest] info    | AutoRest core version selected from configuration: 3.10.2.
    cmdout	[automation_generate.sh] [Autorest]
    cmdout	[automation_generate.sh] [Autorest] There is a new version of AutoRest available (3.7.1).
    cmdout	[automation_generate.sh] [Autorest]  > You can install the newer version with with npm install -g autorest@latest
    cmdout	[automation_generate.sh] [Autorest]
    cmdout	[automation_generate.sh] [Autorest] info    |    Loading AutoRest core      '/home/cloudtest/.autorest/@autorestcore@3.10.2/nodemodules/@autorest/core/dist' (3.10.2)
    cmdout	[automation_generate.sh] [Autorest] warning | DeprecatedConfig | Using directive.0.suppress which is deprecated and will be removed in the future.
    cmdout	[automation_generate.sh] [Autorest] warning | DeprecatedConfig | Using directive.1.suppress which is deprecated and will be removed in the future.
    cmdout	[automation_generate.sh] [Autorest] info    |    Loading AutoRest extension '@autorest/modelerfour' (4.27.0->4.27.0)
    cmdout	[automation_generate.sh] [Autorest] info    |    Loading AutoRest extension '@autorest/python' (6.13.16->6.13.16)
    cmdout	[automation_generate.sh] [Autorest] fatal   | Process() cancelled due to failure
    cmdout	[automation_generate.sh] [Autorest] error   |   Error: Could not read 'file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/oep/resource-manager/Microsoft.OpenEnergyPlatform/preview/2024-05-21/oep.json'.
    cmdout	[automation_generate.sh] [Autorest] 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] [Autorest]/mnt/vss/_work/1/s/azure-sdk-for-python_tmp/venv-sdk/auto_temp.json does not exist!!!Error happened during codegen
    error	Script return with result [failed] code [1] signal [null] cwd [azure-sdk-for-python]: sh scripts/automation_generate.sh
    warn	Skip package processing as generation is failed
️❌ azure-sdk-for-java failed [Detail]
  • Failed in generating from eae2066. SDK Automation 14.0.0
    command	./eng/mgmt/automation/init.sh ../azure-sdk-for-java_tmp/initInput.json ../azure-sdk-for-java_tmp/initOutput.json
    command	./eng/mgmt/automation/generate.py ../azure-sdk-for-java_tmp/generateInput.json ../azure-sdk-for-java_tmp/generateOutput.json
    cmderr	[generate.py] [GENERATE][Error] Code generation failed.
    cmderr	[generate.py] Please first check if the failure happens only to Java automation, or for all SDK automations.
    cmderr	[generate.py] If it happens for all SDK automations, please double check your Swagger, and check whether there is errors in ModelValidation and LintDiff.
    cmderr	[generate.py] If it happens to Java alone, you can open an issue to https://github.com/Azure/autorest.java/issues. Please include the link of this Pull Request in the issue.
  • azure-resourcemanager-oep [Preview SDK Changes]
    • pom.xml
️❌ azure-sdk-for-go failed [Detail]
  • Code Generator Failed in generating from eae2066. SDK Automation 14.0.0
    command	sh ./eng/scripts/automation_init.sh ../../../../../azure-sdk-for-go_tmp/initInput.json ../../../../../azure-sdk-for-go_tmp/initOutput.json
    command	generator automation-v2 ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
    cmderr	[generator automation-v2] [ERROR] total 1 error(s):
    cmderr	[generator automation-v2] [ERROR] cannot get rp and namespaces from readme 'oep/resource-manager/readme.md': open /mnt/vss/_work/1/s/azure-rest-api-specs/specification/oep/resource-manager/readme.go.md: no such file or directory
    error	Script return with result [failed] code [1] signal [null] cwd [azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go]: generator automation-v2
    warn	Skip package processing as generation is failed
️❌ azure-sdk-for-js failed [Detail]
  • Code Generator Failed in generating from eae2066. SDK Automation 14.0.0
    command	sh .scripts/automation_init.sh ../azure-sdk-for-js_tmp/initInput.json ../azure-sdk-for-js_tmp/initOutput.json
    warn	File azure-sdk-for-js_tmp/initOutput.json not found to read
    command	sh .scripts/automation_generate.sh ../azure-sdk-for-js_tmp/generateInput.json ../azure-sdk-for-js_tmp/generateOutput.json
    cmderr	[automation_generate.sh] [ERROR] An error occurred while generating codes for readme file: "specification/oep/resource-manager/readme.md":
    cmderr	[automation_generate.sh] [ERROR] Err: Error: Command failed: autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/oep/resource-manager/readme.md --use=@autorest/typescript@^6.0.12
    cmderr	[automation_generate.sh] [ERROR] Stderr: "null"
    cmderr	[automation_generate.sh] [ERROR] Stdout: "null"
    cmderr	[automation_generate.sh] [ERROR] ErrorStack: "Error: Command failed: autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/oep/resource-manager/readme.md --use=@autorest/typescript@^6.0.12
    cmderr	[automation_generate.sh] [ERROR]     at checkExecSyncError (node:child_process:885:11)
    cmderr	[automation_generate.sh] [ERROR]     at Object.execSync (node:child_process:957:15)
    cmderr	[automation_generate.sh] [ERROR]     at Object.<anonymous> (/home/cloudtest/.nvm/versions/node/v18.15.0/lib/node_modules/@azure-tools/js-sdk-release-tools/dist/hlc/generateMgmt.js:39:33)
    cmderr	[automation_generate.sh] [ERROR]     at Generator.next (<anonymous>)
    cmderr	[automation_generate.sh] [ERROR]     at /home/cloudtest/.nvm/versions/node/v18.15.0/lib/node_modules/@azure-tools/js-sdk-release-tools/node_modules/tslib/tslib.js:115:75
    cmderr	[automation_generate.sh] [ERROR]     at new Promise (<anonymous>)
    cmderr	[automation_generate.sh] [ERROR]     at Object.__awaiter (/home/cloudtest/.nvm/versions/node/v18.15.0/lib/node_modules/@azure-tools/js-sdk-release-tools/node_modules/tslib/tslib.js:111:16)
    cmderr	[automation_generate.sh] [ERROR]     at Object.generateMgmt (/home/cloudtest/.nvm/versions/node/v18.15.0/lib/node_modules/@azure-tools/js-sdk-release-tools/dist/hlc/generateMgmt.js:20:20)
    cmderr	[automation_generate.sh] [ERROR]     at /home/cloudtest/.nvm/versions/node/v18.15.0/lib/node_modules/@azure-tools/js-sdk-release-tools/dist/autoGenerateInPipeline.js:46:38"
    cmderr	[automation_generate.sh] [ERROR] An error occurred while generating codes for readme file: "specification/oep/resource-manager/readme.md":
    cmderr	[automation_generate.sh] [ERROR] Err: Error: Command failed: autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/oep/resource-manager/readme.md --use=@autorest/typescript@^6.0.12
    cmderr	[automation_generate.sh] [ERROR] Stderr: "null"
    cmderr	[automation_generate.sh] [ERROR] Stdout: "null"
    cmderr	[automation_generate.sh] [ERROR] ErrorStack: "Error: Command failed: autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/oep/resource-manager/readme.md --use=@autorest/typescript@^6.0.12
    cmderr	[automation_generate.sh] [ERROR]     at checkExecSyncError (node:child_process:885:11)
    cmderr	[automation_generate.sh] [ERROR]     at Object.execSync (node:child_process:957:15)
    cmderr	[automation_generate.sh] [ERROR]     at Object.<anonymous> (/home/cloudtest/.nvm/versions/node/v18.15.0/lib/node_modules/@azure-tools/js-sdk-release-tools/dist/hlc/generateMgmt.js:39:33)
    cmderr	[automation_generate.sh] [ERROR]     at Generator.next (<anonymous>)
    cmderr	[automation_generate.sh] [ERROR]     at /home/cloudtest/.nvm/versions/node/v18.15.0/lib/node_modules/@azure-tools/js-sdk-release-tools/node_modules/tslib/tslib.js:115:75
    cmderr	[automation_generate.sh] [ERROR]     at new Promise (<anonymous>)
    cmderr	[automation_generate.sh] [ERROR]     at Object.__awaiter (/home/cloudtest/.nvm/versions/node/v18.15.0/lib/node_modules/@azure-tools/js-sdk-release-tools/node_modules/tslib/tslib.js:111:16)
    cmderr	[automation_generate.sh] [ERROR]     at Object.generateMgmt (/home/cloudtest/.nvm/versions/node/v18.15.0/lib/node_modules/@azure-tools/js-sdk-release-tools/dist/hlc/generateMgmt.js:20:20)
    cmderr	[automation_generate.sh] [ERROR]     at /home/cloudtest/.nvm/versions/node/v18.15.0/lib/node_modules/@azure-tools/js-sdk-release-tools/dist/autoGenerateInPipeline.js:46:38"
    error	Script return with result [failed] code [1] signal [null] cwd [azure-sdk-for-js]: sh .scripts/automation_generate.sh
    warn	Skip package processing as generation is failed
Posted by Swagger Pipeline | How to fix these errors?

Copy link

openapi-pipeline-app bot commented May 21, 2024

Generated ApiView

Language Package Name ApiView Link
Swagger Microsoft.OpenEnergyPlatform https://apiview.dev/Assemblies/Review/cf7bd113b29a4b7196723cb70de15680?revisionId=abcec266329c4b80a958f4f758289aea

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
resource-manager RPaaS WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants