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

[Hub Generated] Review request for Microsoft.Kusto to add version stable/2022-02-01 #17197

Conversation

docohe
Copy link
Contributor

@docohe docohe commented Jan 2, 2022

This is a PR generated at OpenAPI Hub. You can view your work branch via this link.

Changelog

Add a changelog entry for this PR by answering the following questions:

  1. What's the purpose of the update?
    • new service onboarding
    • new API version
    • update existing version for new feature
    • update existing version to fix swagger quality issue in s360
    • Other, please clarify
  2. When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.
  3. When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
  4. If updating an existing version, please select the specific langauge SDKs and CLIs that must be refreshed after the swagger is published.
    • SDK of .NET (need service team to ensure code readiness)
    • SDK of Python
    • SDK of Java
    • SDK of Js
    • SDK of Go
    • PowerShell
    • CLI
    • Terraform
    • No refresh required for updates in this PR

Contribution checklist:

If any further question about AME onboarding or validation tools, please view the FAQ.

ARM API Review Checklist

Applicability: ⚠️

If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

  • Change to data plane APIs
  • Adding new properties
  • All removals

Otherwise your PR may be subject to ARM review requirements. Complete the following:

  • Check this box if any of the following apply to the PR so that label "WaitForARMFeedback" will be added automatically to begin ARM API Review. Failure to comply may result in delays to the manifest.

    • Adding a new service
    • Adding new API(s)
    • Adding a new API version
      -[ ] To review changes efficiently, ensure you copy the existing version into the new directory structure for first commit and then push new changes, including version updates, in separate commits.
  • Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

  • If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist

If any of the following scenarios apply to the PR, request approval from the Breaking Change Review Board as defined in the Breaking Change Policy.

  • Removing API(s) in a stable version
  • Removing properties in a stable version
  • Removing API version(s) in a stable version
  • Updating API in a stable or public preview version with Breaking Change Validation errors
  • Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

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.

Please follow the link to find more details on PR review process.

@openapi-workflow-bot
Copy link

Hi, @docohe 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. vsswagger@microsoft.com

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Jan 2, 2022

    Swagger Validation Report

    ️️✔️BreakingChange succeeded [Detail] [Expand]
    There are no breaking changes.
    ️⚠️LintDiff: 1 Warnings warning [Detail]
    The following errors/warnings are introduced by current PR:
    Rule Message
    ⚠️ R2007 - LongRunningOperationsWithLongRunningExtension The operation 'OperationsResultsLocation_Get' returns 202 status code, which indicates a long running operation, please enable 'x-ms-long-running-operation.
    Location: Microsoft.Kusto/stable/2022-02-01/kusto.json#L3586


    The following errors/warnings exist before current PR submission:

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

    Rule Message
    R2026 - AvoidAnonymousTypes Inline/anonymous models must not be used, instead define a schema with a model name in the 'definitions' section and refer to it. This allows operations to share the models.
    Location: Microsoft.Kusto/stable/2022-02-01/kusto.json#L5936
    R4009 - RequiredReadOnlySystemData The response of operation:'ClusterPrincipalAssignments_Get' is defined without 'systemData'. Consider adding the systemData to the response.
    Location: Microsoft.Kusto/stable/2022-02-01/kusto.json#L396
    R4009 - RequiredReadOnlySystemData The response of operation:'ClusterPrincipalAssignments_CreateOrUpdate' is defined without 'systemData'. Consider adding the systemData to the response.
    Location: Microsoft.Kusto/stable/2022-02-01/kusto.json#L439
    R4009 - RequiredReadOnlySystemData The response of operation:'Databases_Get' is defined without 'systemData'. Consider adding the systemData to the response.
    Location: Microsoft.Kusto/stable/2022-02-01/kusto.json#L1146
    R4009 - RequiredReadOnlySystemData The response of operation:'Databases_CreateOrUpdate' is defined without 'systemData'. Consider adding the systemData to the response.
    Location: Microsoft.Kusto/stable/2022-02-01/kusto.json#L1189
    R4009 - RequiredReadOnlySystemData The response of operation:'Databases_Update' is defined without 'systemData'. Consider adding the systemData to the response.
    Location: Microsoft.Kusto/stable/2022-02-01/kusto.json#L1257
    R4009 - RequiredReadOnlySystemData The response of operation:'DatabasePrincipalAssignments_Get' is defined without 'systemData'. Consider adding the systemData to the response.
    Location: Microsoft.Kusto/stable/2022-02-01/kusto.json#L1437
    R4009 - RequiredReadOnlySystemData The response of operation:'DatabasePrincipalAssignments_CreateOrUpdate' is defined without 'systemData'. Consider adding the systemData to the response.
    Location: Microsoft.Kusto/stable/2022-02-01/kusto.json#L1483
    R4009 - RequiredReadOnlySystemData The response of operation:'AttachedDatabaseConfigurations_Get' is defined without 'systemData'. Consider adding the systemData to the response.
    Location: Microsoft.Kusto/stable/2022-02-01/kusto.json#L2671
    R4009 - RequiredReadOnlySystemData The response of operation:'AttachedDatabaseConfigurations_CreateOrUpdate' is defined without 'systemData'. Consider adding the systemData to the response.
    Location: Microsoft.Kusto/stable/2022-02-01/kusto.json#L2714
    R4009 - RequiredReadOnlySystemData The response of operation:'DataConnections_Get' is defined without 'systemData'. Consider adding the systemData to the response.
    Location: Microsoft.Kusto/stable/2022-02-01/kusto.json#L3102
    R4009 - RequiredReadOnlySystemData The response of operation:'DataConnections_CreateOrUpdate' is defined without 'systemData'. Consider adding the systemData to the response.
    Location: Microsoft.Kusto/stable/2022-02-01/kusto.json#L3151
    R4009 - RequiredReadOnlySystemData The response of operation:'DataConnections_Update' is defined without 'systemData'. Consider adding the systemData to the response.
    Location: Microsoft.Kusto/stable/2022-02-01/kusto.json#L3222
    R4018 - OperationsApiResponseSchema The response schema of operations API '/providers/Microsoft.Kusto/operations' does not match the ARM specification. Please standardize the schema.
    Location: Microsoft.Kusto/stable/2022-02-01/kusto.json#L3356
    R4037 - MissingTypeObject The schema 'ClusterProperties' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Kusto/stable/2022-02-01/kusto.json#L3626
    R4037 - MissingTypeObject The schema 'TrustedExternalTenant' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Kusto/stable/2022-02-01/kusto.json#L3814
    R4037 - MissingTypeObject The schema 'AzureResourceSku' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Kusto/stable/2022-02-01/kusto.json#L3823
    R4037 - MissingTypeObject The schema 'AttachedDatabaseConfigurationProperties' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Kusto/stable/2022-02-01/kusto.json#L4124
    R4037 - MissingTypeObject The schema 'ReadWriteDatabaseProperties' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Kusto/stable/2022-02-01/kusto.json#L4173
    R4037 - MissingTypeObject The schema 'ReadOnlyFollowingDatabaseProperties' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Kusto/stable/2022-02-01/kusto.json#L4203
    R4037 - MissingTypeObject The schema 'EventHubConnectionProperties' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Kusto/stable/2022-02-01/kusto.json#L4253
    R4037 - MissingTypeObject The schema 'IotHubConnectionProperties' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Kusto/stable/2022-02-01/kusto.json#L4320
    R4037 - MissingTypeObject The schema 'EventGridConnectionProperties' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Kusto/stable/2022-02-01/kusto.json#L4482
    R4037 - MissingTypeObject The schema 'Cluster' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Kusto/stable/2022-02-01/kusto.json#L4555
    R4037 - MissingTypeObject The schema 'ClusterUpdate' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Kusto/stable/2022-02-01/kusto.json#L4594
    R4037 - MissingTypeObject The schema 'AttachedDatabaseConfigurationListResult' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Kusto/stable/2022-02-01/kusto.json#L4633
    R4037 - MissingTypeObject The schema 'AttachedDatabaseConfiguration' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Kusto/stable/2022-02-01/kusto.json#L4645
    R4037 - MissingTypeObject The schema 'Database' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Kusto/stable/2022-02-01/kusto.json#L4664
    R4037 - MissingTypeObject The schema 'ReadWriteDatabase' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Kusto/stable/2022-02-01/kusto.json#L4694
    R4037 - MissingTypeObject The schema 'ReadOnlyFollowingDatabase' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Kusto/stable/2022-02-01/kusto.json#L4710
    ️️✔️Avocado succeeded [Detail] [Expand]
    Validation passes for Avocado.
    ️️✔️~[Staging] ApiReadinessCheck succeeded [Detail] [Expand]
    ️️✔️ModelValidation succeeded [Detail] [Expand]
    Validation passes for ModelValidation.
    ️️✔️SemanticValidation succeeded [Detail] [Expand]
    Validation passes for SemanticValidation.
    ️❌Cross-Version Breaking Changes: 2 Errors, 58 Warnings failed [Detail]
    The following breaking changes are detected by comparison with the latest stable version:
    Rule Message
    1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/providers/Microsoft.Kusto/locations/{location}/operationresults/{operationId}' removed or restructured?
    Old: Microsoft.Kusto/stable/2021-08-27/kusto.json#L3481:5
    1027 - DefaultValueChanged The new version has a different default value than the previous one.
    New: Microsoft.Kusto/stable/2022-02-01/kusto.json#L3761:9
    Old: Microsoft.Kusto/stable/2021-08-27/kusto.json#L3660:9


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

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

    Rule Message
    ⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/eventhubconnections' removed or restructured?
    Old: Microsoft.Kusto/preview/2018-09-07-preview/kusto.json#L984:5
    ⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/eventhubConnectionValidation' removed or restructured?
    Old: Microsoft.Kusto/preview/2018-09-07-preview/kusto.json#L1032:5
    ⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/eventhubconnections/{eventHubConnectionName}' removed or restructured?
    Old: Microsoft.Kusto/preview/2018-09-07-preview/kusto.json#L1080:5
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'DatabaseProperties' removed or renamed?
    New: Microsoft.Kusto/stable/2022-02-01/kusto.json#L3625:3
    Old: Microsoft.Kusto/preview/2018-09-07-preview/kusto.json#L1345:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'EventHubConnectionValidation' removed or renamed?
    New: Microsoft.Kusto/stable/2022-02-01/kusto.json#L3625:3
    Old: Microsoft.Kusto/preview/2018-09-07-preview/kusto.json#L1345:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'DatabaseUpdate' removed or renamed?
    New: Microsoft.Kusto/stable/2022-02-01/kusto.json#L3625:3
    Old: Microsoft.Kusto/preview/2018-09-07-preview/kusto.json#L1345:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'EventHubConnectionUpdate' removed or renamed?
    New: Microsoft.Kusto/stable/2022-02-01/kusto.json#L3625:3
    Old: Microsoft.Kusto/preview/2018-09-07-preview/kusto.json#L1345:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'EventHubConnection' removed or renamed?
    New: Microsoft.Kusto/stable/2022-02-01/kusto.json#L3625:3
    Old: Microsoft.Kusto/preview/2018-09-07-preview/kusto.json#L1345:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'DatabaseCheckNameRequest' removed or renamed?
    New: Microsoft.Kusto/stable/2022-02-01/kusto.json#L3625:3
    Old: Microsoft.Kusto/preview/2018-09-07-preview/kusto.json#L1345:3
    ⚠️ 1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'EventHubConnectionNameParameter' removed or renamed?
    New: Microsoft.Kusto/stable/2022-02-01/kusto.json#L6186:3
    Old: Microsoft.Kusto/preview/2018-09-07-preview/kusto.json#L2065:3
    ⚠️ 1009 - RemovedRequiredParameter The required parameter 'databaseName' was removed in the new version.
    Old: Microsoft.Kusto/preview/2018-09-07-preview/kusto.json#L496:11
    ⚠️ 1010 - AddingRequiredParameter The required parameter 'resourceName' was added in the new version.
    New: Microsoft.Kusto/stable/2022-02-01/kusto.json#L927:11
    ⚠️ 1011 - AddingResponseCode The new version adds a response code '202'.
    New: Microsoft.Kusto/stable/2022-02-01/kusto.json#L193:11
    ⚠️ 1019 - RemovedEnumValue The new version is removing enum value(s) 'KC8, KC16, KS8, KS16, D13_v2, D14_v2, L8, L16' from the old version.
    New: Microsoft.Kusto/stable/2022-02-01/kusto.json#L3966:9
    Old: Microsoft.Kusto/preview/2018-09-07-preview/kusto.json#L1470:9
    ⚠️ 1019 - RemovedEnumValue The new version is removing enum value(s) 'UnrestrictedViewers' from the old version.
    New: Microsoft.Kusto/stable/2022-02-01/kusto.json#L4734:9
    Old: Microsoft.Kusto/preview/2018-09-07-preview/kusto.json#L1718:9
    ⚠️ 1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Microsoft.Kusto/stable/2022-02-01/kusto.json#L4020:9
    Old: Microsoft.Kusto/preview/2018-09-07-preview/kusto.json#L1488:9
    ⚠️ 1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Microsoft.Kusto/stable/2022-02-01/kusto.json#L3862:9
    Old: Microsoft.Kusto/preview/2018-09-07-preview/kusto.json#L1449:9
    ⚠️ 1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Microsoft.Kusto/stable/2022-02-01/kusto.json#L3867:9
    Old: Microsoft.Kusto/preview/2018-09-07-preview/kusto.json#L1453:9
    ⚠️ 1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Microsoft.Kusto/stable/2022-02-01/kusto.json#L3872:9
    Old: Microsoft.Kusto/preview/2018-09-07-preview/kusto.json#L1457:9
    ⚠️ 1029 - ReadonlyPropertyChanged The read only property has changed from 'false' to 'true'.
    New: Microsoft.Kusto/stable/2022-02-01/kusto.json#L3903:9
    Old: Microsoft.Kusto/preview/2018-09-07-preview/kusto.json#L1470:9
    ⚠️ 1029 - ReadonlyPropertyChanged The read only property has changed from 'false' to 'true'.
    New: Microsoft.Kusto/stable/2022-02-01/kusto.json#L3908:9
    Old: Microsoft.Kusto/preview/2018-09-07-preview/kusto.json#L1492:9
    ⚠️ 1029 - ReadonlyPropertyChanged The read only property has changed from 'false' to 'true'.
    New: Microsoft.Kusto/stable/2022-02-01/kusto.json#L3884:9
    Old: Microsoft.Kusto/preview/2018-09-07-preview/kusto.json#L1973:9
    ⚠️ 1030 - DifferentDiscriminator The new version has a different discriminator than the previous one.
    New: Microsoft.Kusto/stable/2022-02-01/kusto.json#L5343:11
    Old: Microsoft.Kusto/preview/2018-09-07-preview/kusto.json#L1826:11
    ⚠️ 1030 - DifferentDiscriminator The new version has a different discriminator than the previous one.
    New: Microsoft.Kusto/stable/2022-02-01/kusto.json#L1177:13
    Old: Microsoft.Kusto/preview/2018-09-07-preview/kusto.json#L644:13
    ⚠️ 1030 - DifferentDiscriminator The new version has a different discriminator than the previous one.
    New: Microsoft.Kusto/stable/2022-02-01/kusto.json#L1217:13
    Old: Microsoft.Kusto/preview/2018-09-07-preview/kusto.json#L681:13
    ⚠️ 1030 - DifferentDiscriminator The new version has a different discriminator than the previous one.
    New: Microsoft.Kusto/stable/2022-02-01/kusto.json#L1232:13
    Old: Microsoft.Kusto/preview/2018-09-07-preview/kusto.json#L696:13
    ⚠️ 1030 - DifferentDiscriminator The new version has a different discriminator than the previous one.
    New: Microsoft.Kusto/stable/2022-02-01/kusto.json#L1238:13
    Old: Microsoft.Kusto/preview/2018-09-07-preview/kusto.json#L702:13
    ⚠️ 1030 - DifferentDiscriminator The new version has a different discriminator than the previous one.
    New: Microsoft.Kusto/stable/2022-02-01/kusto.json#L1282:13
    Old: Microsoft.Kusto/preview/2018-09-07-preview/kusto.json#L743:13
    ⚠️ 1030 - DifferentDiscriminator The new version has a different discriminator than the previous one.
    New: Microsoft.Kusto/stable/2022-02-01/kusto.json#L1297:13
    Old: Microsoft.Kusto/preview/2018-09-07-preview/kusto.json#L758:13
    ⚠️ 1030 - DifferentDiscriminator The new version has a different discriminator than the previous one.
    New: Microsoft.Kusto/stable/2022-02-01/kusto.json#L1309:13
    Old: Microsoft.Kusto/preview/2018-09-07-preview/kusto.json#L764:13
    ️️✔️CredScan succeeded [Detail] [Expand]
    There is no credential detected.
    ️️✔️SDK Track2 Validation succeeded [Detail] [Expand]
    Validation passes for SDKTrack2Validation

    ️️✔️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).
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-workflow-bot
    Copy link

    [Call for Action] To better understand Azure service dev/test scenario, and support Azure service developer better on Swagger and REST API related tests in early phase, please help to fill in with this survey https://aka.ms/SurveyForEarlyPhase. It will take 5 to 10 minutes. If you already complete survey, please neglect this comment. Thanks.

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Jan 2, 2022

    Swagger Generation Artifacts

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

    Breaking Changes Tracking

    ️✔️azure-sdk-for-go - kusto/mgmt/2021-08-27/kusto - v61.5.0
    ️✔️azure-sdk-for-go - kusto/mgmt/2021-01-01/kusto - v61.5.0
    ️✔️azure-sdk-for-go - kusto/mgmt/2020-09-18/kusto - v61.5.0
    ️✔️azure-sdk-for-go - kusto/mgmt/2020-06-14/kusto - v61.5.0
    ️✔️azure-sdk-for-go - kusto/mgmt/2020-02-15/kusto - v61.5.0
    ️✔️azure-sdk-for-go - kusto/mgmt/2019-11-09/kusto - v61.5.0
    ️✔️azure-sdk-for-go - kusto/mgmt/2019-09-07/kusto - v61.5.0
    ️✔️azure-sdk-for-go - kusto/mgmt/2019-05-15/kusto - v61.5.0
    ️✔️azure-sdk-for-go - kusto/mgmt/2019-01-21/kusto - v61.5.0
    ️✔️azure-sdk-for-go - preview/kusto/mgmt/2018-09-07-preview/kusto - v61.5.0
    azure-sdk-for-go-track2 - armkusto - 0.3.0
    ️✔️azure-sdk-for-python-track2 - track2_azure-mgmt-kusto - 2.1.0
    ️❌ azure-powershell failed [Detail]
    • Failed [Logs]Release - Generate from 4cb93f0. 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
      Resource not accessible by integration
      HttpError: Resource not accessible by integration
          at /home/vsts/work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/@octokit+request@5.6.2_encoding@0.1.13/node_modules/@octokit/request/dist-node/index.js:86:21
          at processTicksAndRejections (internal/process/task_queues.js:95:5)
          at async workflowPkgUpdatePR (/home/vsts/work/1/a/unified-pipeline-runtime/private/openapi-sdk-automation/lib/automation/workflowPackage.js:346:21)
          at async Object.exports.workflowPkgMain (/home/vsts/work/1/a/unified-pipeline-runtime/private/openapi-sdk-automation/lib/automation/workflowPackage.js:41:5)
          at async workflowHandleReadmeMd (/home/vsts/work/1/a/unified-pipeline-runtime/private/openapi-sdk-automation/lib/automation/workflow.js:172:9)
          at async Object.exports.workflowMain (/home/vsts/work/1/a/unified-pipeline-runtime/private/openapi-sdk-automation/lib/automation/workflow.js:83:9)
          at async Object.exports.sdkAutoMain (/home/vsts/work/1/a/unified-pipeline-runtime/private/openapi-sdk-automation/lib/automation/entrypoint.js:152:13)
          at async /home/vsts/work/1/a/unified-pipeline-runtime/private/openapi-sdk-automation/lib/cli/cli.js:20:18
    • ️✔️Az.Kusto [View full logs
      error	Fatal error: Resource not accessible by integration
      error	The following packages are still pending:
      error		Az.Kusto
    ️️✔️ azure-sdk-for-net succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 4cb93f0. SDK Automation 14.0.0
      warn	Skip initScript due to not configured
      command	sudo apt-get install -y dotnet-sdk-6.0
      command	autorest --version=V2 --csharp --reflect-api-versions --license-header=MICROSOFT_MIT_NO_VERSION --use=@microsoft.azure/autorest.csharp@2.3.82 --csharp-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-net/sdk ../azure-rest-api-specs/specification/azure-kusto/resource-manager/readme.md
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      warn	No package detected after generation
    ️⚠️ azure-sdk-for-python-track2 warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 4cb93f0. 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: 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]
      cmderr	[automation_generate.sh] npm notice New minor version of npm available! 8.1.2 -> 8.5.0
      cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v8.5.0>
      cmderr	[automation_generate.sh] npm notice Run `npm install -g npm@8.5.0` to update!
      cmderr	[automation_generate.sh] npm notice
    • ️✔️track2_azure-mgmt-kusto [View full logs]  [Release SDK Changes]
      info	[Changelog] **Features**
      info	[Changelog]
      info	[Changelog]   - Added operation group OperationsResultsLocationOperations
      info	[Changelog]   - Model Cluster has a new parameter private_endpoint_connections
      info	[Changelog]   - Model Cluster has a new parameter public_ip_type
      info	[Changelog]   - Model Cluster has a new parameter virtual_cluster_graduation_properties
      info	[Changelog]   - Model ClusterPrincipalAssignment has a new parameter aad_object_id
      info	[Changelog]   - Model ClusterUpdate has a new parameter private_endpoint_connections
      info	[Changelog]   - Model ClusterUpdate has a new parameter public_ip_type
      info	[Changelog]   - Model ClusterUpdate has a new parameter virtual_cluster_graduation_properties
      info	[Changelog]   - Model DatabasePrincipalAssignment has a new parameter aad_object_id
      info	[Changelog]   - Model EventGridDataConnection has a new parameter database_routing
      info	[Changelog]   - Model EventGridDataConnection has a new parameter event_grid_resource_id
      info	[Changelog]   - Model EventGridDataConnection has a new parameter managed_identity_object_id
      info	[Changelog]   - Model EventGridDataConnection has a new parameter managed_identity_resource_id
      info	[Changelog]   - Model EventHubDataConnection has a new parameter database_routing
      info	[Changelog]   - Model EventHubDataConnection has a new parameter managed_identity_object_id
      info	[Changelog]   - Model IotHubDataConnection has a new parameter database_routing
      info	[Changelog]   - Model OperationResult has a new parameter provisioning_state
      info	[Changelog]   - Model Script has a new parameter script_content
    ️⚠️ azure-sdk-for-js warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 4cb93f0. 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
      cmderr	[automation_init.sh]  read-package-tree@5.1.6: The functionality that this package provided is now in @npmcli/arborist
      cmderr	[automation_init.sh] deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
      cmderr	[automation_init.sh]  @opentelemetry/types@0.2.0: Package renamed to @opentelemetry/api, see https://github.com/open-telemetry/opentelemetry-js
      cmderr	[automation_init.sh] notice created a lockfile as package-lock.json. You should commit this file.
      cmderr	[automation_init.sh] npm WARN @octokit/plugin-request-log@1.0.4 requires a peer of @octokit/core@>=3 but none is installed. You must install peer dependencies yourself.
      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
    • ️✔️track2_@azure/arm-kusto [View full logs]  [Release SDK Changes]
      info	[Changelog] **Features**
      info	[Changelog]
      info	[Changelog]   - Added operation group OperationsResultsLocation
      info	[Changelog]   - Added Interface ClustersUpdateHeaders
      info	[Changelog]   - Added Interface DatabasesUpdateHeaders
      info	[Changelog]   - Added Interface DataConnectionsUpdateHeaders
      info	[Changelog]   - Added Interface ManagedPrivateEndpointsUpdateHeaders
      info	[Changelog]   - Added Interface OperationsResultsLocationGetOptionalParams
      info	[Changelog]   - Added Interface ScriptsUpdateHeaders
      info	[Changelog]   - Added Type Alias DatabaseRouting
      info	[Changelog]   - Added Type Alias PublicIPType
      info	[Changelog]   - Interface OperationResult has a new optional parameter provisioningState
      info	[Changelog]   - Class KustoManagementClient has a new parameter operationsResultsLocation
      info	[Changelog]   - Type Alias Cluster has a new parameter publicIPType
      info	[Changelog]   - Type Alias Cluster has a new parameter virtualClusterGraduationProperties
      info	[Changelog]   - Type Alias Cluster has a new parameter privateEndpointConnections
      info	[Changelog]   - Type Alias ClusterPrincipalAssignment has a new parameter aadObjectId
      info	[Changelog]   - Type Alias ClusterUpdate has a new parameter publicIPType
      info	[Changelog]   - Type Alias ClusterUpdate has a new parameter virtualClusterGraduationProperties
      info	[Changelog]   - Type Alias ClusterUpdate has a new parameter privateEndpointConnections
      info	[Changelog]   - Type Alias DatabasePrincipalAssignment has a new parameter aadObjectId
      info	[Changelog]   - Type Alias EventGridDataConnection has a new parameter eventGridResourceId
      info	[Changelog]   - Type Alias EventGridDataConnection has a new parameter managedIdentityResourceId
      info	[Changelog]   - Type Alias EventGridDataConnection has a new parameter managedIdentityObjectId
      info	[Changelog]   - Type Alias EventGridDataConnection has a new parameter databaseRouting
      info	[Changelog]   - Type Alias EventHubDataConnection has a new parameter managedIdentityObjectId
      info	[Changelog]   - Type Alias EventHubDataConnection has a new parameter databaseRouting
      info	[Changelog]   - Type Alias IotHubDataConnection has a new parameter databaseRouting
      info	[Changelog]   - Type Alias Script has a new parameter scriptContent
      info	[Changelog]   - Added Enum KnownDatabaseRouting
      info	[Changelog]   - Added Enum KnownPublicIPType
      info	[Changelog]   - Enum KnownAzureSkuName has a new value StandardD16DV5
      info	[Changelog]   - Enum KnownAzureSkuName has a new value StandardD32DV4
      info	[Changelog]   - Enum KnownAzureSkuName has a new value StandardD32DV5
      info	[Changelog]   - Enum KnownAzureSkuName has a new value StandardE16AdsV5
      info	[Changelog]   - Enum KnownAzureSkuName has a new value StandardE16AsV53TBPS
      info	[Changelog]   - Enum KnownAzureSkuName has a new value StandardE16AsV54TBPS
      info	[Changelog]   - Enum KnownAzureSkuName has a new value StandardE16SV43TBPS
      info	[Changelog]   - Enum KnownAzureSkuName has a new value StandardE16SV44TBPS
      info	[Changelog]   - Enum KnownAzureSkuName has a new value StandardE16SV53TBPS
      info	[Changelog]   - Enum KnownAzureSkuName has a new value StandardE16SV54TBPS
      info	[Changelog]   - Enum KnownAzureSkuName has a new value StandardE2AdsV5
      info	[Changelog]   - Enum KnownAzureSkuName has a new value StandardE4AdsV5
      info	[Changelog]   - Enum KnownAzureSkuName has a new value StandardE8AdsV5
      info	[Changelog]   - Enum KnownAzureSkuName has a new value StandardE8AsV51TBPS
      info	[Changelog]   - Enum KnownAzureSkuName has a new value StandardE8AsV52TBPS
      info	[Changelog]   - Enum KnownAzureSkuName has a new value StandardE8SV41TBPS
      info	[Changelog]   - Enum KnownAzureSkuName has a new value StandardE8SV42TBPS
      info	[Changelog]   - Enum KnownAzureSkuName has a new value StandardE8SV51TBPS
      info	[Changelog]   - Enum KnownAzureSkuName has a new value StandardE8SV52TBPS
      error	breakingChangeTracking is enabled, but version or changelogItem is not found in output.
    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 4cb93f0. SDK Automation 14.0.0
      command	sh ./eng/initScript.sh ../../../../../azure-sdk-for-go_tmp/initInput.json ../../../../../azure-sdk-for-go_tmp/initOutput.json
      command	generator automation ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
    • ️✔️kusto/mgmt/2021-08-27/kusto [View full logs]  [Release SDK Changes]
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    • ️✔️kusto/mgmt/2021-01-01/kusto [View full logs
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog] - New function `EventHubConnectionProperties.MarshalJSON() ([]byte, error)`
      info	[Changelog] - New function `ScriptProperties.MarshalJSON() ([]byte, error)`
      info	[Changelog] - New function `IotHubConnectionProperties.MarshalJSON() ([]byte, error)`
      info	[Changelog] - New function `EventGridConnectionProperties.MarshalJSON() ([]byte, error)`
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 4 additive change(s).
    • ️✔️kusto/mgmt/2020-09-18/kusto [View full logs
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog] - New function `IotHubConnectionProperties.MarshalJSON() ([]byte, error)`
      info	[Changelog] - New function `EventGridConnectionProperties.MarshalJSON() ([]byte, error)`
      info	[Changelog] - New function `EventHubConnectionProperties.MarshalJSON() ([]byte, error)`
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 3 additive change(s).
    • ️✔️kusto/mgmt/2020-06-14/kusto [View full logs
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    • ️✔️kusto/mgmt/2020-02-15/kusto [View full logs
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    • ️✔️kusto/mgmt/2019-11-09/kusto [View full logs
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    • ️✔️kusto/mgmt/2019-09-07/kusto [View full logs
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    • ️✔️kusto/mgmt/2019-05-15/kusto [View full logs
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    • ️✔️kusto/mgmt/2019-01-21/kusto [View full logs
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    • ️✔️preview/kusto/mgmt/2018-09-07-preview/kusto [View full logs
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    ️️✔️ azure-sdk-for-go-track2 succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 4cb93f0. 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
    • ️✔️armkusto [View full logs]  [Release SDK Changes] Breaking Change Detected
      info	[Changelog] ### Breaking Changes
      info	[Changelog]
      info	[Changelog] - Type of `Operation.Properties` has been changed from `map[string]interface{}` to `interface{}`
      info	[Changelog] - Type of `SKUDescription.Restrictions` has been changed from `[]map[string]interface{}` to `[]interface{}`
      info	[Changelog] - Function `CloudErrorBody.MarshalJSON` has been removed
      info	[Changelog] - Struct `CloudError` has been removed
      info	[Changelog] - Struct `CloudErrorBody` has been removed
      info	[Changelog]
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog] - New const `DatabaseRoutingMulti`
      info	[Changelog] - New const `DatabaseRoutingSingle`
      info	[Changelog] - New const `AzureSKUNameStandardE8SV42TBPS`
      info	[Changelog] - New const `AzureSKUNameStandardE8AsV51TBPS`
      info	[Changelog] - New const `AzureSKUNameStandardE8AdsV5`
      info	[Changelog] - New const `AzureSKUNameStandardD32DV4`
      info	[Changelog] - New const `AzureSKUNameStandardE8SV51TBPS`
      info	[Changelog] - New const `AzureSKUNameStandardE16AdsV5`
      info	[Changelog] - New const `AzureSKUNameStandardE16AsV53TBPS`
      info	[Changelog] - New const `AzureSKUNameStandardE2AdsV5`
      info	[Changelog] - New const `AzureSKUNameStandardE8SV52TBPS`
      info	[Changelog] - New const `AzureSKUNameStandardE16SV54TBPS`
      info	[Changelog] - New const `AzureSKUNameStandardD32DV5`
      info	[Changelog] - New const `AzureSKUNameStandardE16AsV54TBPS`
      info	[Changelog] - New const `AzureSKUNameStandardE8SV41TBPS`
      info	[Changelog] - New const `AzureSKUNameStandardE8AsV52TBPS`
      info	[Changelog] - New const `AzureSKUNameStandardE16SV43TBPS`
      info	[Changelog] - New const `PublicIPTypeDualStack`
      info	[Changelog] - New const `AzureSKUNameStandardE4AdsV5`
      info	[Changelog] - New const `AzureSKUNameStandardE16SV53TBPS`
      info	[Changelog] - New const `AzureSKUNameStandardE16SV44TBPS`
      info	[Changelog] - New const `AzureSKUNameStandardD16DV5`
      info	[Changelog] - New const `PublicIPTypeIPv4`
      info	[Changelog] - New function `DatabaseRouting.ToPtr() *DatabaseRouting`
      info	[Changelog] - New function `*OperationsResultsLocationClient.Get(context.Context, string, string, *OperationsResultsLocationClientGetOptions) (OperationsResultsLocationClientGetResponse, error)`
      info	[Changelog] - New function `PossiblePublicIPTypeValues() []PublicIPType`
      info	[Changelog] - New function `PublicIPType.ToPtr() *PublicIPType`
      info	[Changelog] - New function `NewOperationsResultsLocationClient(string, azcore.TokenCredential, *arm.ClientOptions) *OperationsResultsLocationClient`
      info	[Changelog] - New function `PossibleDatabaseRoutingValues() []DatabaseRouting`
      info	[Changelog] - New struct `OperationsResultsLocationClient`
      info	[Changelog] - New struct `OperationsResultsLocationClientGetOptions`
      info	[Changelog] - New struct `OperationsResultsLocationClientGetResponse`
      info	[Changelog] - New field `DatabaseRouting` in struct `EventHubConnectionProperties`
      info	[Changelog] - New field `ManagedIdentityObjectID` in struct `EventHubConnectionProperties`
      info	[Changelog] - New field `VirtualClusterGraduationProperties` in struct `ClusterProperties`
      info	[Changelog] - New field `PublicIPType` in struct `ClusterProperties`
      info	[Changelog] - New field `PrivateEndpointConnections` in struct `ClusterProperties`
      info	[Changelog] - New field `DatabaseRouting` in struct `EventGridConnectionProperties`
      info	[Changelog] - New field `EventGridResourceID` in struct `EventGridConnectionProperties`
      info	[Changelog] - New field `ManagedIdentityResourceID` in struct `EventGridConnectionProperties`
      info	[Changelog] - New field `ManagedIdentityObjectID` in struct `EventGridConnectionProperties`
      info	[Changelog] - New field `DatabaseRouting` in struct `IotHubConnectionProperties`
      info	[Changelog] - New field `AADObjectID` in struct `DatabasePrincipalProperties`
      info	[Changelog] - New field `ProvisioningState` in struct `OperationResultProperties`
      info	[Changelog] - New field `ScriptContent` in struct `ScriptProperties`
      info	[Changelog] - New field `AADObjectID` in struct `ClusterPrincipalProperties`
      info	[Changelog]
      info	[Changelog] Total 7 breaking change(s), 43 additive change(s).
    ️⚠️ azure-sdk-for-java warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 4cb93f0. 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] 2022-02-15 03:08:58 INFO [VERSION][Found] current version "com.azure.resourcemanager:azure-resourcemanager-kusto;1.0.0-beta.3;1.0.0-beta.4"
      cmderr	[generate.py] 2022-02-15 03:08:58 INFO [VERSION][Not Found] cannot find stable version, current version "1.0.0-beta.4"
      cmderr	[generate.py] 2022-02-15 03:08:58 INFO autorest --version=3.6.6 --use=@autorest/java@4.0.50 --java --java.azure-libraries-for-java-folder=/home/vsts/work/1/s/azure-sdk-for-java --java.output-folder=/home/vsts/work/1/s/azure-sdk-for-java/sdk/kusto/azure-resourcemanager-kusto --java.namespace=com.azure.resourcemanager.kusto   --pipeline.modelerfour.additional-checks=false --pipeline.modelerfour.lenient-model-deduplication=true --azure-arm --verbose --sdk-integration --generate-samples --fluent=lite --java.fluent=lite --java.license-header=MICROSOFT_MIT_SMALL  ../azure-rest-api-specs/specification/azure-kusto/resource-manager/readme.md
      cmderr	[generate.py] 2022-02-15 03:09:38 INFO [CI][Skip] ci.yml already has module azure-resourcemanager-kusto
      cmderr	[generate.py] 2022-02-15 03:09:38 INFO [POM][Process] dealing with pom.xml
      cmderr	[generate.py] 2022-02-15 03:09:38 INFO [POM][Skip] pom already has module azure-resourcemanager-kusto
      cmderr	[generate.py] 2022-02-15 03:09:38 INFO [POM][Success] Write to pom.xml
      cmderr	[generate.py] 2022-02-15 03:09:38 INFO [POM][Process] dealing with root pom
      cmderr	[generate.py] 2022-02-15 03:09:38 INFO [POM][Skip] pom already has module sdk/kusto
      cmderr	[generate.py] 2022-02-15 03:09:38 INFO [POM][Success] Write to root pom
    • ️✔️azure-resourcemanager-kusto [View full logs]  [Release SDK Changes]
      cmderr	[Inst] 2022-02-15 03:11:17 DEBUG Got artifact_id: azure-resourcemanager-kusto
      cmderr	[Inst] 2022-02-15 03:11:17 DEBUG Got artifact: pom.xml
      cmderr	[Inst] 2022-02-15 03:11:17 DEBUG Got artifact: azure-resourcemanager-kusto-1.0.0-beta.4-sources.jar
      cmderr	[Inst] 2022-02-15 03:11:17 DEBUG Got artifact: azure-resourcemanager-kusto-1.0.0-beta.4.jar
      cmderr	[Inst] 2022-02-15 03:11:17 DEBUG Match jar package: azure-resourcemanager-kusto-1.0.0-beta.4.jar
      cmderr	[Inst] 2022-02-15 03:11:17 DEBUG output: {"full": "```sh\ncurl -L \"https://portal.azure-devex-tools.com/api/sdk-dl-pub?p=Azure/17197/azure-sdk-for-java/azure-resourcemanager-kusto/azure-resourcemanager-kusto-1.0.0-beta.4.jar\" -o azure-resourcemanager-kusto-1.0.0-beta.4.jar\nmvn install:install-file -DgroupId=com.azure.resourcemanager -DartifactId=azure-resourcemanager-kusto -Dversion=1.0.0-beta.0 -Dfile=azure-resourcemanager-kusto-1.0.0-beta.4.jar -Dpackaging=jar -DgeneratePom=true
      ```"}
    ️⚠️ azure-resource-manager-schemas warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 4cb93f0. 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] WARN old lockfile
      cmderr	[initScript.sh] npm WARN old lockfile The package-lock.json file was created with an old version of npm,
      cmderr	[initScript.sh] npm WARN old lockfile so supplemental metadata must be fetched from the registry.
      cmderr	[initScript.sh] npm WARN old lockfile
      cmderr	[initScript.sh] npm WARN old lockfile This is a one-time fix-up, please be patient...
      cmderr	[initScript.sh] npm WARN old lockfile
      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
    • ️✔️azure-kusto [View full logs]  [Release Schema Changes]
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-workflow-bot
    Copy link

    Hi @docohe, Your PR has some issues. Please fix the CI sequentially by following the order of Avocado, semantic validation, model validation, breaking change, lintDiff. If you have any questions, please post your questions in this channel https://aka.ms/swaggersupport.

    TaskHow to fixPriority
    AvocadoFix-AvocadoHigh
    Semantic validationFix-SemanticValidation-ErrorHigh
    Model validationFix-ModelValidation-ErrorHigh
    LintDiffFix-LintDiffhigh
    If you need further help, please feedback via swagger feedback.

    @msyyc
    Copy link
    Member

    msyyc commented Jan 4, 2022

    According to log info, there is unproper definition:

    fatal   | Process() cancelled due to failure
    error   |   Error: $ref to original location 'file:///_/azure-rest-api-specs/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2022-02-01/kusto.json#/parameters/SubscriptionIdParameter' is not found in the new refs collection
    

    @docohe
    Copy link
    Contributor Author

    docohe commented Jan 4, 2022

    @msyyc The SubscriptionIdParameter is defined in the swagger in line 6102. What am I missing? It was not change in the version.
    The only thing that was changed that I added x-ms-path, maybe it is because of that?

    @openapi-workflow-bot
    Copy link

    Hi @docohe, 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.

    @msyyc
    Copy link
    Member

    msyyc commented Jan 5, 2022

    Hi @docohe
    Yes, the error is caused by x-ms-path. But the error is reported by autorest.core, not autorest.python. You could ask help from @timotheeguerin

    @timotheeguerin
    Copy link
    Member

    That error does seem to be this issue that is quite old and has been fixed Azure/autorest#3546
    Not sure which job is having this issue but it is most likely using an old version of @autorest/core and should be updated. If this is is still happening with the latest please create an issue in the autorest repo.

    @docohe docohe added the DoNotMerge <valid label in PR review process> use to hold merge after approval label Jan 5, 2022
    @docohe docohe marked this pull request as ready for review January 5, 2022 07:36
    @docohe
    Copy link
    Contributor Author

    docohe commented Jan 5, 2022

    @msyyc did you see @timotheeguerin comment? Is it possible to upgrade the autorest-core version in the tests?

    @weidongxu-microsoft
    Copy link
    Member

    weidongxu-microsoft commented Jan 5, 2022

    Java is on autorest.core 3.6.6 (and the bug above is fixed in 3.0.6339)

    Tried autorest.core 3.7.3, same issue

    info    |    Loading AutoRest core      'C:\Users\weidxu.FAREAST\.autorest\@autorestcore@3.7.3\nodemodules\@autorest\core\dist' (3.7.3)
    
    error   |   Error: $ref to original location 'file:///C:/github/azure-rest-api-specs/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2022-02-01/kusto.json#/parameters/SubscriptionIdParameter' is not found in the new refs collection
    

    @msyyc
    Copy link
    Member

    msyyc commented Jan 5, 2022

    Hi @docohe @timotheeguerin
    Python is same with Java. Upgrading autorest.core does not solve the problem: #17197 (comment)

    @docohe
    Copy link
    Contributor Author

    docohe commented Jan 5, 2022

    @msyyc could you please open an issue to the autorest-core?

    @timotheeguerin
    Copy link
    Member

    timotheeguerin commented Jan 5, 2022

    @docohe @msyyc found the issue. There is a typo in the spec you are using x-ms-path instead of x-ms-paths so in the Swagger-> OpenAPI 3 converter it doesn't convert x-ms-path to OpenAPI3 including the ref but then down the line it will try to replace all the $ref it find in the document which include that one being #/parameters/SubscriptionId instead of being the correct one(#/components/parameters/SubscriptionId in the converted OAI3).
    If you change to the correct name you'll have some other validation error as some things are defined incorrectly in that operation.

    I'll see if I can improve something so autorest can give a better error in cases like that.

    @docohe
    Copy link
    Contributor Author

    docohe commented Jan 6, 2022

    @timotheeguerin could you please refer me to a swagger that has 'x-ms-paths' I cannot see what I'm doing wrong. I've looked in this repo and couldn't find anything.
    Do I need to use different parameters in the x-ms-paths? Not sure I understand the issue.

    @timotheeguerin
    Copy link
    Member

    @docohe what is the current error you are having, x-ms-paths is the same as paths it just gets merged together.
    Samples https://github.com/Azure/autorest.testserver/blob/0779a7f2a6a92b76be4bd8e6c57dd72897400323/swagger/paging.json#L535

    @docohe
    Copy link
    Contributor Author

    docohe commented Jan 27, 2022

    @mentat9 I've address your comments. bool -> enum & camelCasing for operationResults.
    Regarding the breaking change - the backend used this default value from day one, so even if you didn't send the value - the backend used it as 'Disabled'. We found the mistake thanks to S360 incident that we've got and we decide to fix it.

    @mentat9 mentat9 added ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review and removed WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review labels Jan 27, 2022
    @mentat9
    Copy link
    Member

    mentat9 commented Jan 27, 2022

    Signed off from ARM perspective.

    Copy link
    Member

    @weidongxu-microsoft weidongxu-microsoft left a comment

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    LGTM, let me know when to merge.

    @docohe docohe added DoNotMerge <valid label in PR review process> use to hold merge after approval and removed DoNotMerge <valid label in PR review process> use to hold merge after approval labels Feb 1, 2022
    @docohe docohe removed the DoNotMerge <valid label in PR review process> use to hold merge after approval label Feb 14, 2022
    @docohe
    Copy link
    Contributor Author

    docohe commented Feb 14, 2022

    @weidongxu-microsoft could you please merge?

    @weidongxu-microsoft weidongxu-microsoft added the Approved-OkToMerge <valid label in PR review process>add this label when assignee approve to merge the updates label Feb 15, 2022
    @weidongxu-microsoft weidongxu-microsoft merged commit 4cb93f0 into Azure:main Feb 15, 2022
    ghost pushed a commit to Azure/azure-resource-manager-schemas that referenced this pull request Feb 15, 2022
    FredericHeem pushed a commit to grucloud/azure-rest-api-specs that referenced this pull request Mar 7, 2022
    …ble/2022-02-01 (Azure#17197)
    
    * Copy old api-version
    
    * 2022-02-01 updated
    
    * boolean to enum
    
    * operationResult in camelCasing
    
    * Add private endpoints member to cluster entity
    
    * remove 204
    
    Co-authored-by: dorcohe <cohensdor@gmail.com>
    Co-authored-by: Sagiv Frankel <safranke@microsoft.com>
    @Aviv-Yaniv Aviv-Yaniv mentioned this pull request Sep 14, 2022
    11 tasks
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    Approved-BreakingChange DO NOT USE! OBSOLETE label. See https://github.com/Azure/azure-sdk-tools/issues/6374 Approved-OkToMerge <valid label in PR review process>add this label when assignee approve to merge the updates ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review CI-BreakingChange-Go-V2
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    8 participants