Ok fixed. Removed the activation property. Sample run:

~/workspace/cloudstack/incubator-cloudstack(branch:master*) ?? mvn 
-Pdeveloper,marvin.setup -pl :cloud-marvin integration-test 
-Dmarvin.config=setup/dev/advanced.cfg                                          
                  
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache CloudStack marvin 4.2.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[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 (pre-integration-test) @ cloud-marvin 
---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:29.391s
[INFO] Finished at: Wed Apr 10 15:40:25 GMT+05:30 2013
[INFO] Final Memory: 18M/81M
[INFO] ------------------------------------------------------------------------

~/workspace/cloudstack/incubator-cloudstack(branch:master*) ?? mvn 
-Pdeveloper,marvin.test -pl :cloud-marvin integration-test 
-Dmarvin.config=setup/dev/advanced.cfg 
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache CloudStack marvin 4.2.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[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 ---
Test to create disk offering ... ok
Test to update existing disk offering ... ok
Test to delete disk offering ... ok
Test advanced zone virtual router ... ok
Test Deploy Virtual Machine ... ok

----------------------------------------------------------------------
Ran 5 tests in 26.205s

OK
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 32.094s
[INFO] Finished at: Wed Apr 10 16:13:16 GMT+05:30 2013
[INFO] Final Memory: 18M/81M
[INFO] ------------------------------------------------------------------------


On Wed, Apr 10, 2013 at 10:38:52AM +0530, prasanna wrote:
> I see the problem now with the profiles getting activated incorrectly.
> I wasn't using the config property and hence the profile selection
> worked.
> 
> On 10 April 2013 10:30, prasanna <t...@apache.org> wrote:
> > On 10 April 2013 07:05, Chiradeep Vittal <chiradeep.vit...@citrix.com> 
> > wrote:
> >> Don't have the logs any more, but I suspect that
> >> tools/marvin/pom.xml uses the same property to activate both profiles, so
> >> marvin.setup gets run whenever -Dmarvin.config is specified.
> >>
> >
> > I just ran the tests on latest master and am able to see them pass:
> >
> > ~/workspace/cloudstack/incubator-cloudstack(branch:master) ?? mvn
> > -Pdeveloper,marvin.test -pl :cloud-marvin integration-test
> >
> >                  tsp@cloud-2
> > [INFO] Scanning for projects...
> > [INFO]
> > [INFO] 
> > ------------------------------------------------------------------------
> > [INFO] Building Apache CloudStack marvin 4.2.0-SNAPSHOT
> > [INFO] 
> > ------------------------------------------------------------------------
> > [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 
> > ---
> > Test to create disk offering ... ok
> > Test to update existing disk offering ... ok
> > Test to delete disk offering ... ok
> > Test advanced zone virtual router ... ok
> > Test Deploy Virtual Machine ... ok
> >
> > ----------------------------------------------------------------------
> > Ran 5 tests in 37.231s
> >
> > OK
> > [INFO] 
> > ------------------------------------------------------------------------
> > [INFO] BUILD SUCCESS
> > [INFO] 
> > ------------------------------------------------------------------------
> > [INFO] Total time: 55.986s
> > [INFO] Finished at: Wed Apr 10 10:28:31 GMT+05:30 2013
> > [INFO] Final Memory: 18M/81M
> > [INFO] 
> > ------------------------------------------------------------------------
> > ------------------------------------------------------------

-- 
Prasanna.,

Reply via email to