Skip to content

[Test] Review request for Microsoft.Resources to add version stable/2023-09-01 #3100

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

Open
wants to merge 28 commits into
base: main
Choose a base branch
from

Conversation

ankhyk
Copy link

@ankhyk ankhyk commented Nov 30, 2023

ARM (Control Plane) API Specification Update Pull Request

PR review workflow diagram

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

diagram

[1] ARM review queue (for merge queues, see [4])
The PRs are processed by time opened, ascending. Your PR may show up on 2nd or later page.
If you addressed Step 1 from the diagram and your PR is not showing up in the queue, ensure the label ARMChangesRequested
is removed from your PR. This should cause the label WaitForARMFeedback to be added.
[2] https://aka.ms/azsdk/support/specreview-channel
[3] List of SDK breaking changes approvers in pinned Teams announcement
[4] public repo merge queue, private repo merge queue (for ARM review queue, [1])

If you need further help with anything, see Getting help section below.

Purpose of this PR

What's the purpose of this PR? Check all that apply. This is mandatory!

  • New API version. (If API spec is not defined in TypeSpec, the PR should have been generated using OpenAPI Hub).
  • 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 swagger 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:

Breaking changes review (Step 1)

  • If the automation determines you have breaking changes, i.e. Step 1 from the diagram applies to you,
    you must follow the breaking changes process.
    IMPORTANT This applies even if:
    • The tool fails while it shouldn't, e.g. due to runtime exception, or incorrect detection of breaking changes.
    • You believe there is no need for you to request breaking change approval, for any reason.
      Such claims must be reviewed, and the process is the same.

ARM API changes review (Step 2)

  • If this PR is in purview of ARM review then automation will add the ARMReview label.
  • If you want to force ARM review, add the label yourself.
  • Proceed according to the diagram at the top of this comment.

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
Swagger-Suppression-Process
to get approval.

Getting help

raych1 and others added 28 commits September 13, 2023 06:39
* Rename bug.md to bug_report.md

* Create config.yml
[Internal testing] testing openapi-alps PR 510778 - Test 11/14/2023 / 1
[Internal testing] testing openapi-alps PR 510778 - Test 11/14/2023 / 2
[Internal testing] testing openapi-alps PR 510778 - Test 11/15/2023 / 1
[Internal testing] testing openapi-alps PR 511346 - Test 1
Copy link

openapi-pipeline-app-test bot commented Nov 30, 2023

Next Steps to merge

Next steps that must be taken to merge this PR:
  • ❌ Your PR has breaking changes (label: BreakingChangeReviewRequired). See the PR description for help.
  • ❌ The required check named Swagger LintDiff has failed. Refer to the check in the PR's 'Checks' tab for details on how to fix it.

Copy link

openapi-pipeline-app-test bot commented Nov 30, 2023

Swagger Generation Artifacts

️🔄~[NotRequired_Staging] ApiDocPreview inProgress [Detail]
️⚠️ azure-sdk-for-net-track2 warning [Detail]
  • ⚠️Warning [Logs] Generate from e5aec1e007d7bbf50eb04f2c3c52bbf464dc925e. SDK Automation 14.0.0
    command	pwsh ./eng/scripts/Automation-Sdk-Init.ps1 ../azure-sdk-for-net_tmp/initInput.json ../azure-sdk-for-net_tmp/initOutput.json
    command	pwsh ./eng/scripts/Invoke-GenerateAndBuildV2.ps1 ../azure-sdk-for-net_tmp/generateInput.json ../azure-sdk-for-net_tmp/generateOutput.json
    warn	No file changes detected after generation
  • ️✔️Azure.ResourceManager.Resources [View full logs
    info	[Changelog]
️❌ azure-sdk-for-python-track2 failed [Detail]
  • Code Generator Failed [Logs] Generate from e5aec1e007d7bbf50eb04f2c3c52bbf464dc925e. 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] WARNING: azure-devtools 1.2.1 does not provide the extra 'ci-tools'
    cmderr	[automation_init.sh] WARNING: azure-devtools 1.2.1 does not provide the extra 'ci-tools'
    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
    cmderr	[automation_generate.sh] npm notice
    cmderr	[automation_generate.sh] npm notice New major version of npm available! 9.8.1 -> 10.2.4
    cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.2.4>
    cmderr	[automation_generate.sh] npm notice Run `npm install -g [email protected]` to update!
    cmderr	[automation_generate.sh] npm notice
    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]
  • Pipeline Framework Failed [Logs] Generate from e5aec1e007d7bbf50eb04f2c3c52bbf464dc925e. 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
    cmderr	[init.sh] [notice] A new release of pip is available: 23.0.1 -> 23.3.1
    cmderr	[init.sh] [notice] To update, run: pip install --upgrade pip
    cmderr	[init.sh] [notice] A new release of pip is available: 23.0.1 -> 23.3.1
    cmderr	[init.sh] [notice] To update, run: pip install --upgrade pip
    command	./eng/mgmt/automation/generate.py ../azure-sdk-for-java_tmp/generateInput.json ../azure-sdk-for-java_tmp/generateOutput.json
    ENOENT: no such file or directory, stat 'azure-sdk-for-java/sdk/resources/azure-resourcemanager-resources-generated/pom.xml'
    Error: ENOENT: no such file or directory, stat 'azure-sdk-for-java/sdk/resources/azure-resourcemanager-resources-generated/pom.xml'
  • azure-resourcemanager-resources-generated [View full logs
    error	Fatal error: ENOENT: no such file or directory, stat 'azure-sdk-for-java/sdk/resources/azure-resourcemanager-resources-generated/pom.xml'
    error	The following packages are still pending:
    error		azure-resourcemanager-resources-generated
️❌ azure-sdk-for-go failed [Detail]
  • Code Generator Failed [Logs] Generate from e5aec1e007d7bbf50eb04f2c3c52bbf464dc925e. 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] failed to execute `go generate` '�[33;1mWARNING: Unable to find version for /mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources�[0m
    cmderr	[generator automation-v2] [ERROR] Cannot find go module under resourcemanager/resources/armresources, try to build in /mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources
    cmderr	[generator automation-v2] [ERROR] ##[command]Cleaning auto-generated files in /mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources
    cmderr	[generator automation-v2] [ERROR] ##[command]Executing autorest.go in  /mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources
    cmderr	[generator automation-v2] [ERROR] autorest --use=@autorest/[email protected] --go --track2 --output-folder=/mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources --clear-output-folder=false --go.clear-output-folder=false --honor-body-placement=true --remove-unreferenced-types=false ./autorest.md
    cmderr	[generator automation-v2] [ERROR] AutoRest code generation utility [cli version: 3.6.1; node: v16.20.2]
    cmderr	[generator automation-v2] [ERROR] (C) 2018 Microsoft Corporation.
    cmderr	[generator automation-v2] [ERROR] https://aka.ms/autorest
    cmderr	[generator automation-v2] [ERROR] There is a new version of AutoRest available (3.7.1).
    cmderr	[generator automation-v2] [ERROR] > You can install the newer version with with npm install -g autorest@latest
    cmderr	[generator automation-v2] [ERROR] info    |    Loading AutoRest core      '/home/cloudtest/.autorest/@[email protected]/nodemodules/@autorest/core/dist' (3.10.1)
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.0.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.1.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.2.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.3.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.4.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.5.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.6.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.7.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.8.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.9.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.10.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.11.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.12.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.13.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.14.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.15.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.16.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.17.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.18.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.19.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.20.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.21.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.22.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.23.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.24.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.25.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.26.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.27.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.28.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.29.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.30.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.31.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.32.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.33.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.34.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.35.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.36.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.37.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.38.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.39.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.40.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.41.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.42.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.43.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.44.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.45.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.46.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.47.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.48.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.49.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.50.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.51.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.52.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.53.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.54.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.55.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.56.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.57.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.58.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.59.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.60.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.61.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.62.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.63.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.64.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.65.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.66.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.67.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.68.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.69.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.70.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.71.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.72.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.73.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.74.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.75.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.76.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.77.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.78.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.79.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.80.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.81.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.82.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.83.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.84.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.85.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.86.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.87.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.88.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.89.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.90.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.91.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] info    |    Installing AutoRest extension '@autorest/go' (4.0.0-preview.60 -> 4.0.0-preview.60)
    cmderr	[generator automation-v2] [ERROR] info    |    Installed AutoRest extension '@autorest/go' (4.0.0-preview.60->4.0.0-preview.60)
    cmderr	[generator automation-v2] [ERROR] info    |    Installing AutoRest extension '@autorest/modelerfour' (4.26.2 -> 4.26.2)
    cmderr	[generator automation-v2] [ERROR] info    |    Installed AutoRest extension '@autorest/modelerfour' (4.26.2->4.26.2)
    cmderr	[generator automation-v2] [ERROR] error   | [Exception] No input files provided.
    cmderr	[generator automation-v2] [ERROR] Use --help to get help information or see https://aka.ms/autorest/cli for additional documentation
    cmderr	[generator automation-v2] [ERROR] error   |   Error: [Exception] No input files provided.
    cmderr	[generator automation-v2] [ERROR] Use --help to get help information or see https://aka.ms/autorest/cli for additional documentation
    cmderr	[generator automation-v2] [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.
    cmderr	[generator automation-v2] [ERROR] ##[error]Error running autorest.go
    cmderr	[generator automation-v2] [ERROR] build.go:5: running "pwsh": exit status 1
    cmderr	[generator automation-v2] [ERROR] ': exit status 1
    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 inProgress [Detail]
️❌ azure-resource-manager-schemas failed [Detail]
  • Pipeline Framework Failed [Logs] Generate from e5aec1e007d7bbf50eb04f2c3c52bbf464dc925e. Schema Automation 14.0.0
    command	.sdkauto/initScript.sh ../azure-resource-manager-schemas_tmp/initInput.json ../azure-resource-manager-schemas_tmp/initOutput.json
    cmderr	[initScript.sh] npm notice
    cmderr	[initScript.sh] npm notice New major version of npm available! 8.19.4 -> 10.2.4
    cmderr	[initScript.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.2.4>
    cmderr	[initScript.sh] npm notice Run `npm install -g [email protected]` to update!
    cmderr	[initScript.sh] npm notice
    warn	File azure-resource-manager-schemas_tmp/initOutput.json not found to read
    command	.sdkauto/generateScript.sh ../azure-resource-manager-schemas_tmp/generateInput.json ../azure-resource-manager-schemas_tmp/generateOutput.json
    cannot force update branch 'sdkAuto/3100/resources' as it is the current HEAD of the repository.
    Error: cannot force update branch 'sdkAuto/3100/resources' as it is the current HEAD of the repository.
  • ️✔️resources [View full logs]  [Preview Schema Changes]
  • ️✔️resources [View full logs
    error	Fatal error: cannot force update branch 'sdkAuto/3100/resources' as it is the current HEAD of the repository.
    error	The following packages are still pending:
    error		resources
    error		resources
    error		resources
    error		resources
  • ️✔️resources
  • ️✔️resources
️❌ azure-powershell failed [Detail]
  • Pipeline Framework Failed [Logs] Generate from e5aec1e007d7bbf50eb04f2c3c52bbf464dc925e. SDK Automation 14.0.0
    command	sh ./tools/SwaggerCI/init.sh ../azure-powershell_tmp/initInput.json ../azure-powershell_tmp/initOutput.json
    command	pwsh ./tools/SwaggerCI/psci.ps1 ../azure-powershell_tmp/generateInput.json ../azure-powershell_tmp/generateOutput.json
    SSL error: syscall failure: Broken pipe
    Error: SSL error: syscall failure: Broken pipe
  • ⚠️Az.resources.DefaultTag [View full logs
    error	Fatal error: SSL error: syscall failure: Broken pipe
    error	The following packages are still pending:
    error		Az.resources.DefaultTag
Posted by Swagger Pipeline | How to fix these errors?

Copy link

openapi-pipeline-app-test bot commented Nov 30, 2023

Generated ApiView

Language Package Name ApiView Link
.Net Azure.ResourceManager.Resources There is no API change compared with the previous version
Swagger Microsoft.Resources There is no API change compared with the previous version

Copy link

openapi-pipeline-app-test bot commented Nov 30, 2023

Swagger Validation Report

️️✔️BreakingChange succeeded [Detail] [Expand]
There are no breaking changes.
️❌Breaking Change(Cross-Version): 2 Errors, 15 Warnings failed [Detail]
compared swaggers (via Oad v0.10.4)] new version base version
deploymentScripts.json 2023-09-01(1dd8bde) 2023-08-01(main)
deploymentScripts.json 2023-09-01(1dd8bde) 2019-10-01-preview(main)

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

Rule Message
1023 - TypeFormatChanged The new version has a different format than the previous one.
New: Microsoft.Resources/stable/2023-09-01/deploymentScripts.json#L347:11
Old: Microsoft.Resources/stable/2023-08-01/deploymentScripts.json#L347:11
1023 - TypeFormatChanged The new version has a different format than the previous one.
New: Microsoft.Resources/stable/2023-09-01/deploymentScripts.json#L689:9
Old: Microsoft.Resources/stable/2023-08-01/deploymentScripts.json#L688:9


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

Rule Message
⚠️ 1023 - TypeFormatChanged The new version has a different format than the previous one.
New: Microsoft.Resources/stable/2023-09-01/deploymentScripts.json#L347:11
Old: Microsoft.Resources/preview/2019-10-01-preview/deploymentScripts.json#L341:11
⚠️ 1025 - RequiredStatusChange The 'required' status changed from the old version('True') to the new version('False').
New: Microsoft.Resources/stable/2023-09-01/deploymentScripts.json#L423:7
Old: Microsoft.Resources/preview/2019-10-01-preview/deploymentScripts.json#L417:7
⚠️ 1025 - RequiredStatusChange The 'required' status changed from the old version('True') to the new version('False').
New: Microsoft.Resources/stable/2023-09-01/deploymentScripts.json#L492:7
Old: Microsoft.Resources/preview/2019-10-01-preview/deploymentScripts.json#L486:7
⚠️ 1025 - RequiredStatusChange The 'required' status changed from the old version('True') to the new version('False').
New: Microsoft.Resources/stable/2023-09-01/deploymentScripts.json#L533:7
Old: Microsoft.Resources/preview/2019-10-01-preview/deploymentScripts.json#L527:7
⚠️ 1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: Microsoft.Resources/stable/2023-09-01/deploymentScripts.json#L65:9
Old: Microsoft.Resources/preview/2019-10-01-preview/deploymentScripts.json#L59:9
⚠️ 1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: Microsoft.Resources/stable/2023-09-01/deploymentScripts.json#L120:9
Old: Microsoft.Resources/preview/2019-10-01-preview/deploymentScripts.json#L114:9
⚠️ 1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: Microsoft.Resources/stable/2023-09-01/deploymentScripts.json#L168:9
Old: Microsoft.Resources/preview/2019-10-01-preview/deploymentScripts.json#L162:9
⚠️ 1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: Microsoft.Resources/stable/2023-09-01/deploymentScripts.json#L208:9
Old: Microsoft.Resources/preview/2019-10-01-preview/deploymentScripts.json#L202:9
⚠️ 1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: Microsoft.Resources/stable/2023-09-01/deploymentScripts.json#L289:9
Old: Microsoft.Resources/preview/2019-10-01-preview/deploymentScripts.json#L283:9
⚠️ 1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: Microsoft.Resources/stable/2023-09-01/deploymentScripts.json#L334:9
Old: Microsoft.Resources/preview/2019-10-01-preview/deploymentScripts.json#L328:9
⚠️ 1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: Microsoft.Resources/stable/2023-09-01/deploymentScripts.json#L383:9
Old: Microsoft.Resources/preview/2019-10-01-preview/deploymentScripts.json#L376:9
⚠️ 1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: Microsoft.Resources/stable/2023-09-01/deploymentScripts.json#L953:5
Old: Microsoft.Resources/preview/2019-10-01-preview/deploymentScripts.json#L915:5
⚠️ 1036 - ConstraintChanged The new version has a different 'maxLength' value than the previous one.
New: Microsoft.Resources/stable/2023-09-01/deploymentScripts.json#L587:9
Old: Microsoft.Resources/preview/2019-10-01-preview/deploymentScripts.json#L581:9
⚠️ 1036 - ConstraintChanged The new version has a different 'maxLength' value than the previous one.
New: Microsoft.Resources/stable/2023-09-01/deploymentScripts.json#L587:9
Old: Microsoft.Resources/preview/2019-10-01-preview/deploymentScripts.json#L581:9
⚠️ 1036 - ConstraintChanged The new version has a different 'maxLength' value than the previous one.
New: Microsoft.Resources/stable/2023-09-01/deploymentScripts.json#L587:9
Old: Microsoft.Resources/preview/2019-10-01-preview/deploymentScripts.json#L581:9
️❌LintDiff: 13 Errors, 31 Warnings failed [Detail]
compared tags (via openapi-validator v2.1.6) new version base version
package-deploymentscripts-2023-09 package-deploymentscripts-2023-09(1dd8bde) default(main)

[must fix]The following errors/warnings are introduced by current PR:

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

Rule Message Related RPC [For API reviewers]
ResourceNameRestriction The resource name parameter 'scriptName' should be defined with a 'pattern' restriction.
Location: Microsoft.Resources/stable/2023-09-01/deploymentScripts.json#L37
RPC-Uri-V1-05
SubscriptionsAndResourceGroupCasing The path segment resourcegroups should be resourceGroups.
Location: Microsoft.Resources/stable/2023-09-01/deploymentScripts.json#L37
ProvisioningStateSpecifiedForLROPut 200 response schema in long running PUT operation is missing ProvisioningState property. A LRO PUT operations response schema must have ProvisioningState specified for the 200 and 201 status codes.
Location: Microsoft.Resources/stable/2023-09-01/deploymentScripts.json#L38
ProvisioningStateSpecifiedForLROPut 201 response schema in long running PUT operation is missing ProvisioningState property. A LRO PUT operations response schema must have ProvisioningState specified for the 200 and 201 status codes.
Location: Microsoft.Resources/stable/2023-09-01/deploymentScripts.json#L38
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: Microsoft.Resources/stable/2023-09-01/deploymentScripts.json#L104
PatchIdentityProperty The patch operation body parameter schema should contain property 'identity'.
Location: Microsoft.Resources/stable/2023-09-01/deploymentScripts.json#L133
RPC-Patch-V1-11
ResourceNameRestriction The resource name parameter 'scriptName' should be defined with a 'pattern' restriction.
Location: Microsoft.Resources/stable/2023-09-01/deploymentScripts.json#L277
RPC-Uri-V1-05
SubscriptionsAndResourceGroupCasing The path segment resourcegroups should be resourceGroups.
Location: Microsoft.Resources/stable/2023-09-01/deploymentScripts.json#L277
GetCollectionOnlyHasValueAndNextLink Get endpoints for collections of resources must only have the value and nextLink properties in their model.
Location: Microsoft.Resources/stable/2023-09-01/deploymentScripts.json#L306
ResourceNameRestriction The resource name parameter 'scriptName' should be defined with a 'pattern' restriction.
Location: Microsoft.Resources/stable/2023-09-01/deploymentScripts.json#L319
RPC-Uri-V1-05
SubscriptionsAndResourceGroupCasing The path segment resourcegroups should be resourceGroups.
Location: Microsoft.Resources/stable/2023-09-01/deploymentScripts.json#L319
ParametersInPointGet Query parameter tail should be removed. Point Get's MUST not have query parameters other than api version.
Location: Microsoft.Resources/stable/2023-09-01/deploymentScripts.json#L334
RPC-Get-V1-08
SubscriptionsAndResourceGroupCasing The path segment resourcegroups should be resourceGroups.
Location: Microsoft.Resources/stable/2023-09-01/deploymentScripts.json#L371
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'subscriptionId'.
Location: Microsoft.Resources/stable/2023-09-01/deploymentScripts.json#L65
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'resourceGroupName'.
Location: Microsoft.Resources/stable/2023-09-01/deploymentScripts.json#L65
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'api-version'.
Location: Microsoft.Resources/stable/2023-09-01/deploymentScripts.json#L65
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'subscriptionId'.
Location: Microsoft.Resources/stable/2023-09-01/deploymentScripts.json#L120
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'resourceGroupName'.
Location: Microsoft.Resources/stable/2023-09-01/deploymentScripts.json#L120
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'api-version'.
Location: Microsoft.Resources/stable/2023-09-01/deploymentScripts.json#L120
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'subscriptionId'.
Location: Microsoft.Resources/stable/2023-09-01/deploymentScripts.json#L168
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'resourceGroupName'.
Location: Microsoft.Resources/stable/2023-09-01/deploymentScripts.json#L168
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'api-version'.
Location: Microsoft.Resources/stable/2023-09-01/deploymentScripts.json#L168
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'subscriptionId'.
Location: Microsoft.Resources/stable/2023-09-01/deploymentScripts.json#L208
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'resourceGroupName'.
Location: Microsoft.Resources/stable/2023-09-01/deploymentScripts.json#L208
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'api-version'.
Location: Microsoft.Resources/stable/2023-09-01/deploymentScripts.json#L208
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'subscriptionId'.
Location: Microsoft.Resources/stable/2023-09-01/deploymentScripts.json#L250
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'resourceGroupName'.
Location: Microsoft.Resources/stable/2023-09-01/deploymentScripts.json#L250
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'api-version'.
Location: Microsoft.Resources/stable/2023-09-01/deploymentScripts.json#L250
⚠️ ListInOperationName Since operation response has model definition in array type, it should be of the form '_list'.
Location: Microsoft.Resources/stable/2023-09-01/deploymentScripts.json#L278
⚠️ PageableOperation Based on the response model schema, operation 'DeploymentScripts_GetLogs' might be pageable. Consider adding the x-ms-pageable extension.
Location: Microsoft.Resources/stable/2023-09-01/deploymentScripts.json#L278
️️✔️~[NotRequired_Staging] Lint(RPaaS) succeeded [Detail] [Expand]
Validation passes for Lint(RPaaS).
️️✔️SwaggerAPIView succeeded [Detail] [Expand]
️️✔️TypeSpecAPIView succeeded [Detail] [Expand]
️️✔️CredScan succeeded [Detail] [Expand]
There is no credential detected.
️️✔️PoliCheck succeeded [Detail] [Expand]
Validation passed for PoliCheck.
️❌Avocado: 33 Errors, 0 Warnings failed [Detail]

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

Rule Message
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/resources/resource-manager/readme.md
json: stable/2023-07-01/examples/CalculateTemplateHash.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/resources/resource-manager/readme.md
json: stable/2023-07-01/examples/CreateResourceGroup.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/resources/resource-manager/readme.md
json: stable/2023-07-01/examples/DeleteTagsResource.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/resources/resource-manager/readme.md
json: stable/2023-07-01/examples/DeleteTagsSubscription.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/resources/resource-manager/readme.md
json: stable/2023-07-01/examples/ExportResourceGroup.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/resources/resource-manager/readme.md
json: stable/2023-07-01/examples/ExportResourceGroupWithFiltering.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/resources/resource-manager/readme.md
json: stable/2023-07-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/resources/resource-manager/readme.md
json: stable/2023-07-01/examples/ForceDeleteVMsInResourceGroup.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/resources/resource-manager/readme.md
json: stable/2023-07-01/examples/GetNamedProviderAtTenant.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/resources/resource-manager/readme.md
json: stable/2023-07-01/examples/GetProvider.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/resources/resource-manager/readme.md
json: stable/2023-07-01/examples/GetProviderPermissions.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/resources/resource-manager/readme.md
json: stable/2023-07-01/examples/GetProviderResourceTypes.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/resources/resource-manager/readme.md
json: stable/2023-07-01/examples/GetProviders.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/resources/resource-manager/readme.md
json: stable/2023-07-01/examples/GetTagsResource.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/resources/resource-manager/readme.md
json: stable/2023-07-01/examples/GetTagsSubscription.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/resources/resource-manager/readme.md
json: stable/2023-07-01/examples/PatchTagsResource.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/resources/resource-manager/readme.md
json: stable/2023-07-01/examples/PatchTagsSubscription.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/resources/resource-manager/readme.md
json: stable/2023-07-01/examples/PostDeploymentWhatIfOnManagementGroup.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/resources/resource-manager/readme.md
json: stable/2023-07-01/examples/PostDeploymentWhatIfOnResourceGroup.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/resources/resource-manager/readme.md
json: stable/2023-07-01/examples/PostDeploymentWhatIfOnSubscription.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/resources/resource-manager/readme.md
json: stable/2023-07-01/examples/PostDeploymentWhatIfOnTenant.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/resources/resource-manager/readme.md
json: stable/2023-07-01/examples/PutDeploymentAtManagementGroup.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/resources/resource-manager/readme.md
json: stable/2023-07-01/examples/PutDeploymentAtScope.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/resources/resource-manager/readme.md
json: stable/2023-07-01/examples/PutDeploymentAtTenant.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/resources/resource-manager/readme.md
json: stable/2023-07-01/examples/PutDeploymentResourceGroup.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/resources/resource-manager/readme.md
json: stable/2023-07-01/examples/PutDeploymentResourceGroupTemplateSpecsWithId.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/resources/resource-manager/readme.md
json: stable/2023-07-01/examples/PutDeploymentSubscriptionTemplateSpecsWithId.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/resources/resource-manager/readme.md
json: stable/2023-07-01/examples/PutDeploymentWithOnErrorDeploymentLastSuccessful.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/resources/resource-manager/readme.md
json: stable/2023-07-01/examples/PutDeploymentWithOnErrorDeploymentSpecificDeployment.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/resources/resource-manager/readme.md
json: stable/2023-07-01/examples/PutTagsResource.json
️️✔️ModelValidation succeeded [Detail] [Expand]
Validation passes for ModelValidation.
️️✔️SemanticValidation succeeded [Detail] [Expand]
Validation passes for SemanticValidation.
️️✔️~[NotRequired_Staging] SpellCheck succeeded [Detail] [Expand]
Validation passes for SpellCheck.
️️✔️PR Summary succeeded [Detail] [Expand]
️️✔️Automated merging requirements met succeeded [Detail] [Expand]
Posted by Swagger Pipeline | How to fix these errors?

Copy link

Please address or respond to feedback from the ARM API reviewer.
When you are ready to continue the ARM API review, please remove the ARMChangesRequested label.
This will notify the reviewer to have another look.
If the feedback provided needs further discussion, please use this Teams channel to post your questions - aka.ms/azsdk/support/specreview-channel.
Please include [ARM Query] in the title of your question to indicate that it is ARM-related.

Copy link

Hi @keryul! For review efficiency consideration, when creating a new API version, it is required to place API specs of the base version in the first commit, and push new version updates into successive commits. You can use OpenAPIHub to initialize the PR for adding a new version.
For more details refer to the wiki.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants