Skip to content

[4.22] test: fix smoke test failures on xen/vmware - #14887

Merged
sureshanaparti merged 1 commit into
apache:4.22from
weizhouapache:4.22-fix-smoke-test-failures
Nov 28, 2026
Merged

sureshanaparti merged 1 commit into
apache:4.22from
weizhouapache:4.22-fix-smoke-test-failures

Conversation

@weizhouapache

@weizhouapache weizhouapache commented Nov 27, 2026 •

Copy link
Copy Markdown
Member

Description

Backport of #13628 (applicable test changes only):

  • add sleeps and retries in tests that are sensitive to timing on xen and vmware
  • retry the domain deletion in tearDown of test_deploy_vms_in_parallel
  • avoid failures caused by other tests in test_cluster_drs and test_host_maintenance
  • fix test_usage

(cherry picked from commit 1b4f19e)

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 test code)

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?

Backport of the applicable test changes of apache#13628:
- add sleeps and retries in tests that are sensitive to timing on xen and vmware
- retry the domain deletion in tearDown of test_deploy_vms_in_parallel
- avoid failures caused by other tests in test_cluster_drs and test_host_maintenance
- fix test_usage

(cherry picked from commit 1b4f19e)
@weizhouapache

Copy link
Copy Markdown
Member Author

@blueorangutan package

@weizhouapache weizhouapache changed the title test: fix smoke test failures on xen/vmware [4.22] test: fix smoke test failures on xen/vmware Nov 27, 2026
@blueorangutan

Copy link
Copy Markdown

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

@weizhouapache weizhouapache added this to the 4.22.2 milestone Nov 27, 2026
@codecov

codecov Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 18.33%. Comparing base (224a32b) to head (ffa09bf).
⚠️ Report is 3 commits behind head on 4.22.

Additional details and impacted files
@@             Coverage Diff              @@
##               4.22   #14887      +/-   ##
============================================
- Coverage     18.34%   18.33%   -0.01%     
+ Complexity    16669    16663       -6     
============================================
  Files          5939     5939              
  Lines        537819   537819              
  Branches      65941    65941              
============================================
- Hits          98640    98599      -41     
- Misses       427959   428008      +49     
+ Partials      11220    11212       -8     
Flag Coverage Δ
uitests 4.08% <ø> (ø)
unittests 19.42% <ø> (-0.01%) ⬇️

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

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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

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

@weizhouapache

Copy link
Copy Markdown
Member Author

@blueorangutan test matrix

@blueorangutan

Copy link
Copy Markdown

@weizhouapache a [SL] Trillian-Jenkins matrix job (ol8 mgmt + kvm-ol8, ubuntu24 mgmt + kvm-ubuntu24, ol8 mgmt + vmware-70u3, ol9 mgmt + xcpng82) has been kicked to run smoke tests

@blueorangutan

blueorangutan commented Nov 28, 2026 •

Copy link
Copy Markdown

[SF] Trillian test result (tid-17643)
Environment: kvm-ol8 (x2), zone: Advanced Networking with Mgmt server ol8
Total time taken: 52517 seconds
Marvin logs: [archive removed]
Smoke tests completed. 149 look OK, 0 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test Result Time (s) Test File

@blueorangutan

blueorangutan commented Nov 28, 2026 •

Copy link
Copy Markdown

[SF] Trillian test result (tid-17644)
Environment: kvm-ubuntu24 (x2), zone: Advanced Networking with Mgmt server u24
Total time taken: 58669 seconds
Marvin logs: [archive removed]
Smoke tests completed. 149 look OK, 0 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test Result Time (s) Test File

@blueorangutan

blueorangutan commented Nov 28, 2026 •

Copy link
Copy Markdown

[SF] Trillian test result (tid-17645)
Environment: vmware-70u3 (x2), zone: Advanced Networking with Mgmt server ol8
Total time taken: 63412 seconds
Marvin logs: [archive removed]
Smoke tests completed. 147 look OK, 2 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test Result Time (s) Test File
test_08_migrate_vm Error 25.46 test_vm_life_cycle.py
test_08_resize_volume Error 16.82 test_volumes.py
test_12_resize_volume_with_only_size_parameter Error 13.71 test_volumes.py

@blueorangutan

blueorangutan commented Nov 28, 2026 •

Copy link
Copy Markdown

[SF] Trillian test result (tid-17646)
Environment: xcpng82 (x2), zone: Advanced Networking with Mgmt server ol9
Total time taken: 79271 seconds
Marvin logs: [archive removed]
Smoke tests completed. 149 look OK, 0 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test Result Time (s) Test File

@weizhouapache
weizhouapache marked this pull request as ready for review November 28, 2026 10:15
@sureshanaparti
sureshanaparti merged commit a8735b2 into apache:4.22 Nov 28, 2026
25 of 26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component:integration-test Python Warning... Python code Ahead!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants