Skip to content
This repository was archived by the owner on Aug 26, 2025. It is now read-only.

Conversation

@raych1
Copy link

@raych1 raych1 commented Apr 29, 2024

Update swagger to cause the error in the generation step

@openapi-pipeline-app-test
Copy link

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

Next Steps to merge

Next steps that must be taken to merge this PR:
  • ❌ Your PR is in purview of ARM review (label: ARMReview). Please ensure your PR is on the ARM PR review queue - see instructions in steps 1 and 2 in the PR description diagram.
  • ❌ 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).

@openapi-pipeline-app-test
Copy link

openapi-pipeline-app-test bot commented Apr 29, 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 b5f1988becc51e03ce6cb0c7e393fcd7a8dc810d. 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 build sdk. exit code: False
    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 packe 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.ServiceLinker [Preview SDK Changes] Breaking Change Detected
    info	[Changelog] Breaking Changes: /home/cloudtest/.nuget/packages/microsoft.dotnet.apicompat/5.0.0-beta.20467.1/build/Microsoft.DotNet.ApiCompat.targets(82,5): error : TypesMustExist : Type 'Azure.ResourceManager.ServiceLinker.LinkerResourceData' does not exist in the implementation but it does exist in the contract. [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Azure.ResourceManager.ServiceLinker.csproj::TargetFramework=netstandard2.0],
    info	[Changelog] /home/cloudtest/.nuget/packages/microsoft.dotnet.apicompat/5.0.0-beta.20467.1/build/Microsoft.DotNet.ApiCompat.targets(82,5): error : TypesMustExist : Type 'Azure.ResourceManager.ServiceLinker.ServiceLinkerExtensions' does not exist in the implementation but it does exist in the contract. [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Azure.ResourceManager.ServiceLinker.csproj::TargetFramework=netstandard2.0],
    info	[Changelog] /home/cloudtest/.nuget/packages/microsoft.dotnet.apicompat/5.0.0-beta.20467.1/build/Microsoft.DotNet.ApiCompat.targets(82,5): error : TypesMustExist : Type 'Azure.ResourceManager.ServiceLinker.Mocking.MockableServiceLinkerArmClient' does not exist in the implementation but it does exist in the contract. [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Azure.ResourceManager.ServiceLinker.csproj::TargetFramework=netstandard2.0],
    info	[Changelog] /home/cloudtest/.nuget/packages/microsoft.dotnet.apicompat/5.0.0-beta.20467.1/build/Microsoft.DotNet.ApiCompat.targets(82,5): error : TypesMustExist : Type 'Azure.ResourceManager.ServiceLinker.Mocking.MockableServiceLinkerArmResource' does not exist in the implementation but it does exist in the contract. [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Azure.ResourceManager.ServiceLinker.csproj::TargetFramework=netstandard2.0],
    info	[Changelog] /home/cloudtest/.nuget/packages/microsoft.dotnet.apicompat/5.0.0-beta.20467.1/build/Microsoft.DotNet.ApiCompat.targets(82,5): error : TypesMustExist : Type 'Azure.ResourceManager.ServiceLinker.Models.ArmServiceLinkerModelFactory' does not exist in the implementation but it does exist in the contract. [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Azure.ResourceManager.ServiceLinker.csproj::TargetFramework=netstandard2.0],
    info	[Changelog] /home/cloudtest/.nuget/packages/microsoft.dotnet.apicompat/5.0.0-beta.20467.1/build/Microsoft.DotNet.ApiCompat.targets(82,5): error : TypesMustExist : Type 'Azure.ResourceManager.ServiceLinker.Models.AuthBaseInfo' does not exist in the implementation but it does exist in the contract. [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Azure.ResourceManager.ServiceLinker.csproj::TargetFramework=netstandard2.0],
    info	[Changelog] /home/cloudtest/.nuget/packages/microsoft.dotnet.apicompat/5.0.0-beta.20467.1/build/Microsoft.DotNet.ApiCompat.targets(82,5): error : TypesMustExist : Type 'Azure.ResourceManager.ServiceLinker.Models.AzureKeyVaultProperties' does not exist in the implementation but it does exist in the contract. [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Azure.ResourceManager.ServiceLinker.csproj::TargetFramework=netstandard2.0],
    info	[Changelog] /home/cloudtest/.nuget/packages/microsoft.dotnet.apicompat/5.0.0-beta.20467.1/build/Microsoft.DotNet.ApiCompat.targets(82,5): error : TypesMustExist : Type 'Azure.ResourceManager.ServiceLinker.Models.AzureResourceBaseProperties' does not exist in the implementation but it does exist in the contract. [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Azure.ResourceManager.ServiceLinker.csproj::TargetFramework=netstandard2.0],
    info	[Changelog] /home/cloudtest/.nuget/packages/microsoft.dotnet.apicompat/5.0.0-beta.20467.1/build/Microsoft.DotNet.ApiCompat.targets(82,5): error : TypesMustExist : Type 'Azure.ResourceManager.ServiceLinker.Models.AzureResourceInfo' does not exist in the implementation but it does exist in the contract. [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Azure.ResourceManager.ServiceLinker.csproj::TargetFramework=netstandard2.0],
    info	[Changelog] /home/cloudtest/.nuget/packages/microsoft.dotnet.apicompat/5.0.0-beta.20467.1/build/Microsoft.DotNet.ApiCompat.targets(82,5): error : TypesMustExist : Type 'Azure.ResourceManager.ServiceLinker.Models.ConfluentBootstrapServerInfo' does not exist in the implementation but it does exist in the contract. [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Azure.ResourceManager.ServiceLinker.csproj::TargetFramework=netstandard2.0],
    info	[Changelog] /home/cloudtest/.nuget/packages/microsoft.dotnet.apicompat/5.0.0-beta.20467.1/build/Microsoft.DotNet.ApiCompat.targets(82,5): error : TypesMustExist : Type 'Azure.ResourceManager.ServiceLinker.Models.ConfluentSchemaRegistryInfo' does not exist in the implementation but it does exist in the contract. [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Azure.ResourceManager.ServiceLinker.csproj::TargetFramework=netstandard2.0],
    info	[Changelog] /home/cloudtest/.nuget/packages/microsoft.dotnet.apicompat/5.0.0-beta.20467.1/build/Microsoft.DotNet.ApiCompat.targets(82,5): error : TypesMustExist : Type 'Azure.ResourceManager.ServiceLinker.Models.KeyVaultSecretReferenceSecretInfo' does not exist in the implementation but it does exist in the contract. [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Azure.ResourceManager.ServiceLinker.csproj::TargetFramework=netstandard2.0],
    info	[Changelog] /home/cloudtest/.nuget/packages/microsoft.dotnet.apicompat/5.0.0-beta.20467.1/build/Microsoft.DotNet.ApiCompat.targets(82,5): error : TypesMustExist : Type 'Azure.ResourceManager.ServiceLinker.Models.KeyVaultSecretUriSecretInfo' does not exist in the implementation but it does exist in the contract. [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Azure.ResourceManager.ServiceLinker.csproj::TargetFramework=netstandard2.0],
    info	[Changelog] /home/cloudtest/.nuget/packages/microsoft.dotnet.apicompat/5.0.0-beta.20467.1/build/Microsoft.DotNet.ApiCompat.targets(82,5): error : TypesMustExist : Type 'Azure.ResourceManager.ServiceLinker.Models.LinkerAuthType' does not exist in the implementation but it does exist in the contract. [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Azure.ResourceManager.ServiceLinker.csproj::TargetFramework=netstandard2.0],
    info	[Changelog] /home/cloudtest/.nuget/packages/microsoft.dotnet.apicompat/5.0.0-beta.20467.1/build/Microsoft.DotNet.ApiCompat.targets(82,5): error : TypesMustExist : Type 'Azure.ResourceManager.ServiceLinker.Models.LinkerClientType' does not exist in the implementation but it does exist in the contract. [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Azure.ResourceManager.ServiceLinker.csproj::TargetFramework=netstandard2.0],
    info	[Changelog] /home/cloudtest/.nuget/packages/microsoft.dotnet.apicompat/5.0.0-beta.20467.1/build/Microsoft.DotNet.ApiCompat.targets(82,5): error : TypesMustExist : Type 'Azure.ResourceManager.ServiceLinker.Models.LinkerResourcePatch' does not exist in the implementation but it does exist in the contract. [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Azure.ResourceManager.ServiceLinker.csproj::TargetFramework=netstandard2.0],
    info	[Changelog] /home/cloudtest/.nuget/packages/microsoft.dotnet.apicompat/5.0.0-beta.20467.1/build/Microsoft.DotNet.ApiCompat.targets(82,5): error : TypesMustExist : Type 'Azure.ResourceManager.ServiceLinker.Models.LinkerValidateOperationResult' does not exist in the implementation but it does exist in the contract. [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Azure.ResourceManager.ServiceLinker.csproj::TargetFramework=netstandard2.0],
    info	[Changelog] /home/cloudtest/.nuget/packages/microsoft.dotnet.apicompat/5.0.0-beta.20467.1/build/Microsoft.DotNet.ApiCompat.targets(82,5): error : TypesMustExist : Type 'Azure.ResourceManager.ServiceLinker.Models.LinkerValidationResultItemInfo' does not exist in the implementation but it does exist in the contract. [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Azure.ResourceManager.ServiceLinker.csproj::TargetFramework=netstandard2.0],
    info	[Changelog] /home/cloudtest/.nuget/packages/microsoft.dotnet.apicompat/5.0.0-beta.20467.1/build/Microsoft.DotNet.ApiCompat.targets(82,5): error : TypesMustExist : Type 'Azure.ResourceManager.ServiceLinker.Models.LinkerValidationResultStatus' does not exist in the implementation but it does exist in the contract. [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Azure.ResourceManager.ServiceLinker.csproj::TargetFramework=netstandard2.0],
    info	[Changelog] /home/cloudtest/.nuget/packages/microsoft.dotnet.apicompat/5.0.0-beta.20467.1/build/Microsoft.DotNet.ApiCompat.targets(82,5): error : TypesMustExist : Type 'Azure.ResourceManager.ServiceLinker.Models.RawValueSecretInfo' does not exist in the implementation but it does exist in the contract. [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Azure.ResourceManager.ServiceLinker.csproj::TargetFramework=netstandard2.0],
    info	[Changelog] /home/cloudtest/.nuget/packages/microsoft.dotnet.apicompat/5.0.0-beta.20467.1/build/Microsoft.DotNet.ApiCompat.targets(82,5): error : TypesMustExist : Type 'Azure.ResourceManager.ServiceLinker.Models.SecretAuthInfo' does not exist in the implementation but it does exist in the contract. [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Azure.ResourceManager.ServiceLinker.csproj::TargetFramework=netstandard2.0],
    info	[Changelog] /home/cloudtest/.nuget/packages/microsoft.dotnet.apicompat/5.0.0-beta.20467.1/build/Microsoft.DotNet.ApiCompat.targets(82,5): error : TypesMustExist : Type 'Azure.ResourceManager.ServiceLinker.Models.SecretBaseInfo' does not exist in the implementation but it does exist in the contract. [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Azure.ResourceManager.ServiceLinker.csproj::TargetFramework=netstandard2.0],
    info	[Changelog] /home/cloudtest/.nuget/packages/microsoft.dotnet.apicompat/5.0.0-beta.20467.1/build/Microsoft.DotNet.ApiCompat.targets(82,5): error : TypesMustExist : Type 'Azure.ResourceManager.ServiceLinker.Models.ServicePrincipalCertificateAuthInfo' does not exist in the implementation but it does exist in the contract. [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Azure.ResourceManager.ServiceLinker.csproj::TargetFramework=netstandard2.0],
    info	[Changelog] /home/cloudtest/.nuget/packages/microsoft.dotnet.apicompat/5.0.0-beta.20467.1/build/Microsoft.DotNet.ApiCompat.targets(82,5): error : TypesMustExist : Type 'Azure.ResourceManager.ServiceLinker.Models.ServicePrincipalSecretAuthInfo' does not exist in the implementation but it does exist in the contract. [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Azure.ResourceManager.ServiceLinker.csproj::TargetFramework=netstandard2.0],
    info	[Changelog] /home/cloudtest/.nuget/packages/microsoft.dotnet.apicompat/5.0.0-beta.20467.1/build/Microsoft.DotNet.ApiCompat.targets(82,5): error : TypesMustExist : Type 'Azure.ResourceManager.ServiceLinker.Models.SourceConfiguration' does not exist in the implementation but it does exist in the contract. [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Azure.ResourceManager.ServiceLinker.csproj::TargetFramework=netstandard2.0],
    info	[Changelog] /home/cloudtest/.nuget/packages/microsoft.dotnet.apicompat/5.0.0-beta.20467.1/build/Microsoft.DotNet.ApiCompat.targets(82,5): error : TypesMustExist : Type 'Azure.ResourceManager.ServiceLinker.Models.SourceConfigurationResult' does not exist in the implementation but it does exist in the contract. [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Azure.ResourceManager.ServiceLinker.csproj::TargetFramework=netstandard2.0],
    info	[Changelog] /home/cloudtest/.nuget/packages/microsoft.dotnet.apicompat/5.0.0-beta.20467.1/build/Microsoft.DotNet.ApiCompat.targets(82,5): error : TypesMustExist : Type 'Azure.ResourceManager.ServiceLinker.Models.SystemAssignedIdentityAuthInfo' does not exist in the implementation but it does exist in the contract. [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Azure.ResourceManager.ServiceLinker.csproj::TargetFramework=netstandard2.0],
    info	[Changelog] /home/cloudtest/.nuget/packages/microsoft.dotnet.apicompat/5.0.0-beta.20467.1/build/Microsoft.DotNet.ApiCompat.targets(82,5): error : TypesMustExist : Type 'Azure.ResourceManager.ServiceLinker.Models.TargetServiceBaseInfo' does not exist in the implementation but it does exist in the contract. [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Azure.ResourceManager.ServiceLinker.csproj::TargetFramework=netstandard2.0],
    info	[Changelog] /home/cloudtest/.nuget/packages/microsoft.dotnet.apicompat/5.0.0-beta.20467.1/build/Microsoft.DotNet.ApiCompat.targets(82,5): error : TypesMustExist : Type 'Azure.ResourceManager.ServiceLinker.Models.UserAssignedIdentityAuthInfo' does not exist in the implementation but it does exist in the contract. [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Azure.ResourceManager.ServiceLinker.csproj::TargetFramework=netstandard2.0],
    info	[Changelog] /home/cloudtest/.nuget/packages/microsoft.dotnet.apicompat/5.0.0-beta.20467.1/build/Microsoft.DotNet.ApiCompat.targets(82,5): error : TypesMustExist : Type 'Azure.ResourceManager.ServiceLinker.Models.VnetSolutionType' does not exist in the implementation but it does exist in the contract. [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Azure.ResourceManager.ServiceLinker.csproj::TargetFramework=netstandard2.0],
    info	[Changelog] /home/cloudtest/.nuget/packages/microsoft.dotnet.apicompat/5.0.0-beta.20467.1/build/Microsoft.DotNet.ApiCompat.targets(96,5): error : ApiCompat failed for '/mnt/vss/_work/1/s/azure-sdk-for-net/artifacts/bin/Azure.ResourceManager.ServiceLinker/Debug/netstandard2.0/Azure.ResourceManager.ServiceLinker.dll' [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Azure.ResourceManager.ServiceLinker.csproj::TargetFramework=netstandard2.0]
    Parse Suppression File Errors
    No suppression file added.
    Please refer to https://aka.ms/azsdk/sdk-suppression for more information.
️⚠️ azure-sdk-for-python warning [Detail]
  • ⚠️Warning in generating from b5f1988becc51e03ce6cb0c7e393fcd7a8dc810d. 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]  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-servicelinker [Preview SDK Changes]
    • azure-mgmt-servicelinker-1.0.0b1.zip
    • azure_mgmt_servicelinker-1.0.0b1-py3-none-any.whl
️⚠️ azure-sdk-for-java warning [Detail]
  • ⚠️Warning in generating from b5f1988becc51e03ce6cb0c7e393fcd7a8dc810d. 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]
    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-servicelinker [Preview SDK Changes]
    • pom.xml
    • azure-resourcemanager-servicelinker-1.0.0-beta.3-sources.jar
    • azure-resourcemanager-servicelinker-1.0.0-beta.3.jar
️⚠️ azure-sdk-for-go warning [Detail]
  • ⚠️Warning in generating from b5f1988becc51e03ce6cb0c7e393fcd7a8dc810d. SDK Automation 14.0.0
    Only showing 120 items here. Refer to log for details.
    cmderr	[automation_init.sh]  64100K .......... .......... .......... .......... .......... 95%  205M 0s
    cmderr	[automation_init.sh]  64150K .......... .......... .......... .......... .......... 95%  164M 0s
    cmderr	[automation_init.sh]  64200K .......... .......... .......... .......... .......... 95%  187M 0s
    cmderr	[automation_init.sh]  64250K .......... .......... .......... .......... .......... 95%  152M 0s
    cmderr	[automation_init.sh]  64300K .......... .......... .......... .......... .......... 95%  173M 0s
    cmderr	[automation_init.sh]  64350K .......... .......... .......... .......... .......... 95%  153M 0s
    cmderr	[automation_init.sh]  64400K .......... .......... .......... .......... .......... 95%  198M 0s
    cmderr	[automation_init.sh]  64450K .......... .......... .......... .......... .......... 95%  243M 0s
    cmderr	[automation_init.sh]  64500K .......... .......... .......... .......... .......... 95%  319M 0s
    cmderr	[automation_init.sh]  64550K ......... 95%  112M 0s
    cmderr	[automation_init.sh]  64600K ..... 95%  116M 0s
    cmderr	[automation_init.sh]  64650K .....
    cmderr	[automation_init.sh]  64700K .......... 96%  251M 0s
    cmderr	[automation_init.sh]  64750K . 96%  227M 0s
    cmderr	[automation_init.sh]  64800K .......... 96%  246M 0s
    cmderr	[automation_init.sh]  64850K .......... 96%  166M 0s
    cmderr	[automation_init.sh]  64900K .......... 96%  194M 0s
    cmderr	[automation_init.sh]  64950K .. 96%  205M 0s
    cmderr	[automation_init.sh]  65000K .. 96%  191M 0s
    cmderr	[automation_init.sh]  65050K .......... 96%  261M 0s
    cmderr	[automation_init.sh]  65100K ......... 96%  242M 0s
    cmderr	[automation_init.sh]  65150K .. 96%  207M 0s
    cmderr	[automation_init.sh]  65200K ... 96%  150M 0s
    cmderr	[automation_init.sh]  65250K .......... 96%  189M 0s
    cmderr	[automation_init.sh]  65300K ... 0s
    cmderr	[automation_init.sh]  65350K .......... 97%  181M 0s
    cmderr	[automation_init.sh]  65400K ... 0s
    cmderr	[automation_init.sh]  65450K .....
    cmderr	[automation_init.sh]  65500K ...
    cmderr	[automation_init.sh]  65550K .. 97%  153M 0s
    cmderr	[automation_init.sh]  65600K ........ 97%  174M 0s
    cmderr	[automation_init.sh]  65650K ....... 97%  195M 0s
    cmderr	[automation_init.sh]  65700K ....... 97%  198M 0s
    cmderr	[automation_init.sh]  65750K . 97%  168M 0s
    cmderr	[automation_init.sh]  65800K .......  251M 0s
    cmderr	[automation_init.sh]  65850K .......... .......... .......... .......... .......... 97%  234M 0s
    cmderr	[automation_init.sh]  65900K .......... .......... .......... .......... .......... 97%  353M 0s
    cmderr	[automation_init.sh]  65950K .......... .......... .......... .......... .......... 97%  270M 0s
    cmderr	[automation_init.sh]  66000K .......... .......... .......... .......... .......... 98%  362M 0s
    cmderr	[automation_init.sh]  66050K .......... .......... .......... .......... .......... 98%  231M 0s
    cmderr	[automation_init.sh]  66100K .......... .......... .......... .......... .......... 98%  168M 0s
    cmderr	[automation_init.sh]  66150K ..... 98%  161M 0s
    cmderr	[automation_init.sh]  66200K .......... .......... .......... .......... .......... 98%  145M 0s
    cmderr	[automation_init.sh]  66250K .......... .......... .......... .......... .......... 98%  188M 0s
    cmderr	[automation_init.sh]  66300K .......... .......... .......... .......... .......... 98%  230M 0s
    cmderr	[automation_init.sh]  66350K .......... .......... .......... .......... .......... 98%  160M 0s
    cmderr	[automation_init.sh]  66400K .......... .......... .......... .......... .......... 98%  202M 0s
    cmderr	[automation_init.sh]  66450K .......... .......... .......... .......... .......... 98%  242M 0s
    cmderr	[automation_init.sh]  66500K .......... ........ 98%  245M 0s
    cmderr	[automation_init.sh]  66550K .. 98%  251M 0s
    cmderr	[automation_init.sh]  66600K ...... .......... 98%  249M 0s
    cmderr	[automation_init.sh]  66650K .......... .......... .......... .......... .......... 99%  198M 0s
    cmderr	[automation_init.sh]  66700K .......... .......... .......... .......... .......... 99%  320M 0s
    cmderr	[automation_init.sh]  66750K .......... .......... .......... .......... .......... 99%  251M 0s
    cmderr	[automation_init.sh]  66800K .......... .......... .......... .......... .......... 99%  284M 0s
    cmderr	[automation_init.sh]  66850K .......... .......... .......... .......... .......... 99%  308M 0s
    cmderr	[automation_init.sh]  66900K .......... .......... .......... .......... .......... 99%  256M 0s
    cmderr	[automation_init.sh]  66950K .......... .......... .......... .......... .......... 99%  187M 0s
    cmderr	[automation_init.sh]  67000K .......... .......... .......... .......... .......... 99%  248M 0s
    cmderr	[automation_init.sh]  67050K .......... .......... .......... .......... .......... 99% 66.5M 0s
    cmderr	[automation_init.sh]  67100K .......... .......... .......... .......... .......... 99%  267M 0s
    cmderr	[automation_init.sh]  67150K .......... .......... .......... .......... .......... 99%  247M 0s
    cmderr	[automation_init.sh]  67200K .......... .......... .......... .......... .......... 99%  289M 0s
    cmderr	[automation_init.sh]  67250K .......... .......... .......... .......... .......... 99%  288M 0s
    cmderr	[automation_init.sh]  67300K .......... .......... .......... .......... .......... 99% 58.5M 0s
    cmderr	[automation_init.sh]  67350K .......... .......... .                               100%  325M=0.4s
    cmderr	[automation_init.sh] 2024-04-29 03:07:38 (160 MB/s) - 'go1.22.0.linux-amd64.tar.gz' saved [68988925/68988925]
    cmderr	[automation_init.sh] + tar -C /tmp -xzf go1.22.0.linux-amd64.tar.gz
    cmderr	[automation_init.sh] + export GOROOT=/tmp/go
    cmderr	[automation_init.sh] + export PATH=/tmp/go/bin:/mnt/vss/_work/1/a/unified-pipeline-runtime/private/azure-rest-api-specs-pipeline/node_modules/.bin:/opt/hostedtoolcache/Python/3.10.14/x64/bin:/opt/hostedtoolcache/Python/3.10.14/x64:/opt/hostedtoolcache/node/18.20.2/x64/bin:/snap/bin:/home/cloudtest/.local/bin:/opt/pipx_bin:/home/cloudtest/.cargo/bin:/home/cloudtest/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/cloudtest/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
    cmderr	[automation_init.sh] + dirname ./eng/scripts/automation_init.sh
    cmderr	[automation_init.sh] + pwd
    cmderr	[automation_init.sh] + DIRECTORY=/mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/eng/scripts
    cmderr	[automation_init.sh] + [  =  ]
    cmderr	[automation_init.sh] + realpath /mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/eng/scripts/../../../
    cmderr	[automation_init.sh] + WORKFOLDER=/mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure
    cmderr	[automation_init.sh] + echo /mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure
    cmderr	[automation_init.sh] + export GOPATH=/mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/gofolder
    cmderr	[automation_init.sh] + [ ! -d /mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/gofolder/bin ]
    cmderr	[automation_init.sh] + echo create gopath folder
    cmderr	[automation_init.sh] + mkdir -p /mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/gofolder/bin
    cmderr	[automation_init.sh] + echo /mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/gofolder
    cmderr	[automation_init.sh] + export GO111MODULE=on
    cmderr	[automation_init.sh] + realpath /mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/eng/scripts/../tools/generator
    cmderr	[automation_init.sh] + generatorDirectory=/mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/eng/tools/generator
    cmderr	[automation_init.sh] + cd /mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/eng/tools/generator
    cmderr	[automation_init.sh] + go build
    cmderr	[automation_init.sh] go: downloading github.com/spf13/cobra v1.8.0
    cmderr	[automation_init.sh] go: downloading github.com/google/go-github/v53 v53.2.0
    cmderr	[automation_init.sh] go: downloading github.com/spf13/pflag v1.0.5
    cmderr	[automation_init.sh] go: downloading github.com/Azure/azure-sdk-for-go/eng/tools/internal v0.0.0-20240319034639-2647d4f75389
    cmderr	[automation_init.sh] go: downloading github.com/ahmetb/go-linq/v3 v3.2.0
    cmderr	[automation_init.sh] go: downloading github.com/go-git/go-git/v5 v5.11.0
    cmderr	[automation_init.sh] go: downloading golang.org/x/oauth2 v0.18.0
    cmderr	[automation_init.sh] go: downloading github.com/Masterminds/semver v1.5.0
    cmderr	[automation_init.sh] go: downloading github.com/ProtonMail/go-crypto v1.0.0
    cmderr	[automation_init.sh] go: downloading github.com/google/go-querystring v1.1.0
    cmderr	[automation_init.sh] go: downloading github.com/go-git/go-billy/v5 v5.5.0
    cmderr	[automation_init.sh] go: downloading dario.cat/mergo v1.0.0
    cmderr	[automation_init.sh] go: downloading github.com/sergi/go-diff v1.3.1
    cmderr	[automation_init.sh] go: downloading github.com/pjbgf/sha1cd v0.3.0
    cmderr	[automation_init.sh] go: downloading github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376
    cmderr	[automation_init.sh] go: downloading github.com/cyphar/filepath-securejoin v0.2.4
    cmderr	[automation_init.sh] go: downloading golang.org/x/sys v0.18.0
    cmderr	[automation_init.sh] go: downloading github.com/emirpasic/gods v1.18.1
    cmderr	[automation_init.sh] go: downloading github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99
    cmderr	[automation_init.sh] go: downloading golang.org/x/crypto v0.21.0
    cmderr	[automation_init.sh] go: downloading gopkg.in/warnings.v0 v0.1.2
    cmderr	[automation_init.sh] go: downloading github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da
    cmderr	[automation_init.sh] go: downloading github.com/kevinburke/ssh_config v1.2.0
    cmderr	[automation_init.sh] go: downloading github.com/skeema/knownhosts v1.2.2
    cmderr	[automation_init.sh] go: downloading github.com/xanzy/ssh-agent v0.3.3
    cmderr	[automation_init.sh] go: downloading golang.org/x/net v0.22.0
    cmderr	[automation_init.sh] go: downloading github.com/cloudflare/circl v1.3.7
    cmderr	[automation_init.sh] + cp generator /mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/gofolder/bin/
    cmderr	[automation_init.sh] + export PATH=/mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/gofolder/bin:/tmp/go/bin:/mnt/vss/_work/1/a/unified-pipeline-runtime/private/azure-rest-api-specs-pipeline/node_modules/.bin:/opt/hostedtoolcache/Python/3.10.14/x64/bin:/opt/hostedtoolcache/Python/3.10.14/x64:/opt/hostedtoolcache/node/18.20.2/x64/bin:/snap/bin:/home/cloudtest/.local/bin:/opt/pipx_bin:/home/cloudtest/.cargo/bin:/home/cloudtest/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/cloudtest/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
    cmderr	[automation_init.sh] + cd /mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/eng/scripts
    cmderr	[automation_init.sh] + cat
    command	generator automation-v2 ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
    cmderr	[generator automation-v2] autorest --use=@autorest/[email protected] --go --track2 --output-folder=/mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/servicelinker/armservicelinker --clear-output-folder=false --go.clear-output-folder=false --honor-body-placement=true --remove-unreferenced-types=false ./autorest.md
  • ️✔️sdk/resourcemanager/servicelinker/armservicelinker [Preview SDK Changes]
️❌ azure-sdk-for-js failed [Detail]
  • Failed in generating from b5f1988becc51e03ce6cb0c7e393fcd7a8dc810d. 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
    cmdout	[automation_generate.sh] Executing command:
    cmdout	[automation_generate.sh] npm notice package: @azure/[email protected]
    warn	Skip package processing as generation is failed
    error	ERROR: The 'breakingChangesLabel' configuration is missing or incorrect from the 'swagger_to_sdk_config.json file.
️❌ azure-resource-manager-schemas failed [Detail]
  • Failed in generating from b5f1988becc51e03ce6cb0c7e393fcd7a8dc810d. 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]  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
  • servicelinker/resource-manager [Preview Schema Changes]
️️✔️ azure-powershell succeeded [Detail] [Expand]
  • ️✔️Succeeded in generating from b5f1988becc51e03ce6cb0c7e393fcd7a8dc810d. 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.servicelinker.DefaultTag [Preview SDK Changes]
    • Az.ServiceLinker.0.1.0.nupkg
Posted by Swagger Pipeline | How to fix these errors?

@openapi-pipeline-app-test
Copy link

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

Generated ApiView

Language Package Name ApiView Link
Go sdk/resourcemanager/servicelinker/armservicelinker There is no API change compared with the previous version
Java azure-resourcemanager-servicelinker https://apiviewstagingtest.com/Assemblies/Review/2770deb6f6fe4cbca725afdef003328d?revisionId=7c5b1f6078b34fa1a161a7adf9eac2ff
Swagger Microsoft.ServiceLinker https://apiviewstagingtest.com/Assemblies/Review/0f22d5ccf4be40f9abfc7c0cc2e1bbea?revisionId=3319664e226e475eb9be30c51135042f

@openapi-pipeline-app-test
Copy link

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

Swagger Validation Report

️❌BreakingChange: 1 Errors, 0 Warnings failed [Detail]
Rule Message
Runtime Exception "new":"https://github.com/test-repo-billy/azure-rest-api-specs/blob/88c9f7e094512ca2819a853897d27600273c1c28/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json",
"old":"https://github.com/test-repo-billy/azure-rest-api-specs/blob/main/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.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/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json --output-artifact=swagger-document.json --output-artifact=swagger-document.map --output-file=new --output-folder=/tmp/oad-jfoAAS
2: ERROR: Syntax error: duplicate key
3: - file:///mnt/vss/_work/1/azure-rest-api-specs/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json:542:4
4: ERROR: Syntax error: duplicate key
5: - file:///mnt/vss/_work/1/azure-rest-api-specs/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json:529:4
6: FATAL: swagger-document/loader - FAILED
7: FATAL: Error: Syntax errors encountered.
8: Error: Syntax errors encountered."
️️✔️Breaking Change(Cross-Version) succeeded [Detail] [Expand]
There are no breaking changes.
️❌LintDiff: 3 Errors, 0 Warnings failed [Detail] [must fix]The following errors/warnings are introduced by current PR:
Rule Message Related RPC [For API reviewers]
AutoRest exception "tag":"package-2022-05-01",
"details":"Process() cancelled due to failure"
AutoRest exception "tag":"package-2022-05-01",
"details":"!YAMLException: duplicated mapping key (542:5) 539
"modelAsString": true 540
AutoRest exception "tag":"package-2022-05-01",
"details":"Autorest completed with an error. If you think the error message is unclear,
or is a bug,
please declare an issues at https://github.com/Azure/autorest/issues with the error message you are seeing."
️️✔️[ignore this check status; not blocking PR merge] Lint(RPaaS) succeeded [Detail] [Expand]
Validation passes for Lint(RPaaS).
️️✔️SwaggerAPIView succeeded [Detail] [Expand]
️️✔️TypeSpecAPIView succeeded [Detail] [Expand]
️️✔️CredScan succeeded [Detail] [Expand]
There is no credential detected.
️️✔️PoliCheck succeeded [Detail] [Expand]
Validation passed for PoliCheck.
️️✔️Avocado succeeded [Detail] [Expand]
Validation passes for Avocado.
️❌ModelValidation: 2 Errors, 0 Warnings failed [Detail]
Rule Message
LRO_RESPONSE_HEADER Long running operation should return location or azure-AsyncOperation in header but not provided
Url: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L194:22
ExampleUrl: stable/2022-05-01/examples/DeleteLink.json
LRO_RESPONSE_HEADER Long running operation should return location or azure-AsyncOperation in header but not provided
Url: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L296:22
ExampleUrl: stable/2022-05-01/examples/ValidateLinkSuccess.json
️️✔️SemanticValidation succeeded [Detail] [Expand]
Validation passes for SemanticValidation.
️️✔️[ignore this check status; not blocking PR merge] SpellCheck succeeded [Detail] [Expand]
Validation passes for SpellCheck.
️️✔️PR Summary succeeded [Detail] [Expand]
️️✔️Automated merging requirements met succeeded [Detail] [Expand]
Posted by Swagger Pipeline | How to fix these errors?

@raych1
Copy link
Author

raych1 commented Apr 29, 2024

/azp run

@azure-pipelines
Copy link

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

@raych1 raych1 deleted the user/raych1/test-logging branch July 2, 2024 08:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants