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

{Service Connector} az webapp/containerapp/spring connection: Commands for POC #28103

Closed
wants to merge 27 commits into from

Conversation

wchigit
Copy link
Contributor

@wchigit wchigit commented Dec 28, 2023

Related command

Description
This PR is for the use of POC.
Related PRs:
#28095
#28079
#28089
#28061

Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change
[Component Name 2] az command b: Add some customer-facing feature


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

Copy link

azure-client-tools-bot-prd bot commented Dec 28, 2023

❌AzureCLI-FullTest
️✔️acr
️✔️2020-09-01-hybrid
️✔️3.11
️✔️3.9
️✔️latest
️✔️3.11
️✔️3.9
️✔️acs
️✔️2020-09-01-hybrid
️✔️3.11
️✔️3.9
️✔️latest
️✔️3.11
️✔️3.9
️✔️advisor
️✔️latest
️✔️3.11
️✔️3.9
🔄ams
🔄latest
🔄3.11
🔄3.9
🔄apim
🔄latest
🔄3.11
🔄3.9
️✔️appconfig
️✔️latest
️✔️3.11
️✔️3.9
❌appservice
❌latest
❌3.11
Type Test Case Error Message Line
Failed test_functionapp_workloadprofiles self = <azure.cli.command_modules.appservice.tests.latest.test_functionapp_commands.FunctionWorkloadProfile testMethod=test_functionapp_workloadprofiles>
resource_group = 'clitest.rg000001', storage_account = 'clitest000002'

    @AllowLargeResponse(8192)
    @ResourceGroupPreparer(location="westus")
    @StorageAccountPreparer()
    def test_functionapp_workloadprofiles(self, resource_group, storage_account):
    
        location = "NorthCentralUS(Stage)"
        functionapp_name = self.create_random_name(
            'functionapp', 32)
        managed_environment_name = self.create_random_name(
            'managedenvironment', 40
        )
        workload_profile_name = self.create_random_name(
            'wlp', 15
        )
    
        workload_profile_name_2 = self.create_random_name(
            'wlp', 15
        )
    
>       self.cmd('containerapp env create --name {} --resource-group {} --location {} --enable-workload-profiles  --logs-destination none'.format(
            managed_environment_name,
            resource_group,
            location,
        ))

src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py:474: 
                                        
src/azure-cli-testsdk/azure/cli/testsdk/base.py:175: in cmd
    return execute(self.cli_ctx, command, expect_failure=expect_failure).assert_with_checks(checks)
src/azure-cli-testsdk/azure/cli/testsdk/base.py:250: in init
    self.in_process_execute(cli_ctx, command, expect_failure=expect_failure)
src/azure-cli-testsdk/azure/cli/testsdk/base.py:301: in in_process_execute
    self.exit_code = cli_ctx.invoke(shlex.split(command), out_file=stdout_buf) or 0
env/lib/python3.11/site-packages/knack/cli.py:250: in invoke
    raise ex
env/lib/python3.11/site-packages/knack/cli.py:233: in invoke
    cmd_result = self.invocation.execute(args)
src/azure-cli-core/azure/cli/core/commands/init.py:588: in execute
    parsed_args = self.parser.parse_args(args)
env/lib/python3.11/site-packages/knack/parser.py:261: in parse_args
    return super().parse_args(args)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:1869: in parse_args
    args, argv = self.parse_known_args(args, namespace)
src/azure-cli-core/azure/cli/core/parser.py:281: in parse_known_args
    self.namespace, self.raw_arguments = super().parse_known_args(args=args, namespace=namespace)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:1902: in parse_known_args
    namespace, args = self.parse_known_args(args, namespace)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:2096: in parse_known_args
    positionals_end_index = consume_positionals(start_index)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:2073: in consume_positionals
    take_action(action, args)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:1978: in take_action
    action(self, namespace, argument_values, option_string)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:1241: in call
    subnamespace, arg_strings = parser.parse_known_args(arg_strings, None)
src/azure-cli-core/azure/cli/core/parser.py:281: in parse_known_args
    self.namespace, self.raw_arguments = super().parse_known_args(args=args, namespace=namespace)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:1902: in parse_known_args
    namespace, args = self.parse_known_args(args, namespace)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:2096: in parse_known_args
    positionals_end_index = consume_positionals(start_index)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:2073: in consume_positionals
    take_action(action, args)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:1962: in take_action
    argument_values = self.get_values(action, argument_strings)
src/azure-cli-core/azure/cli/core/parser.py:272: in get_values
    value = super(AzCliCommandParser, self).get_values(action, arg_strings)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:2506: in get_values
    self.check_value(action, value[0])
src/azure-cli-core/azure/cli/core/parser.py:337: in check_value
    self.exit(2)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
                         

self = AzCliCommandParser(prog='az containerapp', usage=None, description=None, formatter_class=<class 'argparse.HelpFormatter'>, conflict_handler='error', add_help=True)
status = 2, message = None

    def exit(self, status=0, message=None):
        if message:
            self._print_message(message, _sys.stderr)
>       _sys.exit(status)
E       SystemExit: 2

/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:2617: SystemExit
azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py:454
Failed test_functionapp_config_with_appcontainer_managed_environment_error self = <azure.cli.command_modules.appservice.tests.latest.test_functionapp_commands.FunctionAppManagedEnvironment testMethod=test_functionapp_config_with_appcontainer_managed_environment_error>
resource_group = 'clitest.rg000001', storage_account = 'clitest000002'

    @ResourceGroupPreparer(location='northeurope')
    @StorageAccountPreparer()
    def test_functionapp_config_with_appcontainer_managed_environment_error(self, resource_group, storage_account):
    
        functionapp_name = self.create_random_name('functionapp', 32)
        managed_environment_name = self.create_random_name('containerappmanagedenvironment', 40)
    
>       self.cmd('containerapp env create --name {} --resource-group {} --location northeurope --logs-destination none'
        .format(managed_environment_name, resource_group)).assert_with_checks([
                     JMESPathCheck('name', managed_environment_name),
                     JMESPathCheck('resourceGroup', resource_group),
                     JMESPathCheck('location', 'North Europe')])

src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py:858: 
                                        
src/azure-cli-testsdk/azure/cli/testsdk/base.py:175: in cmd
    return execute(self.cli_ctx, command, expect_failure=expect_failure).assert_with_checks(checks)
src/azure-cli-testsdk/azure/cli/testsdk/base.py:250: in init
    self.in_process_execute(cli_ctx, command, expect_failure=expect_failure)
src/azure-cli-testsdk/azure/cli/testsdk/base.py:301: in in_process_execute
    self.exit_code = cli_ctx.invoke(shlex.split(command), out_file=stdout_buf) or 0
env/lib/python3.11/site-packages/knack/cli.py:250: in invoke
    raise ex
env/lib/python3.11/site-packages/knack/cli.py:233: in invoke
    cmd_result = self.invocation.execute(args)
src/azure-cli-core/azure/cli/core/commands/init.py:588: in execute
    parsed_args = self.parser.parse_args(args)
env/lib/python3.11/site-packages/knack/parser.py:261: in parse_args
    return super().parse_args(args)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:1869: in parse_args
    args, argv = self.parse_known_args(args, namespace)
src/azure-cli-core/azure/cli/core/parser.py:281: in parse_known_args
    self.namespace, self.raw_arguments = super().parse_known_args(args=args, namespace=namespace)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:1902: in parse_known_args
    namespace, args = self.parse_known_args(args, namespace)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:2096: in parse_known_args
    positionals_end_index = consume_positionals(start_index)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:2073: in consume_positionals
    take_action(action, args)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:1978: in take_action
    action(self, namespace, argument_values, option_string)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:1241: in call
    subnamespace, arg_strings = parser.parse_known_args(arg_strings, None)
src/azure-cli-core/azure/cli/core/parser.py:281: in parse_known_args
    self.namespace, self.raw_arguments = super().parse_known_args(args=args, namespace=namespace)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:1902: in parse_known_args
    namespace, args = self.parse_known_args(args, namespace)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:2096: in parse_known_args
    positionals_end_index = consume_positionals(start_index)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:2073: in consume_positionals
    take_action(action, args)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:1962: in take_action
    argument_values = self.get_values(action, argument_strings)
src/azure-cli-core/azure/cli/core/parser.py:272: in get_values
    value = super(AzCliCommandParser, self).get_values(action, arg_strings)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:2506: in get_values
    self.check_value(action, value[0])
src/azure-cli-core/azure/cli/core/parser.py:337: in check_value
    self.exit(2)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
                         

self = AzCliCommandParser(prog='az containerapp', usage=None, description=None, formatter_class=<class 'argparse.HelpFormatter'>, conflict_handler='error', add_help=True)
status = 2, message = None

    def exit(self, status=0, message=None):
        if message:
            self._print_message(message, _sys.stderr)
>       _sys.exit(status)
E       SystemExit: 2

/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:2617: SystemExit
azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py:850
Failed test_functionapp_container_config_set_replicas self = <azure.cli.command_modules.appservice.tests.latest.test_functionapp_commands.FunctionAppManagedEnvironment testMethod=test_functionapp_container_config_set_replicas>
resource_group = 'clitest.rg000001', storage_account = 'clitest000002'

    @ResourceGroupPreparer(location='eastus')
    @StorageAccountPreparer()
    def test_functionapp_container_config_set_replicas(self, resource_group, storage_account):
        functionapp_name = self.create_random_name(
            'functionappwindowsruntime', 32)
        managed_environment_name = self.create_random_name(
            'containerappmanagedenvironment', 40
        )
    
>       self.cmd('containerapp env create --name {} --resource-group {} --location eastus --logs-destination none'
        .format(managed_environment_name, resource_group)).assert_with_checks([
                     JMESPathCheck('name', managed_environment_name),
                     JMESPathCheck('resourceGroup', resource_group),
                     JMESPathCheck('location', 'East US')])

src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py:925: 
                                        
src/azure-cli-testsdk/azure/cli/testsdk/base.py:175: in cmd
    return execute(self.cli_ctx, command, expect_failure=expect_failure).assert_with_checks(checks)
src/azure-cli-testsdk/azure/cli/testsdk/base.py:250: in init
    self.in_process_execute(cli_ctx, command, expect_failure=expect_failure)
src/azure-cli-testsdk/azure/cli/testsdk/base.py:301: in in_process_execute
    self.exit_code = cli_ctx.invoke(shlex.split(command), out_file=stdout_buf) or 0
env/lib/python3.11/site-packages/knack/cli.py:250: in invoke
    raise ex
env/lib/python3.11/site-packages/knack/cli.py:233: in invoke
    cmd_result = self.invocation.execute(args)
src/azure-cli-core/azure/cli/core/commands/init.py:588: in execute
    parsed_args = self.parser.parse_args(args)
env/lib/python3.11/site-packages/knack/parser.py:261: in parse_args
    return super().parse_args(args)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:1869: in parse_args
    args, argv = self.parse_known_args(args, namespace)
src/azure-cli-core/azure/cli/core/parser.py:281: in parse_known_args
    self.namespace, self.raw_arguments = super().parse_known_args(args=args, namespace=namespace)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:1902: in parse_known_args
    namespace, args = self.parse_known_args(args, namespace)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:2096: in parse_known_args
    positionals_end_index = consume_positionals(start_index)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:2073: in consume_positionals
    take_action(action, args)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:1978: in take_action
    action(self, namespace, argument_values, option_string)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:1241: in call
    subnamespace, arg_strings = parser.parse_known_args(arg_strings, None)
src/azure-cli-core/azure/cli/core/parser.py:281: in parse_known_args
    self.namespace, self.raw_arguments = super().parse_known_args(args=args, namespace=namespace)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:1902: in parse_known_args
    namespace, args = self.parse_known_args(args, namespace)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:2096: in parse_known_args
    positionals_end_index = consume_positionals(start_index)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:2073: in consume_positionals
    take_action(action, args)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:1962: in take_action
    argument_values = self.get_values(action, argument_strings)
src/azure-cli-core/azure/cli/core/parser.py:272: in get_values
    value = super(AzCliCommandParser, self).get_values(action, arg_strings)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:2506: in get_values
    self.check_value(action, value[0])
src/azure-cli-core/azure/cli/core/parser.py:337: in check_value
    self.exit(2)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
                         

self = AzCliCommandParser(prog='az containerapp', usage=None, description=None, formatter_class=<class 'argparse.HelpFormatter'>, conflict_handler='error', add_help=True)
status = 2, message = None

    def exit(self, status=0, message=None):
        if message:
            self._print_message(message, _sys.stderr)
>       _sys.exit(status)
E       SystemExit: 2

/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:2617: SystemExit
azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py:915
Failed test_functionapp_create_registry_password_error self = <azure.cli.command_modules.appservice.tests.latest.test_functionapp_commands.FunctionAppManagedEnvironment testMethod=test_functionapp_create_registry_password_error>
resource_group = 'clitest.rg000001', storage_account = 'clitest000002'

    @ResourceGroupPreparer(location=WINDOWS_ASP_LOCATION_FUNCTIONAPP)
    @StorageAccountPreparer()
    def test_functionapp_create_registry_password_error(self, resource_group, storage_account):
        functionapp_name = self.create_random_name(
            'functionappwindowsruntime', 30)
        managed_environment_name = self.create_random_name(
            'containerappmanagedenvironment', 40
        )
    
>       self.cmd('containerapp env create --name {} --resource-group {} --location francecentral --logs-destination none'
        .format(managed_environment_name, resource_group)).assert_with_checks([
                     JMESPathCheck('name', managed_environment_name),
                     JMESPathCheck('resourceGroup', resource_group),
                     JMESPathCheck('location', 'France Central')])

src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py:992: 
                                        
src/azure-cli-testsdk/azure/cli/testsdk/base.py:175: in cmd
    return execute(self.cli_ctx, command, expect_failure=expect_failure).assert_with_checks(checks)
src/azure-cli-testsdk/azure/cli/testsdk/base.py:250: in init
    self.in_process_execute(cli_ctx, command, expect_failure=expect_failure)
src/azure-cli-testsdk/azure/cli/testsdk/base.py:301: in in_process_execute
    self.exit_code = cli_ctx.invoke(shlex.split(command), out_file=stdout_buf) or 0
env/lib/python3.11/site-packages/knack/cli.py:250: in invoke
    raise ex
env/lib/python3.11/site-packages/knack/cli.py:233: in invoke
    cmd_result = self.invocation.execute(args)
src/azure-cli-core/azure/cli/core/commands/init.py:588: in execute
    parsed_args = self.parser.parse_args(args)
env/lib/python3.11/site-packages/knack/parser.py:261: in parse_args
    return super().parse_args(args)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:1869: in parse_args
    args, argv = self.parse_known_args(args, namespace)
src/azure-cli-core/azure/cli/core/parser.py:281: in parse_known_args
    self.namespace, self.raw_arguments = super().parse_known_args(args=args, namespace=namespace)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:1902: in parse_known_args
    namespace, args = self.parse_known_args(args, namespace)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:2096: in parse_known_args
    positionals_end_index = consume_positionals(start_index)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:2073: in consume_positionals
    take_action(action, args)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:1978: in take_action
    action(self, namespace, argument_values, option_string)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:1241: in call
    subnamespace, arg_strings = parser.parse_known_args(arg_strings, None)
src/azure-cli-core/azure/cli/core/parser.py:281: in parse_known_args
    self.namespace, self.raw_arguments = super().parse_known_args(args=args, namespace=namespace)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:1902: in parse_known_args
    namespace, args = self.parse_known_args(args, namespace)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:2096: in parse_known_args
    positionals_end_index = consume_positionals(start_index)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:2073: in consume_positionals
    take_action(action, args)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:1962: in take_action
    argument_values = self.get_values(action, argument_strings)
src/azure-cli-core/azure/cli/core/parser.py:272: in get_values
    value = super(AzCliCommandParser, self).get_values(action, arg_strings)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:2506: in get_values
    self.check_value(action, value[0])
src/azure-cli-core/azure/cli/core/parser.py:337: in check_value
    self.exit(2)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
                         

self = AzCliCommandParser(prog='az containerapp', usage=None, description=None, formatter_class=<class 'argparse.HelpFormatter'>, conflict_handler='error', add_help=True)
status = 2, message = None

    def exit(self, status=0, message=None):
        if message:
            self._print_message(message, _sys.stderr)
>       _sys.exit(status)
E       SystemExit: 2

/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:2617: SystemExit
azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py:982
Failed test_functionapp_create_registry_server_error self = <azure.cli.command_modules.appservice.tests.latest.test_functionapp_commands.FunctionAppManagedEnvironment testMethod=test_functionapp_create_registry_server_error>
resource_group = 'clitest.rg000001', storage_account = 'clitest000002'

    @ResourceGroupPreparer(location='westeurope')
    @StorageAccountPreparer()
    def test_functionapp_create_registry_server_error(self, resource_group, storage_account):
        functionapp_name = self.create_random_name(
            'functionappwindowsruntime', 30)
        managed_environment_name = self.create_random_name(
            'containerappmanagedenvironment', 40
        )
    
>       self.cmd('containerapp env create --name {} --resource-group {} --location westeurope --logs-destination none'
        .format(managed_environment_name, resource_group)).assert_with_checks([
                     JMESPathCheck('name', managed_environment_name),
                     JMESPathCheck('resourceGroup', resource_group),
                     JMESPathCheck('location', 'West Europe')])

src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py:952: 
                                        
src/azure-cli-testsdk/azure/cli/testsdk/base.py:175: in cmd
    return execute(self.cli_ctx, command, expect_failure=expect_failure).assert_with_checks(checks)
src/azure-cli-testsdk/azure/cli/testsdk/base.py:250: in init
    self.in_process_execute(cli_ctx, command, expect_failure=expect_failure)
src/azure-cli-testsdk/azure/cli/testsdk/base.py:301: in in_process_execute
    self.exit_code = cli_ctx.invoke(shlex.split(command), out_file=stdout_buf) or 0
env/lib/python3.11/site-packages/knack/cli.py:250: in invoke
    raise ex
env/lib/python3.11/site-packages/knack/cli.py:233: in invoke
    cmd_result = self.invocation.execute(args)
src/azure-cli-core/azure/cli/core/commands/init.py:588: in execute
    parsed_args = self.parser.parse_args(args)
env/lib/python3.11/site-packages/knack/parser.py:261: in parse_args
    return super().parse_args(args)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:1869: in parse_args
    args, argv = self.parse_known_args(args, namespace)
src/azure-cli-core/azure/cli/core/parser.py:281: in parse_known_args
    self.namespace, self.raw_arguments = super().parse_known_args(args=args, namespace=namespace)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:1902: in parse_known_args
    namespace, args = self.parse_known_args(args, namespace)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:2096: in parse_known_args
    positionals_end_index = consume_positionals(start_index)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:2073: in consume_positionals
    take_action(action, args)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:1978: in take_action
    action(self, namespace, argument_values, option_string)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:1241: in call
    subnamespace, arg_strings = parser.parse_known_args(arg_strings, None)
src/azure-cli-core/azure/cli/core/parser.py:281: in parse_known_args
    self.namespace, self.raw_arguments = super().parse_known_args(args=args, namespace=namespace)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:1902: in parse_known_args
    namespace, args = self.parse_known_args(args, namespace)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:2096: in parse_known_args
    positionals_end_index = consume_positionals(start_index)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:2073: in consume_positionals
    take_action(action, args)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:1962: in take_action
    argument_values = self.get_values(action, argument_strings)
src/azure-cli-core/azure/cli/core/parser.py:272: in get_values
    value = super(AzCliCommandParser, self).get_values(action, arg_strings)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:2506: in get_values
    self.check_value(action, value[0])
src/azure-cli-core/azure/cli/core/parser.py:337: in check_value
    self.exit(2)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
                         

self = AzCliCommandParser(prog='az containerapp', usage=None, description=None, formatter_class=<class 'argparse.HelpFormatter'>, conflict_handler='error', add_help=True)
status = 2, message = None

    def exit(self, status=0, message=None):
        if message:
            self._print_message(message, _sys.stderr)
>       _sys.exit(status)
E       SystemExit: 2

/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:2617: SystemExit
azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py:942
Failed test_functionapp_create_registry_username_error self = <azure.cli.command_modules.appservice.tests.latest.test_functionapp_commands.FunctionAppManagedEnvironment testMethod=test_functionapp_create_registry_username_error>
resource_group = 'clitest.rg000001', storage_account = 'clitest000002'

    @ResourceGroupPreparer(location='southcentralus')
    @StorageAccountPreparer()
    def test_functionapp_create_registry_username_error(self, resource_group, storage_account):
        functionapp_name = self.create_random_name(
            'functionappwindowsruntime', 30)
        managed_environment_name = self.create_random_name(
            'containerappmanagedenvironment', 40
        )
    
>       self.cmd('containerapp env create --name {} --resource-group {} --location southcentralus --logs-destination none'
        .format(managed_environment_name, resource_group)).assert_with_checks([
                     JMESPathCheck('name', managed_environment_name),
                     JMESPathCheck('resourceGroup', resource_group),
                     JMESPathCheck('location', 'South Central US')])

src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py:972: 
                                        
src/azure-cli-testsdk/azure/cli/testsdk/base.py:175: in cmd
    return execute(self.cli_ctx, command, expect_failure=expect_failure).assert_with_checks(checks)
src/azure-cli-testsdk/azure/cli/testsdk/base.py:250: in init
    self.in_process_execute(cli_ctx, command, expect_failure=expect_failure)
src/azure-cli-testsdk/azure/cli/testsdk/base.py:301: in in_process_execute
    self.exit_code = cli_ctx.invoke(shlex.split(command), out_file=stdout_buf) or 0
env/lib/python3.11/site-packages/knack/cli.py:250: in invoke
    raise ex
env/lib/python3.11/site-packages/knack/cli.py:233: in invoke
    cmd_result = self.invocation.execute(args)
src/azure-cli-core/azure/cli/core/commands/init.py:588: in execute
    parsed_args = self.parser.parse_args(args)
env/lib/python3.11/site-packages/knack/parser.py:261: in parse_args
    return super().parse_args(args)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:1869: in parse_args
    args, argv = self.parse_known_args(args, namespace)
src/azure-cli-core/azure/cli/core/parser.py:281: in parse_known_args
    self.namespace, self.raw_arguments = super().parse_known_args(args=args, namespace=namespace)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:1902: in parse_known_args
    namespace, args = self.parse_known_args(args, namespace)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:2096: in parse_known_args
    positionals_end_index = consume_positionals(start_index)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:2073: in consume_positionals
    take_action(action, args)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:1978: in take_action
    action(self, namespace, argument_values, option_string)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:1241: in call
    subnamespace, arg_strings = parser.parse_known_args(arg_strings, None)
src/azure-cli-core/azure/cli/core/parser.py:281: in parse_known_args
    self.namespace, self.raw_arguments = super().parse_known_args(args=args, namespace=namespace)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:1902: in parse_known_args
    namespace, args = self.parse_known_args(args, namespace)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:2096: in parse_known_args
    positionals_end_index = consume_positionals(start_index)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:2073: in consume_positionals
    take_action(action, args)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:1962: in take_action
    argument_values = self.get_values(action, argument_strings)
src/azure-cli-core/azure/cli/core/parser.py:272: in get_values
    value = super(AzCliCommandParser, self).get_values(action, arg_strings)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:2506: in get_values
    self.check_value(action, value[0])
src/azure-cli-core/azure/cli/core/parser.py:337: in check_value
    self.exit(2)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
                         

self = AzCliCommandParser(prog='az containerapp', usage=None, description=None, formatter_class=<class 'argparse.HelpFormatter'>, conflict_handler='error', add_help=True)
status = 2, message = None

    def exit(self, status=0, message=None):
        if message:
            self._print_message(message, _sys.stderr)
>       _sys.exit(status)
E       SystemExit: 2

/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/argparse.py:2617: SystemExit
azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py:962
Failed test_functionapp_create_with_appcontainer_managed_environment The error message is too long, please check the pipeline log for details. azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py:636
Failed test_functionapp_create_with_appcontainer_managed_environment_add_vnet_error The error message is too long, please check the pipeline log for details. azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py:724
Failed test_functionapp_create_with_appcontainer_managed_environment_consumption_plan_error The error message is too long, please check the pipeline log for details. azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py:684
Failed test_functionapp_create_with_appcontainer_managed_environment_existing_app_insights The error message is too long, please check the pipeline log for details. azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py:660
Failed test_functionapp_create_with_appcontainer_managed_environment_list_vnet_error The error message is too long, please check the pipeline log for details. azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py:777
Failed test_functionapp_create_with_appcontainer_managed_environment_plan_error The error message is too long, please check the pipeline log for details. azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py:826
Failed test_functionapp_create_with_appcontainer_managed_environment_remove_vnet_error The error message is too long, please check the pipeline log for details. azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py:752
Failed test_functionapp_create_with_appcontainer_managed_environment_vnet_config_error The error message is too long, please check the pipeline log for details. azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py:703
Failed test_functionapp_create_with_replicas The error message is too long, please check the pipeline log for details. azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py:876
Failed test_functionapp_delete_functions The error message is too long, please check the pipeline log for details. azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py:802
❌3.9
Type Test Case Error Message Line
Failed test_functionapp_workloadprofiles self = <azure.cli.command_modules.appservice.tests.latest.test_functionapp_commands.FunctionWorkloadProfile testMethod=test_functionapp_workloadprofiles>
resource_group = 'clitest.rg000001', storage_account = 'clitest000002'

    @AllowLargeResponse(8192)
    @ResourceGroupPreparer(location="westus")
    @StorageAccountPreparer()
    def test_functionapp_workloadprofiles(self, resource_group, storage_account):
    
        location = "NorthCentralUS(Stage)"
        functionapp_name = self.create_random_name(
            'functionapp', 32)
        managed_environment_name = self.create_random_name(
            'managedenvironment', 40
        )
        workload_profile_name = self.create_random_name(
            'wlp', 15
        )
    
        workload_profile_name_2 = self.create_random_name(
            'wlp', 15
        )
    
>       self.cmd('containerapp env create --name {} --resource-group {} --location {} --enable-workload-profiles  --logs-destination none'.format(
            managed_environment_name,
            resource_group,
            location,
        ))

src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py:474: 
                                        
src/azure-cli-testsdk/azure/cli/testsdk/base.py:175: in cmd
    return execute(self.cli_ctx, command, expect_failure=expect_failure).assert_with_checks(checks)
src/azure-cli-testsdk/azure/cli/testsdk/base.py:250: in init
    self.in_process_execute(cli_ctx, command, expect_failure=expect_failure)
src/azure-cli-testsdk/azure/cli/testsdk/base.py:301: in in_process_execute
    self.exit_code = cli_ctx.invoke(shlex.split(command), out_file=stdout_buf) or 0
env/lib/python3.9/site-packages/knack/cli.py:250: in invoke
    raise ex
env/lib/python3.9/site-packages/knack/cli.py:233: in invoke
    cmd_result = self.invocation.execute(args)
src/azure-cli-core/azure/cli/core/commands/init.py:588: in execute
    parsed_args = self.parser.parse_args(args)
env/lib/python3.9/site-packages/knack/parser.py:261: in parse_args
    return super().parse_args(args)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:1825: in parse_args
    args, argv = self.parse_known_args(args, namespace)
src/azure-cli-core/azure/cli/core/parser.py:281: in parse_known_args
    self.namespace, self.raw_arguments = super().parse_known_args(args=args, namespace=namespace)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:1858: in parse_known_args
    namespace, args = self.parse_known_args(args, namespace)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:2049: in parse_known_args
    positionals_end_index = consume_positionals(start_index)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:2026: in consume_positionals
    take_action(action, args)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:1935: in take_action
    action(self, namespace, argument_values, option_string)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:1214: in call
    subnamespace, arg_strings = parser.parse_known_args(arg_strings, None)
src/azure-cli-core/azure/cli/core/parser.py:281: in parse_known_args
    self.namespace, self.raw_arguments = super().parse_known_args(args=args, namespace=namespace)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:1858: in parse_known_args
    namespace, args = self.parse_known_args(args, namespace)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:2049: in parse_known_args
    positionals_end_index = consume_positionals(start_index)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:2026: in consume_positionals
    take_action(action, args)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:1919: in take_action
    argument_values = self.get_values(action, argument_strings)
src/azure-cli-core/azure/cli/core/parser.py:272: in get_values
    value = super(AzCliCommandParser, self).get_values(action, arg_strings)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:2460: in get_values
    self.check_value(action, value[0])
src/azure-cli-core/azure/cli/core/parser.py:337: in check_value
    self.exit(2)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
                         

self = AzCliCommandParser(prog='az containerapp', usage=None, description=None, formatter_class=<class 'argparse.HelpFormatter'>, conflict_handler='error', add_help=True)
status = 2, message = None

    def exit(self, status=0, message=None):
        if message:
            self._print_message(message, _sys.stderr)
>       _sys.exit(status)
E       SystemExit: 2

/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:2569: SystemExit
azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py:454
Failed test_functionapp_config_with_appcontainer_managed_environment_error self = <azure.cli.command_modules.appservice.tests.latest.test_functionapp_commands.FunctionAppManagedEnvironment testMethod=test_functionapp_config_with_appcontainer_managed_environment_error>
resource_group = 'clitest.rg000001', storage_account = 'clitest000002'

    @ResourceGroupPreparer(location='northeurope')
    @StorageAccountPreparer()
    def test_functionapp_config_with_appcontainer_managed_environment_error(self, resource_group, storage_account):
    
        functionapp_name = self.create_random_name('functionapp', 32)
        managed_environment_name = self.create_random_name('containerappmanagedenvironment', 40)
    
>       self.cmd('containerapp env create --name {} --resource-group {} --location northeurope --logs-destination none'
        .format(managed_environment_name, resource_group)).assert_with_checks([
                     JMESPathCheck('name', managed_environment_name),
                     JMESPathCheck('resourceGroup', resource_group),
                     JMESPathCheck('location', 'North Europe')])

src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py:858: 
                                        
src/azure-cli-testsdk/azure/cli/testsdk/base.py:175: in cmd
    return execute(self.cli_ctx, command, expect_failure=expect_failure).assert_with_checks(checks)
src/azure-cli-testsdk/azure/cli/testsdk/base.py:250: in init
    self.in_process_execute(cli_ctx, command, expect_failure=expect_failure)
src/azure-cli-testsdk/azure/cli/testsdk/base.py:301: in in_process_execute
    self.exit_code = cli_ctx.invoke(shlex.split(command), out_file=stdout_buf) or 0
env/lib/python3.9/site-packages/knack/cli.py:250: in invoke
    raise ex
env/lib/python3.9/site-packages/knack/cli.py:233: in invoke
    cmd_result = self.invocation.execute(args)
src/azure-cli-core/azure/cli/core/commands/init.py:588: in execute
    parsed_args = self.parser.parse_args(args)
env/lib/python3.9/site-packages/knack/parser.py:261: in parse_args
    return super().parse_args(args)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:1825: in parse_args
    args, argv = self.parse_known_args(args, namespace)
src/azure-cli-core/azure/cli/core/parser.py:281: in parse_known_args
    self.namespace, self.raw_arguments = super().parse_known_args(args=args, namespace=namespace)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:1858: in parse_known_args
    namespace, args = self.parse_known_args(args, namespace)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:2049: in parse_known_args
    positionals_end_index = consume_positionals(start_index)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:2026: in consume_positionals
    take_action(action, args)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:1935: in take_action
    action(self, namespace, argument_values, option_string)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:1214: in call
    subnamespace, arg_strings = parser.parse_known_args(arg_strings, None)
src/azure-cli-core/azure/cli/core/parser.py:281: in parse_known_args
    self.namespace, self.raw_arguments = super().parse_known_args(args=args, namespace=namespace)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:1858: in parse_known_args
    namespace, args = self.parse_known_args(args, namespace)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:2049: in parse_known_args
    positionals_end_index = consume_positionals(start_index)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:2026: in consume_positionals
    take_action(action, args)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:1919: in take_action
    argument_values = self.get_values(action, argument_strings)
src/azure-cli-core/azure/cli/core/parser.py:272: in get_values
    value = super(AzCliCommandParser, self).get_values(action, arg_strings)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:2460: in get_values
    self.check_value(action, value[0])
src/azure-cli-core/azure/cli/core/parser.py:337: in check_value
    self.exit(2)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
                         

self = AzCliCommandParser(prog='az containerapp', usage=None, description=None, formatter_class=<class 'argparse.HelpFormatter'>, conflict_handler='error', add_help=True)
status = 2, message = None

    def exit(self, status=0, message=None):
        if message:
            self._print_message(message, _sys.stderr)
>       _sys.exit(status)
E       SystemExit: 2

/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:2569: SystemExit
azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py:850
Failed test_functionapp_container_config_set_replicas self = <azure.cli.command_modules.appservice.tests.latest.test_functionapp_commands.FunctionAppManagedEnvironment testMethod=test_functionapp_container_config_set_replicas>
resource_group = 'clitest.rg000001', storage_account = 'clitest000002'

    @ResourceGroupPreparer(location='eastus')
    @StorageAccountPreparer()
    def test_functionapp_container_config_set_replicas(self, resource_group, storage_account):
        functionapp_name = self.create_random_name(
            'functionappwindowsruntime', 32)
        managed_environment_name = self.create_random_name(
            'containerappmanagedenvironment', 40
        )
    
>       self.cmd('containerapp env create --name {} --resource-group {} --location eastus --logs-destination none'
        .format(managed_environment_name, resource_group)).assert_with_checks([
                     JMESPathCheck('name', managed_environment_name),
                     JMESPathCheck('resourceGroup', resource_group),
                     JMESPathCheck('location', 'East US')])

src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py:925: 
                                        
src/azure-cli-testsdk/azure/cli/testsdk/base.py:175: in cmd
    return execute(self.cli_ctx, command, expect_failure=expect_failure).assert_with_checks(checks)
src/azure-cli-testsdk/azure/cli/testsdk/base.py:250: in init
    self.in_process_execute(cli_ctx, command, expect_failure=expect_failure)
src/azure-cli-testsdk/azure/cli/testsdk/base.py:301: in in_process_execute
    self.exit_code = cli_ctx.invoke(shlex.split(command), out_file=stdout_buf) or 0
env/lib/python3.9/site-packages/knack/cli.py:250: in invoke
    raise ex
env/lib/python3.9/site-packages/knack/cli.py:233: in invoke
    cmd_result = self.invocation.execute(args)
src/azure-cli-core/azure/cli/core/commands/init.py:588: in execute
    parsed_args = self.parser.parse_args(args)
env/lib/python3.9/site-packages/knack/parser.py:261: in parse_args
    return super().parse_args(args)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:1825: in parse_args
    args, argv = self.parse_known_args(args, namespace)
src/azure-cli-core/azure/cli/core/parser.py:281: in parse_known_args
    self.namespace, self.raw_arguments = super().parse_known_args(args=args, namespace=namespace)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:1858: in parse_known_args
    namespace, args = self.parse_known_args(args, namespace)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:2049: in parse_known_args
    positionals_end_index = consume_positionals(start_index)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:2026: in consume_positionals
    take_action(action, args)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:1935: in take_action
    action(self, namespace, argument_values, option_string)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:1214: in call
    subnamespace, arg_strings = parser.parse_known_args(arg_strings, None)
src/azure-cli-core/azure/cli/core/parser.py:281: in parse_known_args
    self.namespace, self.raw_arguments = super().parse_known_args(args=args, namespace=namespace)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:1858: in parse_known_args
    namespace, args = self.parse_known_args(args, namespace)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:2049: in parse_known_args
    positionals_end_index = consume_positionals(start_index)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:2026: in consume_positionals
    take_action(action, args)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:1919: in take_action
    argument_values = self.get_values(action, argument_strings)
src/azure-cli-core/azure/cli/core/parser.py:272: in get_values
    value = super(AzCliCommandParser, self).get_values(action, arg_strings)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:2460: in get_values
    self.check_value(action, value[0])
src/azure-cli-core/azure/cli/core/parser.py:337: in check_value
    self.exit(2)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
                         

self = AzCliCommandParser(prog='az containerapp', usage=None, description=None, formatter_class=<class 'argparse.HelpFormatter'>, conflict_handler='error', add_help=True)
status = 2, message = None

    def exit(self, status=0, message=None):
        if message:
            self._print_message(message, _sys.stderr)
>       _sys.exit(status)
E       SystemExit: 2

/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:2569: SystemExit
azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py:915
Failed test_functionapp_create_registry_password_error self = <azure.cli.command_modules.appservice.tests.latest.test_functionapp_commands.FunctionAppManagedEnvironment testMethod=test_functionapp_create_registry_password_error>
resource_group = 'clitest.rg000001', storage_account = 'clitest000002'

    @ResourceGroupPreparer(location=WINDOWS_ASP_LOCATION_FUNCTIONAPP)
    @StorageAccountPreparer()
    def test_functionapp_create_registry_password_error(self, resource_group, storage_account):
        functionapp_name = self.create_random_name(
            'functionappwindowsruntime', 30)
        managed_environment_name = self.create_random_name(
            'containerappmanagedenvironment', 40
        )
    
>       self.cmd('containerapp env create --name {} --resource-group {} --location francecentral --logs-destination none'
        .format(managed_environment_name, resource_group)).assert_with_checks([
                     JMESPathCheck('name', managed_environment_name),
                     JMESPathCheck('resourceGroup', resource_group),
                     JMESPathCheck('location', 'France Central')])

src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py:992: 
                                        
src/azure-cli-testsdk/azure/cli/testsdk/base.py:175: in cmd
    return execute(self.cli_ctx, command, expect_failure=expect_failure).assert_with_checks(checks)
src/azure-cli-testsdk/azure/cli/testsdk/base.py:250: in init
    self.in_process_execute(cli_ctx, command, expect_failure=expect_failure)
src/azure-cli-testsdk/azure/cli/testsdk/base.py:301: in in_process_execute
    self.exit_code = cli_ctx.invoke(shlex.split(command), out_file=stdout_buf) or 0
env/lib/python3.9/site-packages/knack/cli.py:250: in invoke
    raise ex
env/lib/python3.9/site-packages/knack/cli.py:233: in invoke
    cmd_result = self.invocation.execute(args)
src/azure-cli-core/azure/cli/core/commands/init.py:588: in execute
    parsed_args = self.parser.parse_args(args)
env/lib/python3.9/site-packages/knack/parser.py:261: in parse_args
    return super().parse_args(args)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:1825: in parse_args
    args, argv = self.parse_known_args(args, namespace)
src/azure-cli-core/azure/cli/core/parser.py:281: in parse_known_args
    self.namespace, self.raw_arguments = super().parse_known_args(args=args, namespace=namespace)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:1858: in parse_known_args
    namespace, args = self.parse_known_args(args, namespace)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:2049: in parse_known_args
    positionals_end_index = consume_positionals(start_index)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:2026: in consume_positionals
    take_action(action, args)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:1935: in take_action
    action(self, namespace, argument_values, option_string)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:1214: in call
    subnamespace, arg_strings = parser.parse_known_args(arg_strings, None)
src/azure-cli-core/azure/cli/core/parser.py:281: in parse_known_args
    self.namespace, self.raw_arguments = super().parse_known_args(args=args, namespace=namespace)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:1858: in parse_known_args
    namespace, args = self.parse_known_args(args, namespace)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:2049: in parse_known_args
    positionals_end_index = consume_positionals(start_index)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:2026: in consume_positionals
    take_action(action, args)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:1919: in take_action
    argument_values = self.get_values(action, argument_strings)
src/azure-cli-core/azure/cli/core/parser.py:272: in get_values
    value = super(AzCliCommandParser, self).get_values(action, arg_strings)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:2460: in get_values
    self.check_value(action, value[0])
src/azure-cli-core/azure/cli/core/parser.py:337: in check_value
    self.exit(2)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
                         

self = AzCliCommandParser(prog='az containerapp', usage=None, description=None, formatter_class=<class 'argparse.HelpFormatter'>, conflict_handler='error', add_help=True)
status = 2, message = None

    def exit(self, status=0, message=None):
        if message:
            self._print_message(message, _sys.stderr)
>       _sys.exit(status)
E       SystemExit: 2

/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:2569: SystemExit
azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py:982
Failed test_functionapp_create_registry_server_error self = <azure.cli.command_modules.appservice.tests.latest.test_functionapp_commands.FunctionAppManagedEnvironment testMethod=test_functionapp_create_registry_server_error>
resource_group = 'clitest.rg000001', storage_account = 'clitest000002'

    @ResourceGroupPreparer(location='westeurope')
    @StorageAccountPreparer()
    def test_functionapp_create_registry_server_error(self, resource_group, storage_account):
        functionapp_name = self.create_random_name(
            'functionappwindowsruntime', 30)
        managed_environment_name = self.create_random_name(
            'containerappmanagedenvironment', 40
        )
    
>       self.cmd('containerapp env create --name {} --resource-group {} --location westeurope --logs-destination none'
        .format(managed_environment_name, resource_group)).assert_with_checks([
                     JMESPathCheck('name', managed_environment_name),
                     JMESPathCheck('resourceGroup', resource_group),
                     JMESPathCheck('location', 'West Europe')])

src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py:952: 
                                        
src/azure-cli-testsdk/azure/cli/testsdk/base.py:175: in cmd
    return execute(self.cli_ctx, command, expect_failure=expect_failure).assert_with_checks(checks)
src/azure-cli-testsdk/azure/cli/testsdk/base.py:250: in init
    self.in_process_execute(cli_ctx, command, expect_failure=expect_failure)
src/azure-cli-testsdk/azure/cli/testsdk/base.py:301: in in_process_execute
    self.exit_code = cli_ctx.invoke(shlex.split(command), out_file=stdout_buf) or 0
env/lib/python3.9/site-packages/knack/cli.py:250: in invoke
    raise ex
env/lib/python3.9/site-packages/knack/cli.py:233: in invoke
    cmd_result = self.invocation.execute(args)
src/azure-cli-core/azure/cli/core/commands/init.py:588: in execute
    parsed_args = self.parser.parse_args(args)
env/lib/python3.9/site-packages/knack/parser.py:261: in parse_args
    return super().parse_args(args)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:1825: in parse_args
    args, argv = self.parse_known_args(args, namespace)
src/azure-cli-core/azure/cli/core/parser.py:281: in parse_known_args
    self.namespace, self.raw_arguments = super().parse_known_args(args=args, namespace=namespace)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:1858: in parse_known_args
    namespace, args = self.parse_known_args(args, namespace)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:2049: in parse_known_args
    positionals_end_index = consume_positionals(start_index)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:2026: in consume_positionals
    take_action(action, args)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:1935: in take_action
    action(self, namespace, argument_values, option_string)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:1214: in call
    subnamespace, arg_strings = parser.parse_known_args(arg_strings, None)
src/azure-cli-core/azure/cli/core/parser.py:281: in parse_known_args
    self.namespace, self.raw_arguments = super().parse_known_args(args=args, namespace=namespace)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:1858: in parse_known_args
    namespace, args = self.parse_known_args(args, namespace)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:2049: in parse_known_args
    positionals_end_index = consume_positionals(start_index)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:2026: in consume_positionals
    take_action(action, args)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:1919: in take_action
    argument_values = self.get_values(action, argument_strings)
src/azure-cli-core/azure/cli/core/parser.py:272: in get_values
    value = super(AzCliCommandParser, self).get_values(action, arg_strings)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:2460: in get_values
    self.check_value(action, value[0])
src/azure-cli-core/azure/cli/core/parser.py:337: in check_value
    self.exit(2)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
                         

self = AzCliCommandParser(prog='az containerapp', usage=None, description=None, formatter_class=<class 'argparse.HelpFormatter'>, conflict_handler='error', add_help=True)
status = 2, message = None

    def exit(self, status=0, message=None):
        if message:
            self._print_message(message, _sys.stderr)
>       _sys.exit(status)
E       SystemExit: 2

/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:2569: SystemExit
azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py:942
Failed test_functionapp_create_registry_username_error self = <azure.cli.command_modules.appservice.tests.latest.test_functionapp_commands.FunctionAppManagedEnvironment testMethod=test_functionapp_create_registry_username_error>
resource_group = 'clitest.rg000001', storage_account = 'clitest000002'

    @ResourceGroupPreparer(location='southcentralus')
    @StorageAccountPreparer()
    def test_functionapp_create_registry_username_error(self, resource_group, storage_account):
        functionapp_name = self.create_random_name(
            'functionappwindowsruntime', 30)
        managed_environment_name = self.create_random_name(
            'containerappmanagedenvironment', 40
        )
    
>       self.cmd('containerapp env create --name {} --resource-group {} --location southcentralus --logs-destination none'
        .format(managed_environment_name, resource_group)).assert_with_checks([
                     JMESPathCheck('name', managed_environment_name),
                     JMESPathCheck('resourceGroup', resource_group),
                     JMESPathCheck('location', 'South Central US')])

src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py:972: 
                                        
src/azure-cli-testsdk/azure/cli/testsdk/base.py:175: in cmd
    return execute(self.cli_ctx, command, expect_failure=expect_failure).assert_with_checks(checks)
src/azure-cli-testsdk/azure/cli/testsdk/base.py:250: in init
    self.in_process_execute(cli_ctx, command, expect_failure=expect_failure)
src/azure-cli-testsdk/azure/cli/testsdk/base.py:301: in in_process_execute
    self.exit_code = cli_ctx.invoke(shlex.split(command), out_file=stdout_buf) or 0
env/lib/python3.9/site-packages/knack/cli.py:250: in invoke
    raise ex
env/lib/python3.9/site-packages/knack/cli.py:233: in invoke
    cmd_result = self.invocation.execute(args)
src/azure-cli-core/azure/cli/core/commands/init.py:588: in execute
    parsed_args = self.parser.parse_args(args)
env/lib/python3.9/site-packages/knack/parser.py:261: in parse_args
    return super().parse_args(args)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:1825: in parse_args
    args, argv = self.parse_known_args(args, namespace)
src/azure-cli-core/azure/cli/core/parser.py:281: in parse_known_args
    self.namespace, self.raw_arguments = super().parse_known_args(args=args, namespace=namespace)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:1858: in parse_known_args
    namespace, args = self.parse_known_args(args, namespace)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:2049: in parse_known_args
    positionals_end_index = consume_positionals(start_index)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:2026: in consume_positionals
    take_action(action, args)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:1935: in take_action
    action(self, namespace, argument_values, option_string)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:1214: in call
    subnamespace, arg_strings = parser.parse_known_args(arg_strings, None)
src/azure-cli-core/azure/cli/core/parser.py:281: in parse_known_args
    self.namespace, self.raw_arguments = super().parse_known_args(args=args, namespace=namespace)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:1858: in parse_known_args
    namespace, args = self.parse_known_args(args, namespace)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:2049: in parse_known_args
    positionals_end_index = consume_positionals(start_index)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:2026: in consume_positionals
    take_action(action, args)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:1919: in take_action
    argument_values = self.get_values(action, argument_strings)
src/azure-cli-core/azure/cli/core/parser.py:272: in get_values
    value = super(AzCliCommandParser, self).get_values(action, arg_strings)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:2460: in get_values
    self.check_value(action, value[0])
src/azure-cli-core/azure/cli/core/parser.py:337: in check_value
    self.exit(2)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
                         

self = AzCliCommandParser(prog='az containerapp', usage=None, description=None, formatter_class=<class 'argparse.HelpFormatter'>, conflict_handler='error', add_help=True)
status = 2, message = None

    def exit(self, status=0, message=None):
        if message:
            self._print_message(message, _sys.stderr)
>       _sys.exit(status)
E       SystemExit: 2

/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:2569: SystemExit
azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py:962
Failed test_functionapp_create_with_appcontainer_managed_environment The error message is too long, please check the pipeline log for details. azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py:636
Failed test_functionapp_create_with_appcontainer_managed_environment_add_vnet_error The error message is too long, please check the pipeline log for details. azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py:724
Failed test_functionapp_create_with_appcontainer_managed_environment_consumption_plan_error The error message is too long, please check the pipeline log for details. azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py:684
Failed test_functionapp_create_with_appcontainer_managed_environment_existing_app_insights The error message is too long, please check the pipeline log for details. azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py:660
Failed test_functionapp_create_with_appcontainer_managed_environment_list_vnet_error The error message is too long, please check the pipeline log for details. azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py:777
Failed test_functionapp_create_with_appcontainer_managed_environment_plan_error The error message is too long, please check the pipeline log for details. azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py:826
Failed test_functionapp_create_with_appcontainer_managed_environment_remove_vnet_error The error message is too long, please check the pipeline log for details. azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py:752
Failed test_functionapp_create_with_appcontainer_managed_environment_vnet_config_error The error message is too long, please check the pipeline log for details. azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py:703
Failed test_functionapp_create_with_replicas The error message is too long, please check the pipeline log for details. azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py:876
Failed test_functionapp_delete_functions The error message is too long, please check the pipeline log for details. azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py:802
️✔️aro
️✔️latest
️✔️3.11
️✔️3.9
️✔️backup
️✔️latest
️✔️3.11
️✔️3.9
️✔️batch
️✔️latest
️✔️3.11
️✔️3.9
️✔️batchai
️✔️latest
️✔️3.11
️✔️3.9
️✔️billing
️✔️latest
️✔️3.11
️✔️3.9
️✔️botservice
️✔️latest
️✔️3.11
️✔️3.9
️✔️cdn
️✔️latest
️✔️3.11
️✔️3.9
️✔️cloud
️✔️latest
️✔️3.11
️✔️3.9
🔄cognitiveservices
🔄latest
🔄3.11
🔄3.9
️✔️config
️✔️latest
️✔️3.11
️✔️3.9
️✔️configure
️✔️latest
️✔️3.11
️✔️3.9
🔄consumption
🔄latest
🔄3.11
🔄3.9
️✔️container
️✔️latest
️✔️3.11
️✔️3.9
🔄containerapp
🔄latest
🔄3.11
🔄3.9
️✔️core
️✔️2018-03-01-hybrid
️✔️3.11
️✔️3.9
️✔️2019-03-01-hybrid
️✔️3.11
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.11
️✔️3.9
️✔️latest
️✔️3.11
️✔️3.9
️✔️cosmosdb
️✔️latest
️✔️3.11
️✔️3.9
️✔️databoxedge
️✔️2019-03-01-hybrid
️✔️3.11
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.11
️✔️3.9
️✔️latest
️✔️3.11
️✔️3.9
️✔️dla
️✔️latest
️✔️3.11
️✔️3.9
️✔️dls
️✔️latest
️✔️3.11
️✔️3.9
🔄dms
🔄latest
🔄3.11
🔄3.9
️✔️eventgrid
️✔️latest
️✔️3.11
️✔️3.9
️✔️eventhubs
️✔️latest
️✔️3.11
️✔️3.9
️✔️feedback
️✔️latest
️✔️3.11
️✔️3.9
️✔️find
️✔️latest
️✔️3.11
️✔️3.9
🔄hdinsight
🔄latest
🔄3.11
🔄3.9
️✔️identity
️✔️latest
️✔️3.11
️✔️3.9
️✔️iot
️✔️2019-03-01-hybrid
️✔️3.11
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.11
️✔️3.9
️✔️latest
️✔️3.11
️✔️3.9
️✔️keyvault
️✔️2018-03-01-hybrid
️✔️3.11
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.11
️✔️3.9
️✔️latest
️✔️3.11
️✔️3.9
️✔️kusto
️✔️latest
️✔️3.11
️✔️3.9
️✔️lab
️✔️latest
️✔️3.11
️✔️3.9
️✔️managedservices
️✔️latest
️✔️3.11
️✔️3.9
🔄maps
🔄latest
🔄3.11
🔄3.9
️✔️marketplaceordering
️✔️latest
️✔️3.11
️✔️3.9
️✔️monitor
️✔️latest
️✔️3.11
️✔️3.9
️✔️mysql
️✔️latest
️✔️3.11
️✔️3.9
️✔️netappfiles
️✔️latest
️✔️3.11
️✔️3.9
️✔️network
️✔️2018-03-01-hybrid
️✔️3.11
️✔️3.9
️✔️latest
️✔️3.11
️✔️3.9
️✔️policyinsights
️✔️latest
️✔️3.11
️✔️3.9
️✔️privatedns
️✔️latest
️✔️3.11
️✔️3.9
️✔️profile
️✔️latest
️✔️3.11
️✔️3.9
️✔️rdbms
️✔️latest
️✔️3.11
️✔️3.9
️✔️redis
️✔️latest
️✔️3.11
️✔️3.9
️✔️relay
️✔️latest
️✔️3.11
️✔️3.9
️✔️resource
️✔️2018-03-01-hybrid
️✔️3.11
️✔️3.9
️✔️2019-03-01-hybrid
️✔️3.11
️✔️3.9
️✔️latest
️✔️3.11
️✔️3.9
️✔️role
️✔️latest
️✔️3.11
️✔️3.9
️✔️search
️✔️latest
️✔️3.11
️✔️3.9
️✔️security
️✔️latest
️✔️3.11
️✔️3.9
️✔️servicebus
️✔️latest
️✔️3.11
️✔️3.9
🔄serviceconnector
🔄latest
🔄3.11
🔄3.9
️✔️servicefabric
️✔️latest
️✔️3.11
️✔️3.9
️✔️signalr
️✔️latest
️✔️3.11
️✔️3.9
️✔️sql
️✔️latest
️✔️3.11
️✔️3.9
️✔️sqlvm
️✔️latest
️✔️3.11
️✔️3.9
️✔️storage
️✔️2018-03-01-hybrid
️✔️3.11
️✔️3.9
️✔️2019-03-01-hybrid
️✔️3.11
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.11
️✔️3.9
️✔️latest
️✔️3.11
️✔️3.9
️✔️synapse
️✔️latest
️✔️3.11
️✔️3.9
🔄telemetry
️✔️2018-03-01-hybrid
️✔️3.11
️✔️3.9
️✔️2019-03-01-hybrid
️✔️3.11
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.11
️✔️3.9
🔄latest
🔄3.11
🔄3.9
️✔️util
️✔️latest
️✔️3.11
️✔️3.9
️✔️vm
️✔️2018-03-01-hybrid
️✔️3.11
️✔️3.9
️✔️2019-03-01-hybrid
️✔️3.11
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.11
️✔️3.9
️✔️latest
️✔️3.11
️✔️3.9

Copy link

azure-client-tools-bot-prd bot commented Dec 28, 2023

️✔️AzureCLI-BreakingChangeTest
️✔️Non Breaking Changes

@yonzhan
Copy link
Collaborator

yonzhan commented Dec 28, 2023

Service Connector

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Auto-Assign Auto assign by bot ContainerApp Web Apps az webapp
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants