I am taking back my previous comment. I created VMWare environment and vpc creation was successful. Please ignore it.
On Tue, Nov 3, 2015 at 12:15 PM, Remi Bergsma <[email protected]> wrote: > Hi Sanjeev, > > That same tests passes fine here (see all the reviews I posted). Can you > provide more details, so we can find the difference? > > What hypervisor, management server, other environmental properties. Please > also share the full logs (you may also send them to me private, if you > don’t want to publish them). Then we can investigate. > > Regards, > Remi > > > > > > On 02/11/15 13:29, "Sanjeev N" <[email protected]> wrote: > > >The reason for these two failures is VPC creation itself is failing. > Reason > >being "SSH access to VR on 3922 port using its management ip address" is > >failing. Hence failure in VR start. This looks like product bug to me. > > > >-Sanjeev > > > >On Fri, Oct 30, 2015 at 10:36 PM, Raja Pullela <[email protected]> > >wrote: > > > >> Super, thanks Remi! > >> > >> > On Oct 30, 2015, at 10:35 PM, Remi Bergsma < > [email protected]> > >> wrote: > >> > > >> > Hi Raja, > >> > > >> > Talked to Michael and he will improve the test soon. > >> > > >> > Regards, > >> > Remi > >> > > >> > > >> > > >> > > >> > > >> >> On 30/10/15 17:44, "Raja Pullela" <[email protected]> wrote: > >> >> > >> >> Hi Michael > >> >> > >> >> Can you please add a wait for the template to download before the VM > >> creation? > >> >> > >> >> Raja > >> >> Begin forwarded message: > >> >> From: Raja Pullela <[email protected]<mailto: > >> [email protected]>> > >> >> Date: October 29, 2015 at 11:49:59 AM GMT+5:30 > >> >> To: "CloudStack Dev ([email protected]<mailto: > >> [email protected]>)" <[email protected]<mailto: > >> [email protected]>> > >> >> Subject: Few BVTs failing > >> >> Reply-To: <[email protected]<mailto: > [email protected]>> > >> >> > >> >> Hi, > >> >> > >> >> In the latest BVTs, following tests are failing consistently - > >> >> > >> >> * 2015-10-29 00:27:43,987 - CRITICAL - FAILED: > >> test_vpc_remote_access_vpn: ['Traceback (most recent call last):\n', ' > >> File "/usr/lib/python2.7/unittest/case.py", line 329, in run\n > >> testMethod()\n', ' File > >> "/root/cloudstack/test/integration/smoke/test_vpc_vpn.py", line 333, in > >> test_vpc_remote_access_vpn\n self.fail(e)\n', ' File > >> "/usr/lib/python2.7/unittest/case.py", line 410, in fail\n raise > >> self.failureException(msg)\n', 'AssertionError: Execute cmd: > >> deployvirtualmachine failed, due to: errorCode: 530, errorText:Template > 202 > >> has not been completely downloaded to zone 1\n'] > >> >> > >> >> * 2015-10-29 00:28:02,194 - CRITICAL - EXCEPTION: > >> test_vpc_site2site_vpn: ['Traceback (most recent call last):\n', ' File > >> "/usr/lib/python2.7/unittest/case.py", line 329, in run\n > >> testMethod()\n', ' File > >> "/root/cloudstack/test/integration/smoke/test_vpc_vpn.py", line 589, in > >> test_vpc_site2site_vpn\n self.assert_(vm1 is not None, "VM failed to > >> deploy")\n', "UnboundLocalError: local variable 'vm1' referenced before > >> assignment\n"] > >> >> > >> >> * 2015-10-29 02:02:15,167 - CRITICAL - EXCEPTION: > >> test_01_internallb_roundrobin_1VPC_3VM_HTTP_port80: ['Traceback (most > >> recent call last):\n', ' File "/usr/lib/python2.7/unittest/case.py", > line > >> 329, in run\n testMethod()\n', ' File > >> "/root/cloudstack/test/integration/smoke/test_internal_lb.py", line > 576, in > >> test_01_internallb_roundrobin_1VPC_3VM_HTTP_port80\n client_vm = > >> self.deployvm_in_network(vpc, network_guestnet.id)\n', ' File > >> "/root/cloudstack/test/integration/smoke/test_internal_lb.py", line > 382, in > >> deployvm_in_network\n raise Exception("Deployment failed of VM: %s" % > >> e)\n', "Exception: Deployment failed of VM: Job failed: {jobprocstatus > : 0, > >> created : u'2015-10-29T02:02:09+0000', jobresult : {errorcode : 533, > >> errortext : u'Unable to create a deployment for VM[User|i-36-69-VM]'}, > cmd > >> : u'org.apache.cloudstack.api.command.admin.vm.DeployVMCmdByAdmin', > userid > >> : u'afe432e8-7dd7-11e5-9ca5-b230fb1ebb83', jobstatus : 2, jobid : > >> u'de5a239a-c70c-4039-9e8e-2ea9b80ed28b', jobresultcode : 530, > jobinstanceid > >> : u'47770620-0c37-4e7c-91e0-666bf7fe5eaa', jobresulttype : u'object', > >> jobinstancetype : u'VirtualMachine', accountid : > >> u'afe422b2-7dd7-11e5-9ca5-b230fb1ebb83'}\n"] > >> >> > >> >> * 2015-10-29 02:00:33,135 - CRITICAL - EXCEPTION: > >> test02_internallb_haproxy_stats_on_all_interfaces: ['Traceback (most > recent > >> call last):\n', ' File "/usr/lib/python2.7/unittest/case.py", line > 329, in > >> run\n testMethod()\n', ' File > >> "/root/cloudstack/test/integration/smoke/test_internal_lb.py", line > 686, in > >> test02_internallb_haproxy_stats_on_all_interfaces\n settings = > >> self.get_lb_stats_settings()\n', ' File > >> "/root/cloudstack/test/integration/smoke/test_internal_lb.py", line > 646, in > >> get_lb_stats_settings\n self.fail("Failed to retrieve stats settings > " % > >> e)\n', 'TypeError: not all arguments converted during string > formatting\n'] > >> >> > >> >> Looks like these were added by Michael. > >> >> > >> >> Michael, > >> >> Can you optimize the tests with the following > >> >> > >> >> 1) Before the VM Deployment or right after Template Register, > can > >> you put a loop to check if the Template is in a ready state before > >> continuing with the test ? The reason is Template download is not > getting > >> completed and as a result the test cases are failing. > >> >> > >> >> 2) Any reason for not using test_data.py to have all the > >> configuration/settings you have defined the test file ? > >> >> > >> >> Please let me know if you have any questions, > >> >> Raja > >> >> > >> >
