----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/14556/ -----------------------------------------------------------
Review request for cloudstack, sanjeev n and venkata swamy babu budumuru. Bugs: CLOUDSTACK-4766 Repository: cloudstack-git Description ------- The test use to wait for ever for the vm to attain Running state. Added a timeout so it does not get into infinite loop. Diffs ----- test/integration/component/test_reset_ssh_keypair.py ace4499 Diff: https://reviews.apache.org/r/14556/diff/ Testing ------- Verified that the timeout works. test_01_reset_keypair_normal_user (test_reset_ssh_keypair.TestResetSSHKeyUserRights)Verify API resetSSHKeyForVirtualMachine for non admin non root ... FAIL test_02_reset_keypair_domain_admin (test_reset_ssh_keypair.TestResetSSHKeyUserRights) Verify API resetSSHKeyForVirtualMachine for domain admin non root ... ok test_03_reset_keypair_root_admin (test_reset_ssh_keypair.TestResetSSHKeyUserRights) Verify API resetSSHKeyForVirtualMachine for domain admin root ... ok test_01_reset_ssh_keys (test_reset_ssh_keypair.TestResetSSHKeypair) Test Reset SSH keys for VM already having SSH key ... ok test_02_reset_ssh_key_password_enabled_template (test_reset_ssh_keypair.TestResetSSHKeypair) Reset SSH keys for VM created from password enabled template and ... ok test_03_reset_ssh_with_no_key (test_reset_ssh_keypair.TestResetSSHKeypair) Reset SSH key for VM having no SSH key ... ok test_04_reset_key_passwd_enabled_no_key (test_reset_ssh_keypair.TestResetSSHKeypair) Reset SSH keys for VM created from password enabled template and ... ok test_05_reset_key_in_running_state (test_reset_ssh_keypair.TestResetSSHKeypair) Reset SSH keys for VM already having SSH key when VM is in running ... ok test_06_reset_key_passwd_enabled_vm_running (test_reset_ssh_keypair.TestResetSSHKeypair) Reset SSH keys for VM created from password enabled template and ... ok test_07_reset_keypair_invalid_params (test_reset_ssh_keypair.TestResetSSHKeypair) Verify API resetSSHKeyForVirtualMachine with incorrect parameters … ok ====================================================================== FAIL: test_01_reset_keypair_normal_user (test_reset_ssh_keypair.TestResetSSHKeyUserRights) Verify API resetSSHKeyForVirtualMachine for non admin non root ---------------------------------------------------------------------- Traceback (most recent call last): File "/root/girish/test_reset_ssh_keypair.py", line 1218, in test_01_reset_keypair_normal_user % (vms[0].name, self.services["timeout"])) AssertionError: The virtual machine 974d1275-b747-441c-83b2-1795de4d87df failed to start even after 10 minutes ---------------------------------------------------------------------- Thanks, Girish Shilamkar