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/05/01 23:40:09 UTC

Re: Selenium test failures

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>.
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