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/17 23:34:57 UTC

Selenium test failure: AddMavenTwoProjectTest - testNotAllowedProtocol

This isn't running in CI yet, but it's repeatable here... anyone else?

$ cd continuum-webapp-test
$ mvn clean install
...
Results :

Failed tests:
  testNotAllowedProtocol(org.apache.continuum.web.test.AddMavenTwoProjectTest)

Tests run: 54, Failures: 1, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.

$cat target/surefire-reports/*.txt
...
Test set: org.apache.continuum.web.test.AddMavenTwoProjectTest
-------------------------------------------------------------------------------
Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 29.711
sec <<< FAILURE!
testNotAllowedProtocol(org.apache.continuum.web.test.AddMavenTwoProjectTest)
 Time elapsed: 9.602 sec  <<< FAILURE!
junit.framework.AssertionFailedError: 'POM Url' isn't present.
	at junit.framework.Assert.fail(Assert.java:47)
	at junit.framework.Assert.assertTrue(Assert.java:20)
	at org.apache.continuum.web.test.AbstractSeleniumTestCase.assertTextPresent(AbstractSeleniumTestCase.java:169)
	at org.apache.continuum.web.test.AbstractContinuumTestCase.assertAddMavenTwoProjectPage(AbstractContinuumTestCase.java:1350)
	at org.apache.continuum.web.test.AbstractContinuumTestCase.addMavenTwoProject(AbstractContinuumTestCase.java:1388)
	at org.apache.continuum.web.test.AddMavenTwoProjectTest.submitAddMavenTwoProjectPage(AddMavenTwoProjectTest.java:56)
	at org.apache.continuum.web.test.AddMavenTwoProjectTest.testNotAllowedProtocol(AddMavenTwoProjectTest.java:162)
...

-- 
Wendy

Re: Selenium test failure: AddMavenTwoProjectTest - testNotAllowedProtocol

Posted by Deng Ching <oc...@apache.org>.
Could this be related to CONTINUUM-2178?

-Deng

On Sat, Apr 18, 2009 at 5:34 AM, Wendy Smoak <ws...@gmail.com> wrote:

> This isn't running in CI yet, but it's repeatable here... anyone else?
>
> $ cd continuum-webapp-test
> $ mvn clean install
> ...
> Results :
>
> Failed tests:
>
>  testNotAllowedProtocol(org.apache.continuum.web.test.AddMavenTwoProjectTest)
>
> Tests run: 54, Failures: 1, Errors: 0, Skipped: 0
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] There are test failures.
>
> $cat target/surefire-reports/*.txt
> ...
> Test set: org.apache.continuum.web.test.AddMavenTwoProjectTest
>
> -------------------------------------------------------------------------------
> Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 29.711
> sec <<< FAILURE!
>
> testNotAllowedProtocol(org.apache.continuum.web.test.AddMavenTwoProjectTest)
>  Time elapsed: 9.602 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: 'POM Url' isn't present.
>        at junit.framework.Assert.fail(Assert.java:47)
>        at junit.framework.Assert.assertTrue(Assert.java:20)
>        at
> org.apache.continuum.web.test.AbstractSeleniumTestCase.assertTextPresent(AbstractSeleniumTestCase.java:169)
>        at
> org.apache.continuum.web.test.AbstractContinuumTestCase.assertAddMavenTwoProjectPage(AbstractContinuumTestCase.java:1350)
>        at
> org.apache.continuum.web.test.AbstractContinuumTestCase.addMavenTwoProject(AbstractContinuumTestCase.java:1388)
>        at
> org.apache.continuum.web.test.AddMavenTwoProjectTest.submitAddMavenTwoProjectPage(AddMavenTwoProjectTest.java:56)
>        at
> org.apache.continuum.web.test.AddMavenTwoProjectTest.testNotAllowedProtocol(AddMavenTwoProjectTest.java:162)
> ...
>
> --
> Wendy
>

RE: Selenium test failure: AddMavenTwoProjectTest - testNotAllowedProtocol

Posted by José Morales Martínez <jm...@gmv.com>.
Test run successfully and issue CONTINUUM-2175 is closed.

-----------------------
Jose



-----Original Message-----
From: Jevica Arianne B. Zurbano [mailto:jevica.arianne@gmail.com]
Sent: sáb 18/04/2009 15:09
To: dev@continuum.apache.org
Subject: Re: Selenium test failure: AddMavenTwoProjectTest - testNotAllowedProtocol

This could have been caused by the logging I have added in the class
AddMavenTwoProject (r763464).

I have just modified the logs including the logging in the class involved.

Can someone verify if the test failure still exists?



José Morales Martínez wrote:
> This is related to issue CONTINUUM-2175 [1]. I have detect this problem in trunk. I am working to correct it and soon I will update test.
>
> I see you can launch TestNG test. I could not replicate the problem and I did not want to upload a new patch until the problem was solved.
>
> [1] http://jira.codehaus.org/browse/CONTINUUM-2175
>
> -----------------------
> Jose
>
>
>
> -----Original Message-----
> From: Wendy Smoak [mailto:wsmoak@gmail.com]
> Sent: vie 17/04/2009 23:34
> To: dev@continuum.apache.org
> Subject: Selenium test failure: AddMavenTwoProjectTest - testNotAllowedProtocol
>
> This isn't running in CI yet, but it's repeatable here... anyone else?
>
> $ cd continuum-webapp-test
> $ mvn clean install
> ...
> Results :
>
> Failed tests:
>   testNotAllowedProtocol(org.apache.continuum.web.test.AddMavenTwoProjectTest)
>
> Tests run: 54, Failures: 1, Errors: 0, Skipped: 0
>
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] There are test failures.
>
> $cat target/surefire-reports/*.txt
> ...
> Test set: org.apache.continuum.web.test.AddMavenTwoProjectTest
> -------------------------------------------------------------------------------
> Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 29.711
> sec <<< FAILURE!
> testNotAllowedProtocol(org.apache.continuum.web.test.AddMavenTwoProjectTest)
>  Time elapsed: 9.602 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: 'POM Url' isn't present.
>         at junit.framework.Assert.fail(Assert.java:47)
>         at junit.framework.Assert.assertTrue(Assert.java:20)
>         at org.apache.continuum.web.test.AbstractSeleniumTestCase.assertTextPresent(AbstractSeleniumTestCase.java:169)
>         at org.apache.continuum.web.test.AbstractContinuumTestCase.assertAddMavenTwoProjectPage(AbstractContinuumTestCase.java:1350)
>         at org.apache.continuum.web.test.AbstractContinuumTestCase.addMavenTwoProject(AbstractContinuumTestCase.java:1388)
>         at org.apache.continuum.web.test.AddMavenTwoProjectTest.submitAddMavenTwoProjectPage(AddMavenTwoProjectTest.java:56)
>         at org.apache.continuum.web.test.AddMavenTwoProjectTest.testNotAllowedProtocol(AddMavenTwoProjectTest.java:162)
> ...
>
> --
> 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.
> ______________________
>

--
Thanks

Jevica Arianne B. Zurbano
Software Engineer | Exist Global | +6332 412 1155 | YM: exst_jzurbano, mailto: jzurbano@g2ix.com | www.g2ix.com | Innovation Delivered



______________________
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 failure: AddMavenTwoProjectTest - testNotAllowedProtocol

Posted by "Jevica Arianne B. Zurbano" <je...@gmail.com>.
This could have been caused by the logging I have added in the class 
AddMavenTwoProject (r763464).

I have just modified the logs including the logging in the class involved.

Can someone verify if the test failure still exists?



José Morales Martínez wrote:
> This is related to issue CONTINUUM-2175 [1]. I have detect this problem in trunk. I am working to correct it and soon I will update test.
>
> I see you can launch TestNG test. I could not replicate the problem and I did not want to upload a new patch until the problem was solved.
>
> [1] http://jira.codehaus.org/browse/CONTINUUM-2175
>
> -----------------------
> Jose
>
>
>
> -----Original Message-----
> From: Wendy Smoak [mailto:wsmoak@gmail.com]
> Sent: vie 17/04/2009 23:34
> To: dev@continuum.apache.org
> Subject: Selenium test failure: AddMavenTwoProjectTest - testNotAllowedProtocol
>
> This isn't running in CI yet, but it's repeatable here... anyone else?
>
> $ cd continuum-webapp-test
> $ mvn clean install
> ...
> Results :
>
> Failed tests:
>   testNotAllowedProtocol(org.apache.continuum.web.test.AddMavenTwoProjectTest)
>
> Tests run: 54, Failures: 1, Errors: 0, Skipped: 0
>
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] There are test failures.
>
> $cat target/surefire-reports/*.txt
> ...
> Test set: org.apache.continuum.web.test.AddMavenTwoProjectTest
> -------------------------------------------------------------------------------
> Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 29.711
> sec <<< FAILURE!
> testNotAllowedProtocol(org.apache.continuum.web.test.AddMavenTwoProjectTest)
>  Time elapsed: 9.602 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: 'POM Url' isn't present.
>         at junit.framework.Assert.fail(Assert.java:47)
>         at junit.framework.Assert.assertTrue(Assert.java:20)
>         at org.apache.continuum.web.test.AbstractSeleniumTestCase.assertTextPresent(AbstractSeleniumTestCase.java:169)
>         at org.apache.continuum.web.test.AbstractContinuumTestCase.assertAddMavenTwoProjectPage(AbstractContinuumTestCase.java:1350)
>         at org.apache.continuum.web.test.AbstractContinuumTestCase.addMavenTwoProject(AbstractContinuumTestCase.java:1388)
>         at org.apache.continuum.web.test.AddMavenTwoProjectTest.submitAddMavenTwoProjectPage(AddMavenTwoProjectTest.java:56)
>         at org.apache.continuum.web.test.AddMavenTwoProjectTest.testNotAllowedProtocol(AddMavenTwoProjectTest.java:162)
> ...
>
> --
> 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.
> ______________________
>   

-- 
Thanks

Jevica Arianne B. Zurbano
Software Engineer | Exist Global | +6332 412 1155 | YM: exst_jzurbano, mailto: jzurbano@g2ix.com | www.g2ix.com | Innovation Delivered


RE: Selenium test failure: AddMavenTwoProjectTest - testNotAllowedProtocol

Posted by José Morales Martínez <jm...@gmv.com>.
This is related to issue CONTINUUM-2175 [1]. I have detect this problem in trunk. I am working to correct it and soon I will update test.

I see you can launch TestNG test. I could not replicate the problem and I did not want to upload a new patch until the problem was solved.

[1] http://jira.codehaus.org/browse/CONTINUUM-2175

-----------------------
Jose



-----Original Message-----
From: Wendy Smoak [mailto:wsmoak@gmail.com]
Sent: vie 17/04/2009 23:34
To: dev@continuum.apache.org
Subject: Selenium test failure: AddMavenTwoProjectTest - testNotAllowedProtocol

This isn't running in CI yet, but it's repeatable here... anyone else?

$ cd continuum-webapp-test
$ mvn clean install
...
Results :

Failed tests:
  testNotAllowedProtocol(org.apache.continuum.web.test.AddMavenTwoProjectTest)

Tests run: 54, Failures: 1, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.

$cat target/surefire-reports/*.txt
...
Test set: org.apache.continuum.web.test.AddMavenTwoProjectTest
-------------------------------------------------------------------------------
Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 29.711
sec <<< FAILURE!
testNotAllowedProtocol(org.apache.continuum.web.test.AddMavenTwoProjectTest)
 Time elapsed: 9.602 sec  <<< FAILURE!
junit.framework.AssertionFailedError: 'POM Url' isn't present.
        at junit.framework.Assert.fail(Assert.java:47)
        at junit.framework.Assert.assertTrue(Assert.java:20)
        at org.apache.continuum.web.test.AbstractSeleniumTestCase.assertTextPresent(AbstractSeleniumTestCase.java:169)
        at org.apache.continuum.web.test.AbstractContinuumTestCase.assertAddMavenTwoProjectPage(AbstractContinuumTestCase.java:1350)
        at org.apache.continuum.web.test.AbstractContinuumTestCase.addMavenTwoProject(AbstractContinuumTestCase.java:1388)
        at org.apache.continuum.web.test.AddMavenTwoProjectTest.submitAddMavenTwoProjectPage(AddMavenTwoProjectTest.java:56)
        at org.apache.continuum.web.test.AddMavenTwoProjectTest.testNotAllowedProtocol(AddMavenTwoProjectTest.java:162)
...

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