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

[test] Test new compute #3323

Closed
wants to merge 41 commits into from
Closed

[test] Test new compute #3323

wants to merge 41 commits into from

Conversation

JackTn
Copy link

@JackTn JackTn commented Apr 24, 2024

Choose a PR Template

Switch to "Preview" on this description then select one of the choices below.

Click here to open a PR for a Data Plane API.

Click here to open a PR for a Control Plane (ARM) API.

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

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

openapi-pipeline-app-test bot commented Apr 24, 2024

Next Steps to merge

Next steps that must be taken to merge this PR:
  • ❌ Your PR has breaking changes in the generated SDK for Go (label: BreakingChange-Go-Sdk). Refer to step 3 in the PR workflow diagram (even if your PR is for data plane, not ARM).
  • ❌ The required check named Swagger BreakingChange has failed. Refer to the check in the PR's 'Checks' tab for details on how to fix it. In addition, refer to step 1 in the PR workflow diagram (even if your PR is for data plane, not ARM).

Copy link

openapi-pipeline-app-test bot commented Apr 24, 2024

Swagger Generation Artifacts

️🔄[ignore this check status; not blocking PR merge] ApiDocPreview inProgress [Detail]
️❌ azure-sdk-for-net-track2 failed [Detail]
  • Failed in generating from adec94a7eece4f91ca08c4a42b3ccddbccd87eaa. 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.Compute [Preview SDK Changes]
    info	[Changelog]
️⚠️ azure-sdk-for-python warning [Detail]
  • ⚠️Warning in generating from adec94a7eece4f91ca08c4a42b3ccddbccd87eaa. 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.
    cmderr	[automation_init.sh] npm notice
    cmderr	[automation_init.sh] npm notice New minor version of npm available! 10.5.0 -> 10.6.0
    cmderr	[automation_init.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.6.0>
    cmderr	[automation_init.sh] npm notice Run `npm install -g [email protected]` to update!
    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-compute [Preview SDK Changes]
    • azure_mgmt_compute-31.0.0-py3-none-any.whl
    • azure-mgmt-compute-31.0.0.zip
    info	[Changelog]
️⚠️ azure-sdk-for-java warning [Detail]
  • ⚠️Warning in generating from adec94a7eece4f91ca08c4a42b3ccddbccd87eaa. SDK Automation 14.0.0
    command	./eng/mgmt/automation/init.sh ../azure-sdk-for-java_tmp/initInput.json ../azure-sdk-for-java_tmp/initOutput.json
    cmderr	[init.sh]  notice
    cmderr	[init.sh] npm notice New minor version of npm available! 10.5.0 -> 10.6.0
    cmderr	[init.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.6.0>
    cmderr	[init.sh] npm notice Run `npm install -g [email protected]` to update!
    cmderr	[init.sh] npm notice
    command	./eng/mgmt/automation/generate.py ../azure-sdk-for-java_tmp/generateInput.json ../azure-sdk-for-java_tmp/generateOutput.json
  • ️✔️azure-resourcemanager-compute-generated [Preview SDK Changes]
    • pom.xml
    • azure-resourcemanager-compute-generated-1.0.0-beta.1-sources.jar
    • azure-resourcemanager-compute-generated-1.0.0-beta.1.jar
️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
  • ️✔️Succeeded in generating from adec94a7eece4f91ca08c4a42b3ccddbccd87eaa. SDK Automation 14.0.0
    command	sh .scripts/automation_init.sh ../azure-sdk-for-js_tmp/initInput.json ../azure-sdk-for-js_tmp/initOutput.json
    warn	File azure-sdk-for-js_tmp/initOutput.json not found to read
    command	sh .scripts/automation_generate.sh ../azure-sdk-for-js_tmp/generateInput.json ../azure-sdk-for-js_tmp/generateOutput.json
  • ️✔️@azure/arm-compute [Preview SDK Changes]
    • azure-arm-compute-21.2.1.tgz
    info	[Changelog]
    error	breakingChangeTracking is enabled, but version or changelogItem is not found in output.
️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
  • ️✔️Succeeded in generating from adec94a7eece4f91ca08c4a42b3ccddbccd87eaa. 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/compute/armcompute [Preview SDK Changes]
    info	[Changelog] ### Other Changes
    info	[Changelog]
    info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
️❌ azure-resource-manager-schemas failed [Detail]
  • Pipeline Framework Failed in generating from adec94a7eece4f91ca08c4a42b3ccddbccd87eaa. Schema Automation 14.0.0
    command	.sdkauto/initScript.sh ../azure-resource-manager-schemas_tmp/initInput.json ../azure-resource-manager-schemas_tmp/initOutput.json
    cmderr	[initScript.sh] npm notice
    cmderr	[initScript.sh] npm notice New minor version of npm available! 10.5.0 -> 10.6.0
    cmderr	[initScript.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.6.0>
    cmderr	[initScript.sh] npm notice Run `npm install -g [email protected]` to update!
    cmderr	[initScript.sh] npm notice
    warn	File azure-resource-manager-schemas_tmp/initOutput.json not found to read
    command	.sdkauto/generateScript.sh ../azure-resource-manager-schemas_tmp/generateInput.json ../azure-resource-manager-schemas_tmp/generateOutput.json
    cmderr	[generateScript.sh] WARNING: Unable to parse swagger path "Microsoft.Compute/common-types/v1/common.json"
    cmderr	[generateScript.sh] WARNING: Unable to parse swagger path "Microsoft.Compute/common-types/v1/common.json"
    fatal: cannot force update the branch 'sdkAuto/3323/compute_resource-manager' used by worktree at '/mnt/vss/_work/1/s/azure-resource-manager-schemas'
  • compute/resource-manager [Preview Schema Changes]
  • compute/resource-manager
    error	Fatal error: fatal: cannot force update the branch 'sdkAuto/3323/compute_resource-manager' used by worktree at '/mnt/vss/_work/1/s/azure-resource-manager-schemas'
    error	Fatal error: Error: fatal: cannot force update the branch 'sdkAuto/3323/compute_resource-manager' used by worktree at '/mnt/vss/_work/1/s/azure-resource-manager-schemas'    at Object.action (/mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/[email protected]/node_modules/simple-git/dist/cjs/index.js:1332:25)    at PluginStore.exec (/mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/[email protected]/node_modules/simple-git/dist/cjs/index.js:1367:29)    at /mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/[email protected]/node_modules/simple-git/dist/cjs/index.js:1766:43    at new Promise (<anonymous>)    at GitExecutorChain.handleTaskData (/mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/[email protected]/node_modules/simple-git/dist/cjs/index.js:1764:16)    at GitExecutorChain.<anonymous> (/mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/[email protected]/node_modules/simple-git/dist/cjs/index.js:1748:44)    at Generator.next (<anonymous>)    at fulfilled (/mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/[email protected]/node_modules/simple-git/dist/cjs/index.js:55:24)    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    error	The following packages are still pending:
    error		compute/resource-manager
    error		compute/resource-manager
    error	ERROR: The 'breakingChangesLabel' configuration is missing or incorrect from the 'swagger_to_sdk_config.json file.
️⚠️ azure-powershell warning [Detail]
  • ⚠️Warning in generating from adec94a7eece4f91ca08c4a42b3ccddbccd87eaa. 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.compute.DefaultTag [Preview SDK Changes]
Posted by Swagger Pipeline | How to fix these errors?

Copy link

openapi-pipeline-app-test bot commented Apr 24, 2024

Generated ApiView

Language Package Name ApiView Link
Go sdk/resourcemanager/compute/armcompute Create ApiView failed. To get help, please see [aka.ms/azsdk/pr-getting-help](https://aka.ms/azsdk/pr-getting-help).
Java azure-resourcemanager-compute-generated Create ApiView failed. To get help, please see [aka.ms/azsdk/pr-getting-help](https://aka.ms/azsdk/pr-getting-help).
JavaScript @azure/arm-compute https://apiviewstagingtest.com/Assemblies/Review/a802869b6345406cbb6d1e487132d7dd?revisionId=aa8131994a3b4297b03797abf44633bd
Swagger Microsoft.Compute Create ApiView failed. To get help, please see [aka.ms/azsdk/pr-getting-help](https://aka.ms/azsdk/pr-getting-help).
Swagger Microsoft.ContainerService https://apiviewstagingtest.com/Assemblies/Review/71d5cd3d2d1c46b59eabc692899ea0b4?revisionId=84d663a0ba5c4bc58d813981868d0a5d

Copy link

openapi-pipeline-app-test bot commented Apr 24, 2024

Swagger Validation Report

️❌BreakingChange: 34 Errors, 0 Warnings failed [Detail]
Compared specs (v0.10.8) new version base version
compute.json 2016-04-30-preview(d0c1285) 2016-04-30-preview(main)
containerService.json 2017-01-31(d0c1285) 2017-01-31(main)
snapshot.json 2023-04-02(d0c1285) 2023-04-02(main)

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}/providers/Microsoft.Compute/images' removed or restructured?
Old: ComputeRP/preview/2016-04-30-preview/compute.json#L1236: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.ContainerService/containerServices/{containerServiceName}' removed or restructured?
Old: Microsoft.ContainerService/stable/2017-01-31/containerService.json#L71: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.Compute/snapshots/{snapshotName}' removed or restructured?
Old: DiskRP/stable/2023-04-02/snapshot.json#L37: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.Compute/snapshots' removed or restructured?
Old: DiskRP/stable/2023-04-02/snapshot.json#L229:5
1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/providers/Microsoft.Compute/snapshots' removed or restructured?
Old: DiskRP/stable/2023-04-02/snapshot.json#L265: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.Compute/snapshots/{snapshotName}/beginGetAccess' removed or restructured?
Old: DiskRP/stable/2023-04-02/snapshot.json#L298: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.Compute/snapshots/{snapshotName}/endGetAccess' removed or restructured?
Old: DiskRP/stable/2023-04-02/snapshot.json#L350:5
1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'Snapshot' removed or renamed?
New: DiskRP/stable/2023-04-02/snapshot.json#L37:3
Old: DiskRP/stable/2023-04-02/snapshot.json#L391:3
1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'SnapshotUpdate' removed or renamed?
New: DiskRP/stable/2023-04-02/snapshot.json#L37:3
Old: DiskRP/stable/2023-04-02/snapshot.json#L391:3
1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'SnapshotSku' removed or renamed?
New: DiskRP/stable/2023-04-02/snapshot.json#L37:3
Old: DiskRP/stable/2023-04-02/snapshot.json#L391:3
1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'SnapshotProperties' removed or renamed?
New: DiskRP/stable/2023-04-02/snapshot.json#L37:3
Old: DiskRP/stable/2023-04-02/snapshot.json#L391:3
1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'SnapshotUpdateProperties' removed or renamed?
New: DiskRP/stable/2023-04-02/snapshot.json#L37:3
Old: DiskRP/stable/2023-04-02/snapshot.json#L391:3
1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'SupportedCapabilities' removed or renamed?
New: DiskRP/stable/2023-04-02/snapshot.json#L37:3
Old: DiskRP/stable/2023-04-02/snapshot.json#L391:3
1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'DataAccessAuthMode' removed or renamed?
New: DiskRP/stable/2023-04-02/snapshot.json#L37:3
Old: DiskRP/stable/2023-04-02/snapshot.json#L391:3
1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'PublicNetworkAccess' removed or renamed?
New: DiskRP/stable/2023-04-02/snapshot.json#L37:3
Old: DiskRP/stable/2023-04-02/snapshot.json#L391:3
1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'NetworkAccessPolicy' removed or renamed?
New: DiskRP/stable/2023-04-02/snapshot.json#L37:3
Old: DiskRP/stable/2023-04-02/snapshot.json#L391:3
1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'EncryptionType' removed or renamed?
New: DiskRP/stable/2023-04-02/snapshot.json#L37:3
Old: DiskRP/stable/2023-04-02/snapshot.json#L391:3
1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'Encryption' removed or renamed?
New: DiskRP/stable/2023-04-02/snapshot.json#L37:3
Old: DiskRP/stable/2023-04-02/snapshot.json#L391:3
1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'EncryptionSettingsCollection' removed or renamed?
New: DiskRP/stable/2023-04-02/snapshot.json#L37:3
Old: DiskRP/stable/2023-04-02/snapshot.json#L391:3
1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'CopyCompletionError' removed or renamed?
New: DiskRP/stable/2023-04-02/snapshot.json#L37:3
Old: DiskRP/stable/2023-04-02/snapshot.json#L391:3
1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'DiskSecurityType' removed or renamed?
New: DiskRP/stable/2023-04-02/snapshot.json#L37:3
Old: DiskRP/stable/2023-04-02/snapshot.json#L391:3
1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'DiskSecurityProfile' removed or renamed?
New: DiskRP/stable/2023-04-02/snapshot.json#L37:3
Old: DiskRP/stable/2023-04-02/snapshot.json#L391:3
1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'DiskState' removed or renamed?
New: DiskRP/stable/2023-04-02/snapshot.json#L37:3
Old: DiskRP/stable/2023-04-02/snapshot.json#L391:3
1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'ImageDiskReference' removed or renamed?
New: DiskRP/stable/2023-04-02/snapshot.json#L37:3
Old: DiskRP/stable/2023-04-02/snapshot.json#L391:3
1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'CreationData' removed or renamed?
New: DiskRP/stable/2023-04-02/snapshot.json#L37:3
Old: DiskRP/stable/2023-04-02/snapshot.json#L391:3
1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'PurchasePlan' removed or renamed?
New: DiskRP/stable/2023-04-02/snapshot.json#L37:3
Old: DiskRP/stable/2023-04-02/snapshot.json#L391:3
1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'ExtendedLocationType' removed or renamed?
New: DiskRP/stable/2023-04-02/snapshot.json#L37:3
Old: DiskRP/stable/2023-04-02/snapshot.json#L391:3
1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'ExtendedLocation' removed or renamed?
New: DiskRP/stable/2023-04-02/snapshot.json#L37:3
Old: DiskRP/stable/2023-04-02/snapshot.json#L391:3
1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'GrantAccessData' removed or renamed?
New: DiskRP/stable/2023-04-02/snapshot.json#L37:3
Old: DiskRP/stable/2023-04-02/snapshot.json#L391:3
1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'SnapshotNameParameter' removed or renamed?
New: DiskRP/stable/2023-04-02/snapshot.json#L38:3
Old: DiskRP/stable/2023-04-02/snapshot.json#L666:3
️❌Breaking Change(Cross-Version): 1 Errors, 0 Warnings failed [Detail] The following breaking changes are detected by comparison with the latest stable version:
Rule Message
Runtime Exception "new":"https://github.com/test-repo-billy/azure-rest-api-specs/blob/d0c1285764bcd68369cbf100851d2528054bfc50/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-12-01/availabilitySet.json",
"old":"https://github.com/test-repo-billy/azure-rest-api-specs/blob/main/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-09-01/availabilitySet.json",
"details":"Breaking change detector (OAD) invoked AutoRest. AutoRest threw a runtime error. First 20 lines of stack trace follow,
indexed. First line should contain AutoRest command line invocation details. Remaining lines should contain the main message reported by AutoRest.
====================
1: Command failed: node "/mnt/vss/_work/_tasks/AzureApiValidationTest_1a18ed4f-f3bf-4f34-9fed-13cb57bd2410/0.0.428/common/temp/node_modules/.pnpm/@Azure[email protected]/node_modules/autorest/dist/app.js" --v2 --input-file=specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-12-01/availabilitySet.json --output-artifact=swagger-document.json --output-artifact=swagger-document.map --output-file=new --output-folder=/tmp/oad-f1qyML
2: ERROR: Referenced file 'file:///mnt/vss/_work/1/azure-rest-api-specs/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-12-01/computeRPCommon.json' not found
3: - file:///mnt/vss/_work/1/azure-rest-api-specs/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-12-01/availabilitySet.json:212:10 ($.definitions.AvailabilitySetUpdate.allOf[0]["$ref"])
4: FATAL: swagger-document/loader - FAILED
5: FATAL: Error: [OperationAbortedException] Error occurred. Exiting.
6: Process() cancelled due to exception : [OperationAbortedException] Error occurred. Exiting."
️❌LintDiff: 1 Errors, 0 Warnings failed [Detail]
Rule Message
LintDiffToolException "details":""stack":"ResolverError: Error reading file \"/mnt/vss/_work/1/azure-rest-api-specs/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-12-01/computeRPCommon.json\"\n at onError (/mnt/vss/_work/_tasks/AzureApiValidationTest_1a18ed4f-f3bf-4f34-9fed-13cb57bd2410/0.0.428/common/temp/node_modules/.pnpm/@APIDevTools[email protected]/node_modules/@apidevtools/json-schema-ref-parser/lib/parse.js:92:16)",
"code":"ERESOLVER",
"message":"Error reading file \"/mnt/vss/_work/1/azure-rest-api-specs/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-12-01/computeRPCommon.json\"",
"source":"/mnt/vss/_work/1/azure-rest-api-specs/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-12-01/computeRPCommon.json",
"path":null,
"name":"ResolverError",
"footprint":"null+/mnt/vss/_work/1/azure-rest-api-specs/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-12-01/computeRPCommon.json+ERESOLVER+Error reading file \"/mnt/vss/_work/1/azure-rest-api-specs/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-12-01/computeRPCommon.json\"""
️️✔️[ignore this check status; not blocking PR merge] Lint(RPaaS) succeeded [Detail]
Rule Message
LintRpaasToolException "details":""stack":"ResolverError: Error reading file \"/mnt/vss/_work/1/azure-rest-api-specs/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-12-01/computeRPCommon.json\"\n at onError (/mnt/vss/_work/_tasks/AzureApiValidationTest_1a18ed4f-f3bf-4f34-9fed-13cb57bd2410/0.0.428/common/temp/node_modules/.pnpm/@APIDevTools[email protected]/node_modules/@apidevtools/json-schema-ref-parser/lib/parse.js:92:16)",
"code":"ERESOLVER",
"message":"Error reading file \"/mnt/vss/_work/1/azure-rest-api-specs/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-12-01/computeRPCommon.json\"",
"source":"/mnt/vss/_work/1/azure-rest-api-specs/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-12-01/computeRPCommon.json",
"path":null,
"name":"ResolverError",
"footprint":"null+/mnt/vss/_work/1/azure-rest-api-specs/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-12-01/computeRPCommon.json+ERESOLVER+Error reading file \"/mnt/vss/_work/1/azure-rest-api-specs/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-12-01/computeRPCommon.json\"""
️❌SwaggerAPIView: 0 Errors, 0 Warnings failed [Detail]
️️✔️TypeSpecAPIView succeeded [Detail] [Expand]
️️✔️CredScan succeeded [Detail] [Expand]
There is no credential detected.
️️✔️PoliCheck succeeded [Detail] [Expand]
Validation passed for PoliCheck.
️❌Avocado: 14 Errors, 1 Warnings failed [Detail]
Rule Message
UNREFERENCED_JSON_FILE The swagger JSON file is not referenced from the readme file.
readme: specification/compute/resource-manager/readme.md
json: ComputeRP/stable/2023-12-01/availabilitySet.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/compute/resource-manager/readme.md
json: 2023-12-01/examples/availabilitySetExamples/AvailabilitySet_Create.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/compute/resource-manager/readme.md
json: 2023-12-01/examples/availabilitySetExamples/AvailabilitySet_Delete_MaximumSet_Gen.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/compute/resource-manager/readme.md
json: 2023-12-01/examples/availabilitySetExamples/AvailabilitySet_Delete_MinimumSet_Gen.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/compute/resource-manager/readme.md
json: 2023-12-01/examples/availabilitySetExamples/AvailabilitySet_Get_MaximumSet_Gen.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/compute/resource-manager/readme.md
json: 2023-12-01/examples/availabilitySetExamples/AvailabilitySet_Get_MinimumSet_Gen.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/compute/resource-manager/readme.md
json: 2023-12-01/examples/availabilitySetExamples/AvailabilitySet_ListAvailableSizes_MaximumSet_Gen.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/compute/resource-manager/readme.md
json: 2023-12-01/examples/availabilitySetExamples/AvailabilitySet_ListAvailableSizes_MinimumSet_Gen.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/compute/resource-manager/readme.md
json: 2023-12-01/examples/availabilitySetExamples/AvailabilitySet_ListBySubscription.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/compute/resource-manager/readme.md
json: 2023-12-01/examples/availabilitySetExamples/AvailabilitySet_List_MaximumSet_Gen.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/compute/resource-manager/readme.md
json: 2023-12-01/examples/availabilitySetExamples/AvailabilitySet_List_MinimumSet_Gen.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/compute/resource-manager/readme.md
json: stable/2017-01-31/examples/ContainerServicesCreate_Update.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/compute/resource-manager/readme.md
json: stable/2017-01-31/examples/ContainerServicesGet.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/Microsoft.ContainerService/containerServices/{} is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/compute/resource-manager/readme.md
json: Microsoft.ContainerService/stable/2016-09-30/containerService.json
⚠️ MULTIPLE_API_VERSION The default tag contains multiple API versions swaggers.
readme: specification/compute/resource-manager/readme.md
tag: specification/compute/resource-manager/readme.md#tag-package-2024-03-01
️❌ModelValidation: 63 Errors, 0 Warnings failed [Detail]

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

Rule Message
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in AvailabilitySets_CreateOrUpdate.
Url: ComputeRP/preview/2016-04-30-preview/compute.json#L38:14
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in AvailabilitySets_Delete.
Url: ComputeRP/preview/2016-04-30-preview/compute.json#L85:17
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in AvailabilitySets_Get.
Url: ComputeRP/preview/2016-04-30-preview/compute.json#L125:14
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in AvailabilitySets_ListBySubscription.
Url: ComputeRP/preview/2016-04-30-preview/compute.json#L164:14
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in AvailabilitySets_List.
Url: ComputeRP/preview/2016-04-30-preview/compute.json#L192:14
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in AvailabilitySets_ListAvailableSizes.
Url: ComputeRP/preview/2016-04-30-preview/compute.json#L227:14
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in VirtualMachineExtensionImages_Get.
Url: ComputeRP/preview/2016-04-30-preview/compute.json#L269:14
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in VirtualMachineExtensionImages_ListTypes.
Url: ComputeRP/preview/2016-04-30-preview/compute.json#L319:14
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in VirtualMachineExtensionImages_ListVersions.
Url: ComputeRP/preview/2016-04-30-preview/compute.json#L360:14
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in VirtualMachineExtensions_CreateOrUpdate.
Url: ComputeRP/preview/2016-04-30-preview/compute.json#L428:14
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in VirtualMachineExtensions_Update.
Url: ComputeRP/preview/2016-04-30-preview/compute.json#L488:16
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in VirtualMachineExtensions_Delete.
Url: ComputeRP/preview/2016-04-30-preview/compute.json#L542:17
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in VirtualMachineExtensions_Get.
Url: ComputeRP/preview/2016-04-30-preview/compute.json#L593:14
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in VirtualMachines_GetExtensions.
Url: ComputeRP/preview/2016-04-30-preview/compute.json#L646:14
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in VirtualMachineImages_Get.
Url: ComputeRP/preview/2016-04-30-preview/compute.json#L692:14
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in VirtualMachineImages_List.
Url: ComputeRP/preview/2016-04-30-preview/compute.json#L752:14
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in VirtualMachineImages_ListOffers.
Url: ComputeRP/preview/2016-04-30-preview/compute.json#L828:14
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in VirtualMachineImages_ListPublishers.
Url: ComputeRP/preview/2016-04-30-preview/compute.json#L870:14
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in VirtualMachineImages_ListSkus.
Url: ComputeRP/preview/2016-04-30-preview/compute.json#L905:14
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in Usage_List.
Url: ComputeRP/preview/2016-04-30-preview/compute.json#L954:14
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in VirtualMachineSizes_List.
Url: ComputeRP/preview/2016-04-30-preview/compute.json#L990:14
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in Images_Delete.
Url: ComputeRP/preview/2016-04-30-preview/compute.json#L1102:17
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in VirtualMachines_Capture.
Url: ComputeRP/preview/2016-04-30-preview/compute.json#L1237:15
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in VirtualMachines_CreateOrUpdate.
Url: ComputeRP/preview/2016-04-30-preview/compute.json#L1292:14
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in VirtualMachines_Delete.
Url: ComputeRP/preview/2016-04-30-preview/compute.json#L1345:17
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in VirtualMachines_Get.
Url: ComputeRP/preview/2016-04-30-preview/compute.json#L1389:14
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in VirtualMachines_ConvertToManagedDisks.
Url: ComputeRP/preview/2016-04-30-preview/compute.json#L1442:15
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in VirtualMachines_Deallocate.
Url: ComputeRP/preview/2016-04-30-preview/compute.json#L1488:15
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in VirtualMachines_Generalize.
Url: ComputeRP/preview/2016-04-30-preview/compute.json#L1534:15
XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in VirtualMachines_List.
Url: ComputeRP/preview/2016-04-30-preview/compute.json#L1573:14
️❌SemanticValidation: 9 Errors, 0 Warnings failed [Detail]
Rule Message
INTERNAL_ERROR Unexpected internal error: ENOENT: no such file or directory, open '/mnt/vss/_work/1/azure-rest-api-specs/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-12-01/computeRPCommon.json' Error: ENOENT: no such file or directory, open '/mnt/vss/_work/1/azure-rest-api-specs/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-12-01/computeRPCommon.json'
JsonUrl: ComputeRP/stable/2023-12-01/availabilitySet.json
OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: swagger
JsonUrl: azure-rest-api-specs/blob/d0c1285764bcd68369cbf100851d2528054bfc50/specificationRepositoryConfiguration.json
OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: info
JsonUrl: azure-rest-api-specs/blob/d0c1285764bcd68369cbf100851d2528054bfc50/specificationRepositoryConfiguration.json
OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: paths
JsonUrl: azure-rest-api-specs/blob/d0c1285764bcd68369cbf100851d2528054bfc50/specificationRepositoryConfiguration.json
OBJECT_ADDITIONAL_PROPERTIES Additional properties not allowed: $schema
JsonUrl: azure-rest-api-specs/blob/d0c1285764bcd68369cbf100851d2528054bfc50/specificationRepositoryConfiguration.json
OBJECT_ADDITIONAL_PROPERTIES Additional properties not allowed: pipelineName
JsonUrl: azure-rest-api-specs/blob/d0c1285764bcd68369cbf100851d2528054bfc50/specificationRepositoryConfiguration.json
OBJECT_ADDITIONAL_PROPERTIES Additional properties not allowed: sdkRepositoryMappings
JsonUrl: azure-rest-api-specs/blob/d0c1285764bcd68369cbf100851d2528054bfc50/specificationRepositoryConfiguration.json
OBJECT_ADDITIONAL_PROPERTIES Additional properties not allowed: overrides
JsonUrl: azure-rest-api-specs/blob/d0c1285764bcd68369cbf100851d2528054bfc50/specificationRepositoryConfiguration.json
OBJECT_ADDITIONAL_PROPERTIES Additional properties not allowed: typespecEmitterToSdkRepositoryMapping
JsonUrl: azure-rest-api-specs/blob/d0c1285764bcd68369cbf100851d2528054bfc50/specificationRepositoryConfiguration.json
️❌[ignore this check status; not blocking PR merge] SpellCheck: 0 Errors, 0 Warnings failed [Detail]
️❌PR Summary: 0 Errors, 0 Warnings failed [Detail]
️️✔️Automated merging requirements met succeeded [Detail] [Expand]
Posted by Swagger Pipeline | How to fix these errors?

@JackTn
Copy link
Author

JackTn commented Apr 26, 2024

/azp run

Copy link

Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

@JackTn
Copy link
Author

JackTn commented Apr 29, 2024

/azp run

Copy link

Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

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

Successfully merging this pull request may close these issues.

7 participants