Skip to content

Conversation

@panchagnula
Copy link
Contributor

@panchagnula panchagnula commented Dec 4, 2019

Fixes #10476

This checklist is used to make sure that common guidelines for a pull request are followed.

  • The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

  • I adhere to the Command Guidelines.

@panchagnula panchagnula requested a review from qwordy as a code owner December 4, 2019 20:57
@panchagnula panchagnula added this to the S162 milestone Dec 4, 2019
@panchagnula
Copy link
Contributor Author

@qwordy can you help me figure out what is missing here since i see this error in dependencycheck "{'load_commands': ModuleNotFoundError("No module named 'azure.mgmt.web.web_site_management_client'",)}"

@Juliehzl
Copy link
Contributor

Juliehzl commented Dec 5, 2019

Hi @panchagnula, according to your code change in the PR, you plan to upgrade the azure-mgmt-web to 0.44.0, and I will assume you want to use v2019-08-01 for AppService related commands. Is this you expected? And I am working on MultiAPI support for AppService and I think I can upgrade the api version for you.

@panchagnula
Copy link
Contributor Author

panchagnula commented Dec 5, 2019 via email

@qwordy
Copy link
Member

qwordy commented Dec 10, 2019

@qwordy can you help me figure out what is missing here since i see this error in dependencycheck "{'load_commands': ModuleNotFoundError("No module named 'azure.mgmt.web.web_site_management_client'",)}"

Try azdev setup -c -r azure-cli-extensions/ to install dependencies correctly. I have met this kind of error, too.

@Juliehzl
Copy link
Contributor

I think the multi-api version is taking longer than expected because the v2019-08-01 is not supported for hybrid & if we can just do the update to use the new SDK directly first & then figure out the multis-api support that would be great. let me know if this is something you can take care of.

Thanks
Sisira

Sent from Outlookhttp://aka.ms/weboutlook

Got it!

@panchagnula panchagnula force-pushed the sisirap-newSDKAppService branch from f60f67c to 00ad011 Compare December 13, 2019 01:29
@yonzhan yonzhan modified the milestones: S162, S163 Dec 15, 2019
@yonzhan
Copy link
Collaborator

yonzhan commented Dec 15, 2019

add to S163.

@Juliehzl
Copy link
Contributor

Hi @panchagnula are you still working on this?

@panchagnula panchagnula force-pushed the sisirap-newSDKAppService branch from 00ad011 to ddf20ce Compare December 30, 2019 07:37
@panchagnula panchagnula requested a review from jiasli as a code owner December 30, 2019 07:37
@panchagnula panchagnula force-pushed the sisirap-newSDKAppService branch 3 times, most recently from b0d1dea to 463dc29 Compare December 31, 2019 00:47
@panchagnula panchagnula modified the milestones: S163, S164 Dec 31, 2019
@panchagnula panchagnula force-pushed the sisirap-newSDKAppService branch 3 times, most recently from 5e5841b to be764e3 Compare December 31, 2019 06:25
@panchagnula
Copy link
Contributor Author

@Juliehzl / @qwordy/ @yonzhan my current changes should take care of supporting Multi-api support as well however, I cannot figure out the cause for the build failure - can one of you help me here please? Thank you.

@qwordy
Copy link
Member

qwordy commented Dec 31, 2019

@qwordy can you help me figure out what is missing here since i see this error in dependencycheck "{'load_commands': ModuleNotFoundError("No module named 'azure.mgmt.web.web_site_management_client'",)}"

Is it still this error blocking you?
I've seen the error in CI. ModuleNotFoundError: No module named 'azure.mgmt.web.v2019_08_01.web_site_management_client'

@panchagnula
Copy link
Contributor Author

panchagnula commented Dec 31, 2019

@qwordy can you help me figure out what is missing here since i see this error in dependencycheck "{'load_commands': ModuleNotFoundError("No module named 'azure.mgmt.web.web_site_management_client'",)}"

Is it still this error blocking you?
I've seen the error in CI. ModuleNotFoundError: No module named 'azure.mgmt.web.v2019_08_01.web_site_management_client'

I figured out the issue - took some time to debug - but I think I got it now. Couple more failing tests but after that I should be good to go.

@panchagnula panchagnula force-pushed the sisirap-newSDKAppService branch 2 times, most recently from 288a0af to 7d2e124 Compare January 2, 2020 19:59
@panchagnula panchagnula force-pushed the sisirap-newSDKAppService branch 3 times, most recently from e2fb1ab to fd57199 Compare January 3, 2020 20:32
@panchagnula
Copy link
Contributor Author

@Juliehzl/ @qwordy this PR is ready except for one test "test_metric_alert_v2_scenario"
https://dev.azure.com/azure-sdk/public/_build/results?buildId=223898&view=logs&j=201a69fb-575c-5f90-d252-d1ed1e360cc3&t=fb98e434-311f-5204-eaf4-065ec0de8a99&l=7680

I am unable to re-record this because the storage_account is missing can one of you help me with this- this is the last piece to get the build working. Thanks a lot!

that needs to be re-recorded

@Juliehzl
Copy link
Contributor

Juliehzl commented Jan 6, 2020

@Juliehzl/ @qwordy this PR is ready except for one test "test_metric_alert_v2_scenario"
https://dev.azure.com/azure-sdk/public/_build/results?buildId=223898&view=logs&j=201a69fb-575c-5f90-d252-d1ed1e360cc3&t=fb98e434-311f-5204-eaf4-065ec0de8a99&l=7680

I am unable to re-record this because the storage_account is missing can one of you help me with this- this is the last piece to get the build working. Thanks a lot!

that needs to be re-recorded

Have you rebase the dev branch recently?

@Juliehzl/ @qwordy this PR is ready except for one test "test_metric_alert_v2_scenario"
https://dev.azure.com/azure-sdk/public/_build/results?buildId=223898&view=logs&j=201a69fb-575c-5f90-d252-d1ed1e360cc3&t=fb98e434-311f-5204-eaf4-065ec0de8a99&l=7680

I am unable to re-record this because the storage_account is missing can one of you help me with this- this is the last piece to get the build working. Thanks a lot!

that needs to be re-recorded

Hi @panchagnula, it is caused by storage service in monitor alert. We will do the change in dev branch and you can pull the latest dev and rebase dev branch when it is ready.

@panchagnula
Copy link
Contributor Author

@Juliehzl/ @qwordy this PR is ready except for one test "test_metric_alert_v2_scenario"
https://dev.azure.com/azure-sdk/public/_build/results?buildId=223898&view=logs&j=201a69fb-575c-5f90-d252-d1ed1e360cc3&t=fb98e434-311f-5204-eaf4-065ec0de8a99&l=7680
I am unable to re-record this because the storage_account is missing can one of you help me with this- this is the last piece to get the build working. Thanks a lot!
that needs to be re-recorded

Have you rebase the dev branch recently?

@Juliehzl/ @qwordy this PR is ready except for one test "test_metric_alert_v2_scenario"
https://dev.azure.com/azure-sdk/public/_build/results?buildId=223898&view=logs&j=201a69fb-575c-5f90-d252-d1ed1e360cc3&t=fb98e434-311f-5204-eaf4-065ec0de8a99&l=7680
I am unable to re-record this because the storage_account is missing can one of you help me with this- this is the last piece to get the build working. Thanks a lot!
that needs to be re-recorded

Hi @panchagnula, it is caused by storage service in monitor alert. We will do the change in dev branch and you can pull the latest dev and rebase dev branch when it is ready.

Sounds good thanks - let me know when the fix is in dev I will pull & rebase.

@Juliehzl
Copy link
Contributor

Juliehzl commented Jan 6, 2020

@Juliehzl/ @qwordy this PR is ready except for one test "test_metric_alert_v2_scenario"
https://dev.azure.com/azure-sdk/public/_build/results?buildId=223898&view=logs&j=201a69fb-575c-5f90-d252-d1ed1e360cc3&t=fb98e434-311f-5204-eaf4-065ec0de8a99&l=7680
I am unable to re-record this because the storage_account is missing can one of you help me with this- this is the last piece to get the build working. Thanks a lot!
that needs to be re-recorded

Have you rebase the dev branch recently?

@Juliehzl/ @qwordy this PR is ready except for one test "test_metric_alert_v2_scenario"
https://dev.azure.com/azure-sdk/public/_build/results?buildId=223898&view=logs&j=201a69fb-575c-5f90-d252-d1ed1e360cc3&t=fb98e434-311f-5204-eaf4-065ec0de8a99&l=7680
I am unable to re-record this because the storage_account is missing can one of you help me with this- this is the last piece to get the build working. Thanks a lot!
that needs to be re-recorded

Hi @panchagnula, it is caused by storage service in monitor alert. We will do the change in dev branch and you can pull the latest dev and rebase dev branch when it is ready.

Sounds good thanks - let me know when the fix is in dev I will pull & rebase.

you can rebase dev branch now. if there is still problem, feel free to let me know.

@panchagnula
Copy link
Contributor Author

@Juliehzl any update on this please? Thanks!

@Juliehzl
Copy link
Contributor

Juliehzl commented Jan 9, 2020

@Juliehzl any update on this please? Thanks!

You can rebase the dev now and re-record for the test. I think it should work now.

@panchagnula
Copy link
Contributor Author

@Juliehzl/ @qwordy this PR is ready except for one test "test_metric_alert_v2_scenario"
https://dev.azure.com/azure-sdk/public/_build/results?buildId=223898&view=logs&j=201a69fb-575c-5f90-d252-d1ed1e360cc3&t=fb98e434-311f-5204-eaf4-065ec0de8a99&l=7680
I am unable to re-record this because the storage_account is missing can one of you help me with this- this is the last piece to get the build working. Thanks a lot!
that needs to be re-recorded

Have you rebase the dev branch recently?

@Juliehzl/ @qwordy this PR is ready except for one test "test_metric_alert_v2_scenario"
https://dev.azure.com/azure-sdk/public/_build/results?buildId=223898&view=logs&j=201a69fb-575c-5f90-d252-d1ed1e360cc3&t=fb98e434-311f-5204-eaf4-065ec0de8a99&l=7680
I am unable to re-record this because the storage_account is missing can one of you help me with this- this is the last piece to get the build working. Thanks a lot!
that needs to be re-recorded

Hi @panchagnula, it is caused by storage service in monitor alert. We will do the change in dev branch and you can pull the latest dev and rebase dev branch when it is ready.

Sounds good thanks - let me know when the fix is in dev I will pull & rebase.

you can rebase dev branch now. if there is still problem, feel free to let me know.

Tried this & still the same error when trying to re-record raise CLIError('{} {}'.format(message, code))
E knack.util.CLIError: Unable to find the resource /subscriptions/e483435e-282d-4ac1-92b5-d6123f2aa360/resourceGroups/cli_test_metric_alert_v23gguxyyliai35ejxeklzrm6ujtf6jxegub4epaxunzrtchixrw7/providers/Microsoft.Storage/storageAccounts/clitestwgbiozzwakiu5pd3p, please confirm that it exists.. [Code: "BadRequest"] .

@panchagnula panchagnula force-pushed the sisirap-newSDKAppService branch from fd57199 to e539052 Compare January 9, 2020 06:50
@panchagnula
Copy link
Contributor Author

@Juliehzl/ @qwordy this PR is ready except for one test "test_metric_alert_v2_scenario"
https://dev.azure.com/azure-sdk/public/_build/results?buildId=223898&view=logs&j=201a69fb-575c-5f90-d252-d1ed1e360cc3&t=fb98e434-311f-5204-eaf4-065ec0de8a99&l=7680
I am unable to re-record this because the storage_account is missing can one of you help me with this- this is the last piece to get the build working. Thanks a lot!
that needs to be re-recorded

Have you rebase the dev branch recently?

@Juliehzl/ @qwordy this PR is ready except for one test "test_metric_alert_v2_scenario"
https://dev.azure.com/azure-sdk/public/_build/results?buildId=223898&view=logs&j=201a69fb-575c-5f90-d252-d1ed1e360cc3&t=fb98e434-311f-5204-eaf4-065ec0de8a99&l=7680
I am unable to re-record this because the storage_account is missing can one of you help me with this- this is the last piece to get the build working. Thanks a lot!
that needs to be re-recorded

Hi @panchagnula, it is caused by storage service in monitor alert. We will do the change in dev branch and you can pull the latest dev and rebase dev branch when it is ready.

Sounds good thanks - let me know when the fix is in dev I will pull & rebase.

you can rebase dev branch now. if there is still problem, feel free to let me know.

Tried this & still the same error when trying to re-record raise CLIError('{} {}'.format(message, code))
E knack.util.CLIError: Unable to find the resource /subscriptions/e483435e-282d-4ac1-92b5-d6123f2aa360/resourceGroups/cli_test_metric_alert_v23gguxyyliai35ejxeklzrm6ujtf6jxegub4epaxunzrtchixrw7/providers/Microsoft.Storage/storageAccounts/clitestwgbiozzwakiu5pd3p, please confirm that it exists.. [Code: "BadRequest"] .

This test needs to be re-recoded with this change since this use Appservice plan command the api-version of which has been updated in this PR. Can I disable this test as a part of this, merge these & someone from the core team re-record this once this is in dev? Please let me know - this has been sitting in PR forever.

@yonzhan
Copy link
Collaborator

yonzhan commented Jan 10, 2020

@Juliehzl please merge this PR by this week.

@Juliehzl
Copy link
Contributor

Hi @panchagnula, can you use az webapp deployment user show correctly?

@panchagnula panchagnula force-pushed the sisirap-newSDKAppService branch from e539052 to 140ea1f Compare January 13, 2020 07:13
…pi support

Adding new file

Re-recording webjobs tests

Adding Yaml files

Re-running tests

Removing incorrect tests & add new recording

Updating requirements files

recording Linux test on MAC

Adding recording for Identity file

Removing reservedInstanceCount since its no longer supported with new API-version

PyLint fixes

Adding recording for failing tests

Adding recording

Updating clientFacotory

Updating reference to APPService MGMT_Client

Fixing linter to find the client_management operations

Adding recording

Updating to use an api-version that has website_client_management

Updating to use 2018-02-01 as the api-version

Fixing mock tests after using multi-api SDK support

Recording bot tests after webapp sdk update

Updating history

Recording for failing bot test

Fixing history
@panchagnula panchagnula force-pushed the sisirap-newSDKAppService branch from 140ea1f to ff4d6ad Compare January 13, 2020 07:30
@panchagnula
Copy link
Contributor Author

Hi @panchagnula, can you use az webapp deployment user show correctly?

haven't checked will take a look. Is there a reason you are checking this? Is there some known issue you are aware of? Thanks!

@panchagnula
Copy link
Contributor Author

closing this since this is was covered by #11056

@panchagnula panchagnula deleted the sisirap-newSDKAppService branch January 16, 2020 07:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

webapp:2019-03-01-hybrid profile is not supporting "az appservice"

4 participants