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

Add Client Encryption Key management APIs #15229

Closed
wants to merge 1 commit into from

Conversation

anujtoshniwal
Copy link
Contributor

@anujtoshniwal anujtoshniwal commented Jul 16, 2021

Changelog

Please ensure to add changelog with this PR by answering the following questions.

  1. What's the purpose of the update?

Add ClientEncryptionKey management APIs (CosmosDB resource).

  1. When you are targeting to deploy new service/feature to public regions? Please provide date, or month to public if date is not available yet.

The feature is in public preview at the moment. Targeting GA in November.

  1. When you expect to publish swagger? Please provide date, or month to public if date is not available yet.

September, 2021

  1. If it's an update to existing version, please select SDKs of specific language and CLIs that require refresh after swagger is published.
    • SDK of .NET (need service team to ensure code readiness)
    • SDK of Python
    • SDK of Java
    • SDK of Js
    • SDK of Go
    • PowerShell
    • CLI
    • Terraform
    • No, no need to refresh for updates in this PR

Contribution checklist:

If any further question about AME onboarding or validation tools, please view the FAQ.

ARM API Review Checklist

  • Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.

    • Adding new API(s)
    • Adding a new API version
    • Ensure to copy the existing version into new directory structure for first commit (including refactoring) and then push new changes including version updates in separate commits. This is required to review the changes efficiently.
    • Adding a new service
  • Please ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

  • If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist

If there are following updates in the PR, ensure to request an approval from Breaking Change Review Board as defined in the Breaking Change Policy.

  • Removing API(s) in stable version
  • Removing properties in stable version
  • Removing API version(s) in stable version
  • Updating API in stable or public preview version with Breaking Change Validation errors
  • Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.

Please follow the link to find more details on PR review process.

@anujtoshniwal anujtoshniwal added the DoNotMerge <valid label in PR review process> use to hold merge after approval label Jul 16, 2021
@openapi-workflow-bot
Copy link

Hi, @anujtoshniwal 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. vsswagger@microsoft.com

    @openapi-workflow-bot
    Copy link

    [Call for Action] To better understand Azure service dev/test scenario, and support Azure service developer better on Swagger and REST API related tests in early phase, please help to fill in with this survey https://aka.ms/SurveyForEarlyPhase. It will take 5 to 10 minutes. If you already complete survey, please neglect this comment. Thanks.

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Jul 16, 2021

    Swagger Validation Report

    ️❌BreakingChange: 1 Errors, 0 Warnings failed [Detail]
    Rule Message
    Runtime Exception "new":"https://github.com/Azure/azure-rest-api-specs/blob/54772b27f44e6b6c52442e5a4608f5882dfd7807/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2021-04-01-preview/cosmos-db.json",
    "old":"https://github.com/Azure/azure-rest-api-specs/blob/master/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2021-04-01-preview/cosmos-db.json",
    "details":"Command failed: node /home/vsts/work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/@azure/oad@0.8.11/node_modules/autorest/dist/app.js --input-file=specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2021-04-01-preview/cosmos-db.json --output-artifact=swagger-document.json --output-artifact=swagger-document.map --output-file=new --output-folder=/tmp\nERROR: Syntax Error Encountered: \n - file:///home/vsts/work/1/azure-rest-api-specs/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2021-04-01-preview/cosmos-db.json:1:NaN\nERROR: Syntax error: unexpected end of the stream within a flow collection\n - file:///home/vsts/work/1/azure-rest-api-specs/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2021-04-01-preview/cosmos-db.json:9428:0\nFATAL: swagger-document/loader - FAILED\nFATAL: Error: Syntax errors encountered.\n Error: Syntax errors encountered.\n"
    ️❌LintDiff: 4 Errors, 0 Warnings failed [Detail]
    The following errors/warnings are introduced by current PR:
    Rule Message
    AutoRest exception "readme":"cosmos-db/resource-manager/readme.md",
    "tag":"package-2021-04-preview",
    "details":"Syntax Error Encountered:"
    AutoRest exception "readme":"cosmos-db/resource-manager/readme.md",
    "tag":"package-2021-04-preview",
    "details":"Syntax error: unexpected end of the stream within a flow collection"
    AutoRest exception "readme":"cosmos-db/resource-manager/readme.md",
    "tag":"package-2021-04-preview",
    "details":"swagger-document/loader - FAILED"
    AutoRest exception "readme":"cosmos-db/resource-manager/readme.md",
    "tag":"package-2021-04-preview",
    "details":"Error: Syntax errors encountered."
    ️❌Avocado: 1 Errors, 0 Warnings failed [Detail]
    Rule Message
    JSON_PARSE The file is not a valid JSON file.
    json: [Microsoft.DocumentDB/preview/2021-04-01-preview/cosmos-db.json"}]({"kind":"structure","code":"unexpected end of file","position":{"line":1,"column":1},"token":"}","message":"unexpected end of file, token: }, line: 1, column: 1","url":"/home/vsts/work/1/c93b354fd9c14905bb574a8834c4d69b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2021-04-01-preview/cosmos-db.json"})
    ️❌ModelValidation: 1 Errors, 0 Warnings failed [Detail]
    Rule Message
    Reference could not be resolved "role":"Model Validation",
    "url":"https://github.com/Azure/azure-rest-api-specs/blob/54772b27f44e6b6c52442e5a4608f5882dfd7807/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2021-04-01-preview/cosmos-db.json"
    ️❌SemanticValidation: 1 Errors, 0 Warnings failed [Detail]
    Rule Message
    Reference could not be resolved "role":"Semantic Validation",
    "url":"https://github.com/Azure/azure-rest-api-specs/blob/54772b27f44e6b6c52442e5a4608f5882dfd7807/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2021-04-01-preview/cosmos-db.json"
    ️️✔️Cross-Version Breaking Changes succeeded [Detail] [Expand]
    There are no breaking changes.
    ️️✔️CredScan succeeded [Detail] [Expand]
    There is no credential detected.
    ️🔄[Staging] SDK Track2 Validation inProgress [Detail]
    ️❌[Staging] PrettierCheck: 4 Errors, 0 Warnings failed [Detail]
    Rule Message
    HowToFix Code style issues found
    path: Microsoft.DocumentDB/preview/2021-04-01-preview/cosmos-db.json
    HowToFix Code style issues found
    path: preview/2021-04-01-preview/examples/CosmosDBClientEncryptionKeyCreateUpdate.json
    HowToFix Code style issues found
    path: preview/2021-04-01-preview/examples/CosmosDBClientEncryptionKeyGet.json
    HowToFix Code style issues found
    path: preview/2021-04-01-preview/examples/CosmosDBClientEncryptionKeysList.json
    ️❌[Staging] SpellCheck: 2 Errors, 0 Warnings failed [Detail]
    Rule Message
    HowToFix Unknown word (clientencryptionkeys), please fix the error or add words to ./custom-words.txt
    path: Microsoft.DocumentDB/preview/2021-04-01-preview/cosmos-db.json#L1778:163
    HowToFix Unknown word (clientencryptionkeys), please fix the error or add words to ./custom-words.txt
    path: Microsoft.DocumentDB/preview/2021-04-01-preview/cosmos-db.json#L1817:163
    ️️✔️[Staging] Lint(RPaaS) succeeded [Detail] [Expand]
    Validation passes for Lint(RPaaS).
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Jul 16, 2021

    Swagger Generation Artifacts

    ️❌[Staging] ApiDocPreview: 1 Errors, 0 Warnings failed [Detail]
    Rule Message
    RestBuild error "logUrl":"https://apidrop.visualstudio.com/Content%20CI/_build/results?buildId=232104&view=logs&j=fd490c07-0b22-5182-fac9-6d67fe1e939b",
    "detail":"ERROR: Syntax error: unexpected end of the stream within a flow collection"
    ️️✔️[Staging] SDK Breaking Change Tracking succeeded [Detail] [Expand]

    Breaking Changes Tracking

    ️✔️azure-sdk-for-python-track2 - track2_azure-mgmt-cosmosdb - 6.4.0
    ️⚠️ azure-sdk-for-python-track2 warning [Detail]
    • ⚠️Warning [Logs] Generate from f2e767ea16fa52292d46301eacfe4b4972dfc8c8. 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.
      command	sh scripts/automation_generate.sh ../azure-sdk-for-python_tmp/generateInput.json ../azure-sdk-for-python_tmp/generateOutput.json
    • ️✔️track2_azure-mgmt-cosmosdb [View full logs]  [Preview SDK Changes]
      info	[Changelog]
    ️⚠️ azure-sdk-for-java warning [Detail]
    • ⚠️Warning [Logs] Generate from f2e767ea16fa52292d46301eacfe4b4972dfc8c8. SDK Automation 14.0.0
      command	./eng/mgmt/automation/init.sh ../azure-sdk-for-java_tmp/initInput.json ../azure-sdk-for-java_tmp/initOutput.json
      command	./eng/mgmt/automation/generate.py ../azure-sdk-for-java_tmp/generateInput.json ../azure-sdk-for-java_tmp/generateOutput.json
      cmderr	[generate.py] 2021-07-16 10:14:26 INFO [VERSION][Not Found] cannot find version for "com.azure.resourcemanager:azure-resourcemanager-cosmos-generated"
      cmderr	[generate.py] 2021-07-16 10:14:26 INFO [VERSION][Not Found] cannot find stable version, current version "1.0.0-beta.1"
      cmderr	[generate.py] 2021-07-16 10:14:26 INFO autorest --version=3.4.5 --use=@autorest/java@4.0.33 --java.azure-libraries-for-java-folder=/home/vsts/work/1/s/azure-sdk-for-java --java.output-folder=/home/vsts/work/1/s/azure-sdk-for-java/sdk/cosmos/azure-resourcemanager-cosmos-generated --java.namespace=com.azure.resourcemanager.cosmos.generated   --java --pipeline.modelerfour.additional-checks=false --pipeline.modelerfour.lenient-model-deduplication=true --azure-arm --verbose --sdk-integration --fluent=lite --java.fluent=lite --java.license-header=MICROSOFT_MIT_SMALL  ../azure-rest-api-specs/specification/cosmos-db/resource-manager/readme.md
      cmderr	[generate.py] 2021-07-16 10:15:19 INFO [CI][Success] Write to ci.yml
      cmderr	[generate.py] 2021-07-16 10:15:19 INFO [POM][Process] dealing with pom.xml
      cmderr	[generate.py] 2021-07-16 10:15:19 INFO [POM][Success] Write to pom.xml
      cmderr	[generate.py] 2021-07-16 10:15:19 INFO [POM][Process] dealing with root pom
      cmderr	[generate.py] 2021-07-16 10:15:19 INFO [POM][Skip] pom already has module sdk/cosmos
      cmderr	[generate.py] 2021-07-16 10:15:19 INFO [POM][Success] Write to root pom
    • ️✔️azure-resourcemanager-cosmos-generated [View full logs]  [Preview SDK Changes]
      cmderr	[Inst] 2021-07-16 10:18:25 DEBUG Got artifact_id: azure-resourcemanager-cosmos-generated
      cmderr	[Inst] 2021-07-16 10:18:25 DEBUG Got artifact: pom.xml
      cmderr	[Inst] 2021-07-16 10:18:25 DEBUG Got artifact: azure-resourcemanager-cosmos-generated-1.0.0-beta.1-javadoc.jar
      cmderr	[Inst] 2021-07-16 10:18:25 DEBUG Got artifact: azure-resourcemanager-cosmos-generated-1.0.0-beta.1-sources.jar
      cmderr	[Inst] 2021-07-16 10:18:25 DEBUG Got artifact: azure-resourcemanager-cosmos-generated-1.0.0-beta.1.jar
      cmderr	[Inst] 2021-07-16 10:18:25 DEBUG Match jar package: azure-resourcemanager-cosmos-generated-1.0.0-beta.1.jar
      cmderr	[Inst] 2021-07-16 10:18:25 DEBUG output: {"full": "```sh\ncurl -L \"https://portal.azure-devex-tools.com/api/sdk-dl-pub?p=Azure/15229/azure-sdk-for-java/azure-resourcemanager-cosmos-generated/azure-resourcemanager-cosmos-generated-1.0.0-beta.1.jar\" -o azure-resourcemanager-cosmos-generated-1.0.0-beta.1.jar\nmvn install:install-file -DgroupId=com.azure.resourcemanager -DartifactId=azure-resourcemanager-cosmos-generated -Dversion=1.0.0-beta.0 -Dfile=azure-resourcemanager-cosmos-generated-1.0.0-beta.1.jar -Dpackaging=jar -DgeneratePom=true
      ```"}
    ️❌ azure-sdk-for-go failed [Detail]
    • Failed [Logs] Generate from f2e767ea16fa52292d46301eacfe4b4972dfc8c8. SDK Automation 14.0.0
      command	sh ./initScript.sh ../../../../../azure-sdk-for-go_tmp/initInput.json ../../../../../azure-sdk-for-go_tmp/initOutput.json
      command	generator automation ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
      cmderr	[generator automation] [AUTOREST] ERROR: Syntax Error Encountered:
      cmderr	[generator automation] [AUTOREST]     - file:///home/vsts/work/1/s/azure-rest-api-specs/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2021-04-01-preview/cosmos-db.json:1:NaN
      cmderr	[generator automation] [AUTOREST] ERROR: Syntax error: unexpected end of the stream within a flow collection
      cmderr	[generator automation] [AUTOREST]     - file:///home/vsts/work/1/s/azure-rest-api-specs/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2021-04-01-preview/cosmos-db.json:9428:0
      cmderr	[generator automation] [AUTOREST] FATAL: swagger-document/loader - FAILED
      cmderr	[generator automation] [AUTOREST] FATAL: Error: Syntax errors encountered.
      cmderr	[generator automation] [AUTOREST] (node:9046) UnhandledPromiseRejectionWarning: Error: Syntax errors encountered.
      cmderr	[generator automation] [AUTOREST]     at Object.MergeYamls (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/source-map/merging.js:260:15)
      cmderr	[generator automation] [AUTOREST]     at ParseInternal (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/parsing/literate-yaml.js:32:28)
      cmderr	[generator automation] [AUTOREST]     at processTicksAndRejections (internal/process/task_queues.js:95:5)
      cmderr	[generator automation] [AUTOREST]     at async Object.Parse (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/parsing/literate-yaml.js:21:21)
      cmderr	[generator automation] [AUTOREST]     at async LoadLiterateSwagger (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/swagger-loader.js:245:18)
      cmderr	[generator automation] [AUTOREST]     at async Object.LoadLiterateSwaggers (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/swagger-loader.js:262:29)
      cmderr	[generator automation] [AUTOREST]     at async /home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/pipeline.js:33:26
      cmderr	[generator automation] [AUTOREST]     at async ScheduleNode (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/pipeline.js:322:33)
      cmderr	[generator automation] [AUTOREST] (Use `node --trace-warnings ...` to show where the warning was created)
      cmderr	[generator automation] [AUTOREST] (node:9046) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 9)
      cmderr	[generator automation] [AUTOREST] (node:9046) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
      cmderr	[generator automation] [AUTOREST] (node:9046) UnhandledPromiseRejectionWarning: Error: Syntax errors encountered.
      cmderr	[generator automation] [AUTOREST]     at Object.MergeYamls (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/source-map/merging.js:260:15)
      cmderr	[generator automation] [AUTOREST]     at ParseInternal (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/parsing/literate-yaml.js:32:28)
      cmderr	[generator automation] [AUTOREST]     at processTicksAndRejections (internal/process/task_queues.js:95:5)
      cmderr	[generator automation] [AUTOREST]     at async Object.Parse (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/parsing/literate-yaml.js:21:21)
      cmderr	[generator automation] [AUTOREST]     at async LoadLiterateSwagger (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/swagger-loader.js:245:18)
      cmderr	[generator automation] [AUTOREST]     at async Object.LoadLiterateSwaggers (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/swagger-loader.js:262:29)
      cmderr	[generator automation] [AUTOREST]     at async /home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/pipeline.js:33:26
      cmderr	[generator automation] [AUTOREST]     at async ScheduleNode (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/pipeline.js:322:33)
      cmderr	[generator automation] [AUTOREST] (node:9046) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 10)
      cmderr	[generator automation] [AUTOREST] (node:9046) UnhandledPromiseRejectionWarning: Error: Syntax errors encountered.
      cmderr	[generator automation] [AUTOREST]     at Object.MergeYamls (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/source-map/merging.js:260:15)
      cmderr	[generator automation] [AUTOREST]     at ParseInternal (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/parsing/literate-yaml.js:32:28)
      cmderr	[generator automation] [AUTOREST]     at processTicksAndRejections (internal/process/task_queues.js:95:5)
      cmderr	[generator automation] [AUTOREST]     at async Object.Parse (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/parsing/literate-yaml.js:21:21)
      cmderr	[generator automation] [AUTOREST]     at async LoadLiterateSwagger (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/swagger-loader.js:245:18)
      cmderr	[generator automation] [AUTOREST]     at async Object.LoadLiterateSwaggers (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/swagger-loader.js:262:29)
      cmderr	[generator automation] [AUTOREST]     at async /home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/pipeline.js:33:26
      cmderr	[generator automation] [AUTOREST]     at async ScheduleNode (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/pipeline.js:322:33)
      cmderr	[generator automation] [AUTOREST] (node:9046) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 11)
      cmderr	[generator automation] [AUTOREST] (node:9046) UnhandledPromiseRejectionWarning: Error: Syntax errors encountered.
      cmderr	[generator automation] [AUTOREST]     at Object.MergeYamls (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/source-map/merging.js:260:15)
      cmderr	[generator automation] [AUTOREST]     at ParseInternal (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/parsing/literate-yaml.js:32:28)
      cmderr	[generator automation] [AUTOREST]     at processTicksAndRejections (internal/process/task_queues.js:95:5)
      cmderr	[generator automation] [AUTOREST]     at async Object.Parse (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/parsing/literate-yaml.js:21:21)
      cmderr	[generator automation] [AUTOREST]     at async LoadLiterateSwagger (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/swagger-loader.js:245:18)
      cmderr	[generator automation] [AUTOREST]     at async Object.LoadLiterateSwaggers (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/swagger-loader.js:262:29)
      cmderr	[generator automation] [AUTOREST]     at async /home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/pipeline.js:33:26
      cmderr	[generator automation] [AUTOREST]     at async ScheduleNode (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/pipeline.js:322:33)
      cmderr	[generator automation] [AUTOREST] (node:9046) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 12)
      cmderr	[generator automation] [AUTOREST] (node:9046) UnhandledPromiseRejectionWarning: Error: Syntax errors encountered.
      cmderr	[generator automation] [AUTOREST]     at Object.MergeYamls (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/source-map/merging.js:260:15)
      cmderr	[generator automation] [AUTOREST]     at ParseInternal (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/parsing/literate-yaml.js:32:28)
      cmderr	[generator automation] [AUTOREST]     at processTicksAndRejections (internal/process/task_queues.js:95:5)
      cmderr	[generator automation] [AUTOREST]     at async Object.Parse (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/parsing/literate-yaml.js:21:21)
      cmderr	[generator automation] [AUTOREST]     at async LoadLiterateSwagger (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/swagger-loader.js:245:18)
      cmderr	[generator automation] [AUTOREST]     at async Object.LoadLiterateSwaggers (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/swagger-loader.js:262:29)
      cmderr	[generator automation] [AUTOREST]     at async /home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/pipeline.js:33:26
      cmderr	[generator automation] [AUTOREST]     at async ScheduleNode (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/pipeline.js:322:33)
      cmderr	[generator automation] [AUTOREST] (node:9046) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 13)
      cmderr	[generator automation] [AUTOREST] (node:9046) UnhandledPromiseRejectionWarning: Error: Syntax errors encountered.
      cmderr	[generator automation] [AUTOREST]     at Object.MergeYamls (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/source-map/merging.js:260:15)
      cmderr	[generator automation] [AUTOREST]     at ParseInternal (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/parsing/literate-yaml.js:32:28)
      cmderr	[generator automation] [AUTOREST]     at processTicksAndRejections (internal/process/task_queues.js:95:5)
      cmderr	[generator automation] [AUTOREST]     at async Object.Parse (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/parsing/literate-yaml.js:21:21)
      cmderr	[generator automation] [AUTOREST]     at async LoadLiterateSwagger (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/swagger-loader.js:245:18)
      cmderr	[generator automation] [AUTOREST]     at async Object.LoadLiterateSwaggers (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/swagger-loader.js:262:29)
      cmderr	[generator automation] [AUTOREST]     at async /home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/pipeline.js:33:26
      cmderr	[generator automation] [AUTOREST]     at async ScheduleNode (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/pipeline.js:322:33)
      cmderr	[generator automation] [AUTOREST] (node:9046) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 14)
      cmderr	[generator automation] [AUTOREST] (node:9046) UnhandledPromiseRejectionWarning: Error: Syntax errors encountered.
      cmderr	[generator automation] [AUTOREST]     at Object.MergeYamls (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/source-map/merging.js:260:15)
      cmderr	[generator automation] [AUTOREST]     at ParseInternal (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/parsing/literate-yaml.js:32:28)
      cmderr	[generator automation] [AUTOREST]     at processTicksAndRejections (internal/process/task_queues.js:95:5)
      cmderr	[generator automation] [AUTOREST]     at async Object.Parse (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/parsing/literate-yaml.js:21:21)
      cmderr	[generator automation] [AUTOREST]     at async LoadLiterateSwagger (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/swagger-loader.js:245:18)
      cmderr	[generator automation] [AUTOREST]     at async Object.LoadLiterateSwaggers (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/swagger-loader.js:262:29)
      cmderr	[generator automation] [AUTOREST]     at async /home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/pipeline.js:33:26
      cmderr	[generator automation] [AUTOREST]     at async ScheduleNode (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/pipeline.js:322:33)
      cmderr	[generator automation] [AUTOREST] (node:9046) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 15)
      cmderr	[generator automation] [AUTOREST] (node:9046) UnhandledPromiseRejectionWarning: Error: Syntax errors encountered.
      cmderr	[generator automation] [AUTOREST]     at Object.MergeYamls (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/source-map/merging.js:260:15)
      cmderr	[generator automation] [AUTOREST]     at ParseInternal (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/parsing/literate-yaml.js:32:28)
      cmderr	[generator automation] [AUTOREST]     at processTicksAndRejections (internal/process/task_queues.js:95:5)
      cmderr	[generator automation] [AUTOREST]     at async Object.Parse (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/parsing/literate-yaml.js:21:21)
      cmderr	[generator automation] [AUTOREST]     at async LoadLiterateSwagger (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/swagger-loader.js:245:18)
      cmderr	[generator automation] [AUTOREST]     at async Object.LoadLiterateSwaggers (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/swagger-loader.js:262:29)
      cmderr	[generator automation] [AUTOREST]     at async /home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/pipeline.js:33:26
      cmderr	[generator automation] [AUTOREST]     at async ScheduleNode (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/pipeline.js:322:33)
      cmderr	[generator automation] [AUTOREST] (node:9046) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 16)
      cmderr	[generator automation] [AUTOREST] (node:9046) UnhandledPromiseRejectionWarning: Error: Syntax errors encountered.
      cmderr	[generator automation] [AUTOREST]     at Object.MergeYamls (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/source-map/merging.js:260:15)
      cmderr	[generator automation] [AUTOREST]     at ParseInternal (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/parsing/literate-yaml.js:32:28)
      cmderr	[generator automation] [AUTOREST]     at processTicksAndRejections (internal/process/task_queues.js:95:5)
      cmderr	[generator automation] [AUTOREST]     at async Object.Parse (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/parsing/literate-yaml.js:21:21)
      cmderr	[generator automation] [AUTOREST]     at async LoadLiterateSwagger (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/swagger-loader.js:245:18)
      cmderr	[generator automation] [AUTOREST]     at async Object.LoadLiterateSwaggers (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/swagger-loader.js:262:29)
      cmderr	[generator automation] [AUTOREST]     at async /home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/pipeline.js:33:26
      cmderr	[generator automation] [AUTOREST]     at async ScheduleNode (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/pipeline.js:322:33)
      cmderr	[generator automation] [AUTOREST] (node:9046) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 17)
      cmderr	[generator automation] [AUTOREST] (node:9046) UnhandledPromiseRejectionWarning: Error: Syntax errors encountered.
      cmderr	[generator automation] [AUTOREST]     at Object.MergeYamls (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/source-map/merging.js:260:15)
      cmderr	[generator automation] [AUTOREST]     at ParseInternal (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/parsing/literate-yaml.js:32:28)
      cmderr	[generator automation] [AUTOREST]     at processTicksAndRejections (internal/process/task_queues.js:95:5)
      cmderr	[generator automation] [AUTOREST]     at async Object.Parse (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/parsing/literate-yaml.js:21:21)
      cmderr	[generator automation] [AUTOREST]     at async LoadLiterateSwagger (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/swagger-loader.js:245:18)
      cmderr	[generator automation] [AUTOREST]     at async Object.LoadLiterateSwaggers (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/swagger-loader.js:262:29)
      cmderr	[generator automation] [AUTOREST]     at async /home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/pipeline.js:33:26
      cmderr	[generator automation] [AUTOREST]     at async ScheduleNode (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/pipeline.js:322:33)
      cmderr	[generator automation] [AUTOREST] (node:9046) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 18)
      cmderr	[generator automation] [AUTOREST] (node:9046) UnhandledPromiseRejectionWarning: Error: Syntax errors encountered.
      cmderr	[generator automation] [AUTOREST]     at Object.MergeYamls (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/source-map/merging.js:260:15)
      cmderr	[generator automation] [AUTOREST]     at ParseInternal (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/parsing/literate-yaml.js:32:28)
      cmderr	[generator automation] [AUTOREST]     at processTicksAndRejections (internal/process/task_queues.js:95:5)
      cmderr	[generator automation] [AUTOREST]     at async Object.Parse (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/parsing/literate-yaml.js:21:21)
      cmderr	[generator automation] [AUTOREST]     at async LoadLiterateSwagger (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/swagger-loader.js:245:18)
      cmderr	[generator automation] [AUTOREST]     at async Object.LoadLiterateSwaggers (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/swagger-loader.js:262:29)
      cmderr	[generator automation] [AUTOREST]     at async /home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/pipeline.js:33:26
      cmderr	[generator automation] [AUTOREST]     at async ScheduleNode (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/pipeline.js:322:33)
      cmderr	[generator automation] [AUTOREST] (node:9046) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 19)
      cmderr	[generator automation] [AUTOREST] (node:9046) UnhandledPromiseRejectionWarning: Error: Syntax errors encountered.
      cmderr	[generator automation] [AUTOREST]     at Object.MergeYamls (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/source-map/merging.js:260:15)
      cmderr	[generator automation] [AUTOREST]     at ParseInternal (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/parsing/literate-yaml.js:32:28)
      cmderr	[generator automation] [AUTOREST]     at processTicksAndRejections (internal/process/task_queues.js:95:5)
      cmderr	[generator automation] [AUTOREST]     at async Object.Parse (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/parsing/literate-yaml.js:21:21)
      cmderr	[generator automation] [AUTOREST]     at async LoadLiterateSwagger (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/swagger-loader.js:245:18)
      cmderr	[generator automation] [AUTOREST]     at async Object.LoadLiterateSwaggers (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/swagger-loader.js:262:29)
      cmderr	[generator automation] [AUTOREST]     at async /home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/pipeline.js:33:26
      cmderr	[generator automation] [AUTOREST]     at async ScheduleNode (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/pipeline.js:322:33)
      cmderr	[generator automation] [AUTOREST] (node:9046) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 20)
      cmderr	[generator automation] [AUTOREST] (node:9046) UnhandledPromiseRejectionWarning: Error: Syntax errors encountered.
      cmderr	[generator automation] [AUTOREST]     at Object.MergeYamls (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/source-map/merging.js:260:15)
      cmderr	[generator automation] [AUTOREST]     at ParseInternal (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/parsing/literate-yaml.js:32:28)
      cmderr	[generator automation] [AUTOREST]     at processTicksAndRejections (internal/process/task_queues.js:95:5)
      cmderr	[generator automation] [AUTOREST]     at async Object.Parse (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/parsing/literate-yaml.js:21:21)
      cmderr	[generator automation] [AUTOREST]     at async LoadLiterateSwagger (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/swagger-loader.js:245:18)
      cmderr	[generator automation] [AUTOREST]     at async Object.LoadLiterateSwaggers (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/swagger-loader.js:262:29)
      cmderr	[generator automation] [AUTOREST]     at async /home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/pipeline.js:33:26
      cmderr	[generator automation] [AUTOREST]     at async ScheduleNode (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/pipeline.js:322:33)
      cmderr	[generator automation] [AUTOREST] (node:9046) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 21)
      cmderr	[generator automation] [AUTOREST] (node:9046) UnhandledPromiseRejectionWarning: Error: Syntax errors encountered.
      cmderr	[generator automation] [AUTOREST]     at Object.MergeYamls (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/source-map/merging.js:260:15)
      cmderr	[generator automation] [AUTOREST]     at ParseInternal (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/parsing/literate-yaml.js:32:28)
      cmderr	[generator automation] [AUTOREST]     at processTicksAndRejections (internal/process/task_queues.js:95:5)
      cmderr	[generator automation] [AUTOREST]     at async Object.Parse (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/parsing/literate-yaml.js:21:21)
      cmderr	[generator automation] [AUTOREST]     at async LoadLiterateSwagger (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/swagger-loader.js:245:18)
      cmderr	[generator automation] [AUTOREST]     at async Object.LoadLiterateSwaggers (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/swagger-loader.js:262:29)
      cmderr	[generator automation] [AUTOREST]     at async /home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/pipeline.js:33:26
      cmderr	[generator automation] [AUTOREST]     at async ScheduleNode (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/pipeline.js:322:33)
      cmderr	[generator automation] [AUTOREST] (node:9046) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 22)
      cmderr	[generator automation] [AUTOREST] (node:9046) UnhandledPromiseRejectionWarning: Error: Syntax errors encountered.
      cmderr	[generator automation] [AUTOREST]     at Object.MergeYamls (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/source-map/merging.js:260:15)
      cmderr	[generator automation] [AUTOREST]     at ParseInternal (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/parsing/literate-yaml.js:32:28)
      cmderr	[generator automation] [AUTOREST]     at processTicksAndRejections (internal/process/task_queues.js:95:5)
      cmderr	[generator automation] [AUTOREST]     at async Object.Parse (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/parsing/literate-yaml.js:21:21)
      cmderr	[generator automation] [AUTOREST]     at async LoadLiterateSwagger (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/swagger-loader.js:245:18)
      cmderr	[generator automation] [AUTOREST]     at async Object.LoadLiterateSwaggers (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/swagger-loader.js:262:29)
      cmderr	[generator automation] [AUTOREST]     at async /home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/pipeline.js:33:26
      cmderr	[generator automation] [AUTOREST]     at async ScheduleNode (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/pipeline.js:322:33)
      cmderr	[generator automation] [AUTOREST] (node:9046) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 23)
      cmderr	[generator automation] [AUTOREST] (node:9046) UnhandledPromiseRejectionWarning: Error: Syntax errors encountered.
      cmderr	[generator automation] [AUTOREST]     at Object.MergeYamls (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/source-map/merging.js:260:15)
      cmderr	[generator automation] [AUTOREST]     at ParseInternal (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/parsing/literate-yaml.js:32:28)
      cmderr	[generator automation] [AUTOREST]     at processTicksAndRejections (internal/process/task_queues.js:95:5)
      cmderr	[generator automation] [AUTOREST]     at async Object.Parse (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/parsing/literate-yaml.js:21:21)
      cmderr	[generator automation] [AUTOREST]     at async LoadLiterateSwagger (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/swagger-loader.js:245:18)
      cmderr	[generator automation] [AUTOREST]     at async Object.LoadLiterateSwaggers (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/swagger-loader.js:262:29)
      cmderr	[generator automation] [AUTOREST]     at async /home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/pipeline.js:33:26
      cmderr	[generator automation] [AUTOREST]     at async ScheduleNode (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/pipeline.js:322:33)
      cmderr	[generator automation] [AUTOREST] (node:9046) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 24)
      cmderr	[generator automation] [AUTOREST] (node:9046) UnhandledPromiseRejectionWarning: Error: Syntax errors encountered.
      cmderr	[generator automation] [AUTOREST]     at Object.MergeYamls (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/source-map/merging.js:260:15)
      cmderr	[generator automation] [AUTOREST]     at ParseInternal (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/parsing/literate-yaml.js:32:28)
      cmderr	[generator automation] [AUTOREST]     at processTicksAndRejections (internal/process/task_queues.js:95:5)
      cmderr	[generator automation] [AUTOREST]     at async Object.Parse (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/parsing/literate-yaml.js:21:21)
      cmderr	[generator automation] [AUTOREST]     at async LoadLiterateSwagger (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/swagger-loader.js:245:18)
      cmderr	[generator automation] [AUTOREST]     at async Object.LoadLiterateSwaggers (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/swagger-loader.js:262:29)
      cmderr	[generator automation] [AUTOREST]     at async /home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/pipeline.js:33:26
      cmderr	[generator automation] [AUTOREST]     at async ScheduleNode (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/pipeline.js:322:33)
      cmderr	[generator automation] [AUTOREST] (node:9046) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 25)
      cmderr	[generator automation] [AUTOREST] (node:9046) UnhandledPromiseRejectionWarning: Error: Syntax errors encountered.
      cmderr	[generator automation] [AUTOREST]     at Object.MergeYamls (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/source-map/merging.js:260:15)
      cmderr	[generator automation] [AUTOREST]     at ParseInternal (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/parsing/literate-yaml.js:32:28)
      cmderr	[generator automation] [AUTOREST]     at processTicksAndRejections (internal/process/task_queues.js:95:5)
      cmderr	[generator automation] [AUTOREST]     at async Object.Parse (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/parsing/literate-yaml.js:21:21)
      cmderr	[generator automation] [AUTOREST]     at async LoadLiterateSwagger (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/swagger-loader.js:245:18)
      cmderr	[generator automation] [AUTOREST]     at async Object.LoadLiterateSwaggers (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/swagger-loader.js:262:29)
      cmderr	[generator automation] [AUTOREST]     at async /home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/pipeline.js:33:26
      cmderr	[generator automation] [AUTOREST]     at async ScheduleNode (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/pipeline.js:322:33)
      cmderr	[generator automation] [AUTOREST] (node:9046) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 26)
      cmderr	[generator automation] [AUTOREST] (node:9046) UnhandledPromiseRejectionWarning: Error: Syntax errors encountered.
      cmderr	[generator automation] [AUTOREST]     at Object.MergeYamls (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/source-map/merging.js:260:15)
      cmderr	[generator automation] [AUTOREST]     at ParseInternal (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/parsing/literate-yaml.js:32:28)
      cmderr	[generator automation] [AUTOREST]     at processTicksAndRejections (internal/process/task_queues.js:95:5)
      cmderr	[generator automation] [AUTOREST]     at async Object.Parse (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/parsing/literate-yaml.js:21:21)
      cmderr	[generator automation] [AUTOREST]     at async LoadLiterateSwagger (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/swagger-loader.js:245:18)
      cmderr	[generator automation] [AUTOREST]     at async Object.LoadLiterateSwaggers (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/swagger-loader.js:262:29)
      cmderr	[generator automation] [AUTOREST]     at async /home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/pipeline.js:33:26
      cmderr	[generator automation] [AUTOREST]     at async ScheduleNode (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/pipeline.js:322:33)
      cmderr	[generator automation] [AUTOREST] (node:9046) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 27)
      cmderr	[generator automation] [AUTOREST] (node:9046) UnhandledPromiseRejectionWarning: Error: Syntax errors encountered.
      cmderr	[generator automation] [AUTOREST]     at Object.MergeYamls (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/source-map/merging.js:260:15)
      cmderr	[generator automation] [AUTOREST]     at ParseInternal (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/parsing/literate-yaml.js:32:28)
      cmderr	[generator automation] [AUTOREST]     at processTicksAndRejections (internal/process/task_queues.js:95:5)
      cmderr	[generator automation] [AUTOREST]     at async Object.Parse (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/parsing/literate-yaml.js:21:21)
      cmderr	[generator automation] [AUTOREST]     at async LoadLiterateSwagger (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/swagger-loader.js:245:18)
      cmderr	[generator automation] [AUTOREST]     at async Object.LoadLiterateSwaggers (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/swagger-loader.js:262:29)
      cmderr	[generator automation] [AUTOREST]     at async /home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/pipeline.js:33:26
      cmderr	[generator automation] [AUTOREST]     at async ScheduleNode (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/pipeline.js:322:33)
      cmderr	[generator automation] [AUTOREST] (node:9046) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 28)
      cmderr	[generator automation] [AUTOREST] (node:9046) UnhandledPromiseRejectionWarning: Error: Syntax errors encountered.
      cmderr	[generator automation] [AUTOREST]     at Object.MergeYamls (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/source-map/merging.js:260:15)
      cmderr	[generator automation] [AUTOREST]     at ParseInternal (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/parsing/literate-yaml.js:32:28)
      cmderr	[generator automation] [AUTOREST]     at processTicksAndRejections (internal/process/task_queues.js:95:5)
      cmderr	[generator automation] [AUTOREST]     at async Object.Parse (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/parsing/literate-yaml.js:21:21)
      cmderr	[generator automation] [AUTOREST]     at async LoadLiterateSwagger (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/swagger-loader.js:245:18)
      cmderr	[generator automation] [AUTOREST]     at async Object.LoadLiterateSwaggers (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/swagger-loader.js:262:29)
      cmderr	[generator automation] [AUTOREST]     at async /home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/pipeline.js:33:26
      cmderr	[generator automation] [AUTOREST]     at async ScheduleNode (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/pipeline/pipeline.js:322:33)
      cmderr	[generator automation] [AUTOREST] (node:9046) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 29)
      cmderr	[generator automation] [AUTOREST]   Error: Syntax errors encountered.
      cmderr	[generator automation] [ERROR] total 1 error(s):
      cmderr	[generator automation] [ERROR] failed to execute autorest: autorest error with arguments '--use=@microsoft.azure/autorest.go@2.1.183, --go, --verbose, --go-sdk-folder=., --use-onever, --version=V2, --go.license-header=MICROSOFT_MIT_NO_VERSION, --enum-prefix, --tag=package-2021-04-preview, --metadata-output-folder=/home/vsts/work/1/s/azure-sdk-for-go_tmp/generation-metadata-1626430481/package-2021-04-preview, ../../../../../azure-rest-api-specs/specification/cosmos-db/resource-manager/readme.md':
      cmderr	[generator automation] [ERROR] exit status 1
      error	Script return with result [failed] code [1] signal [null] cwd [azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go]: generator automation
      warn	Skip package processing as generation is failed
    ️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs] Generate from f2e767ea16fa52292d46301eacfe4b4972dfc8c8. SDK Automation 14.0.0
      warn	Skip initScript due to not configured
      command	autorest --version=V2 --typescript --license-header=MICROSOFT_MIT_NO_VERSION --use=@microsoft.azure/autorest.typescript@4.7.0 --typescript-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-js/azure-sdk-for-js ../../azure-rest-api-specs/specification/cosmos-db/resource-manager/readme.md
    • ️✔️@azure/arm-cosmosdb [View full logs]  [Preview SDK Changes]
      cmderr	[npmPack] loaded rollup.config.js with warnings
      cmderr	[npmPack] (!) Unused external imports
      cmderr	[npmPack] default imported from external module 'rollup' but never used
      cmderr	[npmPack] ./esm/cosmosDBManagementClient.js → ./dist/arm-cosmosdb.js...
      cmderr	[npmPack] created ./dist/arm-cosmosdb.js in 956ms
    ️❌ azure-resource-manager-schemas failed [Detail]
    • Failed [Logs] Generate from f2e767ea16fa52292d46301eacfe4b4972dfc8c8. 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] WARN 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
      command	.sdkauto/generateScript.sh ../azure-resource-manager-schemas_tmp/generateInput.json ../azure-resource-manager-schemas_tmp/generateOutput.json
    • cosmos-db/resource-manager [View full logs]  [Preview Schema Changes]
    Posted by Swagger Pipeline | How to fix these errors?

    @JackTn
    Copy link
    Member

    JackTn commented Jun 16, 2022

    Hi, @anujtoshniwal. The PR has be closed for a long time and it's related branch still exist. Please tell me if you still need this branch or i will delete it in 14 days.

    @JackTn JackTn deleted the users/antoshni/addCEKManagementApis branch July 5, 2022 01:24
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    DoNotMerge <valid label in PR review process> use to hold merge after approval
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    2 participants