Skip to content

Conversation

msyyc
Copy link
Member

@msyyc msyyc commented Dec 9, 2022

test timeout for #21630

Theodore Chang and others added 5 commits October 21, 2022 13:35
…21232)

* Adding zones, example and renaming frontendIPConfigurations to frontendIpConfigurations, LoadBalancerFrontendIPConfiguration to LoadBalancerFrontendIpConfiguration, LoadBalancerFrontendIPConfigurationProperties to LoadBalancerFrontendIpConfigurationProperties

* resolving CI validations

* changing privateIPAddress to privateIpAddress, publiCIPAddress to ppublicIpAddress

* reverting publicIpAddress, privateIpAddress to privateIPAddress, publicIPAddress

* removing x-ms-client-flatten and parameter order change
@openapi-workflow-bot
Copy link

Hi, @msyyc Thanks for your PR. I am workflow bot for review process. Here are some small tips.

  • Please ensure to do self-check against checklists in first PR comment.
  • PR assignee is the person auto-assigned and responsible for your current PR reviewing and merging.
  • For specs comparison cross API versions, Use API Specs Comparison Report Generator
  • If there is CI failure(s), to fix CI error(s) is mandatory for PR merging; or you need to provide justification in PR comment for explanation. How to fix?

  • Any feedback about review process or workflow bot, pls contact swagger and tools team. [email protected]

    @ghost ghost added the Compute label Dec 9, 2022
    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Dec 9, 2022

    Swagger Validation Report

    ️️✔️BreakingChange succeeded [Detail] [Expand]
    There are no breaking changes.
    compared swaggers (via Oad v0.10.2)] new version base version
    common.json 1.0(e50ad90) 1.0(main)
    ️❌Breaking Change(Cross-Version): 4 Errors, 47 Warnings failed [Detail]
    compared swaggers (via Oad v0.10.2)] new version base version
    cloudService.json 2022-09-04(e50ad90) 2022-04-04(main)
    cloudService.json 2022-09-04(e50ad90) 2020-10-01-preview(main)

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

    Rule Message
    1033 - RemovedProperty The new version is missing a property found in the old version. Was 'frontendIPConfigurations' renamed or removed?
    New: CloudserviceRP/stable/2022-09-04/cloudService.json#L2095:7
    Old: CloudserviceRP/stable/2022-04-04/cloudService.json#L2092:7
    1034 - AddedRequiredProperty The new version has new required property 'frontendIpConfigurations' that was not found in the old version.
    New: CloudserviceRP/stable/2022-09-04/cloudService.json#L2095:7
    Old: CloudserviceRP/stable/2022-04-04/cloudService.json#L2092:7
    1034 - AddedRequiredProperty The new version has new required property 'frontendIpConfigurations' that was not found in the old version.
    New: CloudserviceRP/stable/2022-09-04/cloudService.json#L2123:9
    Old: CloudserviceRP/stable/2022-04-04/cloudService.json#L2120:9
    1034 - AddedRequiredProperty The new version has new required property 'frontendIpConfigurations' that was not found in the old version.
    New: CloudserviceRP/stable/2022-09-04/cloudService.json#L2092:5
    Old: CloudserviceRP/stable/2022-04-04/cloudService.json#L2089:5


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

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

    Rule Message
    ⚠️ 1025 - RequiredStatusChange The 'required' status changed from the old version('False') to the new version('True').
    New: CloudserviceRP/stable/2022-09-04/cloudService.json#L2114:7
    Old: CloudserviceRP/preview/2020-10-01-preview/cloudService.json#L1794:7
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: CloudserviceRP/stable/2022-09-04/cloudService.json#L76:13
    Old: CloudserviceRP/preview/2020-10-01-preview/cloudService.json#L50:13
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: Microsoft.Compute/common-types/v1/common.json#L71:9
    Old: CloudserviceRP/preview/2020-10-01-preview/cloudService.json#L1412:9
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: Microsoft.Compute/common-types/v1/common.json#L81:11
    Old: CloudserviceRP/preview/2020-10-01-preview/cloudService.json#L1386:11
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: Microsoft.Compute/common-types/v1/common.json#L90:9
    Old: CloudserviceRP/preview/2020-10-01-preview/cloudService.json#L1390:9
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: CloudserviceRP/stable/2022-09-04/cloudService.json#L1736:11
    Old: CloudserviceRP/preview/2020-10-01-preview/cloudService.json#L1450:11
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: CloudserviceRP/stable/2022-09-04/cloudService.json#L149:13
    Old: CloudserviceRP/preview/2020-10-01-preview/cloudService.json#L115:13
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: CloudserviceRP/stable/2022-09-04/cloudService.json#L206:13
    Old: CloudserviceRP/preview/2020-10-01-preview/cloudService.json#L165:13
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: CloudserviceRP/stable/2022-09-04/cloudService.json#L270:13
    Old: CloudserviceRP/preview/2020-10-01-preview/cloudService.json#L221:13
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: CloudserviceRP/stable/2022-09-04/cloudService.json#L330:13
    Old: CloudserviceRP/preview/2020-10-01-preview/cloudService.json#L274:13
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: CloudserviceRP/stable/2022-09-04/cloudService.json#L388:13
    Old: CloudserviceRP/preview/2020-10-01-preview/cloudService.json#L325:13
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: CloudserviceRP/stable/2022-09-04/cloudService.json#L446:13
    Old: CloudserviceRP/preview/2020-10-01-preview/cloudService.json#L376:13
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: CloudserviceRP/stable/2022-09-04/cloudService.json#L507:13
    Old: CloudserviceRP/preview/2020-10-01-preview/cloudService.json#L430:13
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: CloudserviceRP/stable/2022-09-04/cloudService.json#L565:13
    Old: CloudserviceRP/preview/2020-10-01-preview/cloudService.json#L481:13
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: CloudserviceRP/stable/2022-09-04/cloudService.json#L615:13
    Old: CloudserviceRP/preview/2020-10-01-preview/cloudService.json#L524:13
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: CloudserviceRP/stable/2022-09-04/cloudService.json#L2024:9
    Old: CloudserviceRP/preview/2020-10-01-preview/cloudService.json#L1726:9
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: CloudserviceRP/stable/2022-09-04/cloudService.json#L2159:9
    Old: CloudserviceRP/preview/2020-10-01-preview/cloudService.json#L1815:9
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one 'string'.
    New: CloudserviceRP/stable/2022-09-04/cloudService.json#L2199:9
    Old: CloudserviceRP/preview/2020-10-01-preview/cloudService.json#L1851:9
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one 'string'.
    New: CloudserviceRP/stable/2022-09-04/cloudService.json#L2203:9
    Old: CloudserviceRP/preview/2020-10-01-preview/cloudService.json#L1855:9
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: CloudserviceRP/stable/2022-09-04/cloudService.json#L2168:9
    Old: CloudserviceRP/preview/2020-10-01-preview/cloudService.json#L1823:9
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: CloudserviceRP/stable/2022-09-04/cloudService.json#L676:13
    Old: CloudserviceRP/preview/2020-10-01-preview/cloudService.json#L580:13
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: CloudserviceRP/stable/2022-09-04/cloudService.json#L751:13
    Old: CloudserviceRP/preview/2020-10-01-preview/cloudService.json#L652:13
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: CloudserviceRP/stable/2022-09-04/cloudService.json#L800:13
    Old: CloudserviceRP/preview/2020-10-01-preview/cloudService.json#L696:13
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: CloudserviceRP/stable/2022-09-04/cloudService.json#L852:13
    Old: CloudserviceRP/preview/2020-10-01-preview/cloudService.json#L743:13
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: CloudserviceRP/stable/2022-09-04/cloudService.json#L902:13
    Old: CloudserviceRP/preview/2020-10-01-preview/cloudService.json#L788:13
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: CloudserviceRP/stable/2022-09-04/cloudService.json#L938:13
    Old: CloudserviceRP/preview/2020-10-01-preview/cloudService.json#L819:13
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: CloudserviceRP/stable/2022-09-04/cloudService.json#L984:13
    Old: CloudserviceRP/preview/2020-10-01-preview/cloudService.json#L860:13
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: CloudserviceRP/stable/2022-09-04/cloudService.json#L1037:13
    Old: CloudserviceRP/preview/2020-10-01-preview/cloudService.json#L908:13
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: CloudserviceRP/stable/2022-09-04/cloudService.json#L1088:13
    Old: CloudserviceRP/preview/2020-10-01-preview/cloudService.json#L954:13
    ⚠️ 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
    New: CloudserviceRP/stable/2022-09-04/cloudService.json#L1147:13
    Old: CloudserviceRP/preview/2020-10-01-preview/cloudService.json#L1008:13
    ️️✔️CredScan succeeded [Detail] [Expand]
    There is no credential detected.
    ️⚠️LintDiff: 1 Warnings warning [Detail]
    compared tags (via openapi-validator v2.0.0) new version base version
    package-2022-03-03 package-2022-03-03(e50ad90) package-2022-03-03(main)
    package-2022-08-01 package-2022-08-01(e50ad90) package-2022-08-01(main)
    package-2022-07-02 package-2022-07-02(e50ad90) package-2022-07-02(main)
    package-2022-09-04 package-2022-09-04(e50ad90) default(main)

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

    Rule Message Related RPC [For API reviewers]
    ⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
    Location: CloudserviceRP/stable/2022-09-04/cloudService.json#L2082


    The following errors/warnings exist before current PR submission:

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

    Rule Message
    ResourceNameRestriction The resource name parameter 'cloudServiceName' should be defined with a 'pattern' restriction.
    Location: CloudserviceRP/stable/2022-09-04/cloudService.json#L37
    ResourceNameRestriction The resource name parameter 'roleInstanceName' should be defined with a 'pattern' restriction.
    Location: CloudserviceRP/stable/2022-09-04/cloudService.json#L37
    DeleteOperationAsyncResponseValidation An async DELETE operation must set long running operation options 'x-ms-long-running-operation-options'
    Location: CloudserviceRP/stable/2022-09-04/cloudService.json#L38
    LongRunningResponseStatusCode A 'delete' operation 'CloudServiceRoleInstances_Delete' with x-ms-long-running-operation extension must have a valid terminal success status code 200 or 204.
    Location: CloudserviceRP/stable/2022-09-04/cloudService.json#L38
    ParametersOrder The parameters:roleInstanceName,resourceGroupName,cloudServiceName should be kept in the same order as they present in the path.
    Location: CloudserviceRP/stable/2022-09-04/cloudService.json#L38
    LroLocationHeader A 202 response should include an Location response header.
    Location: CloudserviceRP/stable/2022-09-04/cloudService.json#L83
    ParametersOrder The parameters:roleInstanceName,resourceGroupName,cloudServiceName should be kept in the same order as they present in the path.
    Location: CloudserviceRP/stable/2022-09-04/cloudService.json#L97
    ResourceNameRestriction The resource name parameter 'cloudServiceName' should be defined with a 'pattern' restriction.
    Location: CloudserviceRP/stable/2022-09-04/cloudService.json#L167
    ResourceNameRestriction The resource name parameter 'roleInstanceName' should be defined with a 'pattern' restriction.
    Location: CloudserviceRP/stable/2022-09-04/cloudService.json#L167
    ParametersOrder The parameters:roleInstanceName,resourceGroupName,cloudServiceName should be kept in the same order as they present in the path.
    Location: CloudserviceRP/stable/2022-09-04/cloudService.json#L168
    ResourceNameRestriction The resource name parameter 'cloudServiceName' should be defined with a 'pattern' restriction.
    Location: CloudserviceRP/stable/2022-09-04/cloudService.json#L224
    ResourceNameRestriction The resource name parameter 'cloudServiceName' should be defined with a 'pattern' restriction.
    Location: CloudserviceRP/stable/2022-09-04/cloudService.json#L291
    ResourceNameRestriction The resource name parameter 'roleInstanceName' should be defined with a 'pattern' restriction.
    Location: CloudserviceRP/stable/2022-09-04/cloudService.json#L291
    ParametersOrder The parameters:roleInstanceName,resourceGroupName,cloudServiceName should be kept in the same order as they present in the path.
    Location: CloudserviceRP/stable/2022-09-04/cloudService.json#L292
    PostOperationAsyncResponseValidation An async POST operation must set long running operation options 'x-ms-long-running-operation-options'
    Location: CloudserviceRP/stable/2022-09-04/cloudService.json#L292
    LroLocationHeader A 202 response should include an Location response header.
    Location: CloudserviceRP/stable/2022-09-04/cloudService.json#L337
    ResourceNameRestriction The resource name parameter 'cloudServiceName' should be defined with a 'pattern' restriction.
    Location: CloudserviceRP/stable/2022-09-04/cloudService.json#L349
    ResourceNameRestriction The resource name parameter 'roleInstanceName' should be defined with a 'pattern' restriction.
    Location: CloudserviceRP/stable/2022-09-04/cloudService.json#L349
    ParametersOrder The parameters:roleInstanceName,resourceGroupName,cloudServiceName should be kept in the same order as they present in the path.
    Location: CloudserviceRP/stable/2022-09-04/cloudService.json#L350
    PostOperationAsyncResponseValidation An async POST operation must set long running operation options 'x-ms-long-running-operation-options'
    Location: CloudserviceRP/stable/2022-09-04/cloudService.json#L350
    LroLocationHeader A 202 response should include an Location response header.
    Location: CloudserviceRP/stable/2022-09-04/cloudService.json#L395
    ResourceNameRestriction The resource name parameter 'cloudServiceName' should be defined with a 'pattern' restriction.
    Location: CloudserviceRP/stable/2022-09-04/cloudService.json#L407
    ResourceNameRestriction The resource name parameter 'roleInstanceName' should be defined with a 'pattern' restriction.
    Location: CloudserviceRP/stable/2022-09-04/cloudService.json#L407
    ParametersOrder The parameters:roleInstanceName,resourceGroupName,cloudServiceName should be kept in the same order as they present in the path.
    Location: CloudserviceRP/stable/2022-09-04/cloudService.json#L408
    PostOperationAsyncResponseValidation An async POST operation must set long running operation options 'x-ms-long-running-operation-options'
    Location: CloudserviceRP/stable/2022-09-04/cloudService.json#L408
    LroLocationHeader A 202 response should include an Location response header.
    Location: CloudserviceRP/stable/2022-09-04/cloudService.json#L453
    ResourceNameRestriction The resource name parameter 'cloudServiceName' should be defined with a 'pattern' restriction.
    Location: CloudserviceRP/stable/2022-09-04/cloudService.json#L465
    ResourceNameRestriction The resource name parameter 'roleInstanceName' should be defined with a 'pattern' restriction.
    Location: CloudserviceRP/stable/2022-09-04/cloudService.json#L465
    ParametersOrder The parameters:roleInstanceName,resourceGroupName,cloudServiceName should be kept in the same order as they present in the path.
    Location: CloudserviceRP/stable/2022-09-04/cloudService.json#L466
    ResourceNameRestriction The resource name parameter 'cloudServiceName' should be defined with a 'pattern' restriction.
    Location: CloudserviceRP/stable/2022-09-04/cloudService.json#L526
    ️⚠️Avocado: 1 Warnings warning [Detail]
    Rule Message
    ⚠️ MULTIPLE_API_VERSION The default tag contains multiple API versions swaggers.
    readme: specification/compute/resource-manager/readme.md
    tag: specification/compute/resource-manager/readme.md#tag-package-2022-09-04
    ️️✔️ApiReadinessCheck succeeded [Detail] [Expand]
    ️⚠️~[Staging] ServiceAPIReadinessTest: 0 Warnings warning [Detail]

    API Test is not triggered due to precheck failure. Check pipeline log for details.

    ️❌~[Staging] SwaggerAPIView: 0 Errors, 0 Warnings failed [Detail]
    ️️✔️ModelValidation succeeded [Detail] [Expand]
    Validation passes for ModelValidation.
    ️️✔️SemanticValidation succeeded [Detail] [Expand]
    Validation passes for SemanticValidation.
    ️️✔️PoliCheck succeeded [Detail] [Expand]
    Validation passed for PoliCheck.
    ️️✔️PrettierCheck succeeded [Detail] [Expand]
    Validation passes for PrettierCheck.
    ️️✔️SpellCheck succeeded [Detail] [Expand]
    Validation passes for SpellCheck.
    ️️✔️Lint(RPaaS) succeeded [Detail] [Expand]
    Validation passes for Lint(RPaaS).
    ️️✔️CadlValidation succeeded [Detail] [Expand]
    Validation passes for CadlValidation.
    ️️✔️PR Summary succeeded [Detail] [Expand]
    Validation passes for Summary.
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Dec 9, 2022

    Swagger Generation Artifacts

    ️️✔️ApiDocPreview succeeded [Detail] [Expand]
     Please click here to preview with your @microsoft account. 
    ️️✔️SDK Breaking Change Tracking succeeded [Detail] [Expand]

    Breaking Changes Tracking

    ️🔄 azure-sdk-for-python-track2 inProgress [Detail]
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    Swagger pipeline started successfully. If there is ApiView generated, it will be updated in this comment.

    @AzureRestAPISpecReview AzureRestAPISpecReview added BreakingChangeReviewRequired <valid label in PR review process>add this label when breaking change review is required CI-MissingBaseCommit new-api-version resource-manager labels Dec 9, 2022
    @openapi-workflow-bot
    Copy link

    Hi, @msyyc, 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. Or you could onboard API spec pipeline

    @openapi-workflow-bot
    Copy link

    Hi @msyyc, one or multiple breaking change(s) is detected in your PR. Please check out the breaking change(s), and provide business justification in the PR comment and @ PR assignee why you must have these change(s), and how external customer impact can be mitigated. Please ensure to follow breaking change policy to request breaking change review and approval before proceeding swagger PR review.
    Action: To initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
    If you want to know the production traffic statistic, please see ARM Traffic statistic.
    If you think it is false positive breaking change, please provide the reasons in the PR comment, report to Swagger Tooling Team via https://aka.ms/swaggerfeedback.
    Note: To avoid breaking change, you can refer to Shift Left Solution for detecting breaking change in early phase at your service code repository.

    @msyyc msyyc closed this Dec 9, 2022
    @msyyc msyyc deleted the test-compute branch December 9, 2022 05:16
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    BreakingChangeReviewRequired <valid label in PR review process>add this label when breaking change review is required CI-MissingBaseCommit Compute new-api-version resource-manager
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    3 participants