Skip to content

assertion improvement on cluster DRS - #8508

Merged
sureshanaparti merged 5 commits into
apache:4.19from
shapeblue:clusterDrsAssertion
Jun 20, 2024
Merged

assertion improvement on cluster DRS#8508
sureshanaparti merged 5 commits into
apache:4.19from
shapeblue:clusterDrsAssertion

Conversation

@DaanHoogland

Copy link
Copy Markdown
Contributor

Description

This PR ...

Fixes: #8507

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
  • test (unit or integration

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

How Has This Been Tested?

How did you try to break this feature and the system with this change?

@boring-cyborgboring-cyborgBot added component:integration-test Python Warning... Python code Ahead! labels Jan 15, 2024
@codecov

codecovBot commented Jan 15, 2024

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 14.95%. Comparing base (d77998c) to head (bc4885a).
Report is 30 commits behind head on 4.19.

Additional details and impacted files
@@ Coverage Diff @@## 4.19 #8508 +/- ##
============================================
- Coverage 14.96% 14.95% -0.01% - Complexity 10997 10998 +1 
============================================
Files 5373 5377 +4 Lines 469188 469509 +321 Branches 60324 57223 -3101 ============================================
+ Hits 70217 70227 +10 - Misses 391196 391508 +312 + Partials 7775 7774 -1 
FlagCoverage Δ
uitests4.29% <ø> (-0.02%)⬇️
unittests15.66% <ø> (-0.01%)⬇️

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.

@vishesh92vishesh92 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.

clgtm

Comment threadtest/integration/smoke/test_cluster_drs.py
@apacheapache deleted a comment from blueorangutanJan 17, 2024
@apacheapache deleted a comment from blueorangutanJan 17, 2024
@apacheapache deleted a comment from blueorangutanJan 17, 2024
@apacheapache deleted a comment from blueorangutanJan 17, 2024
@apacheapache deleted a comment from blueorangutanJan 17, 2024
@apacheapache deleted a comment from blueorangutanJan 17, 2024
@apacheapache deleted a comment from blueorangutanJan 17, 2024
@apacheapache deleted a comment from blueorangutanJan 17, 2024
@apacheapache deleted a comment from blueorangutanJan 18, 2024
@apacheapache deleted a comment from blueorangutanJan 18, 2024
@apacheapache deleted a comment from blueorangutanJan 18, 2024
@apacheapache deleted a comment from blueorangutanJan 18, 2024
@DaanHooglandDaanHoogland added this to the 4.19.1.0 milestone Jan 22, 2024
@shwstppr

Copy link
Copy Markdown
Contributor

@DaanHoogland should this target to 4.19 branch?

@DaanHoogland

Copy link
Copy Markdown
ContributorAuthor

@shwstppr I can rebase if needed, but didn´t think it relevant or 4.19 (might be mistaking)

@vishesh92

Copy link
Copy Markdown
Member

@DaanHoogland Test is in 4.19 as well. So, we need to fix this for 4.19 as well.

@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.

@blueorangutan

Copy link
Copy Markdown

@vishesh92 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 9897

Comment threadtest/integration/smoke/test_cluster_drs.py Outdated
@vishesh92

Copy link
Copy Markdown
Member

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

@vishesh92 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 9901

@DaanHoogland

Copy link
Copy Markdown
ContributorAuthor

@blueorangutan test alma9 vmware-70u3

@blueorangutan

Copy link
Copy Markdown

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

@blueorangutan

Copy link
Copy Markdown

[SF] Trillian test result (tid-10422)
Environment: vmware-70u3 (x2), Advanced Networking with Mgmt server a9
Total time taken: 65623 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr8508-t10422-vmware-70u3.zip
Smoke tests completed. 130 look OK, 1 have errors, 0 did not run
Only failed and skipped tests results shown below:

TestResultTime (s)Test File
test_list_vms_metrics_adminError3625.41test_metrics_api.py
test_list_vms_metrics_historyError4.72test_metrics_api.py
test_list_volumes_metrics_historyError3618.26test_metrics_api.py

@sureshanaparti

Copy link
Copy Markdown
Contributor

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

@sureshanaparti 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 9988

@vishesh92

Copy link
Copy Markdown
Member

@blueorangutan test alma9 vmware-70u3

@blueorangutan

Copy link
Copy Markdown

@vishesh92 a [SL] Trillian-Jenkins test job (alma9 mgmt + vmware-70u3) has been kicked to run smoke tests

@blueorangutan

Copy link
Copy Markdown

[SF] Trillian test result (tid-10483)
Environment: vmware-70u3 (x2), Advanced Networking with Mgmt server a9
Total time taken: 40151 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr8508-t10483-vmware-70u3.zip
Smoke tests completed. 104 look OK, 8 have errors, 19 did not run
Only failed and skipped tests results shown below:

TestResultTime (s)Test File
test_01_restore_vmError3614.72test_restore_vm.py
test_02_restore_vm_allocated_rootError7.78test_restore_vm.py
ContextSuite context=TestRestoreVM>:teardownError15.15test_restore_vm.py
test_01_prepare_and_cancel_shutdownError2.60test_safe_shutdown.py
test_02_trigger_shutdownFailure301.37test_safe_shutdown.py
test_01_scale_vmError0.03test_scale_vm.py
test_02_scale_vm_negative_offering_disable_scalingError0.02test_scale_vm.py
test_03_scale_vm_negative_vm_disable_scalingError0.02test_scale_vm.py
test_04_scale_vm_with_user_accountError3.76test_scale_vm.py
test_04_scale_vm_with_user_accountError3.77test_scale_vm.py
test_05_scale_vm_dont_allow_disk_offering_changeError0.11test_scale_vm.py
ContextSuite context=TestScaleVm>:teardownError0.30test_scale_vm.py
ContextSuite context=TestServiceOfferings>:setupError3.56test_service_offerings.py
ContextSuite context=TestSetSourceNatIp>:setupError0.00test_set_sourcenat.py
ContextSuite context=TestSnapshotRootDisk>:setupError0.00test_snapshots.py
ContextSuite context=TestSnapshotStandaloneBackup>:setupError0.00test_snapshots.py
test_05_stop_ssvmError0.15test_ssvm.py
test_06_stop_cpvmError0.17test_ssvm.py
test_07_reboot_ssvmError0.15test_ssvm.py
test_08_reboot_cpvmError0.16test_ssvm.py
test_09_reboot_ssvm_forcedError0.15test_ssvm.py
test_10_reboot_cpvm_forcedError0.19test_ssvm.py
test_11_destroy_ssvmError0.13test_ssvm.py
test_12_destroy_cpvmError0.13test_ssvm.py
test_01_import_storage_policiesError5.94test_storage_policy.py
ContextSuite context=TestVMWareStoragePolicies>:teardownError5.98test_storage_policy.py
all_test_templatesSkipped---test_templates.py
all_test_update_security_groupSkipped---test_update_security_group.py
all_test_usage_eventsSkipped---test_usage_events.py
all_test_usageSkipped---test_usage.py
all_test_vm_autoscalingSkipped---test_vm_autoscaling.py
all_test_vm_deployment_plannerSkipped---test_vm_deployment_planner.py
all_test_vm_life_cycleSkipped---test_vm_life_cycle.py
all_test_vm_lifecycle_unmanage_importSkipped---test_vm_lifecycle_unmanage_import.py
all_test_vm_scheduleSkipped---test_vm_schedule.py
all_test_vm_snapshot_kvmSkipped---test_vm_snapshot_kvm.py
all_test_vm_snapshotsSkipped---test_vm_snapshots.py
all_test_vnf_templatesSkipped---test_vnf_templates.py
all_test_volumesSkipped---test_volumes.py
all_test_vpc_ipv6Skipped---test_vpc_ipv6.py
all_test_vpc_redundantSkipped---test_vpc_redundant.py
all_test_vpc_router_nicsSkipped---test_vpc_router_nics.py
all_test_vpc_vpnSkipped---test_vpc_vpn.py
all_test_host_maintenanceSkipped---test_host_maintenance.py
all_test_hostha_kvmSkipped---test_hostha_kvm.py

@vishesh92

Copy link
Copy Markdown
Member

@blueorangutan test alma9 vmware-70u3

@blueorangutan

Copy link
Copy Markdown

@vishesh92 a [SL] Trillian-Jenkins test job (alma9 mgmt + vmware-70u3) has been kicked to run smoke tests

@sureshanapartisureshanaparti 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

@blueorangutan

Copy link
Copy Markdown

[SF] Trillian test result (tid-10503)
Environment: vmware-70u3 (x2), Advanced Networking with Mgmt server a9
Total time taken: 48300 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr8508-t10503-vmware-70u3.zip
Smoke tests completed. 129 look OK, 2 have errors, 0 did not run
Only failed and skipped tests results shown below:

TestResultTime (s)Test File
test_02_trigger_shutdownFailure341.39test_safe_shutdown.py
test_05_stop_ssvmFailure102.15test_ssvm.py

@DaanHoogland

Copy link
Copy Markdown
ContributorAuthor

At least the cluster DRS test errors are gone now. What do we think @vishesh92@sureshanaparti ?

@vishesh92

Copy link
Copy Markdown
Member

At least the cluster DRS test errors are gone now. What do we think @vishesh92@sureshanaparti ?

Yeah. Let's merge it.

@sureshanaparti

Copy link
Copy Markdown
Contributor

No issues with cluster DRS test here, merging this based on review / test result.

@sureshanaparti
sureshanaparti merged commit 84b91cc into apache:4.19Jun 20, 2024
@DaanHoogland
DaanHoogland deleted the clusterDrsAssertion branch June 20, 2024 06:30
dhslove pushed a commit to ablecloud-team/ablestack-cloud that referenced this pull request Jun 24, 2024
* PR template enhanced
* assertion improvement on cluster DRS
* Update test/integration/smoke/test_cluster_drs.py
* Fix host id check for balanced drs e2e test
* Update test/integration/smoke/test_cluster_drs.py
Co-authored-by: Vishesh <vishesh92@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

Improve test_cluster_drs.py for VMware

5 participants

@DaanHoogland@shwstppr@vishesh92@blueorangutan@sureshanaparti