Worked a bit better today. Some tests failed. mvn -Pdeveloper,marvin.test -Dmarvin.config=setup/dev/advanced.cfg -pl :cloud-marvin integration-test [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache CloudStack marvin 4.2.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- gmaven-plugin:1.5:execute (setproperty) @ cloud-marvin --- [INFO] [INFO] --- exec-maven-plugin:1.2.1:exec (generate-sources) @ cloud-marvin --- [INFO] [INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-marvin --- [INFO] [INFO] --- maven-site-plugin:3.1:attach-descriptor (attach-descriptor) @ cloud-marvin --- [INFO] [INFO] --- exec-maven-plugin:1.2.1:exec (integration-test) @ cloud-marvin --- ERROR Test Deploy Virtual Machine ... ERROR ERROR ERROR Test to create disk offering ... ok Test to update existing disk offering ... ok Test to delete disk offering ... ok test update configuration setting at zone level scope ... ok Test guest vlan range dedication ... ok Test to update a physical network and extend its vlan ... ok Test to acquire a provisioned public ip range ... ERROR Test to create a portable public ip range ... ERROR Test public IP range dedication ... ok Test for create region ... ok Test advanced zone virtual router ... ok Test Deploy Virtual Machine ... ok
====================================================================== ERROR: test suite for <class 'integration.smoke.test_affinity_groups.TestDeployVmWithAffinityGroup'> ---------------------------------------------------------------------- Traceback (most recent call last): File "/opt/python/lib/python2.7/site-packages/nose/suite.py", line 208, in run self.setUp() File "/opt/python/lib/python2.7/site-packages/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/opt/python/lib/python2.7/site-packages/nose/suite.py", line 314, in setupContext try_run(context, names) File "/opt/python/lib/python2.7/site-packages/nose/util.py", line 469, in try_run return func() File "/data/jenkins/jobs/integration-tests/workspace/test/integration/smoke/test_affinity_groups.py", line 81, in setUpClass cls.services["ostype"] File "/opt/python/lib/python2.7/site-packages/marvin/integration/lib/common.py", line 141, in get_template ostypeid) Exception: Exception: Failed to find template with OSTypeID: 55e0a2ac-ff3c-11e2-b04b-06101400005b ====================================================================== ERROR: Test Deploy Virtual Machine ---------------------------------------------------------------------- Traceback (most recent call last): File "/data/jenkins/jobs/integration-tests/workspace/test/integration/smoke/test_deploy_vm.py", line 80, in setUp self.template = get_template(self.apiclient, self.zone.id, self.testdata["ostype"]) File "/opt/python/lib/python2.7/site-packages/marvin/integration/lib/common.py", line 141, in get_template ostypeid) Exception: Exception: Failed to find template with OSTypeID: 55e0a2ac-ff3c-11e2-b04b-06101400005b ====================================================================== ERROR: test suite for <class 'integration.smoke.test_deploy_vm_with_userdata.TestDeployVmWithUserData'> ---------------------------------------------------------------------- Traceback (most recent call last): File "/opt/python/lib/python2.7/site-packages/nose/suite.py", line 208, in run self.setUp() File "/opt/python/lib/python2.7/site-packages/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/opt/python/lib/python2.7/site-packages/nose/suite.py", line 314, in setupContext try_run(context, names) File "/opt/python/lib/python2.7/site-packages/nose/util.py", line 469, in try_run return func() File "/data/jenkins/jobs/integration-tests/workspace/test/integration/smoke/test_deploy_vm_with_userdata.py", line 78, in setUpClass cls.services["ostype"] File "/opt/python/lib/python2.7/site-packages/marvin/integration/lib/common.py", line 141, in get_template ostypeid) Exception: Exception: Failed to find template with OSTypeID: 55e0a2ac-ff3c-11e2-b04b-06101400005b ====================================================================== ERROR: test suite for <class 'integration.smoke.test_deploy_vms_with_varied_deploymentplanners.TestDeployVmWithVariedPlanners'> ---------------------------------------------------------------------- Traceback (most recent call last): File "/opt/python/lib/python2.7/site-packages/nose/suite.py", line 208, in run self.setUp() File "/opt/python/lib/python2.7/site-packages/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/opt/python/lib/python2.7/site-packages/nose/suite.py", line 314, in setupContext try_run(context, names) File "/opt/python/lib/python2.7/site-packages/nose/util.py", line 469, in try_run return func() File "/data/jenkins/jobs/integration-tests/workspace/test/integration/smoke/test_deploy_vms_with_varied_deploymentplanners.py", line 67, in setUpClass cls.services["ostype"] File "/opt/python/lib/python2.7/site-packages/marvin/integration/lib/common.py", line 141, in get_template ostypeid) Exception: Exception: Failed to find template with OSTypeID: 55e0a2ac-ff3c-11e2-b04b-06101400005b ====================================================================== ERROR: Test to acquire a provisioned public ip range ---------------------------------------------------------------------- Traceback (most recent call last): File "/data/jenkins/jobs/integration-tests/workspace/test/integration/smoke/test_portable_publicip.py", line 233, in test_createPortablePublicIPAcquire self.zone.id, self.account.domainid, isportable=True) TypeError: create() got an unexpected keyword argument 'isportable' -------------------- >> begin captured logging << -------------------- testclient.testcase.TestPortablePublicIPAcquire: DEBUG: attempting to create a portable Public IP range --------------------- >> end captured logging << --------------------- ====================================================================== ERROR: Test to create a portable public ip range ---------------------------------------------------------------------- Traceback (most recent call last): File "/data/jenkins/jobs/integration-tests/workspace/test/integration/smoke/test_portable_publicip.py", line 145, in test_createPortablePublicIPRange self.services File "/opt/python/lib/python2.7/site-packages/marvin/integration/lib/base.py", line 2274, in create return PortablePublicIpRange(apiclient.createVlanIpRange(cmd).__dict__) File "/opt/python/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line 883, in createVlanIpRange response = self.connection.marvin_request(command, response_type=response, method=method) File "/opt/python/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 222, in marvin_request response = jsonHelper.getResultObj(response.json(), response_type) File "/opt/python/lib/python2.7/site-packages/marvin/jsonHelper.py", line 148, in getResultObj raise cloudstackException.cloudstackAPIException(respname, errMsg) cloudstackAPIException: Execute cmd: createportableiprange failed, due to: errorCode: 431, errorText:Ip range: 172.1.1.10-172.1.1.20 overlaps with a portable IP range already configured in the region 1 -------------------- >> begin captured logging << -------------------- testclient.testcase.TestPortablePublicIPRange: DEBUG: attempting to create a portable Public IP range --------------------- >> end captured logging << --------------------- On 6 August 2013 22:31, Edison Su <edison...@citrix.com> wrote: > I usually use "python -m marvin.deployDataCenter -i setup/dev/advanced.cfg" > to deploy, it works on latest 4.2 branch. > >> -----Original Message----- >> From: Ian Duffy [mailto:i...@ianduffy.ie] >> Sent: Tuesday, August 06, 2013 1:38 PM >> To: dev@cloudstack.apache.org >> Subject: RE: Is the simulator broken? >> >> Cool. Will try it again tomorrow. >> Did Marvin.setup run for you? >> On 6 Aug 2013 21:32, "Edison Su" <edison...@citrix.com> wrote: >> >> > Checked in a small fix: fe9f02c372be0f3b8e755afaea1fdb60d460fcbb on >> > 4.2 branch, simulator works for me now. >> > >> > > -----Original Message----- >> > > From: Ian Duffy [mailto:i...@ianduffy.ie] >> > > Sent: Tuesday, August 06, 2013 11:51 AM >> > > To: dev@cloudstack.apache.org >> > > Subject: RE: Is the simulator broken? >> > > >> > > Eventually got it running. >> > > Still hangs during marvin.setup though. >> > > On 6 Aug 2013 18:55, "Edison Su" <edison...@citrix.com> wrote: >> > > >> > > > Can you try: mvn -P developer,systemvm,simulator -D >> > > > nonoss,simulator clean install >> > > > >> > > > >> > > > > -----Original Message----- >> > > > > From: Ian Duffy [mailto:i...@ianduffy.ie] >> > > > > Sent: Tuesday, August 06, 2013 7:46 AM >> > > > > To: dev@cloudstack.apache.org >> > > > > Subject: Re: Is the simulator broken? >> > > > > >> > > > > Yeah complied with: >> > > > > >> > > > > mvn -P developer,systemvm -D nonoss,simulator clean install >> > > > > >> > > > > >> > > > > Will retry... >> > > > > >> > > > > On 6 August 2013 14:43, Prasanna Santhanam <t...@apache.org> >> wrote: >> > > > > > I haven't tried on master but it seems to be broken on 4.2: >> > > > > > >> > > > > > I see this in the management server log when starting >> > > > > > systemVMs >> > > > > > https://gist.github.com/vogxn/6164508 >> > > > > > >> > > > > > But that error you showed just means the simulator jar was not >> > > > > > found in the classpath. Did you build with the -Dsimulator switch? >> > > > > > >> > > > > > On Tue, Aug 06, 2013 at 12:51:41PM +0100, Ian Duffy wrote: >> > > > > >> Hi, >> > > > > >> >> > > > > >> Is the simulator broken? >> > > > > >> >> > > > > >> Trying to run >> > > > > >> >> > > > > >> nosetests -v --with-marvin >> > > > > >> --marvin-config=setup/dev/advanced.cfg >> > > > > >> -w /tmp >> > > > > >> >> > > > > >> and getting >> > > > > >> >> > > > > >> Traceback (most recent call last): >> > > > > >> File "/opt/python/bin/nosetests", line 9, in <module> >> > > > > >> load_entry_point('nose==1.3.0', 'console_scripts', >> > 'nosetests')() >> > > > > >> File >> > > > > >> "/opt/python/lib/python2.7/site-packages/nose/core.py", >> > > > > >> line 118, in __init__ >> > > > > >> **extra_args) >> > > > > >> File "/opt/python/lib/python2.7/unittest/main.py", line 94, >> > > > > >> in >> > > > __init__ >> > > > > >> self.parseArgs(argv) >> > > > > >> File >> > > > > >> "/opt/python/lib/python2.7/site-packages/nose/core.py", >> > > > > >> line 135, in parseArgs >> > > > > >> self.config.configure(argv, doc=self.usage()) >> > > > > >> File >> > > > > >> "/opt/python/lib/python2.7/site-packages/nose/config.py", >> > > > > >> line 344, in configure >> > > > > >> self.plugins.configure(options, self) >> > > > > >> File >> > > > > >> "/opt/python/lib/python2.7/site- >> > > packages/nose/plugins/manager.py" >> > > > > >> , >> > > > > >> line 284, in configure >> > > > > >> cfg(options, config) >> > > > > >> File >> > > > > >> "/opt/python/lib/python2.7/site- >> > > packages/nose/plugins/manager.py" >> > > > > >> , >> > > > > >> line 99, in __call__ >> > > > > >> return self.call(*arg, **kw) >> > > > > >> File >> > > > > >> "/opt/python/lib/python2.7/site- >> > > packages/nose/plugins/manager.py" >> > > > > >> , >> > > > > >> line 167, in simple >> > > > > >> result = meth(*arg, **kw) >> > > > > >> File >> > > > > >> "/opt/python/lib/python2.7/site-packages/marvin/marvinPlugin. >> > > > > >> py", >> > > > > >> line 68, in configure >> > > > > >> deploy.loadCfg() if options.load else deploy.deploy() >> > > > > >> File >> > > > > >> "/opt/python/lib/python2.7/site- >> packages/marvin/deployDataCenter. >> > > > > >> py", >> > > > > >> line 576, in deploy >> > > > > >> self.createZones(self.config.zones) >> > > > > >> File >> > > > > >> "/opt/python/lib/python2.7/site- >> packages/marvin/deployDataCenter. >> > > > > >> py", >> > > > > >> line 408, in createZones >> > > > > >> self.createpods(zone.pods, zoneId) >> > > > > >> File >> > > > > >> "/opt/python/lib/python2.7/site- >> packages/marvin/deployDataCenter. >> > > > > >> py", >> > > > > >> line 126, in createpods >> > > > > >> vmwareDc=pod.vmwaredc) >> > > > > >> File >> > > > > >> "/opt/python/lib/python2.7/site- >> packages/marvin/deployDataCenter. >> > > > > >> py", >> > > > > >> line 84, in createClusters >> > > > > >> clusterresponse = self.apiClient.addCluster(clustercmd) >> > > > > >> File >> > > > > >> "/opt/python/lib/python2.7/site-packages/marvin/cloudstackAPI >> > > > > >> /clo >> > > > > >> udst >> > > > > >> ackAPIClient.py", >> > > > > >> line 1378, in addCluster >> > > > > >> response = self.connection.marvin_request(command, >> > > > > >> response_type=response, method=method) >> > > > > >> File >> > > > > >> "/opt/python/lib/python2.7/site- >> > > packages/marvin/cloudstackConnection. >> > > > > >> py", >> > > > > >> line 222, in marvin_request >> > > > > >> response = jsonHelper.getResultObj(response.json(), >> > > response_type) >> > > > > >> File >> > > > > >> "/opt/python/lib/python2.7/site-packages/marvin/jsonHelper.py >> > > > > >> ", >> > > > > >> line 148, in getResultObj >> > > > > >> raise >> > > > > >> cloudstackException.cloudstackAPIException(respname, >> > > > > >> errMsg) >> > > > > >> marvin.cloudstackException.cloudstackAPIException: Execute cmd: >> > > > > >> addcluster failed, due to: errorCode: 431, errorText:Could >> > > > > >> not find corresponding resource manager for simulator >> > > > > > >> > > > > > -- >> > > > > > Prasanna., >> > > > > > >> > > > > > ------------------------ >> > > > > > Powered by BigRock.com >> > > > > > >> > > > >> >