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

[TypeSpec] Upgrade to 0.45.0 #24326

Merged
merged 24 commits into from
Jun 7, 2023
Merged

[TypeSpec] Upgrade to 0.45.0 #24326

merged 24 commits into from
Jun 7, 2023

Conversation

mikeharder
Copy link
Member

@mikeharder mikeharder commented Jun 6, 2023

@openapi-workflow-bot
Copy link

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

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

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

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Jun 6, 2023

    Swagger Validation Report

    ️❌BreakingChange: 10 Errors, 0 Warnings failed [Detail]
    compared swaggers (via Oad v0.10.4)] new version base version
    openapi.json v1.1(7758832) v1.1(main)
    contentsafety.json 2023-04-30-preview(7758832) 2023-04-30-preview(main)
    openapi.json 2023-03-01-preview(7758832) 2023-03-01-preview(main)
    fleets.json 2022-09-02-preview(7758832) 2022-09-02-preview(main)
    fleets.json 2023-03-15-preview(7758832) 2023-03-15-preview(main)
    widgets.json 2022-11-01-preview(7758832) 2022-11-01-preview(main)
    TrafficController.json 2023-05-01-preview(7758832) 2023-05-01-preview(main)
    openapi.json v3.0(7758832) v3.0(main)
    Rule Message
    1025 - RequiredStatusChange The 'required' status changed from the old version('True') to the new version('False').
    New: ContentSafety/preview/2023-04-30-preview/contentsafety.json#L736:7
    Old: ContentSafety/preview/2023-04-30-preview/contentsafety.json#L734:7
    1025 - RequiredStatusChange The 'required' status changed from the old version('True') to the new version('False').
    New: ContentSafety/preview/2023-04-30-preview/contentsafety.json#L784:7
    Old: ContentSafety/preview/2023-04-30-preview/contentsafety.json#L783:7
    1025 - RequiredStatusChange The 'required' status changed from the old version('False') to the new version('True').
    New: ContentSafety/preview/2023-04-30-preview/contentsafety.json#L324:11
    Old: ContentSafety/preview/2023-04-30-preview/contentsafety.json#L324:11
    1025 - RequiredStatusChange The 'required' status changed from the old version('False') to the new version('True').
    New: ContentSafety/preview/2023-04-30-preview/contentsafety.json#L378:11
    Old: ContentSafety/preview/2023-04-30-preview/contentsafety.json#L377:11
    1025 - RequiredStatusChange The 'required' status changed from the old version('False') to the new version('True').
    New: HealthInsights/preview/2023-03-01-preview/openapi.json#L76:11
    Old: HealthInsights/preview/2023-03-01-preview/openapi.json#L76:11
    1025 - RequiredStatusChange The 'required' status changed from the old version('True') to the new version('False').
    New: HealthInsights/preview/2023-03-01-preview/openapi.json#L444:7
    Old: HealthInsights/preview/2023-03-01-preview/openapi.json#L442:7
    1025 - RequiredStatusChange The 'required' status changed from the old version('True') to the new version('False').
    New: HealthInsights/preview/2023-03-01-preview/openapi.json#L492:7
    Old: HealthInsights/preview/2023-03-01-preview/openapi.json#L491:7
    1025 - RequiredStatusChange The 'required' status changed from the old version('False') to the new version('True').
    New: HealthInsights/preview/2023-03-01-preview/openapi.json#L207:11
    Old: HealthInsights/preview/2023-03-01-preview/openapi.json#L206:11
    1025 - RequiredStatusChange The 'required' status changed from the old version('True') to the new version('False').
    New: Azure.Contoso.WidgetManager/preview/2022-11-01-preview/widgets.json#L346:7
    Old: Azure.Contoso.WidgetManager/preview/2022-11-01-preview/widgets.json#L346:7
    1025 - RequiredStatusChange The 'required' status changed from the old version('True') to the new version('False').
    New: Azure.Contoso.WidgetManager/preview/2022-11-01-preview/widgets.json#L394:7
    Old: Azure.Contoso.WidgetManager/preview/2022-11-01-preview/widgets.json#L395:7
    ️️✔️Breaking Change(Cross-Version) succeeded [Detail] [Expand]
    There are no breaking changes.
    ️️✔️CredScan succeeded [Detail] [Expand]
    There is no credential detected.
    ️⚠️LintDiff: 0 Warnings warning [Detail]
    compared tags (via openapi-validator v2.1.2) new version base version
    release_1_1 release_1_1(7758832) release_1_1(main)
    package-2023-04-30-preview package-2023-04-30-preview(7758832) package-2023-04-30-preview(main)
    2023-03-01-preview 2023-03-01-preview(7758832) 2023-03-01-preview(main)
    package-2023-03-preview package-2023-03-preview(7758832) package-2023-03-preview(main)
    package-2022-09-preview package-2022-09-preview(7758832) package-2022-09-preview(main)
    package-2022-11-01-preview package-2022-11-01-preview(7758832) package-2022-11-01-preview(main)
    default default(7758832) default(main)
    release_3_0 release_3_0(7758832) release_3_0(main)

    The following errors/warnings exist before current PR submission:

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

    Rule Message
    OperationIdNounVerb Per the Noun_Verb convention for Operation Ids, the noun 'Multivariate' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: AnomalyDetector/stable/v1.1/openapi.json#L72
    OperationIdNounVerb Per the Noun_Verb convention for Operation Ids, the noun 'Multivariate' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: AnomalyDetector/stable/v1.1/openapi.json#L114
    OperationIdNounVerb Per the Noun_Verb convention for Operation Ids, the noun 'Multivariate' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: AnomalyDetector/stable/v1.1/openapi.json#L161
    OperationIdNounVerb Per the Noun_Verb convention for Operation Ids, the noun 'Multivariate' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: AnomalyDetector/stable/v1.1/openapi.json#L204
    OperationIdNounVerb Per the Noun_Verb convention for Operation Ids, the noun 'Multivariate' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: AnomalyDetector/stable/v1.1/openapi.json#L240
    LroExtension Operations with a 202 response must specify x-ms-long-running-operation: true.
    Location: AnomalyDetector/stable/v1.1/openapi.json#L280
    OperationIdNounVerb Per the Noun_Verb convention for Operation Ids, the noun 'Multivariate' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: AnomalyDetector/stable/v1.1/openapi.json#L281
    OperationIdNounVerb Per the Noun_Verb convention for Operation Ids, the noun 'Multivariate' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: AnomalyDetector/stable/v1.1/openapi.json#L341
    OperationIdNounVerb Per the Noun_Verb convention for Operation Ids, the noun 'Univariate' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: AnomalyDetector/stable/v1.1/openapi.json#L391
    OperationIdNounVerb Per the Noun_Verb convention for Operation Ids, the noun 'Univariate' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: AnomalyDetector/stable/v1.1/openapi.json#L434
    OperationIdNounVerb Per the Noun_Verb convention for Operation Ids, the noun 'Univariate' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: AnomalyDetector/stable/v1.1/openapi.json#L477
    OperationIdNounVerb Per the Noun_Verb convention for Operation Ids, the noun 'TextBlocklists' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: ContentSafety/preview/2023-04-30-preview/contentsafety.json#L97
    AvoidAnonymousTypes Inline/anonymous models must not be used, instead define a schema with a model name in the 'definitions' section and refer to it. This allows operations to share the models.
    Location: ContentSafety/preview/2023-04-30-preview/contentsafety.json#L108
    OperationIdNounVerb Per the Noun_Verb convention for Operation Ids, the noun 'TextBlocklists' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: ContentSafety/preview/2023-04-30-preview/contentsafety.json#L159
    OperationIdNounVerb Per the Noun_Verb convention for Operation Ids, the noun 'TextBlocklists' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: ContentSafety/preview/2023-04-30-preview/contentsafety.json#L203
    OperationIdNounVerb Per the Noun_Verb convention for Operation Ids, the noun 'TextBlocklists' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: ContentSafety/preview/2023-04-30-preview/contentsafety.json#L265
    OperationIdNounVerb Per the Noun_Verb convention for Operation Ids, the noun 'TextBlocklists' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: ContentSafety/preview/2023-04-30-preview/contentsafety.json#L413
    AvoidAnonymousTypes Inline/anonymous models must not be used, instead define a schema with a model name in the 'definitions' section and refer to it. This allows operations to share the models.
    Location: ContentSafety/preview/2023-04-30-preview/contentsafety.json#L442
    OperationIdNounVerb Per the Noun_Verb convention for Operation Ids, the noun 'TextBlocklists' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: ContentSafety/preview/2023-04-30-preview/contentsafety.json#L493
    LroExtension Operations with a 202 response must specify x-ms-long-running-operation: true.
    Location: HealthInsights/preview/2023-03-01-preview/openapi.json#L59
    XmsEnumValidation The enum types should have x-ms-enum type extension set with appropriate options.
    Location: HealthInsights/preview/2023-03-01-preview/openapi.json#L105
    LroExtension Operations with a 202 response must specify x-ms-long-running-operation: true.
    Location: HealthInsights/preview/2023-03-01-preview/openapi.json#L190
    XmsEnumValidation The enum types should have x-ms-enum type extension set with appropriate options.
    Location: HealthInsights/preview/2023-03-01-preview/openapi.json#L236
    RequiredReadOnlyProperties Property 'jobId' is a required property. It should not be marked as 'readonly'
    Location: HealthInsights/preview/2023-03-01-preview/openapi.json#L1558
    RequiredReadOnlyProperties Property 'createdDateTime' is a required property. It should not be marked as 'readonly'
    Location: HealthInsights/preview/2023-03-01-preview/openapi.json#L1558
    RequiredReadOnlyProperties Property 'expirationDateTime' is a required property. It should not be marked as 'readonly'
    Location: HealthInsights/preview/2023-03-01-preview/openapi.json#L1558
    RequiredReadOnlyProperties Property 'lastUpdateDateTime' is a required property. It should not be marked as 'readonly'
    Location: HealthInsights/preview/2023-03-01-preview/openapi.json#L1558
    RequiredReadOnlyProperties Property 'status' is a required property. It should not be marked as 'readonly'
    Location: HealthInsights/preview/2023-03-01-preview/openapi.json#L1558
    RequiredReadOnlyProperties Property 'jobId' is a required property. It should not be marked as 'readonly'
    Location: HealthInsights/preview/2023-03-01-preview/openapi.json#L1914
    RequiredReadOnlyProperties Property 'createdDateTime' is a required property. It should not be marked as 'readonly'
    Location: HealthInsights/preview/2023-03-01-preview/openapi.json#L1914
    ️️✔️Avocado succeeded [Detail] [Expand]
    Validation passes for Avocado.
    ️️✔️ApiReadinessCheck succeeded [Detail] [Expand]
    ️️✔️~[Staging] ServiceAPIReadinessTest succeeded [Detail] [Expand]
    Validation passes for ServiceAPIReadinessTest.
    ️️✔️SwaggerAPIView succeeded [Detail] [Expand]
    ️️✔️CadlAPIView succeeded [Detail] [Expand]
    ️️✔️TypeSpecAPIView succeeded [Detail] [Expand]
    ️❌ModelValidation: 4 Errors, 0 Warnings failed [Detail]
    Rule Message
    RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE Following response status codes 200 for operation OncoPhenotype_CreateJob were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.
    Url: HealthInsights/preview/2023-03-01-preview/openapi.json#L86:18
    ExampleUrl: preview/2023-03-01-preview/examples/SuccessfulOncoPhenotypeRequest.json#L52:16
    RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE Following response status codes 200 for operation OncoPhenotype_CreateJob were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.
    Url: HealthInsights/preview/2023-03-01-preview/openapi.json#L86:18
    ExampleUrl: preview/2023-03-01-preview/examples/SuccessfulOncoPhenotypeRequest.json#L52:16
    RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE Following response status codes 200 for operation TrialMatcher_CreateJob were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.
    Url: HealthInsights/preview/2023-03-01-preview/openapi.json#L217:18
    ExampleUrl: preview/2023-03-01-preview/examples/SuccessfulTrialMatcherRequest.json#L149:16
    RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE Following response status codes 200 for operation TrialMatcher_CreateJob were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.
    Url: HealthInsights/preview/2023-03-01-preview/openapi.json#L217:18
    ExampleUrl: preview/2023-03-01-preview/examples/SuccessfulTrialMatcherRequest.json#L149:16
    ️️✔️SemanticValidation succeeded [Detail] [Expand]
    Validation passes for SemanticValidation.
    ️️✔️PoliCheck succeeded [Detail] [Expand]
    Validation passed for PoliCheck.
    ️️✔️PrettierCheck succeeded [Detail] [Expand]
    Validation passes for PrettierCheck.
    ️️✔️SpellCheck succeeded [Detail] [Expand]
    Validation passes for SpellCheck.
    ️️✔️Lint(RPaaS) succeeded [Detail] [Expand]
    Validation passes for Lint(RPaaS).
    ️️✔️CadlValidation succeeded [Detail] [Expand]
    Validation passes for CadlValidation.
    ️️✔️TypeSpec Validation succeeded [Detail] [Expand]
    Validation passes for TypeSpec Validation.
    ️️✔️PR Summary succeeded [Detail] [Expand]
    Validation passes for Summary.
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Jun 6, 2023

    Swagger Generation Artifacts

    ️🔄ApiDocPreview inProgress [Detail]
    ️️✔️SDK Breaking Change Tracking succeeded [Detail] [Expand]

    Breaking Changes Tracking






    ️❌ azure-sdk-for-net-track2 failed [Detail]
    • Failed [Logs]Release - Generate from e977b53. 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
      warn		specification/cognitiveservices/data-plane/HealthInsights/readme.md skipped due to azure-sdk-for-net-track2 not found in swagger-to-sdk
      warn		specification/contosowidgetmanager/data-plane/readme.md skipped due to azure-sdk-for-net-track2 not found in swagger-to-sdk
      warn		specification/servicenetworking/resource-manager/readme.md skipped due to azure-sdk-for-net-track2 not found in swagger-to-sdk
      warn		specification/translation/data-plane/Azure.AI.TextTranslation/readme.md skipped due to azure-sdk-for-net-track2 not found in swagger-to-sdk
      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] �[31;1mGeneratePackage: �[0m/mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:712
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1mLine |
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m 712 | �[0m         �[36;1mGeneratePackage -projectFolder $projectFolder -sdkRootPath $s�[0m …
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m     | �[31;1m         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1m�[36;1m     | �[31;1mFailed to generate sdk. exit code: False
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[0m
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1mGet-ChildItem: �[0m/mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:800
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1mLine |
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m 800 | �[0m … rtifacts += �[36;1mGet-ChildItem $artifactsPath -Filter *.nupkg -exclude *.s�[0m …
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m     | �[31;1m               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1m�[36;1m     | �[31;1mCannot find path
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m     | �[31;1m'/mnt/vss/_work/1/s/azure-sdk-for-net/artifacts/packages/Debug/' because
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m     | �[31;1mit does not exist.
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[0m
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1mGeneratePackage: �[0m/mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:712
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1mLine |
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m 712 | �[0m         �[36;1mGeneratePackage -projectFolder $projectFolder -sdkRootPath $s�[0m …
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m     | �[31;1m         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1m�[36;1m     | �[31;1mFailed to generate sdk artifact
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[0m
    • Azure.ResourceManager.ContainerService [View full logs]  [Release SDK Changes]
      info	[Changelog]
    ️⚠️ azure-sdk-for-python-track2 warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from e977b53. 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.
      warn		specification/cognitiveservices/data-plane/AnomalyDetector/readme.md skipped due to azure-sdk-for-python-track2 not found in swagger-to-sdk
      warn		specification/cognitiveservices/data-plane/HealthInsights/readme.md skipped due to azure-sdk-for-python-track2 not found in swagger-to-sdk
      warn		specification/contosowidgetmanager/data-plane/readme.md skipped due to azure-sdk-for-python-track2 not found in swagger-to-sdk
      warn		specification/translation/data-plane/Azure.AI.TextTranslation/readme.md skipped due to azure-sdk-for-python-track2 not found in swagger-to-sdk
      command	sh scripts/automation_generate.sh ../azure-sdk-for-python_tmp/generateInput.json ../azure-sdk-for-python_tmp/generateOutput.json
      cmderr	[automation_generate.sh] notice
      cmderr	[automation_generate.sh] npm notice New minor version of npm available! 9.5.1 -> 9.7.1
      cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.7.1>
      cmderr	[automation_generate.sh] npm notice Run `npm install -g [email protected]` to update!
      cmderr	[automation_generate.sh] npm notice
    • ️✔️track2_azure-mgmt-containerservicefleet [View full logs]  [Release SDK Changes]
      info	[Changelog]   - Initial Release
    • ️✔️track2_azure-mgmt-servicenetworking [View full logs]  [Release SDK Changes]
      info	[Changelog]
    ️⚠️ azure-sdk-for-java warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from e977b53. 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] A new release of pip is available: 23.0.1 -> 23.1.2
      cmderr	[init.sh] [notice] To update, run: pip install --upgrade pip
      cmderr	[init.sh] [notice] A new release of pip is available: 23.0.1 -> 23.1.2
      cmderr	[init.sh] [notice] To update, run: pip install --upgrade pip
      warn		specification/cognitiveservices/data-plane/AnomalyDetector/readme.md skipped due to azure-sdk-for-java not found in swagger-to-sdk
      command	./eng/mgmt/automation/generate.py ../azure-sdk-for-java_tmp/generateInput.json ../azure-sdk-for-java_tmp/generateOutput.json
      warn	No file changes detected after generation
      warn	No package detected after generation
    • ️✔️azure-resourcemanager-containerservicefleet [View full logs]  [Release SDK Changes]
    ️⚠️ azure-sdk-for-js warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from e977b53. 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
      warn		specification/cognitiveservices/data-plane/AnomalyDetector/readme.md skipped due to azure-sdk-for-js not found in swagger-to-sdk
      command	sh .scripts/automation_generate.sh ../azure-sdk-for-js_tmp/generateInput.json ../azure-sdk-for-js_tmp/generateOutput.json
      warn	No file changes detected after generation
      warn	No package detected after generation
    • ️✔️@azure/arm-containerservicefleet [View full logs]  [Release SDK Changes]
      info	[Changelog]
      error	breakingChangeTracking is enabled, but version or changelogItem is not found in output.
    ️⚠️ azure-resource-manager-schemas warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from e977b53. 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] old lockfile
      cmderr	[initScript.sh] npm WARN old lockfile The package-lock.json file was created with an old version of npm,
      cmderr	[initScript.sh] npm WARN old lockfile so supplemental metadata must be fetched from the registry.
      cmderr	[initScript.sh] npm WARN old lockfile
      cmderr	[initScript.sh] npm WARN old lockfile This is a one-time fix-up, please be patient...
      cmderr	[initScript.sh] npm WARN old lockfile
      warn	File azure-resource-manager-schemas_tmp/initOutput.json not found to read
      warn		specification/cognitiveservices/data-plane/AnomalyDetector/readme.md skipped due to azure-resource-manager-schemas not found in swagger-to-sdk
      command	.sdkauto/generateScript.sh ../azure-resource-manager-schemas_tmp/generateInput.json ../azure-resource-manager-schemas_tmp/generateOutput.json
      warn	No file changes detected after generation
      warn	Skip detect changed packages
    • ️✔️containerservice [View full logs
    ️❌ azure-powershell failed [Detail]
    • Pipeline Framework Failed [Logs]Release - Generate from e977b53. SDK Automation 14.0.0
      command	sh ./tools/SwaggerCI/init.sh ../azure-powershell_tmp/initInput.json ../azure-powershell_tmp/initOutput.json
      warn		specification/cognitiveservices/data-plane/AnomalyDetector/readme.md skipped due to azure-powershell not found in swagger-to-sdk
      warn		specification/cognitiveservices/data-plane/HealthInsights/readme.md skipped due to azure-powershell not found in swagger-to-sdk
      warn		specification/contosowidgetmanager/data-plane/readme.md skipped due to azure-powershell not found in swagger-to-sdk
      warn		specification/servicenetworking/resource-manager/readme.md skipped due to azure-powershell not found in swagger-to-sdk
      warn		specification/translation/data-plane/Azure.AI.TextTranslation/readme.md skipped due to azure-powershell not found in swagger-to-sdk
      command	pwsh ./tools/SwaggerCI/psci.ps1 ../azure-powershell_tmp/generateInput.json ../azure-powershell_tmp/generateOutput.json
      SSL error: syscall failure: Broken pipe
      Error: SSL error: syscall failure: Broken pipe
    • Az.cognitiveservices.DefaultTag [View full logs
      error	Fatal error: SSL error: syscall failure: Broken pipe
      error	The following packages are still pending:
      error		Az.cognitiveservices.DefaultTag
      error		Az.containerservice.DefaultTag
    • ️✔️Az.containerservice.DefaultTag
    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from e977b53. 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
      warn		specification/cognitiveservices/data-plane/AnomalyDetector/readme.md skipped due to azure-sdk-for-go not found in swagger-to-sdk
      warn		specification/cognitiveservices/data-plane/ContentSafety/readme.md skipped due to azure-sdk-for-go not found in swagger-to-sdk
      warn		specification/cognitiveservices/data-plane/HealthInsights/readme.md skipped due to azure-sdk-for-go not found in swagger-to-sdk
      warn		specification/contosowidgetmanager/data-plane/readme.md skipped due to azure-sdk-for-go not found in swagger-to-sdk
      warn		specification/translation/data-plane/Azure.AI.TextTranslation/readme.md skipped due to azure-sdk-for-go not found in swagger-to-sdk
      command	generator automation-v2 ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
    • ️✔️sdk/resourcemanager/containerservice/armcontainerservicefleet [View full logs]  [Release SDK Changes]
      info	[Changelog] This is a new package
      info	[Changelog]
    • ️✔️sdk/resourcemanager/servicenetworking/armservicenetworking [View full logs]  [Release SDK Changes]
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Jun 6, 2023

    Generated ApiView

    Language Package Name ApiView Link
    Go sdk/resourcemanager/containerservice/armcontainerservicefleet https://apiview.dev/Assemblies/Review/ea12364f204b4995bacaa70c74e5d7e6
    Go sdk/resourcemanager/servicenetworking/armservicenetworking There is no API change compared with the previous version
    Java azure-resourcemanager-containerservicefleet https://apiview.dev/Assemblies/Review/f40742d7202d4ea5abd981b6ca9d0a3e
    JavaScript @azure/arm-containerservicefleet https://apiview.dev/Assemblies/Review/11f920568cb04a1eaffc0e855970b35e

    @mikeharder mikeharder self-assigned this Jun 7, 2023
    @mikeharder mikeharder marked this pull request as ready for review June 7, 2023 18:30
    @mikeharder mikeharder requested review from stewartadam, scgbear and markcowl and removed request for a team June 7, 2023 18:30
    @openapi-workflow-bot
    Copy link

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

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

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

    Successfully merging this pull request may close these issues.

    3 participants