You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "shwstppr (via GitHub)" <gi...@apache.org> on 2025/03/03 05:57:16 UTC

[PR] test: fix failure in test_purge_expunged_vms.py [cloudstack]

shwstppr opened a new pull request, #10490:
URL: https://github.com/apache/cloudstack/pull/10490

   ### Description
   
   Seen in https://github.com/apache/cloudstack/pull/10006#issuecomment-2691067265 and other test runs.
   
   ### 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
   - [x] 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?
   
   Ran test after changes,
   ```
   root@pr10006-t12482-kvm-ol8-marvin marvin]# nosetests --with-xunit --xunit-file=results.xml --with-marvin --marvin-config=./pr10006-t12482-kvm-ol8-advanced-cfg -s -a tags=advanced --hypervisor=KVM tests/smoke/test_purge_expunged_vms.py 
   /usr/local/lib/python3.6/site-packages/paramiko/transport.py:32: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography. The next release of cryptography will remove support for Python 3.6.
     from cryptography.hazmat.backends import default_backend
   
   ==== Marvin Init Started ====
   
   === Marvin Parse Config Successful ===
   
   === Marvin Setting TestData Successful===
   
   ==== Log Folder Path: /marvin/MarvinLogs/Mar_03_2025_05_38_49_VUX70X All logs will be available here ====
   
   === Marvin Init Logging Successful===
   
   ==== Marvin Init Successful ====
   === TestName: test_01_purge_expunged_api_vm_start_date | Status : SUCCESS ===
   
   === TestName: test_02_purge_expunged_api_vm_end_date | Status : SUCCESS ===
   
   === TestName: test_03_purge_expunged_api_vm_start_end_date | Status : SUCCESS ===
   
   === TestName: test_04_purge_expunged_api_vm_no_date | Status : SUCCESS ===
   
   === TestName: test_05_purge_expunged_vm_service_offering | Status : SUCCESS ===
   
   ====Trying SSH Connection: Host:10.0.34.25 User:root                                   Port:22 RetryCnt:60===
   ===SSH to Host 10.0.34.25 port : 22 SUCCESSFUL===
   {Cmd: service cloudstack-management stop via Host: 10.0.34.25} {returns: ['Redirecting to /bin/systemctl stop cloudstack-management.service']}
   {Cmd: service cloudstack-management start via Host: 10.0.34.25} {returns: ['Redirecting to /bin/systemctl start cloudstack-management.service']}
   ====Trying SSH Connection: Host:None User:root                                   Port:22 RetryCnt:60===
   ====Trying SSH Connection: Host:None User:root                                   Port:22 RetryCnt:60===
   ===SSH to Host None port : 22 SUCCESSFUL===
   ===SSH to Host None port : 22 SUCCESSFUL===
   {Cmd: service cloudstack-management stop via Host: None} {returns: ['Redirecting to /bin/systemctl stop cloudstack-management.service', 'Failed to stop cloudstack-management.service: Unit cloudstack-management.service not loaded.']}
   {Cmd: service cloudstack-management start via Host: None} {returns: ['Redirecting to /bin/systemctl start cloudstack-management.service', 'Failed to start cloudstack-management.service: Unit not found.']}
   ====Trying SSH Connection: Host:10.0.34.25 User:root                                   Port:22 RetryCnt:60===
   ====Trying SSH Connection: Host:10.0.34.25 User:root                                   Port:22 RetryCnt:60===
   ===SSH to Host 10.0.34.25 port : 22 SUCCESSFUL===
   ===SSH to Host 10.0.34.25 port : 22 SUCCESSFUL===
   {Cmd: service cloudstack-management stop via Host: 10.0.34.25} {returns: ['Redirecting to /bin/systemctl stop cloudstack-management.service']}
   {Cmd: service cloudstack-management stop via Host: 10.0.34.25} {returns: ['Redirecting to /bin/systemctl stop cloudstack-management.service']}
   {Cmd: service cloudstack-management start via Host: 10.0.34.25} {returns: ['Redirecting to /bin/systemctl start cloudstack-management.service']}
   {Cmd: service cloudstack-management start via Host: 10.0.34.25} {returns: ['Redirecting to /bin/systemctl start cloudstack-management.service']}
   ====Trying SSH Connection: Host:None User:root                                   Port:22 RetryCnt:60===
   ====Trying SSH Connection: Host:None User:root                                   Port:22 RetryCnt:60===
   ====Trying SSH Connection: Host:None User:root                                   Port:22 RetryCnt:60===
   ===SSH to Host None port : 22 SUCCESSFUL===
   ===SSH to Host None port : 22 SUCCESSFUL===
   ===SSH to Host None port : 22 SUCCESSFUL===
   {Cmd: service cloudstack-management stop via Host: None} {returns: ['Redirecting to /bin/systemctl stop cloudstack-management.service', 'Failed to stop cloudstack-management.service: Unit cloudstack-management.service not loaded.']}
   {Cmd: service cloudstack-management stop via Host: None} {returns: ['Redirecting to /bin/systemctl stop cloudstack-management.service', 'Failed to stop cloudstack-management.service: Unit cloudstack-management.service not loaded.']}
   {Cmd: service cloudstack-management start via Host: None} {returns: ['Redirecting to /bin/systemctl start cloudstack-management.service', 'Failed to start cloudstack-management.service: Unit not found.']}
   {Cmd: service cloudstack-management start via Host: None} {returns: ['Redirecting to /bin/systemctl start cloudstack-management.service', 'Failed to start cloudstack-management.service: Unit not found.']}
   === TestName: test_06_purge_expunged_vm_background_task | Status : SUCCESS ===
   
   === Final results are now copied to: /marvin//MarvinLogs/test_purge_expunged_vms_SIBUW4 ===
   ```
   
   <!-- Please describe in detail how you tested your changes. -->
   <!-- Include details of your testing environment, and the tests you ran to -->
   
   #### How did you try to break this feature and the system with this change?
   
   <!-- see how your change affects other areas of the code, etc. -->
   
   <!-- Please read the [CONTRIBUTING](https://github.com/apache/cloudstack/blob/main/CONTRIBUTING.md) document -->
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] test: fix failure in test_purge_expunged_vms.py [cloudstack]

Posted by "shwstppr (via GitHub)" <gi...@apache.org>.
shwstppr commented on PR #10490:
URL: https://github.com/apache/cloudstack/pull/10490#issuecomment-2693458815

   @blueorangutan test


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] test: fix failure in test_purge_expunged_vms.py [cloudstack]

Posted by "shwstppr (via GitHub)" <gi...@apache.org>.
shwstppr commented on PR #10490:
URL: https://github.com/apache/cloudstack/pull/10490#issuecomment-2693352873

   @blueorangutan package


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] test: fix failure in test_purge_expunged_vms.py [cloudstack]

Posted by "codecov[bot] (via GitHub)" <gi...@apache.org>.
codecov[bot] commented on PR #10490:
URL: https://github.com/apache/cloudstack/pull/10490#issuecomment-2693362808

   ## [Codecov](https://app.codecov.io/gh/apache/cloudstack/pull/10490?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
   All modified and coverable lines are covered by tests :white_check_mark:
   > Project coverage is 4.01%. Comparing base [(`bdae23e`)](https://app.codecov.io/gh/apache/cloudstack/commit/bdae23ed5369e42d2067e206602c81cefccd59b7?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) to head [(`ea61260`)](https://app.codecov.io/gh/apache/cloudstack/commit/ea612609969ea0283b46e9fb6b418c98e974733a?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
   
   > :exclamation:  There is a different number of reports uploaded between BASE (bdae23e) and HEAD (ea61260). Click for more details.
   > 
   > <details><summary>HEAD has 1 upload less than BASE</summary>
   >
   >| Flag | BASE (bdae23e) | HEAD (ea61260) |
   >|------|------|------|
   >|unittests|1|0|
   ></details>
   
   <details><summary>Additional details and impacted files</summary>
   
   
   ```diff
   @@              Coverage Diff              @@
   ##               4.20   #10490       +/-   ##
   =============================================
   - Coverage     15.98%    4.01%   -11.98%     
   =============================================
     Files          5649      395     -5254     
     Lines        495741    32438   -463303     
     Branches      60022     5751    -54271     
   =============================================
   - Hits          79250     1301    -77949     
   + Misses       407635    30988   -376647     
   + Partials       8856      149     -8707     
   ```
   
   | [Flag](https://app.codecov.io/gh/apache/cloudstack/pull/10490/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | |
   |---|---|---|
   | [uitests](https://app.codecov.io/gh/apache/cloudstack/pull/10490/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `4.01% <ø> (ø)` | |
   | [unittests](https://app.codecov.io/gh/apache/cloudstack/pull/10490/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `?` | |
   
   Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#carryforward-flags-in-the-pull-request-comment) to find out more.
   
   </details>
   
   [:umbrella: View full report in Codecov by Sentry](https://app.codecov.io/gh/apache/cloudstack/pull/10490?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).   
   :loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] test: fix failure in test_purge_expunged_vms.py [cloudstack]

Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #10490:
URL: https://github.com/apache/cloudstack/pull/10490#issuecomment-2693353650

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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] test: fix failure in test_purge_expunged_vms.py [cloudstack]

Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #10490:
URL: https://github.com/apache/cloudstack/pull/10490#issuecomment-2693454263

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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] test: fix failure in test_purge_expunged_vms.py [cloudstack]

Posted by "shwstppr (via GitHub)" <gi...@apache.org>.
shwstppr closed pull request #10490: test: fix failure in test_purge_expunged_vms.py
URL: https://github.com/apache/cloudstack/pull/10490


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] test: fix failure in test_purge_expunged_vms.py [cloudstack]

Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #10490:
URL: https://github.com/apache/cloudstack/pull/10490#issuecomment-2695770519

   <b>[SF] Trillian test result (tid-12534)</b>
   Environment: kvm-ol8 (x2), Advanced Networking with Mgmt server ol8
   Total time taken: 55332 seconds
   Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr10490-t12534-kvm-ol8.zip
   Smoke tests completed. 140 look OK, 1 have errors, 0 did not run
   Only failed and skipped tests results shown below:
   
   
   Test | Result | Time (s) | Test File
   --- | --- | --- | ---
   test_06_purge_expunged_vm_background_task | `Failure` | 386.19 | test_purge_expunged_vms.py
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] test: fix failure in test_purge_expunged_vms.py [cloudstack]

Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #10490:
URL: https://github.com/apache/cloudstack/pull/10490#issuecomment-2693460752

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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] test: fix failure in test_purge_expunged_vms.py [cloudstack]

Posted by "shwstppr (via GitHub)" <gi...@apache.org>.
shwstppr commented on PR #10490:
URL: https://github.com/apache/cloudstack/pull/10490#issuecomment-2693602070

   The fix is not the reason for failure. Will investigate and rework.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org