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

Added loadtesting tsp #3168

Open
wants to merge 34 commits into
base: main
Choose a base branch
from
Open

Added loadtesting tsp #3168

wants to merge 34 commits into from

Conversation

raych1
Copy link

@raych1 raych1 commented Dec 26, 2023

Testing sdk generation

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 Dec 26, 2023

Swagger Generation Artifacts

️🔄~[NotRequired_Staging] ApiDocPreview inProgress [Detail]
️⚠️ azure-sdk-for-js warning [Detail]
  • ⚠️Warning [Logs] Generate from 65419d38e87e31fdcf41ca951512db158e2aa779. 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
    warn	No file changes detected after generation
    warn	No package detected after generation
  • ️✔️@azure-rest/load-testing [View full logs]  [Preview SDK Changes]
    info	[Changelog]
    error	breakingChangeTracking is enabled, but version or changelogItem is not found in output.
️⚠️ azure-sdk-for-python warning [Detail]
  • ⚠️Warning [Logs] Generate from 65419d38e87e31fdcf41ca951512db158e2aa779. 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: azure-devtools 1.2.1 does not provide the extra 'ci-tools'
    cmderr	[automation_init.sh] WARNING: azure-devtools 1.2.1 does not provide the extra 'ci-tools'
    cmderr	[automation_init.sh] WARNING: Skipping azure-nspkg as it is not installed.
    command	sh scripts/automation_generate.sh ../azure-sdk-for-python_tmp/generateInput.json ../azure-sdk-for-python_tmp/generateOutput.json
    cmderr	[automation_generate.sh]
    cmderr	[automation_generate.sh]  New patch version of npm available! 10.2.3 -> 10.2.5
    cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.2.5>
    cmderr	[automation_generate.sh] npm notice Run `npm install -g [email protected]` to update!
    cmderr	[automation_generate.sh] npm notice
  • ️✔️azure-developer-loadtesting [View full logs]  [Preview SDK Changes]
    info	[Changelog] data-plan skip changelog generation temporarily
️❌ azure-sdk-for-java failed [Detail]
  • Failed [Logs] Generate from 65419d38e87e31fdcf41ca951512db158e2aa779. 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.3.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.3.2
    cmderr	[init.sh] [notice] To update, run: pip install --upgrade pip
    cmderr	[init.sh]   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
    cmderr	[init.sh]                                  Dload  Upload   Total   Spent    Left  Speed
    cmderr	[init.sh] 
      0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0 1195k      0 --:--:-- --:--:-- --:--:-- 1195k
    cmderr	[init.sh] Downloading https://nodejs.org/dist/v18.15.0/node-v18.15.0-linux-x64.tar.xz...
    cmderr	[init.sh] %
    cmderr	[init.sh] Computing checksum with sha256sum
    cmderr	[init.sh] Checksums matched!
    command	./eng/mgmt/automation/generate.py ../azure-sdk-for-java_tmp/generateInput.json ../azure-sdk-for-java_tmp/generateOutput.json
  • azure-developer-loadtesting [View full logs]  [Preview SDK Changes]
  • azure-developer-loadtesting [View full logs]  [Preview SDK Changes]
️❌ azure-sdk-for-net-track2 failed [Detail]
  • Pipeline Framework Failed [Logs] Generate from 65419d38e87e31fdcf41ca951512db158e2aa779. 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] �[31;1mGeneratePackage: �[0m/mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:883
    cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1mLine |
    cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m 883 | �[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:807
    cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1mLine |
    cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m 807 | �[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:883
    cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1mLine |
    cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m 883 | �[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
    cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1mWrite-Error: �[0m/mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/Invoke-GenerateAndBuildV2.ps1:120
    cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1mLine |
    cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m 120 | �[0m … ectFolder = �[36;1m& $processScript $typespecFolder $commitid $repoHttpsUrl �[0m …
    cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m     | �[31;1m               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1m�[36;1m     | �[31;1mFailed to generate sdk project at
    cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m     | �[31;1m/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/loadtesting/Azure.Developer.LoadTesting
    cmderr	[Invoke-GenerateAndBuildV2.ps1] �[0m
    fatal: 'sdkAuto/3168/' is not a valid branch name
  • Azure.Developer.LoadTesting [View full logs]  [Preview SDK Changes]
    info	[Changelog]
  • error	Fatal error: fatal: 'sdkAuto/3168/' is not a valid branch name
    error	Fatal error: Error: fatal: 'sdkAuto/3168/' is not a valid branch name    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:1274: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:1309: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:1674: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:1672: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:1656: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		Azure.Developer.LoadTesting
    error
Posted by Swagger Pipeline | How to fix these errors?

Copy link

openapi-pipeline-app-test bot commented Dec 26, 2023

Generated ApiView

Language Package Name ApiView Link
Python azure-developer-loadtesting There is no API change compared with the previous version
JavaScript @azure-rest/load-testing There is no API change compared with the previous version
TypeSpec LoadTestService https://apiviewstaging.azurewebsites.net/Assemblies/Review/f103aed4cb5945e7aa9e7a6fabbd2ff4?revisionId=39bceca49f9340f4aadce81a8728a933
Swagger Microsoft.LoadTestService https://apiviewstaging.azurewebsites.net/Assemblies/Review/15c9d8fab6874dcd92ba24d7ea159362?revisionId=5f23a294e0db462ba44ba5b91c4f51a9

Copy link

openapi-pipeline-app-test bot commented Dec 26, 2023

Swagger Validation Report

️❌BreakingChange: 258 Errors, 0 Warnings failed [Detail]
compared swaggers (via Oad v0.10.4)] new version base version
loadtestservice.json 2022-11-01(bd17a55) 2022-11-01(main)

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

Rule Message
1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'FileInfo' removed or renamed?
New: Microsoft.LoadTestService/stable/2022-11-01/loadtestservice.json#L1602:3
Old: Microsoft.LoadTestService/stable/2022-11-01/loadtestservice.json#L1574:3
1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'ApiVersion' removed or renamed?
New: Microsoft.LoadTestService/stable/2022-11-01/loadtestservice.json#L3657:3
Old: Microsoft.LoadTestService/stable/2022-11-01/loadtestservice.json#L3179:3
1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'TestIdQueryParameter' removed or renamed?
New: Microsoft.LoadTestService/stable/2022-11-01/loadtestservice.json#L3657:3
Old: Microsoft.LoadTestService/stable/2022-11-01/loadtestservice.json#L3179:3
1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'TestIdPathParameter' removed or renamed?
New: Microsoft.LoadTestService/stable/2022-11-01/loadtestservice.json#L3657:3
Old: Microsoft.LoadTestService/stable/2022-11-01/loadtestservice.json#L3179:3
1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'TestRunIdPathParameter' removed or renamed?
New: Microsoft.LoadTestService/stable/2022-11-01/loadtestservice.json#L3657:3
Old: Microsoft.LoadTestService/stable/2022-11-01/loadtestservice.json#L3179:3
1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'Endpoint' removed or renamed?
New: Microsoft.LoadTestService/stable/2022-11-01/loadtestservice.json#L3657:3
Old: Microsoft.LoadTestService/stable/2022-11-01/loadtestservice.json#L3179:3
1017 - ReferenceRedirection The '$ref' property points to different models in the old and new versions.
New: Microsoft.LoadTestService/stable/2022-11-01/loadtestservice.json#L952:9
Old: Microsoft.LoadTestService/stable/2022-11-01/loadtestservice.json#L120:9
1017 - ReferenceRedirection The '$ref' property points to different models in the old and new versions.
New: Microsoft.LoadTestService/stable/2022-11-01/loadtestservice.json#L2508:9
Old: Microsoft.LoadTestService/stable/2022-11-01/loadtestservice.json#L2202:9
1017 - ReferenceRedirection The '$ref' property points to different models in the old and new versions.
New: Microsoft.LoadTestService/stable/2022-11-01/loadtestservice.json#L2512:9
Old: Microsoft.LoadTestService/stable/2022-11-01/loadtestservice.json#L2239:9
1017 - ReferenceRedirection The '$ref' property points to different models in the old and new versions.
New: Microsoft.LoadTestService/stable/2022-11-01/loadtestservice.json#L2529:9
Old: Microsoft.LoadTestService/stable/2022-11-01/loadtestservice.json#L2309:9
1017 - ReferenceRedirection The '$ref' property points to different models in the old and new versions.
New: Microsoft.LoadTestService/stable/2022-11-01/loadtestservice.json#L2540:9
Old: Microsoft.LoadTestService/stable/2022-11-01/loadtestservice.json#L2338:9
1017 - ReferenceRedirection The '$ref' property points to different models in the old and new versions.
New: Microsoft.LoadTestService/stable/2022-11-01/loadtestservice.json#L2635:9
Old: Microsoft.LoadTestService/stable/2022-11-01/loadtestservice.json#L2422:9
1017 - ReferenceRedirection The '$ref' property points to different models in the old and new versions.
New: Microsoft.LoadTestService/stable/2022-11-01/loadtestservice.json#L1790:9
Old: Microsoft.LoadTestService/stable/2022-11-01/loadtestservice.json#L1620:9
1017 - ReferenceRedirection The '$ref' property points to different models in the old and new versions.
New: Microsoft.LoadTestService/stable/2022-11-01/loadtestservice.json#L3021:9
Old: Microsoft.LoadTestService/stable/2022-11-01/loadtestservice.json#L2577:9
1017 - ReferenceRedirection The '$ref' property points to different models in the old and new versions.
New: Microsoft.LoadTestService/stable/2022-11-01/loadtestservice.json#L2991:9
Old: Microsoft.LoadTestService/stable/2022-11-01/loadtestservice.json#L1755:9
1017 - ReferenceRedirection The '$ref' property points to different models in the old and new versions.
New: Microsoft.LoadTestService/stable/2022-11-01/loadtestservice.json#L3002:9
Old: Microsoft.LoadTestService/stable/2022-11-01/loadtestservice.json#L1787:9
1017 - ReferenceRedirection The '$ref' property points to different models in the old and new versions.
New: Microsoft.LoadTestService/stable/2022-11-01/loadtestservice.json#L3025:9
Old: Microsoft.LoadTestService/stable/2022-11-01/loadtestservice.json#L2580:9
️❌Breaking Change(Cross-Version): 159 Errors, 141 Warnings failed [Detail]
compared swaggers (via Oad v0.10.4)] new version base version
loadtestservice.json 2023-04-01-preview(bd17a55) 2022-11-01(main)
loadtestservice.json 2023-04-01-preview(bd17a55) 2022-06-01-preview(main)

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

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

Rule Message
1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'FileInfo' removed or renamed?
New: Microsoft.LoadTestService/preview/2023-04-01-preview/loadtestservice.json#L1614:3
Old: Microsoft.LoadTestService/stable/2022-11-01/loadtestservice.json#L1574:3
1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'ApiVersion' removed or renamed?
New: Microsoft.LoadTestService/preview/2023-04-01-preview/loadtestservice.json#L3821:3
Old: Microsoft.LoadTestService/stable/2022-11-01/loadtestservice.json#L3179:3
1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'TestIdQueryParameter' removed or renamed?
New: Microsoft.LoadTestService/preview/2023-04-01-preview/loadtestservice.json#L3821:3
Old: Microsoft.LoadTestService/stable/2022-11-01/loadtestservice.json#L3179:3
1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'TestIdPathParameter' removed or renamed?
New: Microsoft.LoadTestService/preview/2023-04-01-preview/loadtestservice.json#L3821:3
Old: Microsoft.LoadTestService/stable/2022-11-01/loadtestservice.json#L3179:3
1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'TestRunIdPathParameter' removed or renamed?
New: Microsoft.LoadTestService/preview/2023-04-01-preview/loadtestservice.json#L3821:3
Old: Microsoft.LoadTestService/stable/2022-11-01/loadtestservice.json#L3179:3
1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'Endpoint' removed or renamed?
New: Microsoft.LoadTestService/preview/2023-04-01-preview/loadtestservice.json#L3821:3
Old: Microsoft.LoadTestService/stable/2022-11-01/loadtestservice.json#L3179:3
1023 - TypeFormatChanged The new version has a different format than the previous one.
New: Microsoft.LoadTestService/preview/2023-04-01-preview/loadtestservice.json#L3095:9
Old: Microsoft.LoadTestService/stable/2022-11-01/loadtestservice.json#L1747:9
1023 - TypeFormatChanged The new version has a different format than the previous one.
New: Microsoft.LoadTestService/preview/2023-04-01-preview/loadtestservice.json#L2515:9
Old: Microsoft.LoadTestService/stable/2022-11-01/loadtestservice.json#L3152:9
1023 - TypeFormatChanged The new version has a different format than the previous one.
New: Microsoft.LoadTestService/preview/2023-04-01-preview/loadtestservice.json#L2537:9
Old: Microsoft.LoadTestService/stable/2022-11-01/loadtestservice.json#L1844:9
1023 - TypeFormatChanged The new version has a different format than the previous one.
New: Microsoft.LoadTestService/preview/2023-04-01-preview/loadtestservice.json#L3486:9
Old: Microsoft.LoadTestService/stable/2022-11-01/loadtestservice.json#L1747:9
1023 - TypeFormatChanged The new version has a different format than the previous one.
New: Microsoft.LoadTestService/preview/2023-04-01-preview/loadtestservice.json#L2559:9
Old: Microsoft.LoadTestService/stable/2022-11-01/loadtestservice.json#L3092:9
1023 - TypeFormatChanged The new version has a different format than the previous one.
New: Microsoft.LoadTestService/preview/2023-04-01-preview/loadtestservice.json#L2228:9
Old: Microsoft.LoadTestService/stable/2022-11-01/loadtestservice.json#L2118:9
1023 - TypeFormatChanged The new version has a different format than the previous one.
New: Microsoft.LoadTestService/preview/2023-04-01-preview/loadtestservice.json#L2252:9
Old: Microsoft.LoadTestService/stable/2022-11-01/loadtestservice.json#L2140:9
1023 - TypeFormatChanged The new version has a different format than the previous one.
New: Microsoft.LoadTestService/preview/2023-04-01-preview/loadtestservice.json#L1916:9
Old: Microsoft.LoadTestService/stable/2022-11-01/loadtestservice.json#L1685:9
1025 - RequiredStatusChange The 'required' status changed from the old version('False') to the new version('True').
New: Microsoft.LoadTestService/preview/2023-04-01-preview/loadtestservice.json#L3090:7
Old: Microsoft.LoadTestService/stable/2022-11-01/loadtestservice.json#L1746:7
1025 - RequiredStatusChange The 'required' status changed from the old version('False') to the new version('True').
New: Microsoft.LoadTestService/preview/2023-04-01-preview/loadtestservice.json#L2854:7
Old: Microsoft.LoadTestService/stable/2022-11-01/loadtestservice.json#L2449:7
1025 - RequiredStatusChange The 'required' status changed from the old version('False') to the new version('True').
New: Microsoft.LoadTestService/preview/2023-04-01-preview/loadtestservice.json#L1672:7
Old: Microsoft.LoadTestService/stable/2022-11-01/loadtestservice.json#L1578:7


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

Only 17 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 '/appcomponents/{name}' removed or restructured?
Old: Microsoft.LoadTestService/preview/2022-06-01-preview/loadtestservice.json#L22:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/appcomponents' removed or restructured?
Old: Microsoft.LoadTestService/preview/2022-06-01-preview/loadtestservice.json#L189:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/serverMetricsConfig/{name}' removed or restructured?
Old: Microsoft.LoadTestService/preview/2022-06-01-preview/loadtestservice.json#L243:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/serverMetricsConfig' removed or restructured?
Old: Microsoft.LoadTestService/preview/2022-06-01-preview/loadtestservice.json#L410:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/serverMetricsConfig/default' removed or restructured?
Old: Microsoft.LoadTestService/preview/2022-06-01-preview/loadtestservice.json#L464:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/serverMetricsConfig/supportedResourceTypes' removed or restructured?
Old: Microsoft.LoadTestService/preview/2022-06-01-preview/loadtestservice.json#L506:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/loadtests/{testId}' removed or restructured?
Old: Microsoft.LoadTestService/preview/2022-06-01-preview/loadtestservice.json#L548:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/loadtests/sortAndFilter' removed or restructured?
Old: Microsoft.LoadTestService/preview/2022-06-01-preview/loadtestservice.json#L694:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/loadtests/{testId}/files/{fileId}' removed or restructured?
Old: Microsoft.LoadTestService/preview/2022-06-01-preview/loadtestservice.json#L779:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/loadtests/{testId}/files' removed or restructured?
Old: Microsoft.LoadTestService/preview/2022-06-01-preview/loadtestservice.json#L954:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/testruns/{testRunId}' removed or restructured?
Old: Microsoft.LoadTestService/preview/2022-06-01-preview/loadtestservice.json#L1008:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/testruns/{testRunId}/files/{fileId}' removed or restructured?
Old: Microsoft.LoadTestService/preview/2022-06-01-preview/loadtestservice.json#L1175:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/testruns/sortAndFilter' removed or restructured?
Old: Microsoft.LoadTestService/preview/2022-06-01-preview/loadtestservice.json#L1237:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/testruns/{testRunId}:stop' removed or restructured?
Old: Microsoft.LoadTestService/preview/2022-06-01-preview/loadtestservice.json#L1331:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/testruns/{testRunId}/clientMetrics' removed or restructured?
Old: Microsoft.LoadTestService/preview/2022-06-01-preview/loadtestservice.json#L1383:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/testruns/{testRunId}/clientMetricsFilters' removed or restructured?
Old: Microsoft.LoadTestService/preview/2022-06-01-preview/loadtestservice.json#L1447:5
⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'AppComponentsMap' removed or renamed?
New: Microsoft.LoadTestService/preview/2023-04-01-preview/loadtestservice.json#L1614:3
Old: Microsoft.LoadTestService/preview/2022-06-01-preview/loadtestservice.json#L1500:3
️⚠️LintDiff: 82 Warnings warning [Detail]
compared tags (via openapi-validator v2.1.6) new version base version
package-2022-11-01 package-2022-11-01(bd17a55) package-2022-11-01(main)
package-2023-04-01-preview package-2023-04-01-preview(bd17a55) default(main)

[must fix]The following errors/warnings are introduced by current PR:

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

Rule Message Related RPC [For API reviewers]
⚠️ SummaryAndDescriptionMustNotBeSame The summary and description values should not be same.
Location: Microsoft.LoadTestService/preview/2023-04-01-preview/loadtestservice.json#L62
⚠️ SummaryAndDescriptionMustNotBeSame The summary and description values should not be same.
Location: Microsoft.LoadTestService/preview/2023-04-01-preview/loadtestservice.json#L126
⚠️ SummaryAndDescriptionMustNotBeSame The summary and description values should not be same.
Location: Microsoft.LoadTestService/preview/2023-04-01-preview/loadtestservice.json#L174
⚠️ SummaryAndDescriptionMustNotBeSame The summary and description values should not be same.
Location: Microsoft.LoadTestService/preview/2023-04-01-preview/loadtestservice.json#L291
⚠️ SummaryAndDescriptionMustNotBeSame The summary and description values should not be same.
Location: Microsoft.LoadTestService/preview/2023-04-01-preview/loadtestservice.json#L341
⚠️ SummaryAndDescriptionMustNotBeSame The summary and description values should not be same.
Location: Microsoft.LoadTestService/preview/2023-04-01-preview/loadtestservice.json#L457
⚠️ PathParameterSchema Path parameter should specify a maximum length (maxLength) and characters allowed (pattern).
Location: Microsoft.LoadTestService/preview/2023-04-01-preview/loadtestservice.json#L478
⚠️ SummaryAndDescriptionMustNotBeSame The summary and description values should not be same.
Location: Microsoft.LoadTestService/preview/2023-04-01-preview/loadtestservice.json#L514
⚠️ PageableOperation Based on the response model schema, operation 'LoadTestRun_ListMetricDimensionValues' might be pageable. Consider adding the x-ms-pageable extension.
Location: Microsoft.LoadTestService/preview/2023-04-01-preview/loadtestservice.json#L571
⚠️ PaginationResponse Operation might be pageable. Consider adding the x-ms-pageable extension.
Location: Microsoft.LoadTestService/preview/2023-04-01-preview/loadtestservice.json#L571
⚠️ SummaryAndDescriptionMustNotBeSame The summary and description values should not be same.
Location: Microsoft.LoadTestService/preview/2023-04-01-preview/loadtestservice.json#L571
⚠️ PathParameterSchema Path parameter should specify a maximum length (maxLength) and characters allowed (pattern).
Location: Microsoft.LoadTestService/preview/2023-04-01-preview/loadtestservice.json#L592
⚠️ SummaryAndDescriptionMustNotBeSame The summary and description values should not be same.
Location: Microsoft.LoadTestService/preview/2023-04-01-preview/loadtestservice.json#L640
⚠️ SummaryAndDescriptionMustNotBeSame The summary and description values should not be same.
Location: Microsoft.LoadTestService/preview/2023-04-01-preview/loadtestservice.json#L690
⚠️ RequestBodyOptional The body parameter is not marked as required.
Location: Microsoft.LoadTestService/preview/2023-04-01-preview/loadtestservice.json#L734
⚠️ SummaryAndDescriptionMustNotBeSame The summary and description values should not be same.
Location: Microsoft.LoadTestService/preview/2023-04-01-preview/loadtestservice.json#L771
⚠️ SummaryAndDescriptionMustNotBeSame The summary and description values should not be same.
Location: Microsoft.LoadTestService/preview/2023-04-01-preview/loadtestservice.json#L819


The following errors/warnings exist before current PR submission:

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

Rule Message
⚠️ PatchInOperationName 'PATCH' operation 'LoadTestRun_CreateOrUpdateTestRun' should use method name 'Update'. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
Location: Microsoft.LoadTestService/preview/2023-04-01-preview/loadtestservice.json#L175
⚠️ PatchInOperationName 'PATCH' operation 'LoadTestRun_CreateOrUpdateAppComponents' should use method name 'Update'. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
Location: Microsoft.LoadTestService/preview/2023-04-01-preview/loadtestservice.json#L390
⚠️ PageableOperation Based on the response model schema, operation 'LoadTestRun_ListMetricDefinitions' might be pageable. Consider adding the x-ms-pageable extension.
Location: Microsoft.LoadTestService/preview/2023-04-01-preview/loadtestservice.json#L514
⚠️ PaginationResponse Operation might be pageable. Consider adding the x-ms-pageable extension.
Location: Microsoft.LoadTestService/preview/2023-04-01-preview/loadtestservice.json#L514
⚠️ PageableOperation Based on the response model schema, operation 'LoadTestRun_ListMetricNamespaces' might be pageable. Consider adding the x-ms-pageable extension.
Location: Microsoft.LoadTestService/preview/2023-04-01-preview/loadtestservice.json#L640
⚠️ PaginationResponse Operation might be pageable. Consider adding the x-ms-pageable extension.
Location: Microsoft.LoadTestService/preview/2023-04-01-preview/loadtestservice.json#L640
⚠️ PatchInOperationName 'PATCH' operation 'LoadTestRun_CreateOrUpdateServerMetricsConfig' should use method name 'Update'. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
Location: Microsoft.LoadTestService/preview/2023-04-01-preview/loadtestservice.json#L820
⚠️ PatchInOperationName 'PATCH' operation 'LoadTestAdministration_CreateOrUpdateTest' should use method name 'Update'. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
Location: Microsoft.LoadTestService/preview/2023-04-01-preview/loadtestservice.json#L994
⚠️ PatchInOperationName 'PATCH' operation 'LoadTestAdministration_CreateOrUpdateAppComponents' should use method name 'Update'. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
Location: Microsoft.LoadTestService/preview/2023-04-01-preview/loadtestservice.json#L1156
⚠️ PutRequestResponseScheme A PUT operation request body schema should be the same as its 200 response schema, to allow reusing the same entity between GET and PUT. If the schema of the PUT request body is a superset of the GET response body, make sure you have a PATCH operation to make the resource updatable. Operation: 'LoadTestAdministration_UploadTestFile' Request Model: 'parameters[4].schema' Response Model: 'responses[201].schema'
Location: Microsoft.LoadTestService/preview/2023-04-01-preview/loadtestservice.json#L1331
⚠️ OperationId OperationId for put method should contain 'Create'
Location: Microsoft.LoadTestService/preview/2023-04-01-preview/loadtestservice.json#L1332
⚠️ PutInOperationName 'PUT' operation 'LoadTestAdministration_UploadTestFile' should use method name 'Create'. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
Location: Microsoft.LoadTestService/preview/2023-04-01-preview/loadtestservice.json#L1332
⚠️ PatchInOperationName 'PATCH' operation 'LoadTestAdministration_CreateOrUpdateServerMetricsConfig' should use method name 'Update'. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
Location: Microsoft.LoadTestService/preview/2023-04-01-preview/loadtestservice.json#L1547
⚠️ EnumInsteadOfBoolean Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum.
Location: Microsoft.LoadTestService/preview/2023-04-01-preview/loadtestservice.json#L2027
⚠️ EnumInsteadOfBoolean Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum.
Location: Microsoft.LoadTestService/preview/2023-04-01-preview/loadtestservice.json#L2032
⚠️ PatchInOperationName 'PATCH' operation 'LoadTestRun_CreateOrUpdateTestRun' should use method name 'Update'. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
Location: Microsoft.LoadTestService/stable/2022-11-01/loadtestservice.json#L175
⚠️ PatchInOperationName 'PATCH' operation 'LoadTestRun_CreateOrUpdateAppComponents' should use method name 'Update'. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
Location: Microsoft.LoadTestService/stable/2022-11-01/loadtestservice.json#L390
️️✔️~[NotRequired_Staging] 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 succeeded [Detail] [Expand]
Validation passes for ModelValidation.
️️✔️SemanticValidation succeeded [Detail] [Expand]
Validation passes for SemanticValidation.
️️✔️~[NotRequired_Staging] 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?

Copy link

Hi @raych1! For review efficiency consideration, when creating a new API version, it is required to place API specs of the base version in the first commit, and push new version updates into successive commits. You can use OpenAPIHub to initialize the PR for adding a new version.
For more details refer to the wiki.

@raych1
Copy link
Author

raych1 commented Dec 26, 2023

/azp run

Copy link

No pipelines are associated with this pull request.

@JackTn
Copy link

JackTn commented Dec 27, 2023

/azp run

Copy link

No pipelines are associated with this pull request.

@JackTn
Copy link

JackTn commented Dec 27, 2023

/azp run

Copy link

No pipelines are associated with this pull request.

@JackTn
Copy link

JackTn commented Dec 27, 2023

/azp run

Copy link

No pipelines are associated with this pull request.

@raych1
Copy link
Author

raych1 commented Jan 5, 2024

/azp run

Copy link

No pipelines are associated with this pull request.

@raych1
Copy link
Author

raych1 commented Jan 8, 2024

/azp run

Copy link

No pipelines are associated with this pull request.

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.

5 participants