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

Addendum | Access Reviews reviewer and stats APIs #10445

Merged
merged 2 commits into from
Dec 11, 2020

Conversation

shubhamguptacal
Copy link
Contributor

@shubhamguptacal shubhamguptacal commented Aug 12, 2020

Overview

Note : There is an existing PR already for the first commit of the changes here: #10010. It's already been approved and it's waiting on a deployment. The changes in this PR are an addendum to the existing PR. For the purposes of this PR, please only review the second commit titled "Access Reviews Schema addendum | Expose reviewer and statistics APIs"

The following is an overview of the end to end flow for access reviews scenario.
image

Changes

So far, we've exposed admin APIs which allow administrators to create review definitions and manage them. Now, we're exposing APIs that a reviewer can call to get all of the access review instances assigned to them. This is exposed as an unauthorized tenant-level API. This tenant-level API lists out all the access review instances assigned to the calling user. The results returned are scoped down to the records where the calling user is an approver. Additionally, the reviewer can drill-down into the decisions for an instance and then record a decision by updating the access review decision record.

There are some additional changes to allow reviewers that are specified dynamically(such as managers) and some statistics APIs are exposed.

Routes

The existing set of routes are as follows:
Management APIs
/subscriptions/{subscriptionId}/Microsoft.Authorization/accessReviewScheduleDefinitions
/subscriptions/{subscriptionId}/Microsoft.Authorization/accessReviewScheduleDefinitions/{id}/instances
/subscriptions/{subscriptionId}/Microsoft.Authorization/accessReviewScheduleDefinitions/{id}/instances/{id}/decisions

The new set of APIs exposed are:

