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

[web app] Test failure #14623

Closed
qwordy opened this issue Aug 3, 2020 · 8 comments
Closed

[web app] Test failure #14623

qwordy opened this issue Aug 3, 2020 · 8 comments
Assignees
Labels
App Services az appservice Service Attention This issue is responsible by Azure service team.
Milestone

Comments

@qwordy
Copy link
Member

qwordy commented Aug 3, 2020

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Describe the bug

FAILED src\azure-cli\azure\cli\command_modules\appservice\tests\latest\test_webapp_commands.py::WebappImplictIdentityTest::test_webapp_assign_user_identity
FAILED src\azure-cli\azure\cli\command_modules\appservice\tests\latest\test_webapp_commands.py::WebappImplictIdentityTest::test_webapp_remove_identity
FAILED src\azure-cli\azure\cli\command_modules\appservice\tests\latest\test_webapp_commands.py::WebappWindowsContainerBasicE2ETest::test_webapp_create_with_msi

These three test cases cannot pass.
Open this issue to track it.

Error

knack.util.CLIError: Name clitest.rg3hdo26ksbqcrbem7cwwqll4z2p5pyv26gwhroglddmnbyz5v4prss6snz4laex5aq is not valid.

To Reproduce

Expected behavior

Environment summary

Additional context

@qwordy qwordy added Service Attention This issue is responsible by Azure service team. App Services az appservice labels Aug 3, 2020
@ghost
Copy link

ghost commented Aug 3, 2020

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @antcp, @AzureAppServiceCLI.

@yungezz
Copy link
Member

yungezz commented Aug 3, 2020

hi @panchagnula could you pls help to look at the issue? Currently Azure CLI CI blocked by the test failure. one example failure: https://dev.azure.com/azure-sdk/public/_build/results?buildId=479772&view=logs&j=771f6cdf-8d98-5d9b-2fb9-d3a6e9554788&t=0a182f1d-9946-580d-467e-4d4ebd6af32d&l=6534

@panchagnula
Copy link
Contributor

@cxznmhdcxz looks like the new tests you added are failing in CLI? can you take a look please and fix the test or add a new recording? Thanks!

@cxznmhdcxz
Copy link
Member

cxznmhdcxz commented Aug 5, 2020

Three test methods that raises:

  1. test_webapp_assign_user_identity
  2. test_webapp_remove_identity
  3. test_webapp_create_with_msi

For the first and second one, I could reproduce the same error in live mode (different random name though of course), and could pass live/record mode after a small fix: @ResourceGroupPreparer(name_prefix="cli", random_name_length=6)

However for the third one, I could pass either live/record mode.
Still looking into it. But any information or step to reproduce a same error would be appreciated.

@panchagnula
Copy link
Contributor

@calvinsID can you check if on the latest Dev you are able to repro these tests failing as well?

@calvinsID
Copy link
Contributor

calvinsID commented Aug 5, 2020

I got the same results as @cxznmhdcxz.

  1. test_webapp_assign_user_identity passes live with change: @ResourceGroupPreparer(name_prefix="clitest", random_name_length=24)
  2. test_webapp_remove_identity passes live with the change: @ResourceGroupPreparer(name_prefix="clitest", random_name_length=24)
  3. test_webapp_create_with_msi - unable to repro error, it passes live for me

@colbylwilliams
Copy link
Member

I started seeing this error in our extension's CI when attempting to deploy an ARM template since the last release (2.10.1).

@btardif btardif added this to the S178 milestone Oct 21, 2020
@btardif
Copy link
Member

btardif commented Oct 28, 2020

This is fixed

@btardif btardif closed this as completed Oct 28, 2020
@panchagnula panchagnula changed the title [AppService] Test failure [webapp] Test failure Oct 28, 2020
@panchagnula panchagnula changed the title [webapp] Test failure [web app] Test failure Oct 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
App Services az appservice Service Attention This issue is responsible by Azure service team.
Projects
None yet
Development

No branches or pull requests

7 participants