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

[Consumption] #28274

Closed
wants to merge 1 commit into from
Closed

[Consumption] #28274

wants to merge 1 commit into from

Conversation

ZengTaoxu
Copy link
Contributor

Related command

Description

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 Jan 30, 2024

❌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
️✔️3.9
️✔️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
Type Test Case Error Message Line
Failed test_consumption_event_list self = <azure.cli.command_modules.consumption.tests.latest.test_consumption_commands.AzureConsumptionServiceScenarioTest testMethod=test_consumption_event_list>

    def test_consumption_event_list(self):
>       output_event = self.cmd('consumption event list --billing-account-id {} --billing-profile-id {} -s "2019-09-01" -e "2019-10-31"').get_output_in_json()

src/azure-cli/azure/cli/command_modules/consumption/tests/latest/test_consumption_commands.py:229: 
                                        
src/azure-cli-testsdk/azure/cli/testsdk/base.py:174: in cmd
    command = self.apply_kwargs(command)
                                       _ 

self = <azure.cli.command_modules.consumption.tests.latest.test_consumption_commands.AzureConsumptionServiceScenarioTest testMethod=test_consumption_event_list>
val = 'consumption event list --billing-account-id {} --billing-profile-id {} -s "2019-09-01" -e "2019-10-31"'

    def _apply_kwargs(self, val):
        try:
>           return val.format(**self.kwargs)
E           IndexError: Replacement index 0 out of range for positional args tuple

src/azure-cli-testsdk/azure/cli/testsdk/base.py:41: IndexError
azure/cli/command_modules/consumption/tests/latest/test_consumption_commands.py:227
Failed test_consumption_lot_list self = <azure.cli.command_modules.consumption.tests.latest.test_consumption_commands.AzureConsumptionServiceScenarioTest testMethod=test_consumption_lot_list>

    def test_consumption_lot_list(self):
>       output_lot = self.cmd('consumption lot list --billing-account-id {} --billing-profile-id {}').get_output_in_json()

src/azure-cli/azure/cli/command_modules/consumption/tests/latest/test_consumption_commands.py:234: 
                                        
src/azure-cli-testsdk/azure/cli/testsdk/base.py:174: in cmd
    command = self.apply_kwargs(command)
                                       _ 

self = <azure.cli.command_modules.consumption.tests.latest.test_consumption_commands.AzureConsumptionServiceScenarioTest testMethod=test_consumption_lot_list>
val = 'consumption lot list --billing-account-id {} --billing-profile-id {}'

    def _apply_kwargs(self, val):
        try:
>           return val.format(**self.kwargs)
E           IndexError: Replacement index 0 out of range for positional args tuple

src/azure-cli-testsdk/azure/cli/testsdk/base.py:41: IndexError
azure/cli/command_modules/consumption/tests/latest/test_consumption_commands.py:232
Failed test_consumption_lot_list_with_customer_id self = <azure.cli.command_modules.consumption.tests.latest.test_consumption_commands.AzureConsumptionServiceScenarioTest testMethod=test_consumption_lot_list_with_customer_id>

    def test_consumption_lot_list_with_customer_id(self):
>       output_lot = self.cmd('consumption lot list --billing-account-id {} --customer-id {}').get_output_in_json()

src/azure-cli/azure/cli/command_modules/consumption/tests/latest/test_consumption_commands.py:239: 
                                        
src/azure-cli-testsdk/azure/cli/testsdk/base.py:174: in cmd
    command = self.apply_kwargs(command)
                                       _ 

self = <azure.cli.command_modules.consumption.tests.latest.test_consumption_commands.AzureConsumptionServiceScenarioTest testMethod=test_consumption_lot_list_with_customer_id>
val = 'consumption lot list --billing-account-id {} --customer-id {}'

    def _apply_kwargs(self, val):
        try:
>           return val.format(**self.kwargs)
E           IndexError: Replacement index 0 out of range for positional args tuple

src/azure-cli-testsdk/azure/cli/testsdk/base.py:41: IndexError
azure/cli/command_modules/consumption/tests/latest/test_consumption_commands.py:237
❌3.9
Type Test Case Error Message Line
Failed test_consumption_event_list self = <azure.cli.command_modules.consumption.tests.latest.test_consumption_commands.AzureConsumptionServiceScenarioTest testMethod=test_consumption_event_list>

    def test_consumption_event_list(self):
>       output_event = self.cmd('consumption event list --billing-account-id {} --billing-profile-id {} -s "2019-09-01" -e "2019-10-31"').get_output_in_json()

src/azure-cli/azure/cli/command_modules/consumption/tests/latest/test_consumption_commands.py:229: 
                                        
src/azure-cli-testsdk/azure/cli/testsdk/base.py:174: in cmd
    command = self.apply_kwargs(command)
                                       _ 

self = <azure.cli.command_modules.consumption.tests.latest.test_consumption_commands.AzureConsumptionServiceScenarioTest testMethod=test_consumption_event_list>
val = 'consumption event list --billing-account-id {} --billing-profile-id {} -s "2019-09-01" -e "2019-10-31"'

    def _apply_kwargs(self, val):
        try:
>           return val.format(**self.kwargs)
E           IndexError: Replacement index 0 out of range for positional args tuple

src/azure-cli-testsdk/azure/cli/testsdk/base.py:41: IndexError
azure/cli/command_modules/consumption/tests/latest/test_consumption_commands.py:227
Failed test_consumption_lot_list self = <azure.cli.command_modules.consumption.tests.latest.test_consumption_commands.AzureConsumptionServiceScenarioTest testMethod=test_consumption_lot_list>

    def test_consumption_lot_list(self):
>       output_lot = self.cmd('consumption lot list --billing-account-id {} --billing-profile-id {}').get_output_in_json()

src/azure-cli/azure/cli/command_modules/consumption/tests/latest/test_consumption_commands.py:234: 
                                        
src/azure-cli-testsdk/azure/cli/testsdk/base.py:174: in cmd
    command = self.apply_kwargs(command)
                                       _ 

self = <azure.cli.command_modules.consumption.tests.latest.test_consumption_commands.AzureConsumptionServiceScenarioTest testMethod=test_consumption_lot_list>
val = 'consumption lot list --billing-account-id {} --billing-profile-id {}'

    def _apply_kwargs(self, val):
        try:
>           return val.format(**self.kwargs)
E           IndexError: Replacement index 0 out of range for positional args tuple

src/azure-cli-testsdk/azure/cli/testsdk/base.py:41: IndexError
azure/cli/command_modules/consumption/tests/latest/test_consumption_commands.py:232
Failed test_consumption_lot_list_with_customer_id self = <azure.cli.command_modules.consumption.tests.latest.test_consumption_commands.AzureConsumptionServiceScenarioTest testMethod=test_consumption_lot_list_with_customer_id>

    def test_consumption_lot_list_with_customer_id(self):
>       output_lot = self.cmd('consumption lot list --billing-account-id {} --customer-id {}').get_output_in_json()

src/azure-cli/azure/cli/command_modules/consumption/tests/latest/test_consumption_commands.py:239: 
                                        
src/azure-cli-testsdk/azure/cli/testsdk/base.py:174: in cmd
    command = self.apply_kwargs(command)
                                       _ 

self = <azure.cli.command_modules.consumption.tests.latest.test_consumption_commands.AzureConsumptionServiceScenarioTest testMethod=test_consumption_lot_list_with_customer_id>
val = 'consumption lot list --billing-account-id {} --customer-id {}'

    def _apply_kwargs(self, val):
        try:
>           return val.format(**self.kwargs)
E           IndexError: Replacement index 0 out of range for positional args tuple

src/azure-cli-testsdk/azure/cli/testsdk/base.py:41: IndexError
azure/cli/command_modules/consumption/tests/latest/test_consumption_commands.py:237
️✔️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 Jan 30, 2024

⚠️AzureCLI-BreakingChangeTest
⚠️consumption
rule cmd_name rule_message suggest_message
⚠️ 1011 - SubgroupAdd consumption event sub group consumption event added
⚠️ 1011 - SubgroupAdd consumption lot sub group consumption lot added

@yonzhan
Copy link
Collaborator

yonzhan commented Jan 30, 2024

Consumption

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.

3 participants