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

[WIP] Update ml config #9175

Closed
wants to merge 3 commits into from
Closed

[WIP] Update ml config #9175

wants to merge 3 commits into from

Conversation

RodgeFu
Copy link
Member

@RodgeFu RodgeFu commented Apr 22, 2020

Latest improvements:

MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow.

Contribution checklist:

  • I have reviewed the documentation for the workflow.
  • Validation tools were run on swagger spec(s) and have all been fixed in this PR.
  • The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

  • Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
  • adding/removing APIs.
  • adding/removing properties.
  • adding/removing API-version.
  • adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

  • If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
    Please follow the link to find more details on API review process.

@RodgeFu RodgeFu added the NotReadyForReview <valid label in PR review process>It is in draft for swagger or not swagger PR label Apr 22, 2020
@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Apr 22, 2020

azure-sdk-for-java

failed [Logs] [Expand Details]
  • Generate from 06832a8 with merge commit 897de85677e065262b13480f111dd7e76077770d. SDK Automation 13.0.17.20200416.2
    [AutoRest] FATAL: System.Exception: Duplicate File Generation: src/main/java/com/microsoft/azure/management/managementgroups/v2020_02_01/HierarchySettings.java
    [AutoRest]    at AutoRest.Core.CodeGenerator.d__13.MoveNext() in /home/vsts/work/1/s/autorest.common/src/CodeGenerator.cs:line 151
    [AutoRest] --- End of stack trace from previous location where exception was thrown ---
    [AutoRest]    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    [AutoRest]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    [AutoRest]    at AutoRest.Core.CodeGenerator.d__12.MoveNext() in /home/vsts/work/1/s/autorest.common/src/CodeGenerator.cs:line 121
    [AutoRest] --- End of stack trace from previous location where exception was thrown ---
    [AutoRest]    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    [AutoRest]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    [AutoRest]    at AutoRest.Java.Azure.Fluent.CodeGeneratorJvaf.d__6.MoveNext() in /home/vsts/work/1/s/src/azurefluent/CodeGeneratorJvaf.cs:line 106
    [AutoRest] --- End of stack trace from previous location where exception was thrown ---
    [AutoRest]    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    [AutoRest]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    [AutoRest]    at AutoRest.Java.Program.d__3.MoveNext() in /home/vsts/work/1/s/src/Program.cs:line 114
    [AutoRest] --- End of stack trace from previous location where exception was thrown ---
    [AutoRest]    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    [AutoRest]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    [AutoRest]    at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
    [AutoRest]    at NewPlugin.d__20.MoveNext() in /home/vsts/work/1/s/autorest.common/src/Plugins/NewPlugin.cs:line 163
    [AutoRest] FATAL: java/generate - FAILED
    [AutoRest] FATAL: Error: Plugin java reported failure.
    [AutoRest] Failure during batch task - {"tag":"package-2020-02"} -- Error: Plugin java reported failure..
    [AutoRest]   Error: Plugin java reported failure.
    Failed to run autorest.
    Error: /z/node_modules/.bin/autorest --version=V2 --java --verbose --multiapi [email protected]/autorest.java@preview --azure-libraries-for-java-folder=/z/work/azure-sdk-for-java /z/work/azure-rest-api-specs/specification/managementgroups/resource-manager/readme.md FATAL: System.Exception: Duplicate File Generation: src/main/java/com/microsoft/azure/management/managementgroups/v2020_02_01/HierarchySettings.java
       at AutoRest.Core.CodeGenerator.d__13.MoveNext() in /home/vsts/work/1/s/autorest.common/src/CodeGenerator.cs:line 151
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at AutoRest.Core.CodeGenerator.d__12.MoveNext() in /home/vsts/work/1/s/autorest.common/src/CodeGenerator.cs:line 121
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at AutoRest.Java.Azure.Fluent.CodeGeneratorJvaf.d__6.MoveNext() in /home/vsts/work/1/s/src/azurefluent/CodeGeneratorJvaf.cs:line 106
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at AutoRest.Java.Program.d__3.MoveNext() in /home/vsts/work/1/s/src/Program.cs:line 114
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
       at NewPlugin.d__20.MoveNext() in /home/vsts/work/1/s/autorest.common/src/Plugins/NewPlugin.cs:line 163
    FATAL: java/generate - FAILED
    FATAL: Error: Plugin java reported failure.
    Failure during batch task - {"tag":"package-2020-02"} -- Error: Plugin java reported failure..
      Error: Plugin java reported failure.
    , {} 

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Apr 22, 2020

azure-cli-extensions

failed [Logs] [Expand Details]
  • Generate from 06832a8 with merge commit 897de85677e065262b13480f111dd7e76077770d. SDK Automation 13.0.17.20200416.2
    [AutoRest] 
    [AutoRest] NO TEST SCENARIO PROVIDED - DEFAULT WILL BE USED
    [AutoRest] ADD FOLLOWING SECTION TO readme.cli.md FILE TO MODIFY IT
    [AutoRest] --------------------------------------------------------
    [AutoRest]   test-scenario:
    [AutoRest]     - name: /MachineLearningCompute/put/Create AKS Compute
    [AutoRest]     - name: /MachineLearningCompute/put/Create AKS Compute
    [AutoRest]     - name: /MachineLearningCompute/put/Create AKS Compute
    [AutoRest]     - name: /MachineLearningCompute/put/Create AKS Compute
    [AutoRest]     - name: /MachineLearningCompute/put/Create AKS Compute
    [AutoRest]     - name: /MachineLearningCompute/put/Create AKS Compute
    [AutoRest]     - name: /MachineLearningCompute/put/Create AKS Compute
    [AutoRest]     - name: /MachineLearningCompute/put/Create a AML Compute
    [AutoRest]     - name: /MachineLearningCompute/put/Create a AML Compute
    [AutoRest]     - name: /MachineLearningCompute/put/Create a AML Compute
    [AutoRest]     - name: /MachineLearningCompute/put/Create a AML Compute
    [AutoRest]     - name: /MachineLearningCompute/put/Create a AML Compute
    [AutoRest]     - name: /MachineLearningCompute/put/Create a AML Compute
    [AutoRest]     - name: /MachineLearningCompute/put/Create a AML Compute
    [AutoRest]     - name: /MachineLearningCompute/put/Create a DataFactory Compute
    [AutoRest]     - name: /MachineLearningCompute/put/Create a DataFactory Compute
    [AutoRest]     - name: /MachineLearningCompute/put/Create a DataFactory Compute
    [AutoRest]     - name: /MachineLearningCompute/put/Create a DataFactory Compute
    [AutoRest]     - name: /MachineLearningCompute/put/Create a DataFactory Compute
    [AutoRest]     - name: /MachineLearningCompute/put/Create a DataFactory Compute
    [AutoRest]     - name: /MachineLearningCompute/put/Create a DataFactory Compute
    [AutoRest]     - name: /MachineLearningCompute/put/Update a AKS Compute
    [AutoRest]     - name: /MachineLearningCompute/put/Update a AKS Compute
    [AutoRest]     - name: /MachineLearningCompute/put/Update a AKS Compute
    [AutoRest]     - name: /MachineLearningCompute/put/Update a AKS Compute
    [AutoRest]     - name: /MachineLearningCompute/put/Update a AKS Compute
    [AutoRest]     - name: /MachineLearningCompute/put/Update a AKS Compute
    [AutoRest]     - name: /MachineLearningCompute/put/Update a AKS Compute
    [AutoRest]     - name: /MachineLearningCompute/put/Update a AML Compute
    [AutoRest]     - name: /MachineLearningCompute/put/Update a AML Compute
    [AutoRest]     - name: /MachineLearningCompute/put/Update a AML Compute
    [AutoRest]     - name: /MachineLearningCompute/put/Update a AML Compute
    [AutoRest]     - name: /MachineLearningCompute/put/Update a AML Compute
    [AutoRest]     - name: /MachineLearningCompute/put/Update a AML Compute
    [AutoRest]     - name: /MachineLearningCompute/put/Update a AML Compute
    [AutoRest]     - name: /MachineLearningCompute/get/Get Computes
    [AutoRest]     - name: /MachineLearningCompute/get/Get a AKS Compute
    [AutoRest]     - name: /MachineLearningCompute/get/Get a AML Compute
    [AutoRest]     - name: /MachineLearningCompute/post/Get compute nodes information for a compute
    [AutoRest]     - name: /MachineLearningCompute/post/List AKS Compute Keys
    [AutoRest]     - name: /MachineLearningCompute/patch/Update a AmlCompute Compute
    [AutoRest]     - name: /PrivateEndpointConnections/put/WorkspacePutPrivateEndpointConnection
    [AutoRest]     - name: /PrivateEndpointConnections/get/WorkspaceGetPrivateEndpointConnection
    [AutoRest]     - name: /PrivateLinkResources/get/WorkspaceListPrivateLinkResources
    [AutoRest]     - name: /Quotas/get/List workspace quotas by VMFamily
    [AutoRest]     - name: /Quotas/post/update quotas
    [AutoRest]     - name: /Usages/get/List Usages
    [AutoRest]     - name: /VirtualMachineSizes/get/List VM Sizes
    [AutoRest]     - name: /WorkspaceFeatures/get/List Workspace features
    [AutoRest]     - name: /Workspaces/put/Create Workspace
    [AutoRest]     - name: /Workspaces/get/Get Workspace
    [AutoRest]     - name: /Workspaces/get/Get Workspaces by Resource Group
    [AutoRest]     - name: /Workspaces/get/Get Workspaces by subscription
    [AutoRest]     - name: /Workspaces/post/List Workspace Keys
    [AutoRest]     - name: /Workspaces/post/Resync Workspace Keys
    [AutoRest]     - name: /Workspaces/patch/Update Workspace
    [AutoRest]     - name: /machinelearningservices /get/List Skus
    [AutoRest]     - name: /MachineLearningCompute/delete/Delete Compute
    [AutoRest]     - name: /PrivateEndpointConnections/delete/WorkspaceDeletePrivateEndpointConnection
    [AutoRest]     - name: /Workspaces/delete/Delete Workspace
    [AutoRest] --------------------------------------------------------
  • machinelearningservices [Logs]  [Preview SDK Changes]
      [build_package] python: can't open file './scripts/automation/build_package.py': [Errno 2] No such file or directory
      Failed to create the package machinelearningservices.
      Error: python ./scripts/automation/build_package.py --dest /z/work/azure-cli-extensions/src/machinelearningservices src/machinelearningservices python: can't open file './scripts/automation/build_package.py': [Errno 2] No such file or directory
      , {} 
    pending [Logs] [Expand Details]
    • Generate from 06832a8 with merge commit 897de85677e065262b13480f111dd7e76077770d. SDK Automation 13.0.17.20200416.2

    @openapi-sdkautomation
    Copy link

    openapi-sdkautomation bot commented Apr 22, 2020

    azure-sdk-for-go

    ️✔️ succeeded [Logs] [Expand Details]
    ️✔️ succeeded [Logs] [Expand Details]

    @openapi-sdkautomation
    Copy link

    openapi-sdkautomation bot commented Apr 22, 2020

    azure-sdk-for-python

    - Breaking Change detected in SDK

    ⚠️ warning [Logs] [Expand Details]
    • ⚠️ Generate from 06832a8 with merge commit 897de85677e065262b13480f111dd7e76077770d. SDK Automation 13.0.17.20200416.2
    • ⚠️azure-mgmt-machinelearningservices [Logs]  [Preview SDK Changes] Breaking Change Detected
      [build_conf] INFO:packaging_tools:Building template azure-mgmt-machinelearningservices
      [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-machinelearningservices
      [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] warning: no files found matching '*.py' under directory 'tests'
      [build_package] warning: no files found matching '*.yaml' under directory 'tests'
      [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] warning: no files found matching '*.py' under directory 'tests'
      [build_package] warning: no files found matching '*.yaml' under directory 'tests'
      [breaking_change_setup] Ignoring mock: markers 'python_version <= "2.7"' don't match your environment
      [breaking_change_setup] Cannot uninstall requirement azure-nspkg, not installed
      [breaking_change_setup] Command '['/usr/local/bin/python', '-m', 'pip', 'uninstall', '-y', 'azure-nspkg']' returned non-zero exit status 1.
      [ChangeLog] Size of delta 35.371% size of original (original: 50293 chars, delta: 17789 chars)
      [ChangeLog] **Features**
      [ChangeLog] 
      [ChangeLog]   - Model WorkspaceUpdateParameters has a new parameter sku
      [ChangeLog]   - Model ComputeResource has a new parameter sku
      [ChangeLog]   - Model VirtualMachineSize has a new parameter gpus
      [ChangeLog]   - Model Resource has a new parameter sku
      [ChangeLog]   - Model AmlComputeProperties has a new parameter remote_login_port_public_access
      [ChangeLog]   - Model Workspace has a new parameter sku
      [ChangeLog]   - Model Workspace has a new parameter service_provisioned_resource_group
      [ChangeLog]   - Model Workspace has a new parameter allow_public_access_when_behind_vnet
      [ChangeLog]   - Model Workspace has a new parameter hbi_workspace
      [ChangeLog]   - Model Workspace has a new parameter encryption
      [ChangeLog]   - Model Workspace has a new parameter private_endpoint_connections
      [ChangeLog]   - Model Workspace has a new parameter image_build_compute
      [ChangeLog]   - Model Workspace has a new parameter shared_private_link_resources
      [ChangeLog]   - Model Workspace has a new parameter private_link_count
      [ChangeLog]   - Added operation group WorkspaceFeaturesOperations
      [ChangeLog]   - Added operation group AzureMachineLearningWorkspacesOperationsMixin
      [ChangeLog]   - Added operation group PrivateEndpointConnectionsOperations
      [ChangeLog]   - Added operation group PrivateLinkResourcesOperations
      [ChangeLog]   - Added operation group QuotasOperations
      [ChangeLog] 
      [ChangeLog] **Breaking changes**
      [ChangeLog] 
      [ChangeLog]   - Model AmlComputeNodeInformation has a new signature
    ⚠️ warning [Logs] [Expand Details]
    • ⚠️ Generate from 06832a8 with merge commit 897de85677e065262b13480f111dd7e76077770d. SDK Automation 13.0.17.20200416.2
    • ⚠️azure-mgmt-managementgroups [Logs
        [build_conf_init] Exception:
        [build_conf_init] Traceback (most recent call last):
        [build_conf_init]   File "/usr/lib/python3/dist-packages/pip/req/req_install.py", line 1025, in check_if_exists
        [build_conf_init]     self.satisfied_by = pkg_resources.get_distribution(str(no_marker))
        [build_conf_init]   File "/usr/share/python-wheels/pkg_resources-0.0.0-py2.py3-none-any.whl/pkg_resources/__init__.py", line 472, in get_distribution
        [build_conf_init]     dist = get_provider(dist)
        [build_conf_init]   File "/usr/share/python-wheels/pkg_resources-0.0.0-py2.py3-none-any.whl/pkg_resources/__init__.py", line 344, in get_provider
        [build_conf_init]     return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
        [build_conf_init]   File "/usr/share/python-wheels/pkg_resources-0.0.0-py2.py3-none-any.whl/pkg_resources/__init__.py", line 892, in require
        [build_conf_init]     needed = self.resolve(parse_requirements(requirements))
        [build_conf_init]   File "/usr/share/python-wheels/pkg_resources-0.0.0-py2.py3-none-any.whl/pkg_resources/__init__.py", line 783, in resolve
        [build_conf_init]     raise VersionConflict(dist, req).with_context(dependent_req)
        [build_conf_init] pkg_resources.ContextualVersionConflict: (cryptography 2.1.4 (/usr/lib/python3/dist-packages), Requirement.parse('cryptography>=2.8'), {'pyopenssl'})
        [build_conf_init] 
        [build_conf_init] During handling of the above exception, another exception occurred:
        [build_conf_init] 
        [build_conf_init] Traceback (most recent call last):
        [build_conf_init]   File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 215, in main
        [build_conf_init]     status = self.run(options, args)
        [build_conf_init]   File "/usr/lib/python3/dist-packages/pip/commands/install.py", line 353, in run
        [build_conf_init]     wb.build(autobuilding=True)
        [build_conf_init]   File "/usr/lib/python3/dist-packages/pip/wheel.py", line 749, in build
        [build_conf_init]     self.requirement_set.prepare_files(self.finder)
        [build_conf_init]   File "/usr/lib/python3/dist-packages/pip/req/req_set.py", line 380, in prepare_files
        [build_conf_init]     ignore_dependencies=self.ignore_dependencies))
        [build_conf_init]   File "/usr/lib/python3/dist-packages/pip/req/req_set.py", line 521, in _prepare_file
        [build_conf_init]     req_to_install.check_if_exists()
        [build_conf_init]   File "/usr/lib/python3/dist-packages/pip/req/req_install.py", line 1036, in check_if_exists
        [build_conf_init]     self.req.name
        [build_conf_init]   File "/usr/share/python-wheels/pkg_resources-0.0.0-py2.py3-none-any.whl/pkg_resources/__init__.py", line 472, in get_distribution
        [build_conf_init]     dist = get_provider(dist)
        [build_conf_init]   File "/usr/share/python-wheels/pkg_resources-0.0.0-py2.py3-none-any.whl/pkg_resources/__init__.py", line 344, in get_provider
        [build_conf_init]     return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
        [build_conf_init]   File "/usr/share/python-wheels/pkg_resources-0.0.0-py2.py3-none-any.whl/pkg_resources/__init__.py", line 892, in require
        [build_conf_init]     needed = self.resolve(parse_requirements(requirements))
        [build_conf_init]   File "/usr/share/python-wheels/pkg_resources-0.0.0-py2.py3-none-any.whl/pkg_resources/__init__.py", line 783, in resolve
        [build_conf_init]     raise VersionConflict(dist, req).with_context(dependent_req)
        [build_conf_init] pkg_resources.ContextualVersionConflict: (cryptography 2.1.4 (/usr/lib/python3/dist-packages), Requirement.parse('cryptography>=2.8'), {'pyopenssl'})
        No file is changed.

      @openapi-sdkautomation
      Copy link

      openapi-sdkautomation bot commented Apr 22, 2020

      azure-sdk-for-net

      ️✔️ succeeded [Logs] [Expand Details]
      • ️✔️ Generate from 06832a8 with merge commit 897de85677e065262b13480f111dd7e76077770d. SDK Automation 13.0.17.20200416.2
      • ️✔️Microsoft.Azure.Management.MachineLearningServices [Logs]  [Preview SDK Changes]
          No Artifact Generated.
        ️✔️ succeeded [Logs] [Expand Details]

        @openapi-sdkautomation
        Copy link

        openapi-sdkautomation bot commented Apr 22, 2020

        azure-sdk-for-js

        ⚠️ warning [Logs] [Expand Details]
        • ⚠️ Generate from 06832a8 with merge commit 897de85677e065262b13480f111dd7e76077770d. SDK Automation 13.0.17.20200416.2
        • ⚠️@azure/arm-machinelearningservices [Logs
            No file is changed.
          ⚠️ warning [Logs] [Expand Details]
          • ⚠️ Generate from 06832a8 with merge commit 897de85677e065262b13480f111dd7e76077770d. SDK Automation 13.0.17.20200416.2
          • ⚠️@azure/arm-managementgroups [Logs
              No file is changed.

            @azuresdkci
            Copy link
            Contributor

            Can one of the admins verify this patch?

            @openapi-sdkautomation
            Copy link

            openapi-sdkautomation bot commented Apr 22, 2020

            azure-sdk-for-trenton

            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

            @RodgeFu RodgeFu closed this Apr 22, 2020
            @JackTn
            Copy link
            Member

            JackTn commented Aug 23, 2021

            Hi, @RodgeFu. The PR has be closed for a long time and it's related branch still exist. If no further used for over 14 days, I will delete this related branch. Please tell me if you still need this branch.

            @JackTn
            Copy link
            Member

            JackTn commented Jun 16, 2022

            Hi, @RodgeFu. 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 update-ml-config 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
            NotReadyForReview <valid label in PR review process>It is in draft for swagger or not swagger PR
            Projects
            None yet
            Development

            Successfully merging this pull request may close these issues.

            4 participants