Skip to content

Conversation

@vishesh92
Copy link
Member

Description

This PR adds e2e tests for listing resources and makes changes for simulator to use dualzone config in github actions workflow.

Recreating PR #8281 including fix from PR #8392.

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?

@vishesh92
Copy link
Member Author

@blueorangutan package

@vishesh92 vishesh92 mentioned this pull request Dec 28, 2023
13 tasks
@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 28, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (9d4f071) 30.80% compared to head (17a1e03) 30.85%.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #8410      +/-   ##
============================================
+ Coverage     30.80%   30.85%   +0.04%     
- Complexity    33981    34062      +81     
============================================
  Files          5341     5341              
  Lines        374864   374864              
  Branches      54518    54518              
============================================
+ Hits         115485   115668     +183     
+ Misses       244114   243952     -162     
+ Partials      15265    15244      -21     
Flag Coverage Δ
simulator-marvin-tests 24.75% <ø> (+0.03%) ⬆️
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.

@blueorangutan
Copy link

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

@vishesh92
Copy link
Member Author

@blueorangutan test matrix

@blueorangutan
Copy link

@vishesh92 a [SL] Trillian-Jenkins matrix job (centos7 mgmt + xenserver71, rocky8 mgmt + vmware67u3, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests

@blueorangutan
Copy link

[SF] Trillian test result (tid-8690)
Environment: xenserver-71 (x2), Advanced Networking with Mgmt server 7
Total time taken: 42844 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr8410-t8690-xenserver-71.zip
Smoke tests completed. 127 look OK, 1 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test Result Time (s) Test File
test_05_list_volumes_isrecursive Failure 0.03 test_list_volumes.py
test_07_list_volumes_listall Failure 0.03 test_list_volumes.py

@blueorangutan
Copy link

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

Test Result Time (s) Test File
test_02_balanced_drs_algorithm Error 417.07 test_cluster_drs.py

@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 vishesh92 mentioned this pull request Jan 3, 2024
13 tasks
@blueorangutan
Copy link

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

@vishesh92
Copy link
Member Author

@blueorangutan test matrix

@blueorangutan
Copy link

@vishesh92 a [SL] Trillian-Jenkins matrix job (centos7 mgmt + xenserver71, rocky8 mgmt + vmware67u3, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests

@blueorangutan
Copy link

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

Test Result Time (s) Test File

@blueorangutan
Copy link

[SF] Trillian test result (tid-8713)
Environment: xenserver-71 (x2), Advanced Networking with Mgmt server 7
Total time taken: 44772 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr8410-t8713-xenserver-71.zip
Smoke tests completed. 128 look OK, 0 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test Result Time (s) Test File

@DaanHoogland
Copy link
Contributor

the vmware version:

Smoke tests completed. 127 look OK, 1 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test Result Time (s) Test File
test_02_balanced_drs_algorithm Failure 125.08 test_cluster_drs.py

Copy link
Contributor

@harikrishna-patnala harikrishna-patnala left a comment

Choose a reason for hiding this comment

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

code and smoke test results LGTM

@vishesh92 vishesh92 changed the base branch from main to 4.19 February 5, 2024 19:00
@DaanHoogland
Copy link
Contributor

@blueorangutan package

@blueorangutan
Copy link

@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

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

@DaanHoogland
Copy link
Contributor

@blueorangutan test matrix

@blueorangutan
Copy link

@DaanHoogland a [SL] Trillian-Jenkins matrix job (centos7 mgmt + xenserver71, rocky8 mgmt + vmware67u3, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests

@blueorangutan
Copy link

[SF] Trillian test result (tid-9098)
Environment: xenserver-71 (x2), Advanced Networking with Mgmt server 7
Total time taken: 42437 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr8410-t9098-xenserver-71.zip
Smoke tests completed. 129 look OK, 0 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test Result Time (s) Test File

@blueorangutan
Copy link

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

Test Result Time (s) Test File

@vishesh92
Copy link
Member Author

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

Test Result Time (s) Test File

Copy link
Member

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

@weizhouapache weizhouapache merged commit df412a9 into apache:4.19 Feb 7, 2024
@vishesh92 vishesh92 deleted the e2e-test-resource-listing branch February 7, 2024 07:30
sureshanaparti pushed a commit to shapeblue/cloudstack that referenced this pull request Feb 8, 2024
* Use dualzones for ci github actions

* Update advdualzone.cfg to be similar to advanced.cfg & fixup test_metrics_api.py

* Fixup e2e tests for running with multiple zones

* Add e2e tests for listing of accounts, disk_offerings, domains, hosts, service_offerings, storage_pools, volumes

* Fixup

* another fixup

* Add test for listing volumes with tags filter

* Add check for existing volumes in test_list_volumes

* Wait for volumes to be deleted on cleanup

* Filter out volumes in Destroy state before checking the count of volumes
sureshanaparti pushed a commit to shapeblue/cloudstack that referenced this pull request Feb 8, 2024
* Use dualzones for ci github actions

* Update advdualzone.cfg to be similar to advanced.cfg & fixup test_metrics_api.py

* Fixup e2e tests for running with multiple zones

* Add e2e tests for listing of accounts, disk_offerings, domains, hosts, service_offerings, storage_pools, volumes

* Fixup

* another fixup

* Add test for listing volumes with tags filter

* Add check for existing volumes in test_list_volumes

* Wait for volumes to be deleted on cleanup

* Filter out volumes in Destroy state before checking the count of volumes
dhslove pushed a commit to ablecloud-team/ablestack-cloud that referenced this pull request Feb 20, 2024
* Use dualzones for ci github actions

* Update advdualzone.cfg to be similar to advanced.cfg & fixup test_metrics_api.py

* Fixup e2e tests for running with multiple zones

* Add e2e tests for listing of accounts, disk_offerings, domains, hosts, service_offerings, storage_pools, volumes

* Fixup

* another fixup

* Add test for listing volumes with tags filter

* Add check for existing volumes in test_list_volumes

* Wait for volumes to be deleted on cleanup

* Filter out volumes in Destroy state before checking the count of volumes
@yadvr yadvr modified the milestones: 4.19.1.0, 4.19.0.0 Mar 14, 2024
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.

6 participants