You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2021/02/04 12:36:20 UTC

[GitHub] [cloudstack] Pearl1594 opened a new pull request #4651: marvin: fix test failures when changing service offering of a VM

Pearl1594 opened a new pull request #4651:
URL: https://github.com/apache/cloudstack/pull/4651


   
   ### Description
   
   This PR fixes the test failures noticed on VMware test runs where in change of service offering for a VM fails with the following error:
   ```
   2021-02-04 11:58:05,241 - CRITICAL - EXCEPTION: test_04_change_offering_small: ['Traceback (most recent call last):\n', '  File "/usr/lib64/python2.7/unittest/case.py", line 369, in run\n    testMethod()\n', '  File "/marvin/tests/smoke/test_service_offerings.py", line 511, in test_04_change_offering_small\n    self.apiclient.changeServiceForVirtualMachine(cmd)\n', '  File "/usr/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line 1086, in changeServiceForVirtualMachine\n    response = self.connection.marvinRequest(command, response_type=response, method=method)\n', '  File "/usr/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 379, in marvinRequest\n    raise e\n', 'CloudstackAPIException: Execute cmd: changeserviceforvirtualmachine failed, due to: errorCode: 431, errorText:VM current state is : PowerOn. But VM should be in PowerOff state.\n']
   
   ```
   This seems to be a consequence of changing the enabling volumeresize with changeServiceForVirtualMachine introduced with : https://github.com/apache/cloudstack/pull/4491. The failure is seen in **test_service_offerings.py -> test_04_change_offering_small**  and **test_vm_snapshots.py -> test_change_service_offering_for_vm_with_snapshots**
   
   ### Types of changes
   
   - [ ] Breaking change (fix or feature that would cause existing functionality to change)
   - [ ] New feature (non-breaking change which adds functionality)
   - [X] 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)
   
   ### Feature/Enhancement Scale or Bug Severity
   
   #### Feature/Enhancement Scale
   
   - [ ] Major
   - [X] Minor
   
   #### Bug Severity
   
   - [ ] BLOCKER
   - [ ] Critical
   - [ ] Major
   - [X] Minor
   - [ ] Trivial
   
   


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

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



[GitHub] [cloudstack] Pearl1594 commented on pull request #4651: marvin: fix test failures when changing service offering of a VM

Posted by GitBox <gi...@apache.org>.
Pearl1594 commented on pull request #4651:
URL: https://github.com/apache/cloudstack/pull/4651#issuecomment-773307090


   @blueorangutan test centos7 vmware-67u3


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

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



[GitHub] [cloudstack] shwstppr commented on pull request #4651: marvin: fix test failures when changing service offering of a VM

Posted by GitBox <gi...@apache.org>.
shwstppr commented on pull request #4651:
URL: https://github.com/apache/cloudstack/pull/4651#issuecomment-773298677


   @Pearl1594 does this need to go in 4.14?


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

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



[GitHub] [cloudstack] Pearl1594 commented on pull request #4651: marvin: fix test failures when changing service offering of a VM

Posted by GitBox <gi...@apache.org>.
Pearl1594 commented on pull request #4651:
URL: https://github.com/apache/cloudstack/pull/4651#issuecomment-773306378


   > @Pearl1594 does this need to go in 4.14?
   
   @shwstppr I don't see these test failures on 4.14 based PRs


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

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



[GitHub] [cloudstack] rhtyd closed pull request #4651: marvin: fix test failures when changing service offering of a VM

Posted by GitBox <gi...@apache.org>.
rhtyd closed pull request #4651:
URL: https://github.com/apache/cloudstack/pull/4651


   


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

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



[GitHub] [cloudstack] rhtyd commented on pull request #4651: marvin: fix test failures when changing service offering of a VM

Posted by GitBox <gi...@apache.org>.
rhtyd commented on pull request #4651:
URL: https://github.com/apache/cloudstack/pull/4651#issuecomment-773316394


   We want this in 4.14 branch, @Pearl1594 cc @shwstppr @DaanHoogland 


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

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



[GitHub] [cloudstack] Pearl1594 commented on pull request #4651: marvin: fix test failures when changing service offering of a VM

Posted by GitBox <gi...@apache.org>.
Pearl1594 commented on pull request #4651:
URL: https://github.com/apache/cloudstack/pull/4651#issuecomment-773963200


   @DaanHoogland The time taken to stop the VM hasn't changed, however, earlier with the `changeServiceForVirtualMachine` cmd, we only updated the DB with the new service offering, and root disk resize wasn't taken care of. With the changes made, resizing of volumes is handled as part of VM upgrade and that enforces that VM's power state be off. Hence, we need to wait until it's off, to proceed further.


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

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



[GitHub] [cloudstack] shwstppr commented on pull request #4651: marvin: fix test failures when changing service offering of a VM

Posted by GitBox <gi...@apache.org>.
shwstppr commented on pull request #4651:
URL: https://github.com/apache/cloudstack/pull/4651#issuecomment-773298677


   @Pearl1594 does this need to go in 4.14?


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

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



[GitHub] [cloudstack] Pearl1594 commented on pull request #4651: marvin: fix test failures when changing service offering of a VM

Posted by GitBox <gi...@apache.org>.
Pearl1594 commented on pull request #4651:
URL: https://github.com/apache/cloudstack/pull/4651#issuecomment-773274273


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

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



[GitHub] [cloudstack] blueorangutan commented on pull request #4651: marvin: fix test failures when changing service offering of a VM

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #4651:
URL: https://github.com/apache/cloudstack/pull/4651#issuecomment-774365847


   <b>Trillian test result (tid-3498)</b>
   Environment: vmware-67u3 (x2), Advanced Networking with Mgmt server 7
   Total time taken: 42759 seconds
   Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4651-t3498-vmware-67u3.zip
   Intermittent failure detected: /marvin/tests/smoke/test_kubernetes_clusters.py
   Smoke tests completed. 82 look OK, 1 have error(s)
   Only failed tests results shown below:
   
   
   Test | Result | Time (s) | Test File
   --- | --- | --- | ---
   test_03_deploy_and_upgrade_kubernetes_cluster | `Error` | 3775.48 | test_kubernetes_clusters.py
   ContextSuite context=TestKubernetesCluster>:teardown | `Error` | 123.12 | test_kubernetes_clusters.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.

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



[GitHub] [cloudstack] rhtyd commented on pull request #4651: marvin: fix test failures when changing service offering of a VM

Posted by GitBox <gi...@apache.org>.
rhtyd commented on pull request #4651:
URL: https://github.com/apache/cloudstack/pull/4651#issuecomment-773316394


   We want this in 4.14 branch, @Pearl1594 cc @shwstppr @DaanHoogland 


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

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



[GitHub] [cloudstack] blueorangutan commented on pull request #4651: marvin: fix test failures when changing service offering of a VM

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #4651:
URL: https://github.com/apache/cloudstack/pull/4651#issuecomment-773274706


   @Pearl1594 a Jenkins job has been kicked to build packages. 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.

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



[GitHub] [cloudstack] blueorangutan commented on pull request #4651: marvin: fix test failures when changing service offering of a VM

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #4651:
URL: https://github.com/apache/cloudstack/pull/4651#issuecomment-773274706






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

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



[GitHub] [cloudstack] shwstppr closed pull request #4651: marvin: fix test failures when changing service offering of a VM

Posted by GitBox <gi...@apache.org>.
shwstppr closed pull request #4651:
URL: https://github.com/apache/cloudstack/pull/4651


   


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

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



[GitHub] [cloudstack] rhtyd merged pull request #4651: marvin: fix test failures when changing service offering of a VM

Posted by GitBox <gi...@apache.org>.
rhtyd merged pull request #4651:
URL: https://github.com/apache/cloudstack/pull/4651


   


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

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



[GitHub] [cloudstack] DaanHoogland commented on pull request #4651: marvin: fix test failures when changing service offering of a VM

Posted by GitBox <gi...@apache.org>.
DaanHoogland commented on pull request #4651:
URL: https://github.com/apache/cloudstack/pull/4651#issuecomment-773352583






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

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



[GitHub] [cloudstack] blueorangutan commented on pull request #4651: marvin: fix test failures when changing service offering of a VM

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #4651:
URL: https://github.com/apache/cloudstack/pull/4651#issuecomment-774008990


   @rhtyd a Trillian-Jenkins test job (centos7 mgmt + vmware-67u3) 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.

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



[GitHub] [cloudstack] Pearl1594 commented on pull request #4651: marvin: fix test failures when changing service offering of a VM

Posted by GitBox <gi...@apache.org>.
Pearl1594 commented on pull request #4651:
URL: https://github.com/apache/cloudstack/pull/4651#issuecomment-773274273






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

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



[GitHub] [cloudstack] blueorangutan commented on pull request #4651: marvin: fix test failures when changing service offering of a VM

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #4651:
URL: https://github.com/apache/cloudstack/pull/4651#issuecomment-773307785


   @Pearl1594 a Trillian-Jenkins test job (centos7 mgmt + vmware-67u3) 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.

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



[GitHub] [cloudstack] blueorangutan commented on pull request #4651: marvin: fix test failures when changing service offering of a VM

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #4651:
URL: https://github.com/apache/cloudstack/pull/4651#issuecomment-773304094


   Packaging result: ✔centos7 ✔centos8 ✔debian. JID-2649


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

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



[GitHub] [cloudstack] rhtyd commented on pull request #4651: marvin: fix test failures when changing service offering of a VM

Posted by GitBox <gi...@apache.org>.
rhtyd commented on pull request #4651:
URL: https://github.com/apache/cloudstack/pull/4651#issuecomment-774009785


   I'll merge this based on test from master.


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

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



[GitHub] [cloudstack] blueorangutan commented on pull request #4651: marvin: fix test failures when changing service offering of a VM

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #4651:
URL: https://github.com/apache/cloudstack/pull/4651#issuecomment-773718887


   <b>Trillian test result (tid-3496)</b>
   Environment: vmware-67u3 (x2), Advanced Networking with Mgmt server 7
   Total time taken: 41292 seconds
   Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4651-t3496-vmware-67u3.zip
   Intermittent failure detected: /marvin/tests/smoke/test_kubernetes_clusters.py
   Smoke tests completed. 85 look OK, 1 have error(s)
   Only failed tests results shown below:
   
   
   Test | Result | Time (s) | Test File
   --- | --- | --- | ---
   test_03_deploy_and_upgrade_kubernetes_cluster | `Failure` | 801.35 | test_kubernetes_clusters.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.

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



[GitHub] [cloudstack] rhtyd commented on pull request #4651: marvin: fix test failures when changing service offering of a VM

Posted by GitBox <gi...@apache.org>.
rhtyd commented on pull request #4651:
URL: https://github.com/apache/cloudstack/pull/4651#issuecomment-774008720


   @blueorangutan test centos7 vmware-67u3
   
   


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

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



[GitHub] [cloudstack] rhtyd commented on pull request #4651: marvin: fix test failures when changing service offering of a VM

Posted by GitBox <gi...@apache.org>.
rhtyd commented on pull request #4651:
URL: https://github.com/apache/cloudstack/pull/4651#issuecomment-773944883


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

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



[GitHub] [cloudstack] shwstppr closed pull request #4651: marvin: fix test failures when changing service offering of a VM

Posted by GitBox <gi...@apache.org>.
shwstppr closed pull request #4651:
URL: https://github.com/apache/cloudstack/pull/4651


   


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

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



[GitHub] [cloudstack] blueorangutan commented on pull request #4651: marvin: fix test failures when changing service offering of a VM

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #4651:
URL: https://github.com/apache/cloudstack/pull/4651#issuecomment-773958668


   Packaging result: ✔centos7 ✖centos8 ✔debian. JID-2652


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

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



[GitHub] [cloudstack] DaanHoogland commented on pull request #4651: marvin: fix test failures when changing service offering of a VM

Posted by GitBox <gi...@apache.org>.
DaanHoogland commented on pull request #4651:
URL: https://github.com/apache/cloudstack/pull/4651#issuecomment-773352583


   tests are never critical for release unless they relate to a fix i'd say. In this case it is a corner case, let's include it.


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

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