Skip to content

Conversation

@vishesh92
Copy link
Member

@vishesh92 vishesh92 commented Dec 21, 2023

Description

This PR fixes intermittent test failures due left over volumes from previous test runs by waiting for their cleanup.

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

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-cyborg boring-cyborg bot added component:integration-test Python Warning... Python code Ahead! labels Dec 21, 2023
@vishesh92
Copy link
Member Author

@blueorangutan package

@blueorangutan
Copy link

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

@codecov
Copy link

codecov bot commented Dec 21, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (1411da1) 30.88% compared to head (49f385c) 26.10%.
Report is 6 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #8392      +/-   ##
============================================
- Coverage     30.88%   26.10%   -4.78%     
+ Complexity    34079    27910    -6169     
============================================
  Files          5341     5341              
  Lines        374861   374861              
  Branches      54518    54518              
============================================
- Hits         115769    97865   -17904     
- Misses       243825   263898   +20073     
+ Partials      15267    13098    -2169     
Flag Coverage Δ
simulator-marvin-tests 18.29% <ø> (-6.53%) ⬇️
uitests 4.39% <ø> (ø)
unit-tests 16.46% <ø> (-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.

Co-authored-by: Suresh Kumar Anaparti <sureshkumar.anaparti@gmail.com>
@sureshanaparti
Copy link
Contributor

@vishesh92 can you update the description (about the issue, fix)

@blueorangutan
Copy link

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

@shwstppr
Copy link
Contributor

@blueorangutan package

@blueorangutan
Copy link

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

Copy link
Contributor

@sureshanaparti sureshanaparti left a comment

Choose a reason for hiding this comment

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

code lgtm

@vishesh92
Copy link
Member Author

@blueorangutan package

@blueorangutan
Copy link

@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

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

@vishesh92 vishesh92 force-pushed the fixup-e2e-list-volumes-failure branch from 21fa3f5 to c2c2ae1 Compare December 21, 2023 09:04
@vishesh92 vishesh92 force-pushed the fixup-e2e-list-volumes-failure branch from c2c2ae1 to 3b47c56 Compare December 21, 2023 09:05
@vishesh92
Copy link
Member Author

@blueorangutan package

@blueorangutan
Copy link

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

@vishesh92
Copy link
Member Author

vishesh92 commented Dec 21, 2023

@shwstppr @sureshanaparti After a discussion with @DaanHoogland, I have made changes to wait for cleanup of volumes after every test run to ensure that we don't have to wait for cleanup in all tests.

There might still be failures if some volume is not added in cleanup or there is a failure while cleaning up a volume.

@blueorangutan
Copy link

Packaging result [SF]: ✖️ el7 ✔️ debian. SL-JID 8112

@shwstppr
Copy link
Contributor

@vishesh92 cc @DaanHoogland @sureshanaparti @weizhouapache
I do not like the idea of the listing tests failing if there are other resources present. I would prefer reverting the original PR to have stable results for the RC unless others are in line with the changes

@weizhouapache
Copy link
Member

@vishesh92 cc @DaanHoogland @sureshanaparti @weizhouapache I do not like the idea of the listing tests failing if there are other resources present. I would prefer reverting the original PR to have stable results for the RC unless others are in line with the changes

+1

@DaanHoogland
Copy link
Contributor

@vishesh92 cc @DaanHoogland @sureshanaparti @weizhouapache I do not like the idea of the listing tests failing if there are other resources present. I would prefer reverting the original PR to have stable results for the RC unless others are in line with the changes

I think the changes here are good. What PR do you mean to revert @shwstppr ?

@shwstppr
Copy link
Contributor

@DaanHoogland #8281
Yes, changes in this are fine but even with them I won't be able to successfully run some of the tests added in #8281 if my env already has some resources

@shwstppr shwstppr mentioned this pull request Dec 21, 2023
13 tasks
@blueorangutan
Copy link

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

@yadvr
Copy link
Member

yadvr commented Dec 21, 2023

@blueorangutan test

@blueorangutan
Copy link

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

@github-actions
Copy link

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

@vishesh92 vishesh92 mentioned this pull request Dec 28, 2023
13 tasks
@vishesh92
Copy link
Member Author

Included in #8410

@vishesh92 vishesh92 closed this Dec 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants