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

Fix Prettier errors #29523

Conversation

ragovada
Copy link
Member

ARM (Control Plane) API Specification Update Pull Request

Tip

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

PR review workflow diagram

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

spec_pr_review_workflow_diagram

Purpose of this PR

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

Due diligence checklist

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

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

Additional information

Viewing API changes

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

Suppressing failures

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

Getting help

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

Copy link

openapi-pipeline-app bot commented Jun 20, 2024

Next Steps to Merge

✅ All automated merging requirements have been met! To get your PR merged, see aka.ms/azsdk/specreview/merge.

Copy link

openapi-pipeline-app bot commented Jun 20, 2024

Swagger Validation Report

️️✔️BreakingChange succeeded [Detail] [Expand]
There are no breaking changes.
️⚠️Breaking Change(Cross-Version): 34 Warnings warning [Detail]
Compared specs (v0.10.12) new version base version
machineLearningServices.json 2024-07-01-preview(9b908fd) 2024-04-01(main)
machineLearningServices.json 2024-07-01-preview(9b908fd) 2024-04-01-preview(main)
registries.json 2024-07-01-preview(9b908fd) 2024-04-01(main)
registries.json 2024-07-01-preview(9b908fd) 2024-04-01-preview(main)
workspaceFeatures.json 2024-07-01-preview(9b908fd) 2024-04-01(main)
workspaceFeatures.json 2024-07-01-preview(9b908fd) 2024-04-01-preview(main)

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
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/customServices' removed or restructured?
Old: Microsoft.MachineLearningServices/preview/2024-04-01-preview/machineLearningServices.json#L531: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.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/updateDataMounts' removed or restructured?
Old: Microsoft.MachineLearningServices/preview/2024-04-01-preview/machineLearningServices.json#L681: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.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/updateIdleShutdownSetting' removed or restructured?
Old: Microsoft.MachineLearningServices/preview/2024-04-01-preview/machineLearningServices.json#L867: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.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/getAllowedVmSizesForResize' removed or restructured?
Old: Microsoft.MachineLearningServices/preview/2024-04-01-preview/machineLearningServices.json#L918: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.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/resize' removed or restructured?
Old: Microsoft.MachineLearningServices/preview/2024-04-01-preview/machineLearningServices.json#L964:5
⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'OsPatchingStatus' removed or renamed?
New: Microsoft.MachineLearningServices/preview/2024-07-01-preview/machineLearningServices.json#L2405:3
Old: Microsoft.MachineLearningServices/preview/2024-04-01-preview/machineLearningServices.json#L1101:3
⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'ComputeInstanceAutologgerSettings' removed or renamed?
New: Microsoft.MachineLearningServices/preview/2024-07-01-preview/machineLearningServices.json#L2405:3
Old: Microsoft.MachineLearningServices/preview/2024-04-01-preview/machineLearningServices.json#L1101:3
⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'ResizeSchema' removed or renamed?
New: Microsoft.MachineLearningServices/preview/2024-07-01-preview/machineLearningServices.json#L2405:3
Old: Microsoft.MachineLearningServices/preview/2024-04-01-preview/machineLearningServices.json#L1101:3
⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'ManagedResourceGroupSettings' removed or renamed?
New: Microsoft.MachineLearningServices/preview/2024-07-01-preview/registries.json#L427:3
Old: Microsoft.MachineLearningServices/preview/2024-04-01-preview/registries.json#L427:3
⚠️ 1019 - RemovedEnumValue The new version is removing enum value(s) 'Resizing' from the old version.
New: Microsoft.MachineLearningServices/preview/2024-07-01-preview/machineLearningServices.json#L4076:9
Old: Microsoft.MachineLearningServices/preview/2024-04-01-preview/machineLearningServices.json#L2148:9
⚠️ 1019 - RemovedEnumValue The new version is removing enum value(s) 'Resize' from the old version.
New: Microsoft.MachineLearningServices/preview/2024-07-01-preview/machineLearningServices.json#L5467:9
Old: Microsoft.MachineLearningServices/preview/2024-04-01-preview/machineLearningServices.json#L3368:9
⚠️ 1019 - RemovedEnumValue The new version is removing enum value(s) 'ResizeFailed' from the old version.
New: Microsoft.MachineLearningServices/preview/2024-07-01-preview/machineLearningServices.json#L5488:9
Old: Microsoft.MachineLearningServices/preview/2024-04-01-preview/machineLearningServices.json#L3390:9
⚠️ 1019 - RemovedEnumValue The new version is removing enum value(s) 'Resizing' from the old version.
New: Microsoft.MachineLearningServices/preview/2024-07-01-preview/machineLearningServices.json#L5438:5
Old: Microsoft.MachineLearningServices/preview/2024-04-01-preview/machineLearningServices.json#L3338:5
⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'autologgerSettings' renamed or removed?
New: Microsoft.MachineLearningServices/preview/2024-07-01-preview/machineLearningServices.json#L3997:7
Old: Microsoft.MachineLearningServices/preview/2024-04-01-preview/machineLearningServices.json#L2064:7
⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'version' renamed or removed?
New: Microsoft.MachineLearningServices/preview/2024-07-01-preview/machineLearningServices.json#L5210:7
Old: Microsoft.MachineLearningServices/preview/2024-04-01-preview/machineLearningServices.json#L3069:7
⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'kernel' renamed or removed?
New: Microsoft.MachineLearningServices/preview/2024-07-01-preview/machineLearningServices.json#L5162:7
Old: Microsoft.MachineLearningServices/preview/2024-04-01-preview/machineLearningServices.json#L3018:7
⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'osPatchingStatus' renamed or removed?
New: Microsoft.MachineLearningServices/preview/2024-07-01-preview/machineLearningServices.json#L5144:7
Old: Microsoft.MachineLearningServices/preview/2024-04-01-preview/machineLearningServices.json#L2951:7
⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'enableOSPatching' renamed or removed?
New: Microsoft.MachineLearningServices/preview/2024-07-01-preview/machineLearningServices.json#L3997:7
Old: Microsoft.MachineLearningServices/preview/2024-04-01-preview/machineLearningServices.json#L2064:7
⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'enableRootAccess' renamed or removed?
New: Microsoft.MachineLearningServices/preview/2024-07-01-preview/machineLearningServices.json#L3997:7
Old: Microsoft.MachineLearningServices/preview/2024-04-01-preview/machineLearningServices.json#L2064:7
⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'enableSSO' renamed or removed?
New: Microsoft.MachineLearningServices/preview/2024-07-01-preview/machineLearningServices.json#L3997:7
Old: Microsoft.MachineLearningServices/preview/2024-04-01-preview/machineLearningServices.json#L2064:7
⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'releaseQuotaOnStop' renamed or removed?
New: Microsoft.MachineLearningServices/preview/2024-07-01-preview/machineLearningServices.json#L3997:7
Old: Microsoft.MachineLearningServices/preview/2024-04-01-preview/machineLearningServices.json#L2064:7
⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'idleTimeBeforeShutdown' renamed or removed?
New: Microsoft.MachineLearningServices/preview/2024-07-01-preview/machineLearningServices.json#L3997:7
Old: Microsoft.MachineLearningServices/preview/2024-04-01-preview/machineLearningServices.json#L2064:7
⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'mountMode' renamed or removed?
New: Microsoft.MachineLearningServices/preview/2024-07-01-preview/machineLearningServices.json#L5892:7
Old: Microsoft.MachineLearningServices/preview/2024-04-01-preview/machineLearningServices.json#L3784:7
⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'managedResourceGroupSettings' renamed or removed?
New: Microsoft.MachineLearningServices/preview/2024-07-01-preview/registries.json#L636:7
Old: Microsoft.MachineLearningServices/preview/2024-04-01-preview/registries.json#L636:7
⚠️ 1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: Microsoft.MachineLearningServices/preview/2024-07-01-preview/machineLearningServices.json#L817:9
Old: Microsoft.MachineLearningServices/preview/2024-04-01-preview/machineLearningServices.json#L299:9
⚠️ 1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: Microsoft.MachineLearningServices/preview/2024-07-01-preview/machineLearningServices.json#L886:9
Old: Microsoft.MachineLearningServices/preview/2024-04-01-preview/machineLearningServices.json#L368:9
⚠️ 1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: Microsoft.MachineLearningServices/preview/2024-07-01-preview/machineLearningServices.json#L946:9
Old: Microsoft.MachineLearningServices/preview/2024-04-01-preview/machineLearningServices.json#L428:9
⚠️ 1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: Microsoft.MachineLearningServices/preview/2024-07-01-preview/machineLearningServices.json#L1000:9
Old: Microsoft.MachineLearningServices/preview/2024-04-01-preview/machineLearningServices.json#L482:9
⚠️ 1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: Microsoft.MachineLearningServices/preview/2024-07-01-preview/machineLearningServices.json#L1056:9
Old: Microsoft.MachineLearningServices/preview/2024-04-01-preview/machineLearningServices.json#L593:9
⚠️ 1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
New: Microsoft.MachineLearningServices/preview/2024-07-01-preview/machineLearningServices.json#L1153:9
Old: Microsoft.MachineLearningServices/preview/2024-04-01-preview/machineLearningServices.json#L648:9
️⚠️LintDiff: 0 Warnings warning [Detail]
Compared specs (v2.2.2) new version base version
default default(9b908fd) default(release-machinelearningservices-Microsoft.MachineLearningServices-2024-07-01-preview)

