You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@continuum.apache.org by Wendy Smoak <ws...@gmail.com> on 2009/04/22 23:11:01 UTC

Selenium test failures

I can now run the TestNG webapp tests, but I'm seeing four failures:

Failed tests:
  testAddMavenTwoProjectFromRemoteSourceToNonDefaultProjectGroup(org.apache.continuum.web.test.MavenTwoProjectTest)
  testAddMavenTwoProject(org.apache.continuum.web.test.MavenTwoProjectTest)
  testAddMavenToolWithBuildEnvirotment(org.apache.continuum.web.test.InstallationTest)
  testAddJdkToolWithoutBuildEnvirotment(org.apache.continuum.web.test.InstallationTest)

Tests run: 142, Failures: 4, Errors: 0, Skipped: 49

Are they passing for others?

-- 
Wendy

Re: Selenium test failures

Posted by Marecor Baclay <mb...@g2ix.com>.
José Morales Martínez wrote:
> I will try to solve this problem. This week I am a little busy, but I will try to fix it as soon as possible. 
> Many times to change the name of a field leads to the occurrence of these errors. I think it may be due to this.
>
> I download trunk in r767890  and install, but I get the following error when I run mvn install on continuum-webapp-test:
>
> This is for testng-pom.xml and pom.xml.
>
> Anyone happens the same?
>   

yeah, i encountered that Build Error too. what i did was excluding the 
banned dependency in pom and then build it again. :)

> /continuum-webapp-test$ mvn install -e
> + Error stacktraces are turned on.
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Continuum :: Webapp Tests
> [INFO]    task-segment: [install]
> [INFO] ------------------------------------------------------------------------
> [INFO] [enforcer:enforce {execution: default}]
> [WARNING] Rule 0: org.apache.maven.plugins.enforcer.BannedDependencies failed with message:
> Found Banned Dependency: commons-logging:commons-logging:jar:1.0.4
>
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed.
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed.
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:583)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
> 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
> 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> 	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> 	at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> 	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed.
> 	at org.apache.maven.plugins.enforcer.EnforceMojo.execute(EnforceMojo.java:217)
> 	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
> 	... 16 more
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 4 seconds
> [INFO] Finished at: Thu Apr 23 13:29:17 CEST 2009
> [INFO] Final Memory: 13M/522M
> [INFO] ------------------------------------------------------------------------
>
>
> ________________________________________
> De: Marecor Baclay [mbaclay@g2ix.com]
> Enviado el: jueves, 23 de abril de 2009 2:06
> Para: dev@continuum.apache.org
> Asunto: Re: Selenium test failures
>
> Wendy Smoak wrote:
>   
>> I can now run the TestNG webapp tests, but I'm seeing four failures:
>>
>> Failed tests:
>>   testAddMavenTwoProjectFromRemoteSourceToNonDefaultProjectGroup(org.apache.continuum.web.test.MavenTwoProjectTest)
>>   testAddMavenTwoProject(org.apache.continuum.web.test.MavenTwoProjectTest)
>>   testAddMavenToolWithBuildEnvirotment(org.apache.continuum.web.test.InstallationTest)
>>   testAddJdkToolWithoutBuildEnvirotment(org.apache.continuum.web.test.InstallationTest)
>>
>> Tests run: 142, Failures: 4, Errors: 0, Skipped: 49
>>
>> Are they passing for others?
>>
>>
>>     
>
> I got same results as pasted above too.
>
> ______________________
> Este mensaje, y en su caso, cualquier fichero anexo al mismo,
>  puede contener informacion clasificada por su emisor como confidencial
>  en el marco de su Sistema de Gestion de Seguridad de la 
> Informacion siendo para uso exclusivo del destinatario, quedando 
> prohibida su divulgacion copia o distribucion a terceros sin la 
> autorizacion expresa del remitente. Si Vd. ha recibido este mensaje 
>  erroneamente, se ruega lo notifique al remitente y proceda a su borrado. 
> Gracias por su colaboracion.
> ______________________
> This message including any attachments may contain confidential 
> information, according to our Information Security Management System,
>  and intended solely for a specific individual to whom they are addressed.
>  Any unauthorised copy, disclosure or distribution of this message
>  is strictly forbidden. If you have received this transmission in error,
>  please notify the sender immediately and delete it.
> ______________________
>
>   


RE: Selenium test failures

Posted by José Morales Martínez <jm...@gmv.com>.
I will try to solve this problem. This week I am a little busy, but I will try to fix it as soon as possible. 
Many times to change the name of a field leads to the occurrence of these errors. I think it may be due to this.

I download trunk in r767890  and install, but I get the following error when I run mvn install on continuum-webapp-test:

This is for testng-pom.xml and pom.xml.

Anyone happens the same?

/continuum-webapp-test$ mvn install -e
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Continuum :: Webapp Tests
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [enforcer:enforce {execution: default}]
[WARNING] Rule 0: org.apache.maven.plugins.enforcer.BannedDependencies failed with message:
Found Banned Dependency: commons-logging:commons-logging:jar:1.0.4

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed.
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed.
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:583)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
	at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed.
	at org.apache.maven.plugins.enforcer.EnforceMojo.execute(EnforceMojo.java:217)
	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
	... 16 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4 seconds
[INFO] Finished at: Thu Apr 23 13:29:17 CEST 2009
[INFO] Final Memory: 13M/522M
[INFO] ------------------------------------------------------------------------


________________________________________
De: Marecor Baclay [mbaclay@g2ix.com]
Enviado el: jueves, 23 de abril de 2009 2:06
Para: dev@continuum.apache.org
Asunto: Re: Selenium test failures

Wendy Smoak wrote:
> I can now run the TestNG webapp tests, but I'm seeing four failures:
>
> Failed tests:
>   testAddMavenTwoProjectFromRemoteSourceToNonDefaultProjectGroup(org.apache.continuum.web.test.MavenTwoProjectTest)
>   testAddMavenTwoProject(org.apache.continuum.web.test.MavenTwoProjectTest)
>   testAddMavenToolWithBuildEnvirotment(org.apache.continuum.web.test.InstallationTest)
>   testAddJdkToolWithoutBuildEnvirotment(org.apache.continuum.web.test.InstallationTest)
>
> Tests run: 142, Failures: 4, Errors: 0, Skipped: 49
>
> Are they passing for others?
>
>

I got same results as pasted above too.

______________________
Este mensaje, y en su caso, cualquier fichero anexo al mismo,
 puede contener informacion clasificada por su emisor como confidencial
 en el marco de su Sistema de Gestion de Seguridad de la 
Informacion siendo para uso exclusivo del destinatario, quedando 
prohibida su divulgacion copia o distribucion a terceros sin la 
autorizacion expresa del remitente. Si Vd. ha recibido este mensaje 
 erroneamente, se ruega lo notifique al remitente y proceda a su borrado. 
Gracias por su colaboracion.
______________________
This message including any attachments may contain confidential 
information, according to our Information Security Management System,
 and intended solely for a specific individual to whom they are addressed.
 Any unauthorised copy, disclosure or distribution of this message
 is strictly forbidden. If you have received this transmission in error,
 please notify the sender immediately and delete it.
______________________

RE: Selenium test failures

Posted by José Morales Martínez <jm...@gmv.com>.
Actually, I dont clean DB, so if you run two times the test get errors becuse project, group project ... already are created.

I have pending, delete data created.

-----
Jose. 
________________________________________
De: Brett Porter [brett@apache.org]
Enviado el: miércoles, 06 de mayo de 2009 16:00
Para: dev@continuum.apache.org
Asunto: Re: Selenium test failures

I'm getting some errors when I don't run clean first. Could that be a
problem? Or maybe some browser timeouts.

BTW, I moved the cargo install out of target. I don't think that'll
have an impact but if it causes any problems feel free to revert.

- Brett

On 02/05/2009, at 7:40 AM, Wendy Smoak wrote:

> 2009/4/27 José Morales Martínez <jm...@gmv.com>:
>> Updated Selenium test:
>>
>> - Exclude common-loggin.
>> - Activate Maven1 and Shell project Test
>> - Add  reference java.home and maven.home vars in testng.properties.
>> - Updated Maven 2 project.
>>
>> You should get this result:
>>
>> Tests run: 148, Failures: 0, Errors: 0, Skipped: 0
>
> Nope, I get:
>
>  testNoPomSpecified(org.apache.continuum.web.test.MavenOneProjectTest)
>  testAddValidMsnGroupNotifier(org.apache.continuum.web.test.NotifierTest
> )
>  testAddInvalidTemplate(org.apache.continuum.web.test.BuildDefinitionTemplateTest
> )
>  testAddNotDefautltGroupBuildDefinition(org.apache.continuum.web.test.BuildDefinitionTest
> )
>
> Tests run: 148, Failures: 10, Errors: 0, Skipped: 6
>
> I also opened INFRA-2034 to see about getting these running on
> vmbuild.  I think Brett installed everything already, but it's saying
> 'no display specified'.
>
> --
> Wendy


______________________
Este mensaje, y en su caso, cualquier fichero anexo al mismo,
 puede contener informacion clasificada por su emisor como confidencial
 en el marco de su Sistema de Gestion de Seguridad de la 
Informacion siendo para uso exclusivo del destinatario, quedando 
prohibida su divulgacion copia o distribucion a terceros sin la 
autorizacion expresa del remitente. Si Vd. ha recibido este mensaje 
 erroneamente, se ruega lo notifique al remitente y proceda a su borrado. 
Gracias por su colaboracion.
______________________
This message including any attachments may contain confidential 
information, according to our Information Security Management System,
 and intended solely for a specific individual to whom they are addressed.
 Any unauthorised copy, disclosure or distribution of this message
 is strictly forbidden. If you have received this transmission in error,
 please notify the sender immediately and delete it.
______________________

Re: Selenium test failures

Posted by Brett Porter <br...@apache.org>.
I'm getting some errors when I don't run clean first. Could that be a  
problem? Or maybe some browser timeouts.

BTW, I moved the cargo install out of target. I don't think that'll  
have an impact but if it causes any problems feel free to revert.

- Brett

On 02/05/2009, at 7:40 AM, Wendy Smoak wrote:

> 2009/4/27 José Morales Martínez <jm...@gmv.com>:
>> Updated Selenium test:
>>
>> - Exclude common-loggin.
>> - Activate Maven1 and Shell project Test
>> - Add  reference java.home and maven.home vars in testng.properties.
>> - Updated Maven 2 project.
>>
>> You should get this result:
>>
>> Tests run: 148, Failures: 0, Errors: 0, Skipped: 0
>
> Nope, I get:
>
>  testNoPomSpecified(org.apache.continuum.web.test.MavenOneProjectTest)
>  testAddValidMsnGroupNotifier(org.apache.continuum.web.test.NotifierTest 
> )
>  testAddInvalidTemplate(org.apache.continuum.web.test.BuildDefinitionTemplateTest 
> )
>  testAddNotDefautltGroupBuildDefinition(org.apache.continuum.web.test.BuildDefinitionTest 
> )
>
> Tests run: 148, Failures: 10, Errors: 0, Skipped: 6
>
> I also opened INFRA-2034 to see about getting these running on
> vmbuild.  I think Brett installed everything already, but it's saying
> 'no display specified'.
>
> -- 
> Wendy


Re: Selenium test failures

Posted by Brett Porter <br...@apache.org>.
On 05/05/2009, at 11:42 PM, José Morales Martínez wrote:

> Ok. I am testing in Ubuntu 8.10, Firefox and trunk. I get 100%  
> successfull.
>
> I try test in Windows and then I get your errors. I have updated  
> dependencies of 'NotifierTest' and then I get 100% successfull.
>
> Could you try again? If you have errors could you attach '/continuum- 
> webapp-test/target/surefire-reports/testng-results.xml' file.

23:01:17,705 [INFO ]  
------------------------------------------------------------------------
23:01:17,705 [INFO ] BUILD SUCCESSFUL
23:01:17,705 [INFO ]  
------------------------------------------------------------------------
23:01:17,706 [INFO ] Total time: 23 minutes 25 seconds
23:01:17,706 [INFO ] Finished at: Wed May 06 23:01:17 EST 2009
23:01:18,212 [INFO ] Final Memory: 82M/149M
23:01:18,213 [INFO ]  
------------------------------------------------------------------------

Thanks!

- Brett


RE: Selenium test failures

Posted by José Morales Martínez <jm...@gmv.com>.
Ok. I am testing in Ubuntu 8.10, Firefox and trunk. I get 100% successfull. 

I try test in Windows and then I get your errors. I have updated dependencies of 'NotifierTest' and then I get 100% successfull. 

Could you try again? If you have errors could you attach '/continuum-webapp-test/target/surefire-reports/testng-results.xml' file.

Wendy, I can't reply your errors. They aren't produced by dependencies. 

Someone get same errors when execute selenium test?  

---------------
Jose
________________________________________
De: Brett Porter [brett@apache.org]
Enviado el: martes, 05 de mayo de 2009 5:47
Para: dev@continuum.apache.org
Asunto: Re: Selenium test failures

For me:

Tests run: 148, Failures: 6, Errors: 0, Skipped: 7, Time elapsed:
598.129 sec <<< FAILURE!

Results :

Failed tests:
   testAddValidMailGroupNotifier(org.apache.continuum.web.test.NotifierTest
)
   testAddValidIrcGroupNotifier(org.apache.continuum.web.test.NotifierTest
)
   testAddInvalidJabberProjectNotifier(org.apache.continuum.web.test.NotifierTest
)
   testAddInvalidMsnGroupNotifier(org.apache.continuum.web.test.NotifierTest
)
   testAddInvalidIrcProjectNotifier(org.apache.continuum.web.test.NotifierTest
)
   testAddValidWagonGroupNotifier(org.apache.continuum.web.test.NotifierTest
)

Tests run: 148, Failures: 6, Errors: 0, Skipped: 7

Let me know if you need more data.

- Brett

On 02/05/2009, at 7:40 AM, Wendy Smoak wrote:

> 2009/4/27 José Morales Martínez <jm...@gmv.com>:
>> Updated Selenium test:
>>
>> - Exclude common-loggin.
>> - Activate Maven1 and Shell project Test
>> - Add  reference java.home and maven.home vars in testng.properties.
>> - Updated Maven 2 project.
>>
>> You should get this result:
>>
>> Tests run: 148, Failures: 0, Errors: 0, Skipped: 0
>
> Nope, I get:
>
>  testNoPomSpecified(org.apache.continuum.web.test.MavenOneProjectTest)
>  testAddValidMsnGroupNotifier(org.apache.continuum.web.test.NotifierTest
> )
>  testAddInvalidTemplate(org.apache.continuum.web.test.BuildDefinitionTemplateTest
> )
>  testAddNotDefautltGroupBuildDefinition(org.apache.continuum.web.test.BuildDefinitionTest
> )
>
> Tests run: 148, Failures: 10, Errors: 0, Skipped: 6
>
> I also opened INFRA-2034 to see about getting these running on
> vmbuild.  I think Brett installed everything already, but it's saying
> 'no display specified'.
>
> --
> Wendy


______________________
Este mensaje, y en su caso, cualquier fichero anexo al mismo,
 puede contener informacion clasificada por su emisor como confidencial
 en el marco de su Sistema de Gestion de Seguridad de la 
Informacion siendo para uso exclusivo del destinatario, quedando 
prohibida su divulgacion copia o distribucion a terceros sin la 
autorizacion expresa del remitente. Si Vd. ha recibido este mensaje 
 erroneamente, se ruega lo notifique al remitente y proceda a su borrado. 
Gracias por su colaboracion.
______________________
This message including any attachments may contain confidential 
information, according to our Information Security Management System,
 and intended solely for a specific individual to whom they are addressed.
 Any unauthorised copy, disclosure or distribution of this message
 is strictly forbidden. If you have received this transmission in error,
 please notify the sender immediately and delete it.
______________________

Re: Selenium test failures

Posted by Brett Porter <br...@apache.org>.
For me:

Tests run: 148, Failures: 6, Errors: 0, Skipped: 7, Time elapsed:  
598.129 sec <<< FAILURE!

Results :

Failed tests:
   testAddValidMailGroupNotifier(org.apache.continuum.web.test.NotifierTest 
)
   testAddValidIrcGroupNotifier(org.apache.continuum.web.test.NotifierTest 
)
   testAddInvalidJabberProjectNotifier(org.apache.continuum.web.test.NotifierTest 
)
   testAddInvalidMsnGroupNotifier(org.apache.continuum.web.test.NotifierTest 
)
   testAddInvalidIrcProjectNotifier(org.apache.continuum.web.test.NotifierTest 
)
   testAddValidWagonGroupNotifier(org.apache.continuum.web.test.NotifierTest 
)

Tests run: 148, Failures: 6, Errors: 0, Skipped: 7

Let me know if you need more data.

- Brett

On 02/05/2009, at 7:40 AM, Wendy Smoak wrote:

> 2009/4/27 José Morales Martínez <jm...@gmv.com>:
>> Updated Selenium test:
>>
>> - Exclude common-loggin.
>> - Activate Maven1 and Shell project Test
>> - Add  reference java.home and maven.home vars in testng.properties.
>> - Updated Maven 2 project.
>>
>> You should get this result:
>>
>> Tests run: 148, Failures: 0, Errors: 0, Skipped: 0
>
> Nope, I get:
>
>  testNoPomSpecified(org.apache.continuum.web.test.MavenOneProjectTest)
>  testAddValidMsnGroupNotifier(org.apache.continuum.web.test.NotifierTest 
> )
>  testAddInvalidTemplate(org.apache.continuum.web.test.BuildDefinitionTemplateTest 
> )
>  testAddNotDefautltGroupBuildDefinition(org.apache.continuum.web.test.BuildDefinitionTest 
> )
>
> Tests run: 148, Failures: 10, Errors: 0, Skipped: 6
>
> I also opened INFRA-2034 to see about getting these running on
> vmbuild.  I think Brett installed everything already, but it's saying
> 'no display specified'.
>
> -- 
> Wendy


Re: Selenium test failures

Posted by Wendy Smoak <ws...@gmail.com>.
2009/4/27 José Morales Martínez <jm...@gmv.com>:
> Updated Selenium test:
>
> - Exclude common-loggin.
> - Activate Maven1 and Shell project Test
> - Add  reference java.home and maven.home vars in testng.properties.
> - Updated Maven 2 project.
>
> You should get this result:
>
> Tests run: 148, Failures: 0, Errors: 0, Skipped: 0

Nope, I get:

  testNoPomSpecified(org.apache.continuum.web.test.MavenOneProjectTest)
  testAddValidMsnGroupNotifier(org.apache.continuum.web.test.NotifierTest)
  testAddInvalidTemplate(org.apache.continuum.web.test.BuildDefinitionTemplateTest)
  testAddNotDefautltGroupBuildDefinition(org.apache.continuum.web.test.BuildDefinitionTest)

Tests run: 148, Failures: 10, Errors: 0, Skipped: 6

I also opened INFRA-2034 to see about getting these running on
vmbuild.  I think Brett installed everything already, but it's saying
'no display specified'.

-- 
Wendy

RE: Selenium test failures

Posted by José Morales Martínez <jm...@gmv.com>.
Updated Selenium test:

- Exclude common-loggin.
- Activate Maven1 and Shell project Test
- Add  reference java.home and maven.home vars in testng.properties.
- Updated Maven 2 project. 

You should get this result:

Tests run: 148, Failures: 0, Errors: 0, Skipped: 0

----------
Jose 
________________________________________
De: Wendy Smoak [wsmoak@gmail.com]
Enviado el: jueves, 23 de abril de 2009 20:59
Para: dev@continuum.apache.org
Asunto: Re: Selenium test failures

2009/4/23 José Morales Martínez <jm...@gmv.com>:

> When add Maven project (http://svn.apache.org/repos/asf/maven/pom/trunk/maven/pom.xml) I get this error:
> I worked successfully, but now I get this errror:
> 'Missing artifact trying to build the POM. Check that its parent POM is available or add it first in Continuum. '
> Wendy,  Do you know a public POM for a simple Maven 2 project.

We have some in the Continuum sandbox under examples -- I'd use those
rather than a large project like Maven.

(You're getting that error because Maven trunk uses
org.apache:apache:6 which hasn't made it to central yet.)

--
Wendy

______________________
Este mensaje, y en su caso, cualquier fichero anexo al mismo,
 puede contener informacion clasificada por su emisor como confidencial
 en el marco de su Sistema de Gestion de Seguridad de la 
Informacion siendo para uso exclusivo del destinatario, quedando 
prohibida su divulgacion copia o distribucion a terceros sin la 
autorizacion expresa del remitente. Si Vd. ha recibido este mensaje 
 erroneamente, se ruega lo notifique al remitente y proceda a su borrado. 
Gracias por su colaboracion.
______________________
This message including any attachments may contain confidential 
information, according to our Information Security Management System,
 and intended solely for a specific individual to whom they are addressed.
 Any unauthorised copy, disclosure or distribution of this message
 is strictly forbidden. If you have received this transmission in error,
 please notify the sender immediately and delete it.
______________________

Re: Selenium test failures

Posted by Wendy Smoak <ws...@gmail.com>.
2009/4/23 José Morales Martínez <jm...@gmv.com>:

> When add Maven project (http://svn.apache.org/repos/asf/maven/pom/trunk/maven/pom.xml) I get this error:
> I worked successfully, but now I get this errror:
> 'Missing artifact trying to build the POM. Check that its parent POM is available or add it first in Continuum. '
> Wendy,  Do you know a public POM for a simple Maven 2 project.

We have some in the Continuum sandbox under examples -- I'd use those
rather than a large project like Maven.

(You're getting that error because Maven trunk uses
org.apache:apache:6 which hasn't made it to central yet.)

-- 
Wendy

RE: Selenium test failures

Posted by José Morales Martínez <jm...@gmv.com>.
i comment errors between lines:

>   testAddMavenTwoProjectFromRemoteSourceToNonDefaultProjectGroup(org.apache.continuum.web.test.MavenTwoProjectTest)
>   testAddMavenTwoProject(org.apache.continuum.web.test.MavenTwoProjectTest)

When add Maven project (http://svn.apache.org/repos/asf/maven/pom/trunk/maven/pom.xml) I get this error:

I worked successfully, but now I get this errror: 

'Missing artifact trying to build the POM. Check that its parent POM is available or add it first in Continuum. '

Wendy,  Do you know a public POM for a simple Maven 2 project.

It's current information:

M2_POM_URL =http://svn.apache.org/repos/asf/maven/pom/trunk/maven/pom.xml
M2_PROJ_GRP_NAME=Apache Maven
M2_PROJ_GRP_ID=org.apache.maven
M2_PROJ_GRP_DESCRIPTION=Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project's build, reporting and documentation from a central piece of information.

>   testAddMavenToolWithBuildEnvirotment(org.apache.continuum.web.test.InstallationTest)
>   testAddJdkToolWithoutBuildEnvirotment(org.apache.continuum.web.test.InstallationTest)

Test tries add a new JDK and MAVEN vars but path is absolute:

INSTALL_TOOL_JDK_PATH =/usr/lib/jvm/java-6-sun-1.6.0.10'' (you should change for your JAVA_HOME)
...
INTALLA_TOOL_MAVEN_PATH =/home/jomm/software/apache-maven-2.0.9 (you should change for your M2_HOME)

Yo can config in testng.properties.

---------
Jose.

________________________________________
De: Marecor Baclay [mbaclay@g2ix.com]
Enviado el: jueves, 23 de abril de 2009 2:06
Para: dev@continuum.apache.org
Asunto: Re: Selenium test failures

Wendy Smoak wrote:
> I can now run the TestNG webapp tests, but I'm seeing four failures:
>
> Failed tests:


>
> Tests run: 142, Failures: 4, Errors: 0, Skipped: 49
>
> Are they passing for others?
>
>

I got same results as pasted above too.

______________________
Este mensaje, y en su caso, cualquier fichero anexo al mismo,
 puede contener informacion clasificada por su emisor como confidencial
 en el marco de su Sistema de Gestion de Seguridad de la 
Informacion siendo para uso exclusivo del destinatario, quedando 
prohibida su divulgacion copia o distribucion a terceros sin la 
autorizacion expresa del remitente. Si Vd. ha recibido este mensaje 
 erroneamente, se ruega lo notifique al remitente y proceda a su borrado. 
Gracias por su colaboracion.
______________________
This message including any attachments may contain confidential 
information, according to our Information Security Management System,
 and intended solely for a specific individual to whom they are addressed.
 Any unauthorised copy, disclosure or distribution of this message
 is strictly forbidden. If you have received this transmission in error,
 please notify the sender immediately and delete it.
______________________

Re: Selenium test failures

Posted by Marecor Baclay <mb...@g2ix.com>.
Wendy Smoak wrote:
> I can now run the TestNG webapp tests, but I'm seeing four failures:
>
> Failed tests:
>   testAddMavenTwoProjectFromRemoteSourceToNonDefaultProjectGroup(org.apache.continuum.web.test.MavenTwoProjectTest)
>   testAddMavenTwoProject(org.apache.continuum.web.test.MavenTwoProjectTest)
>   testAddMavenToolWithBuildEnvirotment(org.apache.continuum.web.test.InstallationTest)
>   testAddJdkToolWithoutBuildEnvirotment(org.apache.continuum.web.test.InstallationTest)
>
> Tests run: 142, Failures: 4, Errors: 0, Skipped: 49
>
> Are they passing for others?
>
>   

I got same results as pasted above too.