geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher M. Cardona" <chris.m.card...@gmail.com>
Subject Re: is the testsuite actually failing on errors? is it supposed to?
Date Tue, 12 Dec 2006 17:22:34 GMT
Prasad Kashyap wrote:
> This used to work fine until recently. So the first question is why
> does the testLogin() suddenly become a problem ?
No idea here. Looking at the source changes it's hard to tell what 
caused it. These tests used to pass for me too.

> Next, the testLogin() does (try to) remove the JSESSIONID cookie.
> Isn't that working now ?
>
Looks like it's not doing its job.

Best wishes,
chris

> Cheers
> Prasad
>
> On 12/12/06, Christopher M. Cardona <chris.m.cardona@gmail.com> wrote:
>> FYI, 2 tests fail when using tomcat assembly. Tests after a call to
>> SimpleTestLogin.testLogin() that calls ConsoleTestSupport.login() will
>> fail because login session is still active. Removing/commenting out
>> testLogin() fixes the problem. My question is do we really need
>> testLogin() or is testLoginAndLogout() sufficient?
>>
>>
>> Best wishes,
>> chris
>>
>> Prasad Kashyap wrote:
>> > Yes. This is as designed. The go-by, I mean; not the failures.
>> >
>> > First, the console tests failed because the welcome-app was not in
>> > jetty assembly. The welcome app is point of entry to the console.
>> >
>> > Next, the go-by is designed that way because one failing test won't
>> > hold up the execution of other possibly totally unrelated tests.
>> >
>> > The surefire-reports and site-deploy at the end will summarize the
>> > test results.
>> >
>> > See
>> > http://geronimo.apache.org/maven/server/testsuite/ResultsSummary.html
>> >
>> > Cheers
>> > Prasad
>> >
>> > On 12/12/06, David Jencks <david_jencks@yahoo.com> wrote:
>> >> I was disconcerted to see this go by trying to run the testsuite: is
>> >> this expected?
>> >>
>> >> [INFO] [INFO]
>> >> 
>> ------------------------------------------------------------------------
>> >> ----
>> >> [INFO] [INFO] Building Geronimo TestSuite, Console :: Basic
>> >> [INFO] [INFO]    task-segment: [install]
>> >> [INFO] [INFO]
>> >> 
>> ------------------------------------------------------------------------
>> >> ----
>> >> [INFO] [INFO] [tools:require-java-version {execution: validate-java-
>> >> version}]
>> >> [INFO] [INFO] [tools:copy-legal-files {execution: 
>> install-legal-files}]
>> >> [INFO] [ERROR] No legal files found to copy
>> >> [INFO] [INFO] [resources:resources]
>> >> [INFO] [INFO] Using default encoding to copy filtered resources.
>> >> [INFO] [INFO] [compiler:compile]
>> >> [INFO] [INFO] No sources to compile
>> >> [INFO] [INFO] [resources:testResources]
>> >> [INFO] [INFO] Using default encoding to copy filtered resources.
>> >> [INFO] [INFO] [compiler:testCompile]
>> >> [INFO] Compiling 3 source files to 
>> /Users/david/geronimo/svn/geronimo/
>> >> server/trunk/testsuite/console-testsuite/basic/target/test-classes
>> >> [INFO] [INFO] [surefire:test]
>> >> [INFO] [INFO] Tests are skipped.
>> >> [INFO] [INFO] [surefire:test {execution: test}]
>> >> [INFO] [INFO] Tests are skipped.
>> >> [INFO] [INFO] [jar:jar]
>> >> [INFO] [WARNING] JAR will be empty - no content was marked for
>> >> inclusion!
>> >> [INFO] [INFO] Building jar: 
>> /Users/david/geronimo/svn/geronimo/server/
>> >> trunk/testsuite/console-testsuite/basic/target/basic-2.0-SNAPSHOT.jar
>> >> [INFO] [INFO] [surefire:test {execution: integration}]
>> >> [INFO] [INFO] Surefire report directory: /Users/david/geronimo/svn/
>> >> geronimo/server/trunk/testsuite/console-testsuite/basic/target/
>> >> surefire-reports
>> >> [INFO]
>> >> [INFO] -------------------------------------------------------
>> >> [INFO]  T E S T S
>> >> [INFO] -------------------------------------------------------
>> >> [INFO] Running console-testsuite.basic-console
>> >> [INFO] Tests run: 4, Failures: 4, Errors: 0, Skipped: 0, Time
>> >> elapsed: 0.751 sec <<< FAILURE!
>> >> [INFO]
>> >> [INFO] Results :
>> >> [INFO]
>> >> [INFO] Failed tests:
>> >> [INFO]   testServerInfoLink
>> >> (org.apache.geronimo.testsuite.console.LinkCheckTest)
>> >> [INFO]   testLogin
>> >> (org.apache.geronimo.testsuite.console.SimpleLoginTest)
>> >> [INFO]   testLoginAndLogout
>> >> (org.apache.geronimo.testsuite.console.SimpleLoginTest)
>> >> [INFO]   testClickSomeLinks
>> >> (org.apache.geronimo.testsuite.console.SimpleLoginTest)
>> >> [INFO]
>> >> [INFO] Tests run: 4, Failures: 4, Errors: 0, Skipped: 0
>> >> [INFO]
>> >> [INFO] [ERROR] There are test failures.
>> >> [INFO] [INFO] [install:install]
>> >> [INFO] [INFO] Installing /Users/david/geronimo/svn/geronimo/server/
>> >> trunk/testsuite/console-testsuite/basic/target/basic-2.0-SNAPSHOT.jar
>> >> to /Users/david/.m2/repository/org/apache/geronimo/testsuite/basic/
>> >> 2.0-SNAPSHOT/basic-2.0-SNAPSHOT.jar
>> >> [INFO] Downloading: http://repository.codehaus.org/xerces/dom3-xml-
>> >> apis/1.0/dom3-xml-apis-1.0.pom
>> >> [INFO] [WARNING] Unable to get resource from repository codehaus
>> >> (http://repository.codehaus.org)
>> >> [INFO] Downloading: http://jtidy.sourceforge.net/snapshots/xerces/
>> >> dom3-xml-apis/1.0/dom3-xml-apis-1.0.pom
>> >> [INFO] [WARNING] Unable to get resource from repository
>> >> jtidy.sourceforge (http://jtidy.sourceforge.net/snapshots)
>> >> [INFO] Downloading: http://people.apache.org/repo/m2-incubating-
>> >> repository//xerces/dom3-xml-apis/1.0/dom3-xml-apis-1.0.pom
>> >> [INFO] [WARNING] Unable to get resource from repository
>> >> apache.incubator (http://people.apache.org/repo/m2-incubating-
>> >> repository/)
>> >> [INFO] Downloading: http://repo1.maven.org/maven2/xerces/dom3-xml-
>> >> apis/1.0/dom3-xml-apis-1.0.pom
>> >> [INFO] [WARNING] Unable to get resource from repository central
>> >> (http://repo1.maven.org/maven2)
>> >> [INFO] [INFO] [geronimo:generate-surefire-xml {execution: generate-
>> >> surefire-xml}]
>> >> [INFO] [INFO] Loading surefire xml for xmlproperty: /Users/david/
>> >> geronimo/svn/geronimo/server/trunk/testsuite/console-testsuite/basic/
>> >> target/surefire-reports/TEST-console-testsuite.basic-console.xml
>> >> [INFO] [INFO]
>> >> 
>> ------------------------------------------------------------------------
>> >> [INFO] [INFO] BUILD SUCCESSFUL
>> >> [INFO] [INFO]
>> >> 
>> ------------------------------------------------------------------------
>> >> [INFO] [INFO] Total time: 10 seconds
>> >> [INFO] [INFO] Finished at: Tue Dec 12 00:42:32 PST 2006
>> >> [INFO] [INFO] Final Memory: 10M/508M
>> >> [INFO] [INFO]
>> >> 
>> ------------------------------------------------------------------------
>> >> [INFO] [geronimo:stop-module {execution: stop-console}]
>> >> [INFO] Using non-artifact based module id:
>> >> org.apache.geronimo.configs/webconsole-jetty6/2.0-SNAPSHOT/car
>> >> [INFO] Stopping module: org.apache.geronimo.configs/webconsole-
>> >> jetty6/2.0-SNAPSHOT/car
>> >> [INFO] Stopped module(s):
>> >> [INFO]     [0] org.apache.geronimo.configs/webconsole-jetty6/2.0-
>> >> SNAPSHOT/car
>> >> [INFO]         [0] standard.war; URL: http://david-jencks-powerbook-
>> >> g4-17.local:8080/console-standard
>> >> [INFO]         [1] framework.war; URL: http://david-jencks-powerbook-
>> >> g4-17.local:8080/console
>> >> [INFO] [install:install]
>> >> [INFO] Installing /Users/david/geronimo/svn/geronimo/server/trunk/
>> >> testsuite/console-testsuite/pom.xml to /Users/david/.m2/repository/
>> >> org/apache/geronimo/testsuite/console-testsuite/2.0-SNAPSHOT/console-
>> >> testsuite-2.0-SNAPSHOT.pom
>> >> [INFO] [geronimo:stop-server {execution: stop-server}]
>> >> [INFO] Stopping Geronimo server...
>> >>
>> >> thanks
>> >> david jencks
>> >>
>> >>
>> >
>>
>>
>


Mime
View raw message