Reviewer APIs(Tenant scope and Unauthorized)
/Microsoft.Authorization/accessReviewScheduleDefinitions?$expand=instances&$filter=assignedToMeForReview() and (instances/any(instance: instance/status eq ‘InProgress’)
/Microsoft.Authorization/accessReviewScheduleDefinitions/{id}/instances?$filter=assignedToMeForReview() and status eq ‘InProgress’
/Microsoft.Authorization/accessReviewScheduleDefinitions/{id}/instances/{id}/decisions?$filter=assignedToMeForReview()
/Microsoft.Authorization/accessReviewInstancesAssignedForMyApproval/{id}/decisionStatistics/assignedToMeForReview
/Microsoft.Authorization/accessReviewInstancesAssignedForMyApproval/{id}/acceptRecommendations (POST)

Management API :
/subscriptions/{subscriptionId}/Microsoft.Authorization/accessReviewScheduleDefinitions/{id}/instances/{id}/decisionStatistics/default

@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented Aug 12, 2020

Swagger Validation Report

️️✔️BreakingChange succeeded [Detail] [Expand]
There are no breaking changes.
️⚠️LintDiff: 35 Warnings warning [Detail] Only 10 items are listed, please refer to log for more details.

Rule Message
⚠️ R1006 - PutInOperationName 'PUT' operation 'AccessReviewDefaultSettings_Put' 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.
New: Microsoft.Authorization/preview/2018-05-01-preview/authorization-AccessReviewCalls.json#L655
⚠️ R1007 - PatchInOperationName 'PATCH' operation 'AccessReviewInstanceMyDecisions_Patch' 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.
New: Microsoft.Authorization/preview/2018-05-01-preview/authorization-AccessReviewCalls.json#L972
⚠️ R2017 - 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: 'AccessReviewDefaultSettings_Put' Request Model: 'AccessReviewScheduleSettings' Response Model: 'AccessReviewDefaultSettings'
New: Microsoft.Authorization/preview/2018-05-01-preview/authorization-AccessReviewCalls.json#L651
⚠️ R2017 - 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: 'AccessReviewScheduleDefinitions_CreateOrUpdateById' Request Model: 'AccessReviewScheduleDefinitionProperties' Response Model: 'AccessReviewScheduleDefinition'
New: Microsoft.Authorization/preview/2018-05-01-preview/authorization-AccessReviewCalls.json#L188
⚠️ R2063 - OperationIdNounConflictingModelNames OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'AccessReviewDefaultSettingsModel'. Consider using the plural form of 'AccessReviewDefaultSettings' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
New: Microsoft.Authorization/preview/2018-05-01-preview/authorization-AccessReviewCalls.json#L655
⚠️ R2063 - OperationIdNounConflictingModelNames OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'AccessReviewInstanceModel'. Consider using the plural form of 'AccessReviewInstance' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
New: Microsoft.Authorization/preview/2018-05-01-preview/authorization-AccessReviewCalls.json#L380
⚠️ R2063 - OperationIdNounConflictingModelNames OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'AccessReviewInstanceModel'. Consider using the plural form of 'AccessReviewInstance' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
New: Microsoft.Authorization/preview/2018-05-01-preview/authorization-AccessReviewCalls.json#L826
⚠️ R2063 - OperationIdNounConflictingModelNames OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'AccessReviewInstanceModel'. Consider using the plural form of 'AccessReviewInstance' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
New: Microsoft.Authorization/preview/2018-05-01-preview/authorization-AccessReviewCalls.json#L427
⚠️ R2063 - OperationIdNounConflictingModelNames OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'AccessReviewDefaultSettingsModel'. Consider using the plural form of 'AccessReviewDefaultSettings' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
New: Microsoft.Authorization/preview/2018-05-01-preview/authorization-AccessReviewCalls.json#L621
⚠️ R2063 - OperationIdNounConflictingModelNames OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'AccessReviewInstanceModel'. Consider using the plural form of 'AccessReviewInstance' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
New: Microsoft.Authorization/preview/2018-05-01-preview/authorization-AccessReviewCalls.json#L474
️⚠️Avocado: 1 Warnings warning [Detail]
Rule Message
⚠️ MULTIPLE_API_VERSION The default tag contains multiple API versions swaggers.
readme: specification/authorization/resource-manager/readme.md
tag: specification/authorization/resource-manager/readme.md#tag-package-2020-04-preview
️️✔️ModelValidation succeeded [Detail] [Expand]
Validation passes for ModelValidation.
️️✔️SemanticValidation succeeded [Detail] [Expand]
Validation passes for SemanticValidation.
️️✔️[Staging] Cross Version BreakingChange (Base on preview version) succeeded [Detail] [Expand]
There are no breaking changes.
️️✔️[Staging] Cross Version BreakingChange (Base on stable version) succeeded [Detail] [Expand]
There are no breaking changes.
Posted by Swagger Pipeline | How to fix these errors?

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Aug 12, 2020

Azure CLI Extension Generation

No readme.md specification configuration files were found that are associated with the files modified in this pull request, or swagger_to_sdk section in readme.md is not configured

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Aug 12, 2020

azure-sdk-for-net

failed [Logs] [Expand Details]
  • Generate from 3dbb520 with merge commit 582a7a9bbabcd4b01c5b2127ceff7d149fae96c4. SDK Automation 13.0.17.20200828.8
    [AutoRest] realpath(): Permission denied
    [AutoRest] realpath(): Permission denied
    [AutoRest] realpath(): Permission denied
    [AutoRest] realpath(): Permission denied
    [AutoRest] realpath(): Permission denied
    [AutoRest] realpath(): Permission denied
  • Microsoft.Azure.Management.Authorization [View full logs]  [Preview SDK Changes]
      Failed to create the package Microsoft.Azure.Management.Authorization.
      Error: dotnet msbuild build.proj /t:CreateNugetPackage /p:Scope=authorization /v:n /p:SkipTests=true , {} 

    @openapi-sdkautomation
    Copy link

    openapi-sdkautomation bot commented Aug 12, 2020

    azure-sdk-for-python

    ️✔️ succeeded [Logs] [Expand Details]
    • ️✔️ Generate from 3dbb520 with merge commit 582a7a9bbabcd4b01c5b2127ceff7d149fae96c4. SDK Automation 13.0.17.20200828.8
    • ️✔️azure-mgmt-authorization [View full logs]  [Preview SDK Changes]
      [build_conf] INFO:packaging_tools:Building template azure-mgmt-authorization
      [build_conf] INFO:packaging_tools.conf:Skipping default conf since the file exists
      [build_conf] INFO:packaging_tools:Skipping CHANGELOG.md template, since a previous one was found
      [build_conf] INFO:packaging_tools:Template done azure-mgmt-authorization
      [after_scripts|python] INFO:__main__:Default API version will be: v2018_09_01_preview
      [build_package] /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
      [build_package]   warnings.warn(msg)
      [build_package] /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
      [build_package]   warnings.warn(msg)
      [breaking_change_setup] Ignoring mock: markers 'python_version <= "2.7"' don't match your environment
      [ChangeLog] Size of delta 63.716% size of original (original: 45122 chars, delta: 28750 chars)
      [ChangeLog] **Features**
      [ChangeLog] 
      [ChangeLog]   - Added operation group AccessReviewScheduleDefinitionsAssignedForMyApprovalOperations
      [ChangeLog]   - Added operation group AccessReviewInstancesOperations
      [ChangeLog]   - Added operation group AccessReviewScheduleDefinitionsOperations
      [ChangeLog]   - Added operation group AccessReviewInstanceMyDecisionsOperations
      [ChangeLog]   - Added operation group AccessReviewDefaultSettingsOperations
      [ChangeLog]   - Added operation group Operations
      [ChangeLog]   - Added operation group AccessReviewInstanceOperations
      [ChangeLog]   - Added operation group AccessReviewInstancesAssignedForMyApprovalOperations
      [ChangeLog]   - Added operation group AccessReviewInstanceDecisionsOperations

    @openapi-sdkautomation
    Copy link

    openapi-sdkautomation bot commented Aug 12, 2020

    azure-sdk-for-java

    ️✔️ succeeded [Logs] [Expand Details]

    @openapi-sdkautomation
    Copy link

    openapi-sdkautomation bot commented Aug 12, 2020

    azure-sdk-for-python

    ️✔️ succeeded [Logs] [Expand Details]
    • ️✔️ Generate from 1b97f33 with merge commit 00ae61c9f845b2dd8f963f13a1fd49b553706d7e. SDK Automation 13.0.17.20200807.2
    • ️✔️azure-mgmt-authorization [View full logs]  [Preview SDK Changes]
      [build_conf] INFO:packaging_tools:Building template azure-mgmt-authorization
      [build_conf] INFO:packaging_tools.conf:Skipping default conf since the file exists
      [build_conf] INFO:packaging_tools:Skipping CHANGELOG.md template, since a previous one was found
      [build_conf] INFO:packaging_tools:Template done azure-mgmt-authorization
      [after_scripts|python] INFO:__main__:Default API version will be: v2018_09_01_preview
      [build_package] /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
      [build_package]   warnings.warn(msg)
      [build_package] /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
      [build_package]   warnings.warn(msg)
      [breaking_change_setup] Ignoring mock: markers 'python_version <= "2.7"' don't match your environment
      [ChangeLog] Size of delta 64.649% size of original (original: 44635 chars, delta: 28856 chars)
      [ChangeLog] **Features**
      [ChangeLog] 
      [ChangeLog]   - Added operation group Operations
      [ChangeLog]   - Added operation group AccessReviewInstanceOperations
      [ChangeLog]   - Added operation group AccessReviewInstancesAssignedForMyApprovalOperations
      [ChangeLog]   - Added operation group AccessReviewDefaultSettingsOperations
      [ChangeLog]   - Added operation group AccessReviewScheduleDefinitionsOperations
      [ChangeLog]   - Added operation group AccessReviewInstancesOperations
      [ChangeLog]   - Added operation group AccessReviewInstanceMyDecisionsOperations
      [ChangeLog]   - Added operation group AccessReviewInstanceDecisionsOperations

    @openapi-sdkautomation
    Copy link

    openapi-sdkautomation bot commented Aug 12, 2020

    azure-sdk-for-js

    ️✔️ succeeded [Logs] [Expand Details]
    • ️✔️ Generate from 3dbb520 with merge commit 582a7a9bbabcd4b01c5b2127ceff7d149fae96c4. SDK Automation 13.0.17.20200828.8
    • ️✔️@azure/arm-authorization [View full logs]  [Preview SDK Changes]
      [npmPack] npm WARN deprecated rollup-plugin-node-resolve@5.2.0: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-node-resolve.
      [npmPack] npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
      [npmPack] npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
      [npmPack] npm notice created a lockfile as package-lock.json. You should commit this file.
      [npmPack] loaded rollup.config.js with warnings
      [npmPack] (!) Unused external imports
      [npmPack] default imported from external module 'rollup' but never used
      [npmPack] 
      [npmPack] ./esm/authorizationManagementClient.js → ./dist/arm-authorization.js...
      [npmPack] created ./dist/arm-authorization.js in 167ms
      [npmPack] npm notice 
      [npmPack] npm notice package: @azure/arm-authorization@8.3.3
      [npmPack] npm notice === Tarball Contents === 
      [npmPack] npm notice 31.8kB dist/arm-authorization.js                        
      [npmPack] npm notice 11.0kB dist/arm-authorization.min.js                    
      [npmPack] npm notice 1.6kB  esm/authorizationManagementClient.js             
      [npmPack] npm notice 2.6kB  esm/authorizationManagementClientContext.js      
      [npmPack] npm notice 345B   esm/models/index.js                              
      [npmPack] npm notice 386B   esm/operations/index.js                          
      [npmPack] npm notice 5.5kB  esm/models/mappers.js                            
      [npmPack] npm notice 3.2kB  esm/models/parameters.js                         
      [npmPack] npm notice 13.0kB esm/operations/roleAssignments.js                
      [npmPack] npm notice 484B   esm/models/roleAssignmentsMappers.js             
      [npmPack] npm notice 1.0kB  rollup.config.js                                 
      [npmPack] npm notice 1.7kB  package.json                                     
      [npmPack] npm notice 457B   tsconfig.json                                    
      [npmPack] npm notice 84.4kB dist/arm-authorization.js.map                    
      [npmPack] npm notice 11.1kB dist/arm-authorization.min.js.map                
      [npmPack] npm notice 632B   esm/authorizationManagementClient.d.ts.map       
      [npmPack] npm notice 694B   esm/authorizationManagementClient.js.map         
      [npmPack] npm notice 524B   esm/authorizationManagementClientContext.d.ts.map
      [npmPack] npm notice 1.4kB  esm/authorizationManagementClientContext.js.map  
      [npmPack] npm notice 4.6kB  esm/models/index.d.ts.map                        
      [npmPack] npm notice 139B   esm/operations/index.d.ts.map                    
      [npmPack] npm notice 126B   esm/models/index.js.map                          
      [npmPack] npm notice 154B   esm/operations/index.js.map                      
      [npmPack] npm notice 415B   esm/models/mappers.d.ts.map                      
      [npmPack] npm notice 3.0kB  esm/models/mappers.js.map                        
      [npmPack] npm notice 780B   esm/models/parameters.d.ts.map                   
      [npmPack] npm notice 2.4kB  esm/models/parameters.js.map                     
      [npmPack] npm notice 6.2kB  esm/operations/roleAssignments.d.ts.map          
      [npmPack] npm notice 8.3kB  esm/operations/roleAssignments.js.map            
      [npmPack] npm notice 225B   esm/models/roleAssignmentsMappers.d.ts.map       
      [npmPack] npm notice 238B   esm/models/roleAssignmentsMappers.js.map         
      [npmPack] npm notice 4.1kB  README.md                                        
      [npmPack] npm notice 1.1kB  esm/authorizationManagementClient.d.ts           
      [npmPack] npm notice 1.5kB  src/authorizationManagementClient.ts             
      [npmPack] npm notice 834B   esm/authorizationManagementClientContext.d.ts    
      [npmPack] npm notice 2.3kB  src/authorizationManagementClientContext.ts      
      [npmPack] npm notice 12.4kB esm/models/index.d.ts                            
      [npmPack] npm notice 70B    esm/operations/index.d.ts                        
      [npmPack] npm notice 12.0kB src/models/index.ts                              
      [npmPack] npm notice 354B   src/operations/index.ts                          
      [npmPack] npm notice 474B   esm/models/mappers.d.ts                          
      [npmPack] npm notice 4.4kB  src/models/mappers.ts                            
      [npmPack] npm notice 944B   esm/models/parameters.d.ts                       
      [npmPack] npm notice 3.2kB  src/models/parameters.ts                         
      [npmPack] npm notice 17.3kB esm/operations/roleAssignments.d.ts              
      [npmPack] npm notice 31.2kB src/operations/roleAssignments.ts                
      [npmPack] npm notice 174B   esm/models/roleAssignmentsMappers.d.ts           
      [npmPack] npm notice 443B   src/models/roleAssignmentsMappers.ts             
      [npmPack] npm notice 1.1kB  LICENSE.txt                                      
      [npmPack] npm notice === Tarball Details === 
      [npmPack] npm notice name:          @azure/arm-authorization                
      [npmPack] npm notice version:       8.3.3                                   
      [npmPack] npm notice filename:      azure-arm-authorization-8.3.3.tgz       
      [npmPack] npm notice package size:  36.2 kB                                 
      [npmPack] npm notice unpacked size: 292.6 kB                                
      [npmPack] npm notice shasum:        ed516458842f6ff53f5b65b56251875d219dfa73
      [npmPack] npm notice integrity:     sha512-kiV26obbimojv[...]wWrCQscFMRfNA==
      [npmPack] npm notice total files:   49                                      
      [npmPack] npm notice 

    @openapi-sdkautomation
    Copy link

    openapi-sdkautomation bot commented Aug 12, 2020

    Trenton Generation

    No readme.md specification configuration files were found that are associated with the files modified in this pull request, or swagger_to_sdk section in readme.md is not configured

    @openapi-sdkautomation
    Copy link

    openapi-sdkautomation bot commented Aug 12, 2020

    azure-sdk-for-go

    ⚠️ warning [Logs] [Expand Details]

    @azuresdkci
    Copy link
    Contributor

    Can one of the admins verify this patch?

    @shubhamguptacal shubhamguptacal force-pushed the accessreviews_reviewer_stats branch from 1b97f33 to 702cc25 Compare August 12, 2020 23:57
    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @shubhamguptacal shubhamguptacal force-pushed the accessreviews_reviewer_stats branch from 702cc25 to 28891ab Compare August 13, 2020 00:32
    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @openapi-sdkautomation
    Copy link

    openapi-sdkautomation bot commented Aug 13, 2020

    azure-sdk-for-python-track2

    No readme.md specification configuration files were found that are associated with the files modified in this pull request, or swagger_to_sdk section in readme.md is not configured

    @shubhamguptacal shubhamguptacal force-pushed the accessreviews_reviewer_stats branch from 28891ab to 0868c78 Compare August 13, 2020 00:36
    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @shubhamguptacal shubhamguptacal force-pushed the accessreviews_reviewer_stats branch from 0868c78 to c7cc159 Compare August 13, 2020 00:38
    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @shubhamguptacal
    Copy link
    Contributor Author

    The LintDiff validation is failing because of a requirement to support list by resource group. This is something that we don't support - we only support access reviews at the subscription level.

    @qianwens
    Copy link
    Member

    qianwens commented Aug 18, 2020

    The LintDiff validation is failing because of a requirement to support list by resource group. This is something that we don't support - we only support access reviews at the subscription level.

    Please help suppress the lint error and solve the conflict to get it ready to merge. https://dev.azure.com/azure-sdk/internal/_wiki/wikis/internal.wiki/85/Swagger-Suppression-Process

    @shubhamguptacal shubhamguptacal force-pushed the accessreviews_reviewer_stats branch from c7cc159 to 141ec8b Compare August 31, 2020 19:05
    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @openapi-sdkautomation
    Copy link

    openapi-sdkautomation bot commented Aug 31, 2020

    azure-resource-manager-schemas

    ️✔️ succeeded [Logs] [Expand Details]
    • ️✔️ Generate from 3dbb520 with merge commit 582a7a9bbabcd4b01c5b2127ceff7d149fae96c4. Schema Automation 13.0.17.20200828.8
      [AutoRest] WARNING: Skipping path '/{roleId}': Unable to locate '/providers/' segment
      [AutoRest] WARNING: Skipping path '/{roleAssignmentId}': Unable to locate '/providers/' segment
      [AutoRest] WARNING: Skipping path '/{roleAssignmentId}': Unable to locate '/providers/' segment
      [AutoRest] WARNING: Skipping path '/{roleId}': Unable to locate '/providers/' segment
      [AutoRest] WARNING: Skipping path '/{roleId}': Unable to locate '/providers/' segment
      [AutoRest] WARNING: Found duplicate definition for variable-named type Microsoft.Authorization/roleAssignments. Skipping definition with path '/{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}'.
      [AutoRest] WARNING: Found duplicate definition for variable-named type Microsoft.Authorization/roleAssignments. Skipping definition with path '/{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}'.
      [AutoRest] WARNING: Found duplicate definition for variable-named type Microsoft.Authorization/roleAssignments. Skipping definition with path '/{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}'.
      [AutoRest] WARNING: Found duplicate definition for variable-named type Microsoft.Authorization/roleAssignments. Skipping definition with path '/{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}'.
      [AutoRest] WARNING: Found duplicate definition for variable-named type Microsoft.Authorization/roleAssignments. Using definition with path '/{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}'.
      [AutoRest] WARNING: Found duplicate definition for variable-named type Microsoft.Authorization/roleDefinitions. Skipping definition with path '/{scope}/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId}'.
      [AutoRest] WARNING: Found duplicate definition for variable-named type Microsoft.Authorization/roleDefinitions. Using definition with path '/{scope}/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId}'.
    • ️✔️authorization [View full logs]  [Preview Schema Changes]
        [after_scripts|node] PostProcessor finished successfully.
        [after_scripts|node]   5645 passing (1m)
        AzureResourceSchema has no registered package commands.

      @shubhamguptacal shubhamguptacal force-pushed the accessreviews_reviewer_stats branch from 3dbb520 to 58c712d Compare December 10, 2020 18:51
      @openapi-pipeline-app
      Copy link

      openapi-pipeline-app bot commented Dec 10, 2020

      Swagger Generation Artifacts

      ️❌ azure-sdk-for-net failed [Detail]
      • Failed [Logs]Release - Generate from 9a8793d. SDK Automation 14.0.0
        warn	Skip initScript due to not configured
        command	sudo apt-get install -y dotnet-sdk-5.0
        command	autorest --version=V2 --csharp --reflect-api-versions --license-header=MICROSOFT_MIT_NO_VERSION --use=@microsoft.azure/autorest.csharp@2.3.82 --csharp-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-net/sdk ../azure-rest-api-specs/specification/authorization/resource-manager/readme.md
        cmderr	[Autorest] realpath(): Permission denied
        cmderr	[Autorest] realpath(): Permission denied
        cmderr	[Autorest] realpath(): Permission denied
        cmderr	[Autorest] realpath(): Permission denied
        cmderr	[Autorest] realpath(): Permission denied
        cmderr	[Autorest] realpath(): Permission denied
      • Microsoft.Azure.Management.Authorization [View full logs]  [Release SDK Changes]
        cmdout	[msbuild] /home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Tests/TestFixtureData.cs(165,40): error CS1579: foreach statement cannot operate on variables of type 'object' because 'object' does not contain a public instance or extension definition for 'GetEnumerator' [/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Microsoft.Azure.Management.Authorization.Tests.csproj]
        cmdout	[msbuild] /home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Tests/BasicTests.cs(122,60): error CS1061: 'object' does not contain a definition for 'FirstOrDefault' and no accessible extension method 'FirstOrDefault' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Microsoft.Azure.Management.Authorization.Tests.csproj]
        cmdout	[msbuild]      3>/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Tests/BasicTests.cs(162,56): error CS1061: 'object' does not contain a definition for 'FirstOrDefault' and no accessible extension method 'FirstOrDefault' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Microsoft.Azure.Management.Authorization.Tests.csproj]
        cmdout	[msbuild]      3>/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Tests/BasicTests.cs(199,60): error CS1061: 'object' does not contain a definition for 'Id' and no accessible extension method 'Id' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Microsoft.Azure.Management.Authorization.Tests.csproj]
        cmdout	[msbuild]      3>/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Tests/BasicTests.cs(202,60): error CS1061: 'object' does not contain a definition for 'FirstOrDefault' and no accessible extension method 'FirstOrDefault' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Microsoft.Azure.Management.Authorization.Tests.csproj]
        cmdout	[msbuild]      3>/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Tests/BasicTests.cs(243,44): error CS1579: foreach statement cannot operate on variables of type 'object' because 'object' does not contain a public instance or extension definition for 'GetEnumerator' [/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Microsoft.Azure.Management.Authorization.Tests.csproj]
        cmdout	[msbuild]      3>/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Tests/BasicTests.cs(295,69): error CS1061: 'object' does not contain a definition for 'Id' and no accessible extension method 'Id' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Microsoft.Azure.Management.Authorization.Tests.csproj]
        cmdout	[msbuild]      3>/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Tests/BasicTests.cs(298,60): error CS1061: 'object' does not contain a definition for 'FirstOrDefault' and no accessible extension method 'FirstOrDefault' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Microsoft.Azure.Management.Authorization.Tests.csproj]
        cmdout	[msbuild]      3>/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Tests/BasicTests.cs(322,44): error CS1579: foreach statement cannot operate on variables of type 'object' because 'object' does not contain a public instance or extension definition for 'GetEnumerator' [/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Microsoft.Azure.Management.Authorization.Tests.csproj]
        cmdout	[msbuild]      3>/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Tests/BasicTests.cs(366,48): error CS1061: 'object' does not contain a definition for 'Count' and no accessible extension method 'Count' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Microsoft.Azure.Management.Authorization.Tests.csproj]
        cmdout	[msbuild]      3>/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Tests/BasicTests.cs(367,64): error CS1061: 'object' does not contain a definition for 'ElementAt' and no accessible extension method 'ElementAt' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Microsoft.Azure.Management.Authorization.Tests.csproj]
        cmdout	[msbuild]      3>/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Tests/BasicTests.cs(394,48): error CS1061: 'object' does not contain a definition for 'Count' and no accessible extension method 'Count' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Microsoft.Azure.Management.Authorization.Tests.csproj]
        cmdout	[msbuild]      3>/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Tests/BasicTests.cs(395,49): error CS1061: 'object' does not contain a definition for 'ElementAt' and no accessible extension method 'ElementAt' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Microsoft.Azure.Management.Authorization.Tests.csproj]
        cmdout	[msbuild]      3>/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Tests/BasicTests.cs(451,44): error CS0266: Cannot implicitly convert type 'object' to 'Microsoft.Azure.Management.Authorization.Models.RoleAssignment'. An explicit conversion exists (are you missing a cast?) [/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Microsoft.Azure.Management.Authorization.Tests.csproj]
        cmdout	[msbuild]      3>/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Tests/BasicTests.cs(474,46): error CS1061: 'object' does not contain a definition for 'NextPageLink' and no accessible extension method 'NextPageLink' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Microsoft.Azure.Management.Authorization.Tests.csproj]
        cmdout	[msbuild]      3>/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Tests/BasicTests.cs(477,78): error CS1061: 'object' does not contain a definition for 'NextPageLink' and no accessible extension method 'NextPageLink' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Microsoft.Azure.Management.Authorization.Tests.csproj]
        cmdout	[msbuild]      3>/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Tests/BasicTests.cs(522,44): error CS1579: foreach statement cannot operate on variables of type 'object' because 'object' does not contain a public instance or extension definition for 'GetEnumerator' [/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Microsoft.Azure.Management.Authorization.Tests.csproj]
        cmdout	[msbuild]      3>/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Tests/BasicTests.cs(583,48): error CS1061: 'object' does not contain a definition for 'Count' and no accessible extension method 'Count' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Microsoft.Azure.Management.Authorization.Tests.csproj]
        cmdout	[msbuild]      3>/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Tests/BasicTests.cs(585,44): error CS1579: foreach statement cannot operate on variables of type 'object' because 'object' does not contain a public instance or extension definition for 'GetEnumerator' [/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Microsoft.Azure.Management.Authorization.Tests.csproj]
        cmdout	[msbuild]      3>/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Tests/BasicTests.cs(600,48): error CS1061: 'object' does not contain a definition for 'Count' and no accessible extension method 'Count' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Microsoft.Azure.Management.Authorization.Tests.csproj]
        cmdout	[msbuild]      3>/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Tests/BasicTests.cs(602,44): error CS1579: foreach statement cannot operate on variables of type 'object' because 'object' does not contain a public instance or extension definition for 'GetEnumerator' [/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Microsoft.Azure.Management.Authorization.Tests.csproj]
        cmdout	[msbuild]      3>/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Tests/BasicTests.cs(613,48): error CS1061: 'object' does not contain a definition for 'Count' and no accessible extension method 'Count' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Microsoft.Azure.Management.Authorization.Tests.csproj]
        cmdout	[msbuild]      3>/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Tests/BasicTests.cs(671,60): error CS1061: 'object' does not contain a definition for 'FirstOrDefault' and no accessible extension method 'FirstOrDefault' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Microsoft.Azure.Management.Authorization.Tests.csproj]
        cmdout	[msbuild]      3>/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Tests/BasicTests.cs(732,60): error CS1061: 'object' does not contain a definition for 'FirstOrDefault' and no accessible extension method 'FirstOrDefault' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Microsoft.Azure.Management.Authorization.Tests.csproj]
        cmdout	[msbuild]      3>/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Tests/BasicTests.cs(853,24): error CS0411: The type arguments for method 'Assert.All<T>(IEnumerable<T>, Action<T>)' cannot be inferred from the usage. Try specifying the type arguments explicitly. [/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Microsoft.Azure.Management.Authorization.Tests.csproj]
        cmdout	[msbuild]      3>/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Tests/BasicTests.cs(855,44): error CS1579: foreach statement cannot operate on variables of type 'object' because 'object' does not contain a public instance or extension definition for 'GetEnumerator' [/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Microsoft.Azure.Management.Authorization.Tests.csproj]
        cmdout	[msbuild]      3>/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Tests/BasicTests.cs(888,24): error CS0411: The type arguments for method 'Assert.All<T>(IEnumerable<T>, Action<T>)' cannot be inferred from the usage. Try specifying the type arguments explicitly. [/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Microsoft.Azure.Management.Authorization.Tests.csproj]
        cmdout	[msbuild]      3>/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Tests/BasicTests.cs(890,44): error CS1579: foreach statement cannot operate on variables of type 'object' because 'object' does not contain a public instance or extension definition for 'GetEnumerator' [/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Microsoft.Azure.Management.Authorization.Tests.csproj]
        cmdout	[msbuild]          /home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Tests/TestFixtureData.cs(165,40): error CS1579: foreach statement cannot operate on variables of type 'object' because 'object' does not contain a public instance or extension definition for 'GetEnumerator' [/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Microsoft.Azure.Management.Authorization.Tests.csproj]
        cmdout	[msbuild]          /home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Tests/BasicTests.cs(122,60): error CS1061: 'object' does not contain a definition for 'FirstOrDefault' and no accessible extension method 'FirstOrDefault' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Microsoft.Azure.Management.Authorization.Tests.csproj]
        cmdout	[msbuild]          /home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Tests/BasicTests.cs(162,56): error CS1061: 'object' does not contain a definition for 'FirstOrDefault' and no accessible extension method 'FirstOrDefault' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Microsoft.Azure.Management.Authorization.Tests.csproj]
        cmdout	[msbuild]          /home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Tests/BasicTests.cs(199,60): error CS1061: 'object' does not contain a definition for 'Id' and no accessible extension method 'Id' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Microsoft.Azure.Management.Authorization.Tests.csproj]
        cmdout	[msbuild]          /home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Tests/BasicTests.cs(202,60): error CS1061: 'object' does not contain a definition for 'FirstOrDefault' and no accessible extension method 'FirstOrDefault' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Microsoft.Azure.Management.Authorization.Tests.csproj]
        cmdout	[msbuild]          /home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Tests/BasicTests.cs(243,44): error CS1579: foreach statement cannot operate on variables of type 'object' because 'object' does not contain a public instance or extension definition for 'GetEnumerator' [/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Microsoft.Azure.Management.Authorization.Tests.csproj]
        cmdout	[msbuild]          /home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Tests/BasicTests.cs(295,69): error CS1061: 'object' does not contain a definition for 'Id' and no accessible extension method 'Id' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Microsoft.Azure.Management.Authorization.Tests.csproj]
        cmdout	[msbuild]          /home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Tests/BasicTests.cs(298,60): error CS1061: 'object' does not contain a definition for 'FirstOrDefault' and no accessible extension method 'FirstOrDefault' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Microsoft.Azure.Management.Authorization.Tests.csproj]
        cmdout	[msbuild]          /home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Tests/BasicTests.cs(322,44): error CS1579: foreach statement cannot operate on variables of type 'object' because 'object' does not contain a public instance or extension definition for 'GetEnumerator' [/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Microsoft.Azure.Management.Authorization.Tests.csproj]
        cmdout	[msbuild]          /home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Tests/BasicTests.cs(366,48): error CS1061: 'object' does not contain a definition for 'Count' and no accessible extension method 'Count' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Microsoft.Azure.Management.Authorization.Tests.csproj]
        cmdout	[msbuild]          /home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Tests/BasicTests.cs(367,64): error CS1061: 'object' does not contain a definition for 'ElementAt' and no accessible extension method 'ElementAt' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Microsoft.Azure.Management.Authorization.Tests.csproj]
        cmdout	[msbuild]          /home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Tests/BasicTests.cs(394,48): error CS1061: 'object' does not contain a definition for 'Count' and no accessible extension method 'Count' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Microsoft.Azure.Management.Authorization.Tests.csproj]
        cmdout	[msbuild]          /home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Tests/BasicTests.cs(395,49): error CS1061: 'object' does not contain a definition for 'ElementAt' and no accessible extension method 'ElementAt' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Microsoft.Azure.Management.Authorization.Tests.csproj]
        cmdout	[msbuild]          /home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Tests/BasicTests.cs(451,44): error CS0266: Cannot implicitly convert type 'object' to 'Microsoft.Azure.Management.Authorization.Models.RoleAssignment'. An explicit conversion exists (are you missing a cast?) [/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Microsoft.Azure.Management.Authorization.Tests.csproj]
        cmdout	[msbuild]          /home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Tests/BasicTests.cs(474,46): error CS1061: 'object' does not contain a definition for 'NextPageLink' and no accessible extension method 'NextPageLink' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Microsoft.Azure.Management.Authorization.Tests.csproj]
        cmdout	[msbuild]          /home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Tests/BasicTests.cs(477,78): error CS1061: 'object' does not contain a definition for 'NextPageLink' and no accessible extension method 'NextPageLink' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Microsoft.Azure.Management.Authorization.Tests.csproj]
        cmdout	[msbuild]          /home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Tests/BasicTests.cs(522,44): error CS1579: foreach statement cannot operate on variables of type 'object' because 'object' does not contain a public instance or extension definition for 'GetEnumerator' [/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Microsoft.Azure.Management.Authorization.Tests.csproj]
        cmdout	[msbuild]          /home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Tests/BasicTests.cs(583,48): error CS1061: 'object' does not contain a definition for 'Count' and no accessible extension method 'Count' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Microsoft.Azure.Management.Authorization.Tests.csproj]
        cmdout	[msbuild]          /home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Tests/BasicTests.cs(585,44): error CS1579: foreach statement cannot operate on variables of type 'object' because 'object' does not contain a public instance or extension definition for 'GetEnumerator' [/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Microsoft.Azure.Management.Authorization.Tests.csproj]
        cmdout	[msbuild]          /home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Tests/BasicTests.cs(600,48): error CS1061: 'object' does not contain a definition for 'Count' and no accessible extension method 'Count' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Microsoft.Azure.Management.Authorization.Tests.csproj]
        cmdout	[msbuild]          /home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Tests/BasicTests.cs(602,44): error CS1579: foreach statement cannot operate on variables of type 'object' because 'object' does not contain a public instance or extension definition for 'GetEnumerator' [/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Microsoft.Azure.Management.Authorization.Tests.csproj]
        cmdout	[msbuild]          /home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Tests/BasicTests.cs(613,48): error CS1061: 'object' does not contain a definition for 'Count' and no accessible extension method 'Count' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Microsoft.Azure.Management.Authorization.Tests.csproj]
        cmdout	[msbuild]          /home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Tests/BasicTests.cs(671,60): error CS1061: 'object' does not contain a definition for 'FirstOrDefault' and no accessible extension method 'FirstOrDefault' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Microsoft.Azure.Management.Authorization.Tests.csproj]
        cmdout	[msbuild]          /home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Tests/BasicTests.cs(732,60): error CS1061: 'object' does not contain a definition for 'FirstOrDefault' and no accessible extension method 'FirstOrDefault' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Microsoft.Azure.Management.Authorization.Tests.csproj]
        cmdout	[msbuild]          /home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Tests/BasicTests.cs(853,24): error CS0411: The type arguments for method 'Assert.All<T>(IEnumerable<T>, Action<T>)' cannot be inferred from the usage. Try specifying the type arguments explicitly. [/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Microsoft.Azure.Management.Authorization.Tests.csproj]
        cmdout	[msbuild]          /home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Tests/BasicTests.cs(855,44): error CS1579: foreach statement cannot operate on variables of type 'object' because 'object' does not contain a public instance or extension definition for 'GetEnumerator' [/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Microsoft.Azure.Management.Authorization.Tests.csproj]
        cmdout	[msbuild]          /home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Tests/BasicTests.cs(888,24): error CS0411: The type arguments for method 'Assert.All<T>(IEnumerable<T>, Action<T>)' cannot be inferred from the usage. Try specifying the type arguments explicitly. [/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Microsoft.Azure.Management.Authorization.Tests.csproj]
        cmdout	[msbuild]          /home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Tests/BasicTests.cs(890,44): error CS1579: foreach statement cannot operate on variables of type 'object' because 'object' does not contain a public instance or extension definition for 'GetEnumerator' [/home/vsts/work/1/s/azure-sdk-for-net/sdk/authorization/Microsoft.Azure.Management.Authorization/tests/Microsoft.Azure.Management.Authorization.Tests.csproj]
        error	Script return with result [failed] code [1] signal [null] cwd [azure-sdk-for-net]: dotnet
      ️️✔️ azure-sdk-for-python succeeded [Detail] [Expand]
      • ️✔️Succeeded [Logs]Release - Generate from 9a8793d. SDK Automation 14.0.0
        warn	Skip initScript due to not configured
        command	npx n 12
        command	python3 -m venv venv
        command	pip install --upgrade setuptools wheel pip
        command	pip install pathlib jinja2 msrestazure
        command	autorest --version=V2 --use=@microsoft.azure/autorest.python@~4.0.71 --python --python-mode=update --multiapi --keep-version-file --no-async --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk ../azure-rest-api-specs/specification/authorization/resource-manager/readme.md
      • ️✔️azure-mgmt-authorization [View full logs]  [Release SDK Changes]
        cmderr	[multiapi_init_gen.py azure-mgmt-authorization --default-api-version=2018-09-01-preview] INFO:__main__:Default API version will be: v2018_09_01_preview
        cmderr	[buildConf] INFO:packaging_tools:Building template azure-mgmt-authorization
        cmderr	[buildConf] INFO:packaging_tools.conf:Skipping default conf since the file exists
        cmderr	[buildConf] INFO:packaging_tools:Skipping CHANGELOG.md template, since a previous one was found
        cmderr	[buildConf] INFO:packaging_tools:Template done azure-mgmt-authorization
        cmderr	[changelogSetup] WARNING: Skipping azure-nspkg as it is not installed.
        cmderr	[changelogReport] INFO:__main__:Looking for Autorest generated package in azure.mgmt.authorization
        cmderr	[changelogReport] INFO:__main__:Looking for Autorest generated package in azure.mgmt.authorization.v2015_06_01
        cmderr	[changelogReport] INFO:__main__:Found azure.mgmt.authorization.v2015_06_01
        cmderr	[changelogReport] INFO:__main__:Looking for Autorest generated package in azure.mgmt.authorization.v2015_07_01
        cmderr	[changelogReport] INFO:__main__:Found azure.mgmt.authorization.v2015_07_01
        cmderr	[changelogReport] INFO:__main__:Looking for Autorest generated package in azure.mgmt.authorization.v2018_01_01_preview
        cmderr	[changelogReport] INFO:__main__:Found azure.mgmt.authorization.v2018_01_01_preview
        cmderr	[changelogReport] INFO:__main__:Looking for Autorest generated package in azure.mgmt.authorization.v2018_05_01_preview
        cmderr	[changelogReport] INFO:__main__:Found azure.mgmt.authorization.v2018_05_01_preview
        cmderr	[changelogReport] INFO:__main__:Looking for Autorest generated package in azure.mgmt.authorization.v2018_07_01_preview
        cmderr	[changelogReport] INFO:__main__:Found azure.mgmt.authorization.v2018_07_01_preview
        cmderr	[changelogReport] INFO:__main__:Looking for Autorest generated package in azure.mgmt.authorization.v2018_09_01_preview
        cmderr	[changelogReport] INFO:__main__:Found azure.mgmt.authorization.v2018_09_01_preview
        cmderr	[changelogReport] INFO:__main__:Looking for Autorest generated package in azure.mgmt.authorization.v2020_04_01_preview
        cmderr	[changelogReport] INFO:__main__:Found azure.mgmt.authorization.v2020_04_01_preview
        cmderr	[changelogReport] INFO:__main__:Working on azure.mgmt.authorization.v2015_06_01
        cmderr	[changelogReport] INFO:__main__:Report written to sdk/authorization/azure-mgmt-authorization/code_reports/latest/v2015_06_01.json
        cmderr	[changelogReport] INFO:__main__:Working on azure.mgmt.authorization.v2015_07_01
        cmderr	[changelogReport] INFO:__main__:Report written to sdk/authorization/azure-mgmt-authorization/code_reports/latest/v2015_07_01.json
        cmderr	[changelogReport] INFO:__main__:Working on azure.mgmt.authorization.v2018_01_01_preview
        cmderr	[changelogReport] INFO:__main__:Report written to sdk/authorization/azure-mgmt-authorization/code_reports/latest/v2018_01_01_preview.json
        cmderr	[changelogReport] INFO:__main__:Working on azure.mgmt.authorization.v2018_05_01_preview
        cmderr	[changelogReport] INFO:__main__:Report written to sdk/authorization/azure-mgmt-authorization/code_reports/latest/v2018_05_01_preview.json
        cmderr	[changelogReport] INFO:__main__:Working on azure.mgmt.authorization.v2018_07_01_preview
        cmderr	[changelogReport] INFO:__main__:Report written to sdk/authorization/azure-mgmt-authorization/code_reports/latest/v2018_07_01_preview.json
        cmderr	[changelogReport] INFO:__main__:Working on azure.mgmt.authorization.v2018_09_01_preview
        cmderr	[changelogReport] INFO:__main__:Report written to sdk/authorization/azure-mgmt-authorization/code_reports/latest/v2018_09_01_preview.json
        cmderr	[changelogReport] INFO:__main__:Working on azure.mgmt.authorization.v2020_04_01_preview
        cmderr	[changelogReport] INFO:__main__:Report written to sdk/authorization/azure-mgmt-authorization/code_reports/latest/v2020_04_01_preview.json
        cmderr	[changelogReport] INFO:__main__:Merged report written to sdk/authorization/azure-mgmt-authorization/code_reports/latest/merged_report.json
        cmderr	[changelogReportLatest] INFO:__main__:Download versions of azure-mgmt-authorization on PyPI
        cmderr	[changelogReportLatest] INFO:__main__:Got ['0.30.0a1', '0.30.0rc1', '0.30.0rc2', '0.30.0rc3', '0.30.0rc4', '0.30.0rc5', '0.30.0rc6', '0.30.0', '0.40.0', '0.50.0', '0.51.0', '0.51.1', '0.52.0', '0.60.0', '0.61.0', '1.0.0b1', '1.0.0']
        cmderr	[changelogReportLatest] INFO:__main__:Only keep last PyPI version
        cmderr	[changelogReportLatest] INFO:__main__:Installing version 0.61.0 of azure-mgmt-authorization in a venv
        cmderr	[changelogReportLatest] Cache entry deserialization failed, entry ignored
        cmderr	[changelogReportLatest] INFO:__main__:Looking for Autorest generated package in azure.mgmt.authorization
        cmderr	[changelogReportLatest] INFO:__main__:Looking for Autorest generated package in azure.mgmt.authorization.v2015_06_01
        cmderr	[changelogReportLatest] INFO:__main__:Found azure.mgmt.authorization.v2015_06_01
        cmderr	[changelogReportLatest] INFO:__main__:Looking for Autorest generated package in azure.mgmt.authorization.v2015_07_01
        cmderr	[changelogReportLatest] INFO:__main__:Found azure.mgmt.authorization.v2015_07_01
        cmderr	[changelogReportLatest] INFO:__main__:Looking for Autorest generated package in azure.mgmt.authorization.v2018_01_01_preview
        cmderr	[changelogReportLatest] INFO:__main__:Found azure.mgmt.authorization.v2018_01_01_preview
        cmderr	[changelogReportLatest] INFO:__main__:Looking for Autorest generated package in azure.mgmt.authorization.v2018_07_01_preview
        cmderr	[changelogReportLatest] INFO:__main__:Found azure.mgmt.authorization.v2018_07_01_preview
        cmderr	[changelogReportLatest] INFO:__main__:Looking for Autorest generated package in azure.mgmt.authorization.v2018_09_01_preview
        cmderr	[changelogReportLatest] INFO:__main__:Found azure.mgmt.authorization.v2018_09_01_preview
        cmderr	[changelogReportLatest] INFO:__main__:Looking for Autorest generated package in azure.mgmt.authorization.v2020_04_01_preview
        cmderr	[changelogReportLatest] INFO:__main__:Found azure.mgmt.authorization.v2020_04_01_preview
        cmderr	[changelogReportLatest] INFO:__main__:Working on azure.mgmt.authorization.v2015_06_01
        cmderr	[changelogReportLatest] INFO:__main__:Report written to sdk/authorization/azure-mgmt-authorization/code_reports/0.61.0/v2015_06_01.json
        cmderr	[changelogReportLatest] INFO:__main__:Working on azure.mgmt.authorization.v2015_07_01
        cmderr	[changelogReportLatest] INFO:__main__:Report written to sdk/authorization/azure-mgmt-authorization/code_reports/0.61.0/v2015_07_01.json
        cmderr	[changelogReportLatest] INFO:__main__:Working on azure.mgmt.authorization.v2018_01_01_preview
        cmderr	[changelogReportLatest] INFO:__main__:Report written to sdk/authorization/azure-mgmt-authorization/code_reports/0.61.0/v2018_01_01_preview.json
        cmderr	[changelogReportLatest] INFO:__main__:Working on azure.mgmt.authorization.v2018_07_01_preview
        cmderr	[changelogReportLatest] INFO:__main__:Report written to sdk/authorization/azure-mgmt-authorization/code_reports/0.61.0/v2018_07_01_preview.json
        cmderr	[changelogReportLatest] INFO:__main__:Working on azure.mgmt.authorization.v2018_09_01_preview
        cmderr	[changelogReportLatest] INFO:__main__:Report written to sdk/authorization/azure-mgmt-authorization/code_reports/0.61.0/v2018_09_01_preview.json
        cmderr	[changelogReportLatest] INFO:__main__:Working on azure.mgmt.authorization.v2020_04_01_preview
        cmderr	[changelogReportLatest] INFO:__main__:Report written to sdk/authorization/azure-mgmt-authorization/code_reports/0.61.0/v2020_04_01_preview.json
        cmderr	[changelogReportLatest] INFO:__main__:Merged report written to sdk/authorization/azure-mgmt-authorization/code_reports/0.61.0/merged_report.json
        cmdout	[Changelog] Size of delta 63.439% size of original (original: 44129 chars, delta: 27995 chars)
        cmdout	[Changelog] **Features**
        cmdout	[Changelog]   - Model RoleAssignment has a new parameter updated_by
        cmdout	[Changelog]   - Model RoleAssignment has a new parameter updated_on
        cmdout	[Changelog]   - Model RoleAssignment has a new parameter created_by
        cmdout	[Changelog]   - Model RoleAssignment has a new parameter delegated_managed_identity_resource_id
        cmdout	[Changelog]   - Model RoleAssignment has a new parameter created_on
        cmdout	[Changelog]   - Added operation group AccessReviewInstanceDecisionsOperations
        cmdout	[Changelog]   - Added operation group AccessReviewInstancesOperations
        cmdout	[Changelog]   - Added operation group AccessReviewScheduleDefinitionsAssignedForMyApprovalOperations
        cmdout	[Changelog]   - Added operation group AccessReviewInstanceOperations
        cmdout	[Changelog]   - Added operation group AccessReviewScheduleDefinitionsOperations
        cmdout	[Changelog]   - Added operation group Operations
        cmdout	[Changelog]   - Added operation group AccessReviewInstanceMyDecisionsOperations
        cmdout	[Changelog]   - Added operation group AccessReviewInstancesAssignedForMyApprovalOperations
        cmdout	[Changelog]   - Added operation group AccessReviewDefaultSettingsOperations
      ️❌ azure-sdk-for-java failed [Detail]
      • Failed [Logs]Release - Generate from 9a8793d. 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] 2020-12-11 03:13:24 INFO [VERSION][Not Found] cannot find version for "com.azure.resourcemanager:azure-resourcemanager-authorization-generated"
        cmderr	[generate.py] 2020-12-11 03:13:24 INFO [VERSION][Not Found] cannot find stable version, current version "1.0.0-beta.1"
        cmderr	[generate.py] 2020-12-11 03:13:24 INFO autorest --version=3.0.6327 --use=@autorest/java@4.0.5 --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/authorization/azure-resourcemanager-authorization-generated --java.namespace=com.azure.resourcemanager.authorization.generated  --package-version=1.0.0-beta.1 --java --pipeline.modelerfour.additional-checks=false --pipeline.modelerfour.lenient-model-deduplication=true --pipeline.modelerfour.flatten-payloads=false --azure-arm --verbose --sdk-integration --fluent=lite --java.fluent=lite --java.license-header=MICROSOFT_MIT_SMALL ../azure-rest-api-specs/specification/authorization/resource-manager/readme.md
        cmderr	[generate.py] ERROR (FluentGen): Failed to successfully run fluentgen plugin java.lang.ClassCastException: class com.azure.autorest.extension.base.model.codemodel.AnySchema cannot be cast to class com.azure.autorest.extension.base.model.codemodel.ObjectSchema (com.azure.autorest.extension.base.model.codemodel.AnySchema and com.azure.autorest.extension.base.model.codemodel.ObjectSchema are in unnamed module of loader 'app')
        cmderr	[generate.py] java.lang.ClassCastException: class com.azure.autorest.extension.base.model.codemodel.AnySchema cannot be cast to class com.azure.autorest.extension.base.model.codemodel.ObjectSchema (com.azure.autorest.extension.base.model.codemodel.AnySchema and com.azure.autorest.extension.base.model.codemodel.ObjectSchema are in unnamed module of loader 'app')
        cmderr	[generate.py] 	at com.azure.autorest.mapper.ClientMethodMapper.map(ClientMethodMapper.java:78)
        cmderr	[generate.py] 	at com.azure.autorest.mapper.MethodGroupMapper.map(MethodGroupMapper.java:115)
        cmderr	[generate.py] 	at com.azure.autorest.mapper.ServiceClientMapper.map(ServiceClientMapper.java:88)
        cmderr	[generate.py] 	at com.azure.autorest.mapper.ClientMapper.map(ClientMapper.java:116)
        cmderr	[generate.py] 	at com.azure.autorest.fluent.FluentGen.processInternal(FluentGen.java:106)
        cmderr	[generate.py] 	at com.azure.autorest.extension.base.plugin.NewPlugin.process(NewPlugin.java:202)
        cmderr	[generate.py] 	at com.azure.autorest.fluent.Main.lambda$main$1(Main.java:18)
        cmderr	[generate.py] 	at com.azure.autorest.extension.base.jsonrpc.Connection.lambda$dispatch$2(Connection.java:151)
        cmderr	[generate.py] 	at com.azure.autorest.extension.base.jsonrpc.Connection.lambda$process$3(Connection.java:270)
        cmderr	[generate.py] 	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
        cmderr	[generate.py] 	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        cmderr	[generate.py] 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        cmderr	[generate.py] 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        cmderr	[generate.py] 	at java.base/java.lang.Thread.run(Thread.java:834)
        cmderr	[generate.py] FATAL (FluentGen): Unhandled error: class com.azure.autorest.extension.base.model.codemodel.AnySchema cannot be cast to class com.azure.autorest.extension.base.model.codemodel.ObjectSchema (com.azure.autorest.extension.base.model.codemodel.AnySchema and com.azure.autorest.extension.base.model.codemodel.ObjectSchema are in unnamed module of loader 'app')
        cmderr	[generate.py] java.lang.ClassCastException: class com.azure.autorest.extension.base.model.codemodel.AnySchema cannot be cast to class com.azure.autorest.extension.base.model.codemodel.ObjectSchema (com.azure.autorest.extension.base.model.codemodel.AnySchema and com.azure.autorest.extension.base.model.codemodel.ObjectSchema are in unnamed module of loader 'app')
        cmderr	[generate.py] 	at com.azure.autorest.mapper.ClientMethodMapper.map(ClientMethodMapper.java:78)
        cmderr	[generate.py] 	at com.azure.autorest.mapper.MethodGroupMapper.map(MethodGroupMapper.java:115)
        cmderr	[generate.py] 	at com.azure.autorest.mapper.ServiceClientMapper.map(ServiceClientMapper.java:88)
        cmderr	[generate.py] 	at com.azure.autorest.mapper.ClientMapper.map(ClientMapper.java:116)
        cmderr	[generate.py] 	at com.azure.autorest.fluent.FluentGen.processInternal(FluentGen.java:106)
        cmderr	[generate.py] 	at com.azure.autorest.extension.base.plugin.NewPlugin.process(NewPlugin.java:202)
        cmderr	[generate.py] 	at com.azure.autorest.fluent.Main.lambda$main$1(Main.java:18)
        cmderr	[generate.py] 	at com.azure.autorest.extension.base.jsonrpc.Connection.lambda$dispatch$2(Connection.java:151)
        cmderr	[generate.py] 	at com.azure.autorest.extension.base.jsonrpc.Connection.lambda$process$3(Connection.java:270)
        cmderr	[generate.py] 	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
        cmderr	[generate.py] 	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        cmderr	[generate.py] 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        cmderr	[generate.py] 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        cmderr	[generate.py] 	at java.base/java.lang.Thread.run(Thread.java:834)
        cmderr	[generate.py]   Error: Plugin fluentgen reported failure.
        cmderr	[generate.py] 2020-12-11 03:13:56 ERROR [GENERATE] Autorest fail
        ENOENT: no such file or directory, stat 'azure-sdk-for-java/sdk/authorization/azure-resourcemanager-authorization-generated/pom.xml'
        Error: ENOENT: no such file or directory, stat 'azure-sdk-for-java/sdk/authorization/azure-resourcemanager-authorization-generated/pom.xml'
      • ️✔️azure-resourcemanager-authorization-generated [View full logs
        error	Fatal error: ENOENT: no such file or directory, stat 'azure-sdk-for-java/sdk/authorization/azure-resourcemanager-authorization-generated/pom.xml'
        error	The following packages are still pending:
        error		azure-resourcemanager-authorization-generated
      ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
      • ️✔️Succeeded [Logs]Release - Generate from 9a8793d. SDK Automation 14.0.0
        command	sh ./initScript.sh ../../../../../azure-sdk-for-go_tmp/initInput.json ../../../../../azure-sdk-for-go_tmp/initOutput.json
        command	go run ./tools/generator/main.go ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
      • ️✔️preview/authorization/mgmt/2018-09-01-preview/authorization [View full logs]  [Release SDK Changes]
        info	[Changelog] ## Struct Changes
        info	[Changelog]
        info	[Changelog] ### New Structs
        info	[Changelog]
        info	[Changelog] 1. Error
        info	[Changelog] 1. ErrorError
        info	[Changelog]
      • ️✔️preview/authorization/mgmt/2018-07-01-preview/authorization [View full logs]  [Release SDK Changes]
        info	[Changelog] ## Struct Changes
        info	[Changelog]
        info	[Changelog] ### New Structs
        info	[Changelog]
        info	[Changelog] 1. Error
        info	[Changelog] 1. ErrorError
        info	[Changelog]
      • ️✔️preview/authorization/mgmt/2018-01-01-preview/authorization [View full logs]  [Release SDK Changes]
        info	[Changelog] ## Struct Changes
        info	[Changelog]
        info	[Changelog] ### New Structs
        info	[Changelog]
        info	[Changelog] 1. Error
        info	[Changelog] 1. ErrorError
        info	[Changelog]
      • ️✔️preview/authorization/mgmt/2017-10-01-preview/authorization [View full logs]  [Release SDK Changes]
        info	[Changelog] No exported changes
      • ️✔️authorization/mgmt/2015-07-01/authorization [View full logs]  [Release SDK Changes]
        info	[Changelog] No exported changes
      ️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
      • ️✔️Succeeded [Logs]Release - Generate from 9a8793d. 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.4.4 --typescript-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-js/azure-sdk-for-js ../../azure-rest-api-specs/specification/authorization/resource-manager/readme.md
      • ️✔️@azure/arm-authorization [View full logs]  [Release 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/authorizationManagementClient.js → ./dist/arm-authorization.js...
        cmderr	[npmPack] created ./dist/arm-authorization.js in 370ms
      ️️✔️ azure-resource-manager-schemas succeeded [Detail] [Expand]
      • ️✔️Succeeded [Logs]Release - Generate from 9a8793d. Schema Automation 14.0.0
        warn	Skip initScript due to not configured
        command	npx n 12
        command	autorest --use=@autorest/azureresourceschema@3.0.92 --version=3.0.6320 --azureresourceschema --multiapi --title=none --pass-thru:subset-reducer --azureresourceschema-folder=/home/vsts/work/1/s/azure-resource-manager-schemas/azure-resource-manager-schemas ../../azure-rest-api-specs/specification/authorization/resource-manager/readme.md
        cmdout	[Autorest] WARNING: Skipping path '/{roleId}': Unable to locate '/providers/' segment
        cmdout	[Autorest] WARNING: Skipping path '/{roleId}': Unable to locate '/providers/' segment
        cmdout	[Autorest] WARNING: Skipping path '/{roleId}': Unable to locate '/providers/' segment
        cmdout	[Autorest] WARNING: Skipping path '/{roleAssignmentId}': Unable to locate '/providers/' segment
        cmdout	[Autorest] WARNING: Skipping path '/{roleAssignmentId}': Unable to locate '/providers/' segment
      • ️✔️authorization [View full logs]  [Release Schema Changes]
        cmderr	[resource-manager] node-pre-gyp
        cmderr	[resource-manager] WARN Using request for node-pre-gyp https download
        cmderr	[resource-manager]  template-schema-validation-tools@1.0.0 No repository field.
        cmderr	[resource-manager]  SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/fsevents):
        cmderr	[resource-manager] npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
      ️️✔️[Staging] ApiDocPreview succeeded [Detail] [Expand]
       Please click here to preview with your @microsoft account. 
      Posted by Swagger Pipeline | How to fix these errors?

      @shubhamguptacal
      Copy link
      Contributor Author

      There are failures in SDK generation for Java and net but those have been failing in previous PRs as well. For example: #11975

      @qianwens qianwens merged commit 9a8793d into master Dec 11, 2020
      DeMale pushed a commit to DeMale/azure-rest-api-specs that referenced this pull request Dec 11, 2020
      * Added Access Reviews schema
      
      * Access Reviews Schema addendum | Expose reviewer and statistics APIs
      dabenhamMic pushed a commit to dabenhamMic/azure-rest-api-specs that referenced this pull request Dec 14, 2020
      * Added Access Reviews schema
      
      * Access Reviews Schema addendum | Expose reviewer and statistics APIs
      giromm2ms pushed a commit to giromm2ms/azure-rest-api-specs that referenced this pull request Dec 20, 2020
      * Added Access Reviews schema
      
      * Access Reviews Schema addendum | Expose reviewer and statistics APIs
      @JackTn JackTn deleted the accessreviews_reviewer_stats branch August 9, 2021 10:10
      Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
      Labels
      ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review
      Projects
      None yet
      Development

      Successfully merging this pull request may close these issues.

      5 participants