Skip to content

Quota tariff order - #8347

Merged
DaanHoogland merged 19 commits into
apache:mainfrom
scclouds:quota-tariff-order
Jul 14, 2024
Merged

Quota tariff order#8347
DaanHoogland merged 19 commits into
apache:mainfrom
scclouds:quota-tariff-order

Conversation

@JoaoJandre

@JoaoJandreJoaoJandre commented Dec 12, 2023

Copy link
Copy Markdown
Contributor

Description

Quota tariffs have been extended to make it possible to define the order of their execution. To achieve this, the position parameter was added to the quotaTariffCreate and quotaTariffUpdate APIs. This parameter is used to define the tariff execution sequence of tariffs with the same usage type. This order is ascending, that is, a tariff with position equal to 1 will be executed before a tariff with position equal to 2. If two tariffs of the same usage type have equal positions, the most recent one will be executed first.

During the processing of Quota tariffs, ACS will execute them in the defined order and inject the values ​​into subsequent rates. To enable tariff injection, the preset variable lastTariffs was created. It will have a list of objects containing the id and value attributes of the tariffs executed before it. Below is an example of the variable value when executing 3 tariffs (A, B and C) of the same usage type:

  • When executing tariff A, the value of lastTariffs will be:
[ ]
  • When executing rule B, lastTariffs will have the value:
[
{
"id": <A_uuid>,
"value": <A_result>
}
]
  • When executing rule C, lastTariffs will have the values:
[
{
"id": <A_uuid>,
"value": <A_result>
},
{
"id": <B_uuid>,
"value": <B_result>
}
]

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)
  • build/CI

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

How Has This Been Tested?

About the quotaTariffCreate and quotaTariffUpdate APIs

NumTestResultExpected result?
1Create a tariff informing the positionTariff was created with the position informedY
2Create a tariff without informing the positionTariff was created with default position 1Y
3Edit a tariff by entering a new positionTariff was edited with the position givenY
4Edit a tariff without entering a new positionTariff was edited maintaining the previous positionY

About the lastTariffs preset variable:
I created three tariffs with activation rules:

  • the first with position 1 and always returning 10
  • the second with position 2 and the rule: lastTariffs[0].value + 7
  • the third with position 3 and the rule: lastTariffs[0].value + lastTariffs[1].value.

When running quotaUpdate, I looked in the logs for which values were calculated according to the tariffs, the first returned 10, the second 17 and the third 27.

@JoaoJandreJoaoJandre changed the title quota tariff positionsQuota tariff orderDec 12, 2023
@codecov

codecovBot commented Dec 12, 2023

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 65.71429% with 12 lines in your changes are missing coverage. Please review.

Project coverage is 31.04%. Comparing base (0e32380) to head (38b1f00).
Report is 1 commits behind head on main.

FilesPatch %Lines
...e/cloudstack/api/command/QuotaTariffCreateCmd.java0.00%3 Missing ⚠️
...e/cloudstack/api/command/QuotaTariffUpdateCmd.java0.00%3 Missing ⚠️
...udstack/api/response/QuotaResponseBuilderImpl.java62.50%3 Missing ⚠️
...k/quota/activationrule/presetvariables/Tariff.java80.00%1 Missing ⚠️
.../org/apache/cloudstack/quota/vo/QuotaTariffVO.java75.00%1 Missing ⚠️
...e/cloudstack/api/response/QuotaTariffResponse.java66.66%1 Missing ⚠️
Additional details and impacted files
@@ Coverage Diff @@## main #8347 +/- ##
============================================
+ Coverage 4.34% 31.04% +26.70% - Complexity 0 33910 +33910 
============================================
Files 361 5405 +5044 Lines 29004 380315 +351311 Branches 5092 55505 +50413 ============================================
+ Hits 1260 118079 +116819 - Misses 27604 246497 +218893 - Partials 140 15739 +15599 
FlagCoverage Δ
simulator-marvin-tests24.61% <0.00%> (?)
uitests4.34% <ø> (ø)
unit-tests16.88% <65.71%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@DaanHooglandDaanHoogland left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clgtm and well covered by tests, however as this is user facinng functionality, doe sit make sense to add an integration test @JoaoJandre ?

@JoaoJandre

Copy link
Copy Markdown
ContributorAuthor

clgtm and well covered by tests, however as this is user facinng functionality, doe sit make sense to add an integration test @JoaoJandre ?

Sure, I'll try to add some integration tests

@github-actions

Copy link
Copy Markdown

This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch.

@github-actions

Copy link
Copy Markdown

This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch.

@JoaoJandre

Copy link
Copy Markdown
ContributorAuthor

@DaanHoogland I've created the integration test. However, while testing it, I found out that the test only works alongside #8581, thus, this PR now depends on #8581.

@github-actions

Copy link
Copy Markdown

This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch.

@JoaoJandre

Copy link
Copy Markdown
ContributorAuthor

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

@JoaoJandre a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

@blueorangutan

Copy link
Copy Markdown

Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 8651

@DaanHoogland

Copy link
Copy Markdown
Contributor

@blueorangutan test alma9 kvm-alma9

@blueorangutan

Copy link
Copy Markdown

@DaanHoogland a [SL] Trillian-Jenkins test job (alma9 mgmt + kvm-alma9) has been kicked to run smoke tests

Comment threadtest/integration/plugins/test_quota_tariff_order.py Outdated
@github-actions

Copy link
Copy Markdown

This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch.

@JoaoJandre

Copy link
Copy Markdown
ContributorAuthor

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

@JoaoJandre a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

@blueorangutan

Copy link
Copy Markdown

Packaging result [SF]: ✖️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 9864

@JoaoJandre

Copy link
Copy Markdown
ContributorAuthor

@DaanHoogland@sureshanaparti@rohityadavcloud could we run the CI here?

@DaanHoogland

Copy link
Copy Markdown
Contributor

@JoaoJandre we are prioritising 4.19 now. /me postponing this.

@github-actions

Copy link
Copy Markdown

This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch.

@DaanHoogland

Copy link
Copy Markdown
Contributor

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

@DaanHoogland a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

@blueorangutan

Copy link
Copy Markdown

Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 10315

@DaanHoogland

Copy link
Copy Markdown
Contributor

@blueorangutan test

@blueorangutan

Copy link
Copy Markdown

@DaanHoogland a [SL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

@bernardodemarcobernardodemarco left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I manually tested the PR in a local environment.

Tests Descriptions

quotaTariffCreate API

Firstly, I created a tariff without specifying a value for the position parameter.

quota tariffcreate usagetype=1 name="Running VM - Position 1" value=10
{
"quotatariff": {
"currency": "$",
"effectiveDate": "2024-07-11T22:03:45+0000",
"id": "7fcaf5f0-19e3-4211-8a2e-43c085db8cb7",
"name": "Running VM - Position 1",
"position": 1,
"tariffValue": 10,
"usageDiscriminator": "None",
"usageName": "RUNNING_VM",
"usageType": 1,
"usageTypeDescription": "Running Vm Usage",
"usageUnit": "Compute*Month"
}
}

The tariff has been created with the position set to 1, which is the expected behavior.


I created another tariff, with the same usage type, but this time I specified a position.

quota tariffcreate usagetype=1 name="Running VM - Position 2" position=2 value=20
{
"quotatariff": {
"currency": "$",
"effectiveDate": "2024-07-11T22:04:30+0000",
"id": "eb815532-97ce-4e1d-81c5-d5872b732502",
"name": "Running VM - Position 2",
"position": 2,
"tariffValue": 20,
"usageDiscriminator": "None",
"usageName": "RUNNING_VM",
"usageType": 1,
"usageTypeDescription": "Running Vm Usage",
"usageUnit": "Compute*Month"
}
}

The tariff has been created, and the position attribute was set to 2.

quotaTariffUpdate API

I updated the position of the Running VM - Position 1 tariff to 3.

quota tariffupdate name="Running VM - Position 1" position=3
{
"quotatariff": {
"currency": "$",
"effectiveDate": "2024-07-11T22:03:45+0000",
"id": "ef69dcba-51a6-462a-93f1-5e08178faeaf",
"name": "Running VM - Position 1",
"position": 3,
"tariffValue": 10,
"usageDiscriminator": "None",
"usageName": "RUNNING_VM",
"usageType": 1,
"usageTypeDescription": "Running Vm Usage",
"usageUnit": "Compute*Month"
}
}

The position attribute was updated accordingly to 3.


I edited the same tariff again without entering a new position.

quota tariffupdate name="Running VM - Position 1" value=15
{
"quotatariff": {
"currency": "$",
"effectiveDate": "2024-07-11T22:03:45+0000",
"id": "a2215dac-9901-43aa-bf99-aa2f7a6d65a3",
"name": "Running VM - Position 1",
"position": 3,
"tariffValue": 15,
"usageDiscriminator": "None",
"usageName": "RUNNING_VM",
"usageType": 1,
"usageTypeDescription": "Running Vm Usage",
"usageUnit": "Compute*Month"
}
}

The position value remained unchanged, which is the expected behavior.

lastTariffs preset variable

I updated the Running VM - Position 1 with its original value and position.

quota tariffupdate name="Running VM - Position 1" position=1 value=10
{
"quotatariff": {
"currency": "$",
"effectiveDate": "2024-07-11T22:03:45+0000",
"id": "24e25d39-9a4f-4915-8cf8-828b5c4fc9e3",
"name": "Running VM - Position 1",
"position": 1,
"tariffValue": 10,
"usageDiscriminator": "None",
"usageName": "RUNNING_VM",
"usageType": 1,
"usageTypeDescription": "Running Vm Usage",
"usageUnit": "Compute*Month"
}
}

I created a third tariff with a position equal to 3 and an activation rule that returns the sum of the values of the two previous tariffs increased by 20%.

quota tariffcreate usagetype=1 name="Running VM - Position 3" value=0 position=3 activationrule="(lastTariffs[0].value + lastTariffs[1].value) * 1.2"
{
"quotatariff": {
"activationRule": "(lastTariffs[0].value + lastTariffs[1].value) * 1.2",
"currency": "$",
"effectiveDate": "2024-07-11T22:09:18+0000",
"id": "733e1df4-c3b9-4e31-b9eb-535fdc7311a3",
"name": "Running VM - Position 3",
"position": 3,
"tariffValue": 0,
"usageDiscriminator": "None",
"usageName": "RUNNING_VM",
"usageType": 1,
"usageTypeDescription": "Running Vm Usage",
"usageUnit": "Compute*Month"
}
}

I executed quota update and checked the logs for the tariff values. The following log appeared, stating that the value of the third tariff is equal to 36 (10 + 20) * 1.2:

DEBUG [o.a.c.q.QuotaManagerImpl] (qtp1404565079-27:[ctx-692ce99d, ctx-a2776cd3]) (logid:22a7aec5) The script [(lastTariffs[0].value + lastTariffs[1].value) * 1.2] of quota tariff [{"name":"Running VM - Position 3","usageName":"RUNNING_VM","uuid":"733e1df4-c3b9-4e31-b9eb-535fdc7311a3","startDate":"2024-07-11T22:09:18+0000","endDate":"null"}] had a numeric value [36.0], therefore we will use it in the calculation.

@bernardodemarco

Copy link
Copy Markdown
Member

@JoaoJandre, once this PR gets merged, I intend to add UI support for the position parameter on #9225.

@blueorangutan

Copy link
Copy Markdown

[SF] Trillian test result (tid-10803)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 57235 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr8347-t10803-kvm-centos7.zip
Smoke tests completed. 113 look OK, 24 have errors, 0 did not run
Only failed and skipped tests results shown below:

TestResultTime (s)Test File
test_role_account_acls_multiple_mgmt_serversError2.36test_dynamicroles.py
test_query_async_job_resultError96.84test_async_job.py
test_revoke_certificateError0.02test_certauthority_root.py
test_configure_ha_provider_invalidError0.01test_hostha_simulator.py
test_configure_ha_provider_validError0.01test_hostha_simulator.py
test_ha_configure_enabledisable_across_clusterzonesError0.01test_hostha_simulator.py
test_ha_disable_feature_invalidError0.01test_hostha_simulator.py
test_ha_enable_feature_invalidError0.01test_hostha_simulator.py
test_ha_list_providersError0.01test_hostha_simulator.py
test_ha_multiple_mgmt_server_ownershipError0.01test_hostha_simulator.py
test_ha_verify_fsm_availableError0.01test_hostha_simulator.py
test_ha_verify_fsm_degradedError0.01test_hostha_simulator.py
test_ha_verify_fsm_fencedError0.01test_hostha_simulator.py
test_ha_verify_fsm_recoveringError0.01test_hostha_simulator.py
test_hostha_configure_default_driverError0.01test_hostha_simulator.py
test_hostha_configure_invalid_providerError0.01test_hostha_simulator.py
test_hostha_disable_feature_validError0.01test_hostha_simulator.py
test_hostha_enable_feature_validError0.01test_hostha_simulator.py
test_hostha_enable_feature_without_setting_providerError0.01test_hostha_simulator.py
test_list_ha_for_hostError0.01test_hostha_simulator.py
test_list_ha_for_host_invalidError0.01test_hostha_simulator.py
test_list_ha_for_host_validError0.01test_hostha_simulator.py
test_01_host_ping_on_alertError0.07test_host_ping.py
test_01_host_ping_on_alertError0.07test_host_ping.py
test_01_browser_migrate_templateError15.36test_image_store_object_migration.py
test_01_invalid_upgrade_kubernetes_clusterFailure245.78test_kubernetes_clusters.py
test_02_upgrade_kubernetes_clusterFailure250.66test_kubernetes_clusters.py
test_03_deploy_and_scale_kubernetes_clusterFailure227.13test_kubernetes_clusters.py
test_04_autoscale_kubernetes_clusterFailure236.31test_kubernetes_clusters.py
test_05_basic_lifecycle_kubernetes_clusterFailure236.63test_kubernetes_clusters.py
test_06_delete_kubernetes_clusterFailure233.50test_kubernetes_clusters.py
test_08_upgrade_kubernetes_ha_clusterFailure336.10test_kubernetes_clusters.py
test_10_vpc_tier_kubernetes_clusterFailure259.87test_kubernetes_clusters.py
test_11_test_unmanaged_cluster_lifecycleError83.87test_kubernetes_clusters.py
test_01_add_delete_kubernetes_supported_versionError0.11test_kubernetes_supported_versions.py
login_test_saml_userError2.99test_login.py
test_01_deployVMInSharedNetworkError75.27test_network.py
test_03_destroySharedNetworkFailure1.08test_network.py
ContextSuite context=TestSharedNetwork>:teardownError2.19test_network.py
test_oobm_issue_power_cycleError3.30test_outofbandmanagement_nestedplugin.py
test_oobm_issue_power_offError3.29test_outofbandmanagement_nestedplugin.py
test_oobm_issue_power_onError3.29test_outofbandmanagement_nestedplugin.py
test_oobm_issue_power_resetError3.31test_outofbandmanagement_nestedplugin.py
test_oobm_issue_power_softError3.32test_outofbandmanagement_nestedplugin.py
test_oobm_issue_power_statusError2.22test_outofbandmanagement_nestedplugin.py
test_oobm_background_powerstate_syncFailure21.69test_outofbandmanagement.py
test_oobm_background_powerstate_syncError21.69test_outofbandmanagement.py
test_oobm_configure_default_driverError0.05test_outofbandmanagement.py
test_oobm_configure_invalid_driverError0.05test_outofbandmanagement.py
test_oobm_disable_feature_invalidError0.04test_outofbandmanagement.py
test_oobm_disable_feature_validError1.14test_outofbandmanagement.py
test_oobm_enable_feature_invalidError0.05test_outofbandmanagement.py
test_oobm_enable_feature_validError1.13test_outofbandmanagement.py
test_oobm_enabledisable_across_clusterzonesError9.84test_outofbandmanagement.py
test_oobm_enabledisable_across_clusterzonesError9.84test_outofbandmanagement.py
test_oobm_issue_power_cycleError4.32test_outofbandmanagement.py
test_oobm_issue_power_cycleError4.32test_outofbandmanagement.py
test_oobm_issue_power_offError4.34test_outofbandmanagement.py
test_oobm_issue_power_offError4.34test_outofbandmanagement.py
test_oobm_issue_power_onError4.34test_outofbandmanagement.py
test_oobm_issue_power_onError4.34test_outofbandmanagement.py
test_oobm_issue_power_resetError4.32test_outofbandmanagement.py
test_oobm_issue_power_resetError4.32test_outofbandmanagement.py
test_oobm_issue_power_softError3.31test_outofbandmanagement.py
test_oobm_issue_power_softError3.31test_outofbandmanagement.py
test_oobm_issue_power_statusError4.32test_outofbandmanagement.py
test_oobm_issue_power_statusError4.32test_outofbandmanagement.py
test_oobm_multiple_mgmt_server_ownershipError1.14test_outofbandmanagement.py
test_oobm_multiple_mgmt_server_ownershipError1.14test_outofbandmanagement.py
test_oobm_zchange_passwordError2.25test_outofbandmanagement.py
test_oobm_zchange_passwordError2.25test_outofbandmanagement.py
test_02_edit_primary_storage_tagsError0.01test_primary_storage.py
test_01_primary_storage_scope_changeError0.11test_primary_storage_scope.py
test_01_vpc_privategw_aclError0.03test_privategw_acl_ovs_gre.py
test_03_vpc_privategw_restart_vpc_cleanupError0.02test_privategw_acl_ovs_gre.py
test_05_vpc_privategw_check_interfaceError0.02test_privategw_acl_ovs_gre.py
test_01_vpc_privategw_aclError55.77test_privategw_acl.py
test_02_vpc_privategw_static_routesError205.95test_privategw_acl.py
test_03_vpc_privategw_restart_vpc_cleanupError212.06test_privategw_acl.py
test_04_rvpc_privategw_static_routesError325.38test_privategw_acl.py
test_01_purge_expunged_api_vm_start_dateError47.58test_purge_expunged_vms.py
test_02_purge_expunged_api_vm_end_dateError45.05test_purge_expunged_vms.py
test_03_purge_expunged_api_vm_start_end_dateError43.01test_purge_expunged_vms.py
test_04_purge_expunged_api_vm_no_dateError44.84test_purge_expunged_vms.py
test_05_purge_expunged_vm_service_offeringError267.07test_purge_expunged_vms.py
test_06_purge_expunged_vm_background_taskError330.79test_purge_expunged_vms.py
test_01_snapshot_root_diskError4.30test_snapshots.py
test_CreateTemplateWithDuplicateNameError23.88test_templates.py
test_01_register_template_direct_download_flagError0.16test_templates.py
test_01_positive_tests_usageError9.36test_usage_events.py
test_01_ISO_usageError1.09test_usage.py
test_01_lb_usageError4.24test_usage.py
test_01_nat_usageError8.35test_usage.py
test_01_public_ip_usageError1.08test_usage.py
test_01_snapshot_usageError38.30test_usage.py
test_01_template_usageError9.40test_usage.py
test_01_vm_usageError132.94test_usage.py
test_01_volume_usageError125.96test_usage.py
test_01_vpn_usageError9.52test_usage.py
test_12_start_vm_multiple_volumes_allocatedError10.56test_vm_life_cycle.py
test_01_vmschedule_createError0.09test_vm_schedule.py
test_disable_oobm_ha_state_ineligibleError0.06test_hostha_kvm.py
test_hostha_configure_default_driverError0.05test_hostha_kvm.py
test_hostha_enable_ha_when_host_disabledError0.05test_hostha_kvm.py
test_hostha_enable_ha_when_host_disconectedError0.04test_hostha_kvm.py
test_hostha_enable_ha_when_host_in_maintenanceError0.04test_hostha_kvm.py
test_hostha_kvm_host_degradedError0.04test_hostha_kvm.py
test_hostha_kvm_host_fencingError0.04test_hostha_kvm.py
test_hostha_kvm_host_recoveringError0.05test_hostha_kvm.py
test_remove_ha_provider_not_possibleError0.05test_hostha_kvm.py

@DaanHoogland

Copy link
Copy Markdown
Contributor

[SF] Trillian test result (tid-10803) Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7 Total time taken: 57235 seconds Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr8347-t10803-kvm-centos7.zip Smoke tests completed. 113 look OK, 24 have errors, 0 did not run Only failed and skipped tests results shown below:
Test Result Time (s) Test File

...

I'm guessing these are flukes, apllyining well tested insanity method

@DaanHoogland

Copy link
Copy Markdown
Contributor

@blueorangutan test

@blueorangutan

Copy link
Copy Markdown

@DaanHoogland a [SL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

@blueorangutan

Copy link
Copy Markdown

[SF] Trillian test result (tid-10811)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 65827 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr8347-t10811-kvm-centos7.zip
Smoke tests completed. 110 look OK, 27 have errors, 0 did not run
Only failed and skipped tests results shown below:

TestResultTime (s)Test File
test_role_account_acls_multiple_mgmt_serversError2.25test_dynamicroles.py
test_query_async_job_resultError102.06test_async_job.py
test_revoke_certificateError0.01test_certauthority_root.py
test_configure_ha_provider_invalidError0.02test_hostha_simulator.py
test_configure_ha_provider_validError0.01test_hostha_simulator.py
test_ha_configure_enabledisable_across_clusterzonesError0.01test_hostha_simulator.py
test_ha_disable_feature_invalidError0.01test_hostha_simulator.py
test_ha_enable_feature_invalidError0.01test_hostha_simulator.py
test_ha_list_providersError0.01test_hostha_simulator.py
test_ha_multiple_mgmt_server_ownershipError0.01test_hostha_simulator.py
test_ha_verify_fsm_availableError0.01test_hostha_simulator.py
test_ha_verify_fsm_degradedError0.01test_hostha_simulator.py
test_ha_verify_fsm_fencedError0.01test_hostha_simulator.py
test_ha_verify_fsm_recoveringError0.01test_hostha_simulator.py
test_hostha_configure_default_driverError0.01test_hostha_simulator.py
test_hostha_configure_invalid_providerError0.01test_hostha_simulator.py
test_hostha_disable_feature_validError0.01test_hostha_simulator.py
test_hostha_enable_feature_validError0.01test_hostha_simulator.py
test_hostha_enable_feature_without_setting_providerError0.01test_hostha_simulator.py
test_list_ha_for_hostError0.01test_hostha_simulator.py
test_list_ha_for_host_invalidError0.01test_hostha_simulator.py
test_list_ha_for_host_validError0.01test_hostha_simulator.py
test_01_host_ping_on_alertError0.07test_host_ping.py
test_01_host_ping_on_alertError0.07test_host_ping.py
test_01_browser_migrate_templateError15.35test_image_store_object_migration.py
test_01_invalid_upgrade_kubernetes_clusterFailure261.55test_kubernetes_clusters.py
test_02_upgrade_kubernetes_clusterFailure234.03test_kubernetes_clusters.py
test_03_deploy_and_scale_kubernetes_clusterFailure232.03test_kubernetes_clusters.py
test_04_autoscale_kubernetes_clusterFailure223.40test_kubernetes_clusters.py
test_05_basic_lifecycle_kubernetes_clusterFailure228.62test_kubernetes_clusters.py
test_06_delete_kubernetes_clusterFailure227.60test_kubernetes_clusters.py
test_08_upgrade_kubernetes_ha_clusterFailure344.10test_kubernetes_clusters.py
test_10_vpc_tier_kubernetes_clusterFailure237.35test_kubernetes_clusters.py
test_11_test_unmanaged_cluster_lifecycleError88.01test_kubernetes_clusters.py
test_01_add_delete_kubernetes_supported_versionError0.12test_kubernetes_supported_versions.py
login_test_saml_userError2.92test_login.py
test_01_deployVMInSharedNetworkError75.28test_network.py
test_03_destroySharedNetworkFailure1.09test_network.py
ContextSuite context=TestSharedNetwork>:teardownError2.18test_network.py
test_oobm_issue_power_cycleError3.30test_outofbandmanagement_nestedplugin.py
test_oobm_issue_power_offError3.29test_outofbandmanagement_nestedplugin.py
test_oobm_issue_power_onError3.30test_outofbandmanagement_nestedplugin.py
test_oobm_issue_power_resetError3.30test_outofbandmanagement_nestedplugin.py
test_oobm_issue_power_softError3.29test_outofbandmanagement_nestedplugin.py
test_oobm_issue_power_statusError2.22test_outofbandmanagement_nestedplugin.py
test_oobm_background_powerstate_syncFailure21.65test_outofbandmanagement.py
test_oobm_background_powerstate_syncError21.65test_outofbandmanagement.py
test_oobm_configure_default_driverError0.06test_outofbandmanagement.py
test_oobm_configure_invalid_driverError0.05test_outofbandmanagement.py
test_oobm_disable_feature_invalidError0.04test_outofbandmanagement.py
test_oobm_disable_feature_validError1.13test_outofbandmanagement.py
test_oobm_enable_feature_invalidError0.04test_outofbandmanagement.py
test_oobm_enable_feature_validError1.12test_outofbandmanagement.py
test_oobm_enabledisable_across_clusterzonesError11.83test_outofbandmanagement.py
test_oobm_enabledisable_across_clusterzonesError11.83test_outofbandmanagement.py
test_oobm_issue_power_cycleError4.34test_outofbandmanagement.py
test_oobm_issue_power_cycleError4.34test_outofbandmanagement.py
test_oobm_issue_power_offError4.30test_outofbandmanagement.py
test_oobm_issue_power_offError4.30test_outofbandmanagement.py
test_oobm_issue_power_onError3.30test_outofbandmanagement.py
test_oobm_issue_power_onError3.30test_outofbandmanagement.py
test_oobm_issue_power_resetError4.34test_outofbandmanagement.py
test_oobm_issue_power_resetError4.34test_outofbandmanagement.py
test_oobm_issue_power_softError4.33test_outofbandmanagement.py
test_oobm_issue_power_softError4.34test_outofbandmanagement.py
test_oobm_issue_power_statusError3.32test_outofbandmanagement.py
test_oobm_issue_power_statusError3.32test_outofbandmanagement.py
test_oobm_multiple_mgmt_server_ownershipError1.15test_outofbandmanagement.py
test_oobm_multiple_mgmt_server_ownershipError1.15test_outofbandmanagement.py
test_oobm_zchange_passwordError2.20test_outofbandmanagement.py
test_oobm_zchange_passwordError2.20test_outofbandmanagement.py
test_02_edit_primary_storage_tagsError0.02test_primary_storage.py
test_01_primary_storage_scope_changeError0.08test_primary_storage_scope.py
test_01_vpc_privategw_aclError0.03test_privategw_acl_ovs_gre.py
test_03_vpc_privategw_restart_vpc_cleanupError0.02test_privategw_acl_ovs_gre.py
test_05_vpc_privategw_check_interfaceError0.02test_privategw_acl_ovs_gre.py
test_01_vpc_privategw_aclError53.80test_privategw_acl.py
test_02_vpc_privategw_static_routesError199.94test_privategw_acl.py
test_03_vpc_privategw_restart_vpc_cleanupError200.88test_privategw_acl.py
test_04_rvpc_privategw_static_routesError320.67test_privategw_acl.py
test_01_purge_expunged_api_vm_start_dateError51.09test_purge_expunged_vms.py
test_02_purge_expunged_api_vm_end_dateError47.38test_purge_expunged_vms.py
test_03_purge_expunged_api_vm_start_end_dateError45.27test_purge_expunged_vms.py
test_04_purge_expunged_api_vm_no_dateError43.13test_purge_expunged_vms.py
test_05_purge_expunged_vm_service_offeringError271.11test_purge_expunged_vms.py
test_06_purge_expunged_vm_background_taskError329.61test_purge_expunged_vms.py
test_01_snapshot_root_diskError5.34test_snapshots.py
test_CreateTemplateWithDuplicateNameError20.75test_templates.py
test_01_register_template_direct_download_flagError0.18test_templates.py
test_01_positive_tests_usageError10.46test_usage_events.py
test_01_ISO_usageError1.09test_usage.py
test_01_lb_usageError4.25test_usage.py
test_01_nat_usageError8.34test_usage.py
test_01_public_ip_usageError1.07test_usage.py
test_01_snapshot_usageError22.68test_usage.py
test_01_template_usageError13.50test_usage.py
test_01_vm_usageError136.46test_usage.py
test_01_volume_usageError128.17test_usage.py
test_01_vpn_usageError8.48test_usage.py
test_03_secured_to_nonsecured_vm_migrationError425.71test_vm_life_cycle.py
test_10_attachAndDetach_isoFailure612.51test_vm_life_cycle.py
test_12_start_vm_multiple_volumes_allocatedError12.65test_vm_life_cycle.py
test_01_vmschedule_createError0.12test_vm_schedule.py
test_01_verify_ipv6_vpcError611.24test_vpc_ipv6.py
test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACLFailure618.17test_vpc_redundant.py
test_02_redundant_VPC_default_routesFailure1018.54test_vpc_redundant.py
test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routersFailure469.89test_vpc_redundant.py
test_05_rvpc_multi_tiersFailure578.74test_vpc_redundant.py
test_05_rvpc_multi_tiersError578.75test_vpc_redundant.py
test_02_cancel_host_maintenace_with_migration_jobsError267.73test_host_maintenance.py
test_disable_oobm_ha_state_ineligibleError0.06test_hostha_kvm.py
test_hostha_configure_default_driverError0.05test_hostha_kvm.py
test_hostha_enable_ha_when_host_disabledError0.05test_hostha_kvm.py
test_hostha_enable_ha_when_host_disconectedError0.05test_hostha_kvm.py
test_hostha_enable_ha_when_host_in_maintenanceError0.04test_hostha_kvm.py
test_hostha_kvm_host_degradedError0.04test_hostha_kvm.py
test_hostha_kvm_host_fencingError0.04test_hostha_kvm.py
test_hostha_kvm_host_recoveringError0.04test_hostha_kvm.py
test_remove_ha_provider_not_possibleError0.04test_hostha_kvm.py

@DaanHoogland

Copy link
Copy Markdown
Contributor

@blueorangutan test alma9 kvm-alma9

@blueorangutan

Copy link
Copy Markdown

@DaanHoogland a [SL] Trillian-Jenkins test job (alma9 mgmt + kvm-alma9) has been kicked to run smoke tests

@blueorangutan

Copy link
Copy Markdown

[SF] Trillian test result (tid-10824)
Environment: kvm-alma9 (x2), Advanced Networking with Mgmt server a9
Total time taken: 51626 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr8347-t10824-kvm-alma9.zip
Smoke tests completed. 136 look OK, 1 have errors, 0 did not run
Only failed and skipped tests results shown below:

TestResultTime (s)Test File
test_06_purge_expunged_vm_background_taskFailure337.45test_purge_expunged_vms.py

@DaanHoogland
DaanHoogland merged commit b9c7275 into apache:mainJul 14, 2024
dhslove pushed a commit to ablecloud-team/ablestack-cloud that referenced this pull request Jul 23, 2024
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants

@JoaoJandre@blueorangutan@DaanHoogland@codecov-commenter@bernardodemarco@GutoVeronezi@hsato03@BryanMLima