The following errors/warnings exist before current PR submission:

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

Rule Message
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.MachineLearningServices/preview/2024-07-01-preview/machineLearningServices.json#L114
PutResponseCodes Synchronous and long-running PUT operations must have responses with 200, 201 and default return codes. They also must not have other response codes.
Location: Microsoft.MachineLearningServices/preview/2024-07-01-preview/machineLearningServices.json#L114
DeleteResponseCodes Long-running delete operations must have responses with 202, 204 and default return codes. They also must have no other response codes.
Location: Microsoft.MachineLearningServices/preview/2024-07-01-preview/machineLearningServices.json#L180
LroLocationHeader A 202 response should include an Location response header.
Location: Microsoft.MachineLearningServices/preview/2024-07-01-preview/machineLearningServices.json#L213
PatchBodyParametersSchema Properties of a PATCH request body must not be required, property:type.
Location: Microsoft.MachineLearningServices/preview/2024-07-01-preview/machineLearningServices.json#L257
PatchBodyParametersSchema Properties of a PATCH request body must not be required, property:name.
Location: Microsoft.MachineLearningServices/preview/2024-07-01-preview/machineLearningServices.json#L257
PostResponseCodes 200 return code does not have a schema specified. LRO POST must have a 200 return code if only if the final response is intended to have a schema, if not the 200 return code must not be specified.
Location: Microsoft.MachineLearningServices/preview/2024-07-01-preview/machineLearningServices.json#L458
XmsPageableForListCalls x-ms-pageable extension must be specified for LIST APIs.
Location: Microsoft.MachineLearningServices/preview/2024-07-01-preview/machineLearningServices.json#L561
GetCollectionOnlyHasValueAndNextLink Get endpoints for collections of resources must only have the value and nextLink properties in their model.
Location: Microsoft.MachineLearningServices/preview/2024-07-01-preview/machineLearningServices.json#L586
ResourceNameRestriction The resource name parameter 'computeName' should be defined with a 'pattern' restriction.
Location: Microsoft.MachineLearningServices/preview/2024-07-01-preview/machineLearningServices.json#L795
PatchResponseCodes Long-running PATCH operations must have responses with 200, 202 and default return codes. They also must not have other response codes.
Location: Microsoft.MachineLearningServices/preview/2024-07-01-preview/machineLearningServices.json#L933
PatchIdentityProperty The patch operation body parameter schema should contain property 'identity'.
Location: Microsoft.MachineLearningServices/preview/2024-07-01-preview/machineLearningServices.json#L962
ConsistentPatchProperties The property 'properties.properties' in the request body either not apppear in the resource model or has the wrong level.
Location: Microsoft.MachineLearningServices/preview/2024-07-01-preview/machineLearningServices.json#L966
PatchBodyParametersSchema Properties of a PATCH request body must not be required, property:maxNodeCount.
Location: Microsoft.MachineLearningServices/preview/2024-07-01-preview/machineLearningServices.json#L966
LroPatch202 The async patch operation should return 202.
Location: Microsoft.MachineLearningServices/preview/2024-07-01-preview/machineLearningServices.json#L972
DeleteResponseCodes Long-running delete operations must have responses with 202, 204 and default return codes. They also must have no other response codes.
Location: Microsoft.MachineLearningServices/preview/2024-07-01-preview/machineLearningServices.json#L987
ResourceNameRestriction The resource name parameter 'computeName' should be defined with a 'pattern' restriction.
Location: Microsoft.MachineLearningServices/preview/2024-07-01-preview/machineLearningServices.json#L1049
CollectionObjectPropertiesNaming Collection object returned by list operation 'Compute_ListNodes' with 'x-ms-pageable' extension, has no property named 'value'.
Location: Microsoft.MachineLearningServices/preview/2024-07-01-preview/machineLearningServices.json#L1076
ResourceNameRestriction The resource name parameter 'computeName' should be defined with a 'pattern' restriction.
Location: Microsoft.MachineLearningServices/preview/2024-07-01-preview/machineLearningServices.json#L1140
ResourceNameRestriction The resource name parameter 'computeName' should be defined with a 'pattern' restriction.
Location: Microsoft.MachineLearningServices/preview/2024-07-01-preview/machineLearningServices.json#L1186
LroLocationHeader A 202 response should include an Location response header.
Location: Microsoft.MachineLearningServices/preview/2024-07-01-preview/machineLearningServices.json#L1218
ResourceNameRestriction The resource name parameter 'computeName' should be defined with a 'pattern' restriction.
Location: Microsoft.MachineLearningServices/preview/2024-07-01-preview/machineLearningServices.json#L1230
LroLocationHeader A 202 response should include an Location response header.
Location: Microsoft.MachineLearningServices/preview/2024-07-01-preview/machineLearningServices.json#L1262
ResourceNameRestriction The resource name parameter 'computeName' should be defined with a 'pattern' restriction.
Location: Microsoft.MachineLearningServices/preview/2024-07-01-preview/machineLearningServices.json#L1274
LroLocationHeader A 202 response should include an Location response header.
Location: Microsoft.MachineLearningServices/preview/2024-07-01-preview/machineLearningServices.json#L1306
GetCollectionOnlyHasValueAndNextLink Get endpoints for collections of resources must only have the value and nextLink properties in their model.
Location: Microsoft.MachineLearningServices/preview/2024-07-01-preview/machineLearningServices.json#L1347
PutResponseCodes Synchronous and long-running PUT operations must have responses with 200, 201 and default return codes. They also must not have other response codes.
Location: Microsoft.MachineLearningServices/preview/2024-07-01-preview/machineLearningServices.json#L1407
XmsPageableForListCalls x-ms-pageable extension must be specified for LIST APIs.
Location: Microsoft.MachineLearningServices/preview/2024-07-01-preview/machineLearningServices.json#L1504
GetCollectionOnlyHasValueAndNextLink Get endpoints for collections of resources must only have the value and nextLink properties in their model.
Location: Microsoft.MachineLearningServices/preview/2024-07-01-preview/machineLearningServices.json#L1532
PutResponseCodes Synchronous and long-running PUT operations must have responses with 200, 201 and default return codes. They also must not have other response codes.
Location: Microsoft.MachineLearningServices/preview/2024-07-01-preview/machineLearningServices.json#L1692
️️✔️Avocado succeeded [Detail] [Expand]
Validation passes for Avocado.
️️✔️SwaggerAPIView succeeded [Detail] [Expand]
️️✔️TypeSpecAPIView succeeded [Detail] [Expand]
️️✔️ModelValidation succeeded [Detail] [Expand]
Validation passes for ModelValidation.
️️✔️SemanticValidation succeeded [Detail] [Expand]
Validation passes for SemanticValidation.
️️✔️SpellCheck succeeded [Detail] [Expand]
Validation passes for SpellCheck.
️️✔️PR Summary succeeded [Detail] [Expand]
Validation passes for Summary.
️️✔️Automated merging requirements met succeeded [Detail] [Expand]
Posted by Swagger Pipeline | How to fix these errors?

Copy link

openapi-pipeline-app bot commented Jun 20, 2024

Swagger Generation Artifacts

️️✔️ApiDocPreview succeeded [Detail] [Expand]
️❌ azure-sdk-for-net-track2 failed [Detail]
    For more instructions, please refer to the FAQ .
  • Failed in generating from 4a7b1d5ada4ff47e2281e9053bfb16186495af2a. 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
    cmderr	[Invoke-GenerateAndBuildV2.ps1] GeneratePackage: /mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:714
    cmderr	[Invoke-GenerateAndBuildV2.ps1] Line |
    cmderr	[Invoke-GenerateAndBuildV2.ps1]  714 |          GeneratePackage -projectFolder $projectFolder -sdkRootPath $s …
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      | Failed to generate sdk. exit code: False
    cmderr	[Invoke-GenerateAndBuildV2.ps1] Get-ChildItem: /mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:807
    cmderr	[Invoke-GenerateAndBuildV2.ps1] Line |
    cmderr	[Invoke-GenerateAndBuildV2.ps1]  807 |  … rtifacts += Get-ChildItem $artifactsPath -Filter *.nupkg -exclude *.s …
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      | Cannot find path
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      | '/mnt/vss/_work/1/s/azure-sdk-for-net/artifacts/packages/Debug/' because
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      | it does not exist.
    cmderr	[Invoke-GenerateAndBuildV2.ps1] GeneratePackage: /mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:714
    cmderr	[Invoke-GenerateAndBuildV2.ps1] Line |
    cmderr	[Invoke-GenerateAndBuildV2.ps1]  714 |          GeneratePackage -projectFolder $projectFolder -sdkRootPath $s …
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      | Failed to generate sdk artifact
  • Azure.ResourceManager.MachineLearning [Preview SDK Changes]
    info	[Changelog]
️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    For more instructions, please refer to the FAQ .
  • ️✔️Succeeded in generating from 4a7b1d5ada4ff47e2281e9053bfb16186495af2a. 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
  • ️✔️sdk/resourcemanager/machinelearning/armmachinelearning [Preview SDK Changes]
️⚠️ azure-sdk-for-python warning [Detail]
    For more instructions, please refer to the FAQ .
  • ⚠️Warning in generating from 4a7b1d5ada4ff47e2281e9053bfb16186495af2a. SDK Automation 14.0.0
    command	sh scripts/automation_init.sh ../azure-sdk-for-python_tmp/initInput.json ../azure-sdk-for-python_tmp/initOutput.json
    cmderr	[automation_init.sh] W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/azure-cli.list:1 and /etc/apt/sources.list.d/azure-cli.sources:1
    cmderr	[automation_init.sh] W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/azure-cli.list:1 and /etc/apt/sources.list.d/azure-cli.sources:1
    cmderr	[automation_init.sh] W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/azure-cli.list:1 and /etc/apt/sources.list.d/azure-cli.sources:1
    cmderr	[automation_init.sh] W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/azure-cli.list:1 and /etc/apt/sources.list.d/azure-cli.sources:1
    cmderr	[automation_init.sh] W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/azure-cli.list:1 and /etc/apt/sources.list.d/azure-cli.sources:1
    cmderr	[automation_init.sh] W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/azure-cli.list:1 and /etc/apt/sources.list.d/azure-cli.sources:1
    cmderr	[automation_init.sh] W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/azure-cli.list:1 and /etc/apt/sources.list.d/azure-cli.sources:1
    cmderr	[automation_init.sh] W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/azure-cli.list:1 and /etc/apt/sources.list.d/azure-cli.sources:1
    cmderr	[automation_init.sh] W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/azure-cli.list:1 and /etc/apt/sources.list.d/azure-cli.sources:1
    cmderr	[automation_init.sh] W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/azure-cli.list:1 and /etc/apt/sources.list.d/azure-cli.sources:1
    cmderr	[automation_init.sh] WARNING: Skipping azure-nspkg as it is not installed.
    cmderr	[automation_init.sh] npm notice
    cmderr	[automation_init.sh] npm notice New minor version of npm available! 10.7.0 -> 10.8.1
    cmderr	[automation_init.sh] npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.8.1
    cmderr	[automation_init.sh] npm notice To update run: npm install -g npm@10.8.1
    cmderr	[automation_init.sh] npm notice
    command	sh scripts/automation_generate.sh ../azure-sdk-for-python_tmp/generateInput.json ../azure-sdk-for-python_tmp/generateOutput.json
  • ️✔️azure-mgmt-machinelearningservices [Preview SDK Changes]
️️✔️ azure-sdk-for-java succeeded [Detail] [Expand]
    For more instructions, please refer to the FAQ .
  • ️✔️Succeeded in generating from 4a7b1d5ada4ff47e2281e9053bfb16186495af2a. 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
  • ️✔️azure-resourcemanager-machinelearning [Preview SDK Changes]
️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
    For more instructions, please refer to the FAQ .
  • ️✔️Succeeded in generating from 4a7b1d5ada4ff47e2281e9053bfb16186495af2a. SDK Automation 14.0.0
    command	sh .scripts/automation_init.sh ../azure-sdk-for-js_tmp/initInput.json ../azure-sdk-for-js_tmp/initOutput.json
    warn	Warning: File azure-sdk-for-js_tmp/initOutput.json not found to read. Please re-run the pipeline if the error is transitient error or report this issue through https://aka.ms/azsdk/support/specreview-channel.
    command	sh .scripts/automation_generate.sh ../azure-sdk-for-js_tmp/generateInput.json ../azure-sdk-for-js_tmp/generateOutput.json
  • ️✔️@azure/arm-machinelearning [Preview SDK Changes]
️❌ azure-resource-manager-schemas failed [Detail]
    For more instructions, please refer to the FAQ .
  • Code Generator Failed in generating from 4a7b1d5ada4ff47e2281e9053bfb16186495af2a. 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] Submodule 'bicep-types-az' (https://github.com/Azure/bicep-types-az) registered for path 'bicep-types-az'
    cmderr	[initScript.sh] Cloning into '/mnt/vss/_work/1/s/azure-resource-manager-schemas/bicep-types-az'...
    cmderr	[initScript.sh] Submodule 'bicep-types' (https://github.com/Azure/bicep-types) registered for path 'bicep-types-az/bicep-types'
    cmderr	[initScript.sh] Cloning into '/mnt/vss/_work/1/s/azure-resource-manager-schemas/bicep-types-az/bicep-types'...
    cmderr	[initScript.sh] npm notice
    cmderr	[initScript.sh] npm notice New minor version of npm available! 10.7.0 -> 10.8.1
    cmderr	[initScript.sh] npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.8.1
    cmderr	[initScript.sh] npm notice To update run: npm install -g npm@10.8.1
    cmderr	[initScript.sh] npm notice
    error	Script return with result [failed] code [1] signal [null] cwd [azure-resource-manager-schemas]: .sdkauto/initScript.sh
    warn	Warning: File azure-resource-manager-schemas_tmp/initOutput.json not found to read. Please re-run the pipeline if the error is transitient error or report this issue through https://aka.ms/azsdk/support/specreview-channel.
    command	.sdkauto/generateScript.sh ../azure-resource-manager-schemas_tmp/generateInput.json ../azure-resource-manager-schemas_tmp/generateOutput.json
    cmderr	[generateScript.sh] /mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/ts-node@9.0.0_typescript@5.3.3/node_modules/ts-node/src/index.ts:500
    cmderr	[generateScript.sh]     return new TSError(diagnosticText, diagnosticCodes)
    cmderr	[generateScript.sh]            ^
    cmderr	[generateScript.sh] TSError: ⨯ Unable to compile TypeScript:
    cmderr	[generateScript.sh] cmd/generateall.ts(6,20): error TS2307: Cannot find module 'colors' or its corresponding type declarations.
    cmderr	[generateScript.sh] cmd/generateall.ts(10,19): error TS2307: Cannot find module 'yargs' or its corresponding type declarations.
    cmderr	[generateScript.sh] cmd/generateall.ts(11,18): error TS2307: Cannot find module 'path' or its corresponding type declarations.
    cmderr	[generateScript.sh] cmd/generateall.ts(13,35): error TS2307: Cannot find module 'fs' or its corresponding type declarations.
    cmderr	[generateScript.sh] cmd/generateall.ts(14,23): error TS2307: Cannot find module 'strip-ansi' or its corresponding type declarations.
    cmderr	[generateScript.sh] cmd/generateall.ts(42,9): error TS2584: Cannot find name 'console'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'.
    cmderr	[generateScript.sh] cmd/generateall.ts(53,9): error TS2584: Cannot find name 'console'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'.
    cmderr	[generateScript.sh] cmd/generateall.ts(69,67): error TS7006: Parameter 'x' implicitly has an 'any' type.
    cmderr	[generateScript.sh] cmd/generateall.ts(70,49): error TS7006: Parameter 'f' implicitly has an 'any' type.
    cmderr	[generateScript.sh] cmd/generateall.ts(94,21): error TS2584: Cannot find name 'console'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'.
    cmderr	[generateScript.sh] cmd/generateall.ts(105,21): error TS2584: Cannot find name 'console'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'.
    cmderr	[generateScript.sh] cmd/generateall.ts(106,21): error TS2584: Cannot find name 'console'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'.
    cmderr	[generateScript.sh] cmd/generateall.ts(157,13): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.
    cmderr	[generateScript.sh]     at createTSError (/mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/ts-node@9.0.0_typescript@5.3.3/node_modules/ts-node/src/index.ts:500:12)
    cmderr	[generateScript.sh]     at reportTSError (/mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/ts-node@9.0.0_typescript@5.3.3/node_modules/ts-node/src/index.ts:504:19)
    cmderr	[generateScript.sh]     at getOutput (/mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/ts-node@9.0.0_typescript@5.3.3/node_modules/ts-node/src/index.ts:739:36)
    cmderr	[generateScript.sh]     at Object.compile (/mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/ts-node@9.0.0_typescript@5.3.3/node_modules/ts-node/src/index.ts:955:32)
    cmderr	[generateScript.sh]     at Module.m._compile (/mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/ts-node@9.0.0_typescript@5.3.3/node_modules/ts-node/src/index.ts:1043:43)
    cmderr	[generateScript.sh]     at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
    cmderr	[generateScript.sh]     at Object.require.extensions.<computed> [as .ts] (/mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/ts-node@9.0.0_typescript@5.3.3/node_modules/ts-node/src/index.ts:1046:12)
    cmderr	[generateScript.sh]     at Module.load (node:internal/modules/cjs/loader:1203:32)
    cmderr	[generateScript.sh]     at Function.Module._load (node:internal/modules/cjs/loader:1019:12)
    cmderr	[generateScript.sh]     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
    error	Script return with result [failed] code [1] signal [null] cwd [azure-resource-manager-schemas]: .sdkauto/generateScript.sh
    warn	Warning: Package processing is skipped as the SDK generation fails. Please look into the above generation errors or report this issue through https://aka.ms/azsdk/support/specreview-channel.
️⚠️ azure-powershell warning [Detail]
    For more instructions, please refer to the FAQ .
  • ⚠️Warning in generating from 4a7b1d5ada4ff47e2281e9053bfb16186495af2a. 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
  • ⚠️Az.machinelearningservices.DefaultTag [Preview SDK Changes]
Posted by Swagger Pipeline | How to fix these errors?

Copy link

openapi-pipeline-app bot commented Jun 20, 2024

@ragovada ragovada marked this pull request as ready for review June 20, 2024 17:32
@AzureRestAPISpecReview AzureRestAPISpecReview added ARMReview SuppressionReviewRequired WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required labels Jun 20, 2024
@ragovada
Copy link
Member Author

Attention ARM Reviewer: All the readme file changes on this PR are approved supressions from our last GA. 69f22f6
#27841

@mentat9 mentat9 added ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review Approved-Suppression labels Jun 21, 2024
@openapi-pipeline-app openapi-pipeline-app bot removed the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Jun 21, 2024
@kseager
Copy link
Contributor

kseager commented Jun 21, 2024

/pr RequestMerge

@mentat9
Copy link
Member

mentat9 commented Jun 22, 2024

@kseager - I don't have write access to this branch. Note: ARM reviewers only merge PRs to a handful of branches (main, RPSaaSMaster, RPSaaSDev, InternalARMContracts). If you aren't able to merge it yourself, you will need to find an owner (or someone else with write access) of this branch to approve your PR before it can be merged.

…ngServices-2024-07-01-preview' into Fix-gate-failures-for-2024-07-Preview
@ragovada ragovada merged commit 2928c83 into Azure:release-machinelearningservices-Microsoft.MachineLearningServices-2024-07-01-preview Jun 24, 2024
26 of 29 checks passed
razvanbadea-msft pushed a commit that referenced this pull request Jul 26, 2024
…024 07 01 preview (#29503)

* Copy files from stable/2024-04-01

Copied the files in a separate commit.
This allows reviewers to easily diff subsequent changes against the previous spec.

* Update version to preview/2024-07-01-preview

Updated the API version from stable/2024-04-01 to preview/2024-07-01-preview.

* Added tag for 2024-07-01-preview in readme file

* Changing MFE ARM Spec to add support for expirable secrets to the listsecrets API (#29519)

* add expirable secrets

* examples + spelling

* prettier + spell check

---------

Co-authored-by: Kayla Ames <kaseager@microsoft.com>

* Fix Prettier errors (#29523)

* Fix Prettier errors

* Add pre-approved supressions

* fix formatting

* Add finetuning job with maap contracts. (#29638)

* Add finetuning job with maap contracts.

* prettier

* adding exceptions.

* add reference to examples.

* prettier

* Fix gate.

* Fixed the comment, added "FineTuning" in JobType.

* Fixed comment.

---------

Co-authored-by: Sagar Sumant <sasum@microsoft.com>

* WRP 2024-07-01-preview swagger change (#29729)

* sync with previous preview

* Update exmaples

* Update more example and readme

* Update suppression from previous preview

* Adding ManagedResourceGroupSettings to RegistryRP in 2024-07-01-Preview (#29657)

* tc: adding managedResrouceGroupSettings to 2024-07-01-preview

* tc: adding missing definitions

* tc: adding more definitions

* tc: applying changes based on comments

* tc: adding SDK suppression for UUID formatting

* tc: removing the suppression - because I don't think this is right

* tc: adding guid suppression - not sure if it's the correct format

* tc: adding suppressions.yaml

* tc: put suppression in readme file

---------

Co-authored-by: Theodore Chen <theodorechen@microsoft.com>

* [WRP] 2024-07-01-preview change (#29861)

* Add changes for 07-01-preview

* add missing properties

* rename example

* rename example

* Update Schema

* Update type dicriminator

* Fix errors

* Error fix

* Update example and readme

* run prettier

* Rename to fix some schema name conflict

* Update suppressions

* Update comment feedbacks

* run prettier

---------

Co-authored-by: Kayla Seager <1675997+kseager@users.noreply.github.com>
Co-authored-by: Kayla Ames <kaseager@microsoft.com>
Co-authored-by: sagarsumant <sagar.sumant@gmail.com>
Co-authored-by: Sagar Sumant <sasum@microsoft.com>
Co-authored-by: ZhidaLiu <zhili@microsoft.com>
Co-authored-by: Theodore Chen <theodoreschen@gmail.com>
Co-authored-by: Theodore Chen <theodorechen@microsoft.com>
hmmorales pushed a commit that referenced this pull request Jul 31, 2024
…024 07 01 preview (#29503)

* Copy files from stable/2024-04-01

Copied the files in a separate commit.
This allows reviewers to easily diff subsequent changes against the previous spec.

* Update version to preview/2024-07-01-preview

Updated the API version from stable/2024-04-01 to preview/2024-07-01-preview.

* Added tag for 2024-07-01-preview in readme file

* Changing MFE ARM Spec to add support for expirable secrets to the listsecrets API (#29519)

* add expirable secrets

* examples + spelling

* prettier + spell check

---------

Co-authored-by: Kayla Ames <kaseager@microsoft.com>

* Fix Prettier errors (#29523)

* Fix Prettier errors

* Add pre-approved supressions

* fix formatting

* Add finetuning job with maap contracts. (#29638)

* Add finetuning job with maap contracts.

* prettier

* adding exceptions.

* add reference to examples.

* prettier

* Fix gate.

* Fixed the comment, added "FineTuning" in JobType.

* Fixed comment.

---------

Co-authored-by: Sagar Sumant <sasum@microsoft.com>

* WRP 2024-07-01-preview swagger change (#29729)

* sync with previous preview

* Update exmaples

* Update more example and readme

* Update suppression from previous preview

* Adding ManagedResourceGroupSettings to RegistryRP in 2024-07-01-Preview (#29657)

* tc: adding managedResrouceGroupSettings to 2024-07-01-preview

* tc: adding missing definitions

* tc: adding more definitions

* tc: applying changes based on comments

* tc: adding SDK suppression for UUID formatting

* tc: removing the suppression - because I don't think this is right

* tc: adding guid suppression - not sure if it's the correct format

* tc: adding suppressions.yaml

* tc: put suppression in readme file

---------

Co-authored-by: Theodore Chen <theodorechen@microsoft.com>

* [WRP] 2024-07-01-preview change (#29861)

* Add changes for 07-01-preview

* add missing properties

* rename example

* rename example

* Update Schema

* Update type dicriminator

* Fix errors

* Error fix

* Update example and readme

* run prettier

* Rename to fix some schema name conflict

* Update suppressions

* Update comment feedbacks

* run prettier

---------

Co-authored-by: Kayla Seager <1675997+kseager@users.noreply.github.com>
Co-authored-by: Kayla Ames <kaseager@microsoft.com>
Co-authored-by: sagarsumant <sagar.sumant@gmail.com>
Co-authored-by: Sagar Sumant <sasum@microsoft.com>
Co-authored-by: ZhidaLiu <zhili@microsoft.com>
Co-authored-by: Theodore Chen <theodoreschen@gmail.com>
Co-authored-by: Theodore Chen <theodorechen@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approved-Suppression ARMReview ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review resource-manager SuppressionReviewRequired
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants