Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 60829 invoked from network); 12 Dec 2006 16:43:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Dec 2006 16:43:37 -0000 Received: (qmail 81732 invoked by uid 500); 12 Dec 2006 16:43:42 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 81673 invoked by uid 500); 12 Dec 2006 16:43:42 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 81662 invoked by uid 99); 12 Dec 2006 16:43:42 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Dec 2006 08:43:42 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of chris.m.cardona@gmail.com designates 66.249.82.230 as permitted sender) Received: from [66.249.82.230] (HELO wx-out-0506.google.com) (66.249.82.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Dec 2006 08:43:30 -0800 Received: by wx-out-0506.google.com with SMTP id s18so1795935wxc for ; Tue, 12 Dec 2006 08:43:10 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=LKCbqwNQRxtLxMEriug1PpUm26HW5eWrmjU6vWrny6pQYwtq1ggsiXk64+cpYmoRzlnLCfPut0nEvUgB1nz9OW16U/rVVDFNHDeICxHOIQ3yWAU751usmRkFUqOP3VfvsDsZ0T8FhDYPNTcIH0HngHGlgFRuYyiZc1XcYFMxKA8= Received: by 10.70.74.1 with SMTP id w1mr14351369wxa.1165941789826; Tue, 12 Dec 2006 08:43:09 -0800 (PST) Received: from ?192.168.0.101? ( [76.168.152.30]) by mx.google.com with ESMTP id h8sm8422728wxd.2006.12.12.08.43.07; Tue, 12 Dec 2006 08:43:08 -0800 (PST) Message-ID: <457EDC1D.4070009@gmail.com> Date: Tue, 12 Dec 2006 08:43:09 -0800 From: "Christopher M. Cardona" User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: dev@geronimo.apache.org Subject: Re: is the testsuite actually failing on errors? is it supposed to? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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 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 >> >> >