Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 70315 invoked from network); 8 Feb 2007 06:53:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Feb 2007 06:53:53 -0000 Received: (qmail 20032 invoked by uid 500); 8 Feb 2007 06:53:57 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 19990 invoked by uid 500); 8 Feb 2007 06:53:57 -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 19978 invoked by uid 99); 8 Feb 2007 06:53:57 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Feb 2007 22:53:57 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of sean.xx.qiu@gmail.com designates 64.233.182.189 as permitted sender) Received: from [64.233.182.189] (HELO nf-out-0910.google.com) (64.233.182.189) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Feb 2007 22:53:47 -0800 Received: by nf-out-0910.google.com with SMTP id m19so687576nfc for ; Wed, 07 Feb 2007 22:53:26 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=FYoRsLZqgpWZ9sjp8lTUBG/pwmENY157CyTh2rQCRXcn7AwlZ2QDw1euPoWgqjQYQJjttFuYMk45JkmJK3+Hmqxry17Q8M/LrmzBYgfTLMPfmw8q4fyLbdmQfadrgVNxdtTMnXRS8U5OnII9tNQs1Nc1+oU/a4ms568JHCFULLY= Received: by 10.82.186.5 with SMTP id j5mr663842buf.1170917605809; Wed, 07 Feb 2007 22:53:25 -0800 (PST) Received: by 10.82.160.3 with HTTP; Wed, 7 Feb 2007 22:53:25 -0800 (PST) Message-ID: <94d710af0702072253k5b091d74u1c33eaf1f6080268@mail.gmail.com> Date: Thu, 8 Feb 2007 14:53:25 +0800 From: "Sean Qiu" To: dev@geronimo.apache.org Subject: Re: [test] run testsuite of 1.2beta fail because Unable to get resource from repository In-Reply-To: <0824820B-9031-4EEE-8524-9BD1F7A54A1B@planet57.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_24076_21610928.1170917605731" References: <94d710af0702062141v5c616b23oa114d7d9ad1dea62@mail.gmail.com> <94d710af0702071823m78423225s2be0fa5f57b3c053@mail.gmail.com> <94d710af0702071855o5b19b391h5956bec003778659@mail.gmail.com> <94d710af0702071904g9ac4d59jf5f6d5f36daf60dd@mail.gmail.com> <0824820B-9031-4EEE-8524-9BD1F7A54A1B@planet57.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_24076_21610928.1170917605731 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline It works, thanks you both very much. At first i modify the pom.xml to change the report destination to local file system, such as website file:///home/user/result/${buildNumber} Then input: mvn site-deploy -DbuildNumber=2.8 There are some result there, but they can not click into the further page. Do i have to deep into the sub-directory of testsuite to generate the html page? PS: During the process of building, there still exit many warning like [INFO] [install:install] [INFO] Installing /home/qbit/at/geronimo/server/testsuite/deployment-testsuite/pom.xml to /home/qbit/.m2/repository/org/apache/geronimo/testsuite/deployment-testsuite/2.0-SNAPSHOT/deployment- testsuite-2.0-SNAPSHOT.pom Downloading: http://repository.codehaus.org/xerces/dom3-xml-apis/1.0/dom3-xml-apis-1.0.pom [WARNING] Unable to get resource from repository codehaus ( http://repository.codehaus.org) Downloading: http://jtidy.sourceforge.net/snapshots/xerces/dom3-xml-apis/1.0/dom3-xml-apis-1.0.pom [WARNING] Unable to get resource from repository jtidy.sourceforge ( http://jtidy.sourceforge.net/snapshots) Downloading: http://tomcat.apache.org/dev/dist/m2-repository//xerces/dom3-xml-apis/1.0/dom3-xml-apis-1.0.pom [WARNING] Unable to get resource from repository tomcat-m2-repo ( http://tomcat.apache.org/dev/dist/m2-repository/) Downloading: http://ws.zones.apache.org/repository2//xerces/dom3-xml-apis/1.0/dom3-xml-apis-1.0.pom [WARNING] Unable to get resource from repository axis2-m2-repo ( http://ws.zones.apache.org/repository2/) Downloading: http://people.apache.org/repo/m2-incubating-repository//xerces/dom3-xml-apis/1.0/dom3-xml-apis-1.0.pom [WARNING] Unable to get resource from repository apache-incubator ( http://people.apache.org/repo/m2-incubating-repository/) Downloading: http://repo1.maven.org/maven2/xerces/dom3-xml-apis/1.0/dom3-xml-apis-1.0.pom [WARNING] Unable to get resource from repository central ( http://repo1.maven.org/maven2) [INFO] [geronimo:generate-surefire-xml {execution: generate-surefire-xml}] [INFO] Updating directory: /home/qbit/at/geronimo/server/testsuite/target/surefire-reports [INFO] Loading surefire xml for xmlproperty: /home/qbit/at/geronimo/server/testsuite/deployment-testsuite/target/surefire-reports/TEST- org.apache.geronimo.mavenplugins.geronimo.server.StartServerMojo.xml [INFO] Loading surefire xml for xmlproperty: /home/qbit/at/geronimo/server/testsuite/deployment-testsuite/target/surefire-reports/TEST- deployment-tests.xml [INFO] Loading parent surefire xml for xmlproperty: /home/qbit/at/geronimo/server/testsuite/target/surefire-reports/TEST- deployment-testsuite.xml [INFO] Loading surefire xml for xmlproperty: /home/qbit/at/geronimo/server/testsuite/deployment-testsuite/target/surefire-reports/TEST- manifestcp-ear.xml [INFO] Loading parent surefire xml for xmlproperty: /home/qbit/at/geronimo/server/testsuite/target/surefire-reports/TEST- deployment-testsuite.xml [INFO] ---------------------------------------------------------------------------- [INFO] Building Geronimo TestSuite, Enterprise Tier [INFO] task-segment: [install] [INFO] ---------------------------------------------------------------------------- [INFO] [tools:require-java-version {execution: validate-java-version}] [INFO] [tools:copy-legal-files {execution: install-legal-files}] [INFO] [site:attach-descriptor] [INFO] [install:install {execution: install-ahead}] [INFO] Installing /home/qbit/at/geronimo/server/testsuite/enterprise-testsuite/pom.xml to /home/qbit/.m2/repository/org/apache/geronimo/testsuite/enterprise-testsuite/2.0-SNAPSHOT/enterprise- testsuite-2.0-SNAPSHOT.pom [INFO] [selenium:start {execution: start-server}] [INFO] Starting Selenium server... [INFO] Redirecting output to: /home/qbit/at/geronimo/server/testsuite/enterprise-testsuite/target/selenium/server.log [INFO] User extensions: /home/qbit/at/geronimo/server/testsuite/enterprise-testsuite/target/selenium/user- extensions.js [INFO] Selenium server started [INFO] [geronimo:start-server {execution: start-server}] [INFO] Using assembly configuration: jetty [INFO] Using assembly artifact: org.apache.geronimo.assemblies:geronimo-jetty6-jee5:zip:bin:2.0-SNAPSHOT [INFO] Using geronimoHome: /home/qbit/at/geronimo/server/testsuite/enterprise-testsuite/target/geronimo- jetty6-jee5-2.0-SNAPSHOT [INFO] Re-using previously installed assembly [INFO] Starting Geronimo server... [INFO] Redirecting output to: /home/qbit/at/geronimo/server/testsuite/enterprise-testsuite/target/geronimo-logs/org.apache.geronimo.mavenplugins.geronimo.server.StartServerMojo.log [INFO] Geronimo server started [INFO] [maven:invoke {execution: default}] [INFO] Invoking: /home/qbit/at/geronimo/server/testsuite/enterprise-testsuite/jms-tests/pom.xml [INFO] + Error stacktraces are turned on. [INFO] [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] [ERROR] FATAL ERROR [INFO] [INFO] ------------------------------------------------------------------------ [INFO] [INFO] Error building POM (may not be this project's POM). [INFO] [INFO] [INFO] Project ID: org.apache.geronimo.testsuite:jms-war [INFO] POM Location: /home/qbit/at/geronimo/server/testsuite/enterprise-testsuite/jms-tests/jms-war/pom.xml [INFO] Validation Messages: [INFO] [INFO] [0] 'dependencies.dependency.version' is missing for org.apache.geronimo.specs:geronimo-jsp_2.0_spec [INFO] [1] 'dependencies.dependency.version' is missing for org.apache.geronimo.specs:geronimo-servlet_2.4_spec [INFO] [INFO] [INFO] Reason: Failed to validate POM [INFO] [INFO] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] [INFO] Trace [INFO] org.apache.maven.reactor.MavenExecutionException: Failed to validate POM [INFO] at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365) [INFO] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:278) [INFO] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) [INFO] at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) [INFO] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [INFO] at sun.reflect.NativeMethodAccessorImpl.invoke( NativeMethodAccessorImpl.java:39) [INFO] at sun.reflect.DelegatingMethodAccessorImpl.invoke( DelegatingMethodAccessorImpl.java:25) [INFO] at java.lang.reflect.Method.invoke(Method.java:585) [INFO] at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java :315) [INFO] at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) [INFO] at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java :430) [INFO] at org.codehaus.classworlds.Launcher.main(Launcher.java:375) [INFO] Caused by: org.apache.maven.project.InvalidProjectModelException: Failed to validate POM [INFO] at org.apache.maven.project.DefaultMavenProjectBuilder.processProjectLogic( DefaultMavenProjectBuilder.java:926) [INFO] at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal (DefaultMavenProjectBuilder.java:737) [INFO] at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal (DefaultMavenProjectBuilder.java:416) [INFO] at org.apache.maven.project.DefaultMavenProjectBuilder.build( DefaultMavenProjectBuilder.java:192) [INFO] at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:515) [INFO] at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java :447) [INFO] at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java :491) [INFO] at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:351) [INFO] ... 11 more [INFO] [INFO] ------------------------------------------------------------------------ [INFO] [INFO] Total time: < 1 second [INFO] [INFO] Finished at: Thu Feb 08 14:44:57 CST 2007 [INFO] [INFO] Final Memory: 1M/4M [INFO] [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] exec returned: 1 [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 6 minutes 17 seconds [INFO] Finished at: Thu Feb 08 14:44:57 CST 2007 [INFO] Final Memory: 15M/27M 2007/2/8, Jason Dillon : > > Also, make sure that 'firefox-bin' is in your path... this is what > Selenium is going to execute on Linux not 'firefox'. On my FC5 > machine its here: > > /usr/lib64/firefox-1.5.0.9/firefox-bin > > So, I have to add '/usr/lib64/firefox-1.5.0.9' to PATH for Selenium > to find it. > > You could also try creating a script named 'firefox-bin' in ~/bin > (assuming thats in your PATH), which simply does: > > > #!/bin/sh > exec /usr/bin/firefox $@ > > > I forget the reasons why they use firefox-bin, something to do with > effectively shutting down firefox after its down with it or > something. Not sure if the above script works or not... it might end > up leaving firefox instances floating around your system... > > --jason > > > On Feb 7, 2007, at 7:39 PM, Prasad Kashyap wrote: > > > Seems like Selenium is not firing off the Firefox browser. Make sure > > you have the latest and greatest firefox browser. > > > > Check for a file named server.log somewhere under testsuite. It will > > contain more info. > > > > Cheers > > Prasad > > > > On 2/7/07, Sean Qiu wrote: > >> When input mvn in the directory of testsuite, it will hang there > >> without any > >> response. > >> My os is ubuntu with java1.5 > >> > >> Am i mess the configuration? > >> > >> ======================= > >> [INFO] [WARNING] JAR will be empty - no content was marked for > >> inclusion! > >> [INFO] [INFO] Building jar: > >> /home/qbit/at/geronimo/geronimo-1.2-beta/testsuite/console- > >> testsuite/basic/target/basic-2.0-SNAPSHOT.jar > >> [INFO] [INFO] [surefire:test {execution: integration}] > >> [INFO] [INFO] snapshot > >> org.apache.maven.surefire:surefire-testng:2.3-SNAPSHOT: > >> checking for updates from apache-snapshots > >> [INFO] [INFO] snapshot > >> org.apache.maven.surefire:surefire-testng:2.3-SNAPSHOT: > >> checking for updates from codehaus-snapshots > >> [INFO] [INFO] snapshot > >> org.apache.maven.surefire:surefire-providers:2.3-SNAPSHOT: > >> checking for updates from apache-snapshots > >> [INFO] [INFO] snapshot > >> org.apache.maven.surefire:surefire-providers:2.3-SNAPSHOT: > >> checking for updates from codehaus-snapshots > >> [INFO] [INFO] Surefire report directory: > >> /home/qbit/at/geronimo/geronimo-1.2-beta/testsuite/console- > >> testsuite/basic/target/surefire-reports > >> [INFO] > >> [INFO] > >> ------------------------------------------------------- > >> [INFO] T E S T S > >> [INFO] > >> ------------------------------------------------------- > >> [INFO] Running console-testsuite.basic-console > >> > >> > >> > >> > >> 2007/2/8, Sean Qiu < sean.xx.qiu@gmail.com>: > >> > Thanks :) > >> > > >> > I want to run all the testsuite with harmony classlib and vm > >> instead of > >> sun-jre. > >> > To compare these results. > >> > > >> > > >> > 2007/2/8, Prasad Kashyap < goyathlay.geronimo@gmail.com>: > >> > > >> > > On 2/7/07, Sean Qiu < sean.xx.qiu@gmail.com> wrote: > >> > > > > >> > > > > >> > > > 2007/2/7, Prasad Kashyap : > >> > > > > The testsuite on 1.2 is neither maintained nor supported. > >> If you > >> want > >> > > > > to try it, please use the trunk. > >> > > > > >> > > > do you mean use the testsuite in trunk or the src of > >> geronimo in > >> trunk? > >> > > > >> > > I meant the testsuite in trunk. > >> > > > >> > > > > >> > > > I want to run a stable version instead of head version. > >> > > > Could i use the latest test to run the 1.2beta src after > >> building? > >> > > > >> > > I don't think that would work quite as well. A few testsuites > >> like the > >> > > console and deployment may work fine. > >> > > > >> > > Let me know what exactly you want to do and where you plan to > >> go with > >> > > this and maybe I can help you with some workarounds. > >> > > > >> > > > > >> > > > Thanks > >> > > > >> > > Cheers > >> > > Prasad > >> > > > > >> > > > > >> > > > > But if you want to stay on 1.2, build the geronimo/maven- > >> plugins > >> > > > > directory first. It will build the testsuite-maven-plugin > >> for you. > >> You > >> > > > > may also have to build the geronimo/testsupport directory. > >> > > > > > >> > > > > Cheers > >> > > > > Prasad > >> > > > > > >> > > > > On 2/7/07, Sean Qiu < sean.xx.qiu@gmail.com > wrote: > >> > > > > > Hi, everybody > >> > > > > > > >> > > > > > i want to run the geronimo test suite for my > >> application. After > >> install > >> > > > the > >> > > > > > geronimo from 1.2beta src, input "mvn" in the directory of > >> testsuite. > >> > > > > > It Unable to get resource from repository. I also try it > >> by hands > >> the > >> > > > file > >> > > > > > is out-of-date. > >> > > > > > > >> > > > > > How to get these file to run the test? > >> > > > > > thanks guys. > >> > > > > > > >> > > > > > PS: I run the 2.0m2 version, it can get the resource to > >> run the > >> test. > >> > > > > > > >> > > > > > ======= message =========== > >> > > > > > > >> > > > > > Downloading: > >> > > > > > > >> > > > > >> http://howardlewisship.com/repository/org/apache/geronimo/plugins/ > >> testsuite-maven-plugin/1.2-beta/testsuite-maven-plugin-1.2-beta.pom > >> > > > > > [WARNING] Unable to get resource from repository > >> tapestry.javaforge ( > >> > > > > > http://howardlewisship.com/repository) > >> > > > > > Downloading: > >> > > > > > > >> > > > > >> http://repository.codehaus.org/org/apache/geronimo/plugins/ > >> testsuite-maven-plugin/1.2-beta/testsuite-maven-plugin-1.2-beta.pom > >> > > > > > [WARNING] Unable to get resource from repository codehaus > >> > > > > > ( http://repository.codehaus.org ) > >> > > > > > Downloading: > >> > > > > > > >> > > > > >> http://repo1.maven.org/maven2/org/apache/geronimo/plugins/ > >> testsuite-maven-plugin/1.2-beta/testsuite-maven-plugin-1.2-beta.pom > >> > > > > > [WARNING] Unable to get resource from repository central ( > >> > > > > > http://repo1.maven.org/maven2 ) > >> > > > > > Downloading: > >> > > > > > > >> > > > > >> http://maven.openqa.org/org/apache/geronimo/plugins/testsuite- > >> maven-plugin/1.2-beta/testsuite-maven-plugin-1.2-beta.pom > >> > > > > > [WARNING] Unable to get resource from repository openqa > >> > > > > > ( http://maven.openqa.org ) > >> > > > > > Downloading: > >> > > > > > > >> > > > > >> http://people.apache.org/repo/m2-snapshot-repository/org/apache/ > >> geronimo/plugins/testsuite-maven-plugin/1.2-beta/testsuite-maven- > >> plugin-1.2-beta.pom > >> > > > > > [WARNING] Unable to get resource from repository apache- > >> snapshots > >> ( > >> > > > > > > >> http://people.apache.org/repo/m2-snapshot-repository) > >> > > > > > Downloading: > >> > > > > > > >> > > > > >> http://people.apache.org/repo/m2-incubating-repository//org/apache/ > >> geronimo/plugins/testsuite-maven-plugin/1.2-beta/testsuite-maven- > >> plugin-1.2-beta.pom > >> > > > > > [WARNING] Unable to get resource from repository > >> apache.incubator > >> > > > > > > >> > > > > >> (http://people.apache.org/repo/m2-incubating-repository/ ) > >> > > > > > Downloading: > >> > > > > > > >> > > > > >> http://people.apache.org/repo/m2-incubating-repository//org/apache/ > >> geronimo/plugins/testsuite-maven-plugin/1.2-beta/testsuite-maven- > >> plugin-1.2-beta.pom > >> > > > > > [WARNING] Unable to get resource from repository apache- > >> incubator > >> ( > >> > > > > > > >> > > > > >> http://people.apache.org/repo/m2-incubating-repository/ ) > >> > > > > > Downloading: > >> > > > > > > >> > > > > >> http://repository.codehaus.org/org/apache/geronimo/plugins/ > >> testsuite-maven-plugin/1.2-beta/testsuite-maven-plugin-1.2-beta.pom > >> > > > > > [WARNING] Unable to get resource from repository codehaus ( > >> > > > > > http://repository.codehaus.org ) > >> > > > > > Downloading: > >> > > > > > > >> > > > > >> http://repo1.maven.org/maven2/org/apache/geronimo/plugins/ > >> testsuite-maven-plugin/1.2-beta/testsuite-maven-plugin-1.2-beta.pom > >> > > > > > [WARNING] Unable to get resource from repository central > >> > > > > > ( http://repo1.maven.org/maven2 ) > >> > > > > > > >> > > > > > > >> > > > > > -- > >> > > > > > Sean Qiu > >> > > > > > >> > > > > >> > > > > >> > > > > >> > > > -- > >> > > > Sean Qiu > >> > > > >> > > >> > > >> > > >> > -- > >> > Sean Qiu > >> > >> > >> > >> -- > >> Sean Qiu > > -- Sean Qiu ------=_Part_24076_21610928.1170917605731 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline It works, thanks you both very much.

At first i modify the pom.xml to change the report destination to local file system, such as

    <distributionManagement>
        <site>
            <id>website</id>
            <!--<url>scp://people.apache.org/www/geronimo.apache.org/maven/server/testsuite/${buildNumber}</url>-->
            <url>file:///home/user/result/${buildNumber} </url>
        </site>
    </distributionManagement>

Then input:
mvn site-deploy -DbuildNumber=2.8

There are some result there, but they can not click into the further page.
Do i have to deep into the sub-directory of testsuite to generate the html page?


PS: During the process of building, there still exit many warning like


[INFO] [install:install]
[INFO] Installing /home/qbit/at/geronimo/server/testsuite/deployment-testsuite/pom.xml to /home/qbit/.m2/repository/org/apache/geronimo/testsuite/deployment-testsuite/2.0-SNAPSHOT/deployment- testsuite-2.0-SNAPSHOT.pom
Downloading: http://repository.codehaus.org/xerces/dom3-xml-apis/1.0/dom3-xml-apis-1.0.pom
[WARNING] Unable to get resource from repository codehaus ( http://repository.codehaus.org)
Downloading: http://jtidy.sourceforge.net/snapshots/xerces/dom3-xml-apis/1.0/dom3-xml-apis-1.0.pom
[WARNING] Unable to get resource from repository jtidy.sourceforge (http://jtidy.sourceforge.net/snapshots)
Downloading: http://tomcat.apache.org/dev/dist/m2-repository//xerces/dom3-xml-apis/1.0/dom3-xml-apis-1.0.pom
[WARNING] Unable to get resource from repository tomcat-m2-repo ( http://tomcat.apache.org/dev/dist/m2-repository/)
Downloading: http://ws.zones.apache.org/repository2//xerces/dom3-xml-apis/1.0/dom3-xml-apis-1.0.pom
[WARNING] Unable to get resource from repository axis2-m2-repo (http://ws.zones.apache.org/repository2/)
Downloading: http://people.apache.org/repo/m2-incubating-repository//xerces/dom3-xml-apis/1.0/dom3-xml-apis-1.0.pom
[WARNING] Unable to get resource from repository apache-incubator ( http://people.apache.org/repo/m2-incubating-repository/)
Downloading: http://repo1.maven.org/maven2/xerces/dom3-xml-apis/1.0/dom3-xml-apis-1.0.pom
[WARNING] Unable to get resource from repository central (http://repo1.maven.org/maven2)
[INFO] [geronimo:generate-surefire-xml {execution: generate-surefire-xml}]
[INFO] Updating directory: /home/qbit/at/geronimo/server/testsuite/target/surefire-reports
[INFO] Loading surefire xml for xmlproperty: /home/qbit/at/geronimo/server/testsuite/deployment-testsuite/target/surefire-reports/TEST- org.apache.geronimo.mavenplugins.geronimo.server.StartServerMojo.xml
[INFO] Loading surefire xml for xmlproperty: /home/qbit/at/geronimo/server/testsuite/deployment-testsuite/target/surefire-reports/TEST-deployment-tests.xml
[INFO] Loading parent surefire xml for xmlproperty: /home/qbit/at/geronimo/server/testsuite/target/surefire-reports/TEST-deployment-testsuite.xml
[INFO] Loading surefire xml for xmlproperty: /home/qbit/at/geronimo/server/testsuite/deployment-testsuite/target/surefire-reports/TEST- manifestcp-ear.xml
[INFO] Loading parent surefire xml for xmlproperty: /home/qbit/at/geronimo/server/testsuite/target/surefire-reports/TEST-deployment-testsuite.xml
[INFO] ----------------------------------------------------------------------------
[INFO] Building Geronimo TestSuite, Enterprise Tier
[INFO]    task-segment: [install]
[INFO] ----------------------------------------------------------------------------
[INFO] [tools:require-java-version {execution: validate-java-version}]
[INFO] [tools:copy-legal-files {execution: install-legal-files}]
[INFO] [site:attach-descriptor]
[INFO] [install:install {execution: install-ahead}]
[INFO] Installing /home/qbit/at/geronimo/server/testsuite/enterprise-testsuite/pom.xml to /home/qbit/.m2/repository/org/apache/geronimo/testsuite/enterprise-testsuite/2.0-SNAPSHOT/enterprise- testsuite-2.0-SNAPSHOT.pom
[INFO] [selenium:start {execution: start-server}]
[INFO] Starting Selenium server...
[INFO] Redirecting output to: /home/qbit/at/geronimo/server/testsuite/enterprise-testsuite/target/selenium/server.log
[INFO] User extensions: /home/qbit/at/geronimo/server/testsuite/enterprise-testsuite/target/selenium/user-extensions.js
[INFO] Selenium server started
[INFO] [geronimo:start-server {execution: start-server}]
[INFO] Using assembly configuration: jetty
[INFO] Using assembly artifact: org.apache.geronimo.assemblies:geronimo-jetty6-jee5:zip:bin:2.0-SNAPSHOT
[INFO] Using geronimoHome: /home/qbit/at/geronimo/server/testsuite/enterprise-testsuite/target/geronimo- jetty6-jee5-2.0-SNAPSHOT
[INFO] Re-using previously installed assembly
[INFO] Starting Geronimo server...
[INFO] Redirecting output to: /home/qbit/at/geronimo/server/testsuite/enterprise-testsuite/target/geronimo-logs/org.apache.geronimo.mavenplugins.geronimo.server.StartServerMojo.log
[INFO] Geronimo server started
[INFO] [maven:invoke {execution: default}]
[INFO] Invoking: /home/qbit/at/geronimo/server/testsuite/enterprise-testsuite/jms-tests/pom.xml
[INFO] + Error stacktraces are turned on.
[INFO] [INFO] Scanning for projects...
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [ERROR] FATAL ERROR
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Error building POM (may not be this project's POM).
[INFO]
[INFO]
[INFO] Project ID: org.apache.geronimo.testsuite:jms-war
[INFO] POM Location: /home/qbit/at/geronimo/server/testsuite/enterprise-testsuite/jms-tests/jms-war/pom.xml
[INFO] Validation Messages:
[INFO]
[INFO]     [0]  'dependencies.dependency.version' is missing for org.apache.geronimo.specs:geronimo-jsp_2.0_spec
[INFO]     [1]  'dependencies.dependency.version ' is missing for org.apache.geronimo.specs:geronimo-servlet_2.4_spec
[INFO]
[INFO]
[INFO] Reason: Failed to validate POM
[INFO]
[INFO]
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Trace
[INFO] org.apache.maven.reactor.MavenExecutionException: Failed to validate POM
[INFO]  at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365)
[INFO]  at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:278)
[INFO]  at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
[INFO]  at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
[INFO]  at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[INFO]  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[INFO]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[INFO]  at java.lang.reflect.Method.invoke(Method.java:585)
[INFO]  at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
[INFO]  at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
[INFO]  at org.codehaus.classworlds.Launcher.mainWithExitCode (Launcher.java:430)
[INFO]  at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO] Caused by: org.apache.maven.project.InvalidProjectModelException: Failed to validate POM
[INFO]  at org.apache.maven.project.DefaultMavenProjectBuilder.processProjectLogic (DefaultMavenProjectBuilder.java:926)
[INFO]  at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:737)
[INFO]  at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal (DefaultMavenProjectBuilder.java:416)
[INFO]  at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:192)
[INFO]  at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:515)
[INFO]  at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:447)
[INFO]  at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:491)
[INFO]  at org.apache.maven.DefaultMaven.getProjects (DefaultMaven.java:351)
[INFO]  ... 11 more
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Total time: < 1 second
[INFO] [INFO] Finished at: Thu Feb 08 14:44:57 CST 2007
[INFO] [INFO] Final Memory: 1M/4M
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] exec returned: 1

[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6 minutes 17 seconds
[INFO] Finished at: Thu Feb 08 14:44:57 CST 2007
[INFO] Final Memory: 15M/27M



2007/2/8, Jason Dillon <jason@planet57.com>:
Also, make sure that 'firefox-bin' is in your path... this is what
Selenium is going to execute on Linux not 'firefox'.  On my FC5
machine its here:

     /usr/lib64/firefox- 1.5.0.9/firefox-bin

So, I have to add '/usr/lib64/firefox-1.5.0.9' to PATH for Selenium
to find it.

You could also try creating a script named 'firefox-bin' in ~/bin
(assuming thats in your PATH), which simply does:

<snip>
#!/bin/sh
exec /usr/bin/firefox $@
</snip>

I forget the reasons why they use firefox-bin, something to do with
effectively shutting down firefox after its down with it or
something.  Not sure if the above script works or not... it might end
up leaving firefox instances floating around your system...

--jason


On Feb 7, 2007, at 7:39 PM, Prasad Kashyap wrote:

> Seems like Selenium is not firing off the Firefox browser.  Make sure
> you have the latest and greatest firefox browser.
>
> Check for a file named server.log somewhere under testsuite. It will
> contain more info.
>
> Cheers
> Prasad
>
> On 2/7/07, Sean Qiu < sean.xx.qiu@gmail.com> wrote:
>> When input mvn in the directory of testsuite, it will hang there
>> without any
>> response.
>> My os is ubuntu with java1.5
>>
>> Am i mess the configuration?
>>
>> =======================
>> [INFO] [WARNING] JAR will be empty - no content was marked for
>> inclusion!
>> [INFO] [INFO] Building jar:
>> /home/qbit/at/geronimo/geronimo-1.2-beta/testsuite/console-
>> testsuite/basic/target/basic-2.0-SNAPSHOT.jar
>> [INFO] [INFO] [surefire:test {execution: integration}]
>> [INFO] [INFO] snapshot
>> org.apache.maven.surefire:surefire-testng:2.3-SNAPSHOT:
>> checking for updates from apache-snapshots
>> [INFO] [INFO] snapshot
>> org.apache.maven.surefire:surefire-testng:2.3-SNAPSHOT:
>> checking for updates from codehaus-snapshots
>> [INFO] [INFO] snapshot
>> org.apache.maven.surefire:surefire-providers:2.3-SNAPSHOT:
>> checking for updates from apache-snapshots
>> [INFO] [INFO] snapshot
>> org.apache.maven.surefire:surefire-providers:2.3-SNAPSHOT:
>> checking for updates from codehaus-snapshots
>> [INFO] [INFO] Surefire report directory:
>> /home/qbit/at/geronimo/geronimo- 1.2-beta/testsuite/console-
>> testsuite/basic/target/surefire-reports
>> [INFO]
>> [INFO]
>> -------------------------------------------------------
>>  [INFO]  T E S T S
>> [INFO]
>> -------------------------------------------------------
>> [INFO] Running console-testsuite.basic-console
>>
>>
>>
>>
>> 2007/2/8, Sean Qiu < sean.xx.qiu@gmail.com>:
>> > Thanks :)
>> >
>> > I want to run all the testsuite with harmony classlib and vm
>> instead of
>> sun-jre.
>> > To compare these results.
>> >
>> >
>> > 2007/2/8, Prasad Kashyap < goyathlay.geronimo@gmail.com>:
>> >
>> > > On 2/7/07, Sean Qiu < sean.xx.qiu@gmail.com> wrote:
>> > > >
>> > > >
>> > > > 2007/2/7, Prasad Kashyap < goyathlay.geronimo@gmail.com >:
>> > > > > The testsuite on 1.2 is neither maintained nor supported.
>> If you
>> want
>> > > > > to try it, please use the trunk.
>> > > >
>> > > > do you mean use the testsuite in trunk or the src of
>> geronimo in
>> trunk?
>> > >
>> > > I meant the testsuite in trunk.
>> > >
>> > > >
>> > > > I want to run a stable version instead of head version.
>> > > > Could i use the latest test to run the 1.2beta src after
>> building?
>> > >
>> > > I don't think that would work quite as well. A few testsuites
>> like the
>> > > console and deployment may work fine.
>> > >
>> > > Let me know what exactly you want to do and where you plan to
>> go with
>> > > this and maybe I can help you with some workarounds.
>> > >
>> > > >
>> > > > Thanks
>> > >
>> > > Cheers
>> > > Prasad
>> > > >
>> > > >
>> > > > > But if you want to stay on 1.2,  build the geronimo/maven-
>> plugins
>> > > > > directory first. It will build the testsuite-maven-plugin
>> for you.
>> You
>> > > > > may also have to build the geronimo/testsupport directory.
>> > > > >
>> > > > > Cheers
>> > > > > Prasad
>> > > > >
>> > > > > On 2/7/07, Sean Qiu < sean.xx.qiu@gmail.com > wrote:
>> > > > > > Hi, everybody
>> > > > > >
>> > > > > > i want to run the geronimo test suite for my
>> application. After
>> install
>> > > > the
>> > > > > > geronimo from 1.2beta src, input "mvn" in the directory of
>> testsuite.
>> > > > > > It Unable to get resource from repository. I also try it
>> by hands
>> the
>> > > > file
>> > > > > > is out-of-date.
>> > > > > >
>> > > > > > How to get these file to run the test?
>> > > > > > thanks guys.
>> > > > > >
>> > > > > > PS: I run the 2.0m2 version, it can get the resource to
>> run the
>> test.
>> > > > > >
>> > > > > > =======  message ===========
>> > > > > >
>> > > > > > Downloading:
>> > > > > >
>> > > >
>> http://howardlewisship.com/repository/org/apache/geronimo/plugins/
>> testsuite-maven-plugin/1.2-beta/testsuite-maven-plugin-1.2-beta.pom
>> > > > > > [WARNING] Unable to get resource from repository
>> tapestry.javaforge (
>> > > > > > http://howardlewisship.com/repository)
>> > > > > > Downloading:
>> > > > > >
>> > > >
>> http://repository.codehaus.org/org/apache/geronimo/plugins/
>> testsuite-maven-plugin/1.2-beta/testsuite- maven-plugin-1.2-beta.pom
>> > > > > > [WARNING] Unable to get resource from repository codehaus
>> > > > > > ( http://repository.codehaus.org )
>> > > > > > Downloading:
>> > > > > >
>> > > >
>> http://repo1.maven.org/maven2/org/apache/geronimo/plugins/
>> testsuite-maven-plugin/1.2-beta/testsuite-maven-plugin-1.2-beta.pom
>> > > > > > [WARNING] Unable to get resource from repository central (
>> > > > > > http://repo1.maven.org/maven2 )
>> > > > > > Downloading:
>> > > > > >
>> > > >
>> http://maven.openqa.org/org/apache/geronimo/plugins/testsuite-
>> maven-plugin/1.2-beta/testsuite-maven-plugin-1.2-beta.pom
>> > > > > > [WARNING] Unable to get resource from repository openqa
>> > > > > > ( http://maven.openqa.org )
>> > > > > > Downloading:
>> > > > > >
>> > > >
>> http://people.apache.org/repo/m2-snapshot-repository/org/apache/
>> geronimo/plugins/testsuite-maven-plugin/1.2-beta/testsuite-maven-
>> plugin-1.2-beta.pom
>> > > > > > [WARNING] Unable to get resource from repository apache-
>> snapshots
>> (
>> > > > > >
>> http://people.apache.org/repo/m2-snapshot-repository)
>> > > > > > Downloading:
>> > > > > >
>> > > >
>> http://people.apache.org/repo/m2-incubating-repository//org/apache/
>> geronimo/plugins/testsuite-maven-plugin/1.2-beta/testsuite-maven-
>> plugin-1.2-beta.pom
>> > > > > > [WARNING] Unable to get resource from repository
>> apache.incubator
>> > > > > >
>> > > >
>> (http://people.apache.org/repo/m2-incubating-repository/ )
>> > > > > > Downloading:
>> > > > > >
>> > > >
>> http://people.apache.org/repo/m2-incubating-repository//org/apache/
>> geronimo/plugins/testsuite-maven-plugin/1.2-beta/testsuite-maven-
>> plugin-1.2-beta.pom
>> > > > > > [WARNING] Unable to get resource from repository apache-
>> incubator
>> (
>> > > > > >
>> > > >
>> http://people.apache.org/repo/m2-incubating-repository/ )
>> > > > > > Downloading:
>> > > > > >
>> > > >
>> http://repository.codehaus.org/org/apache/geronimo/plugins/
>> testsuite-maven-plugin/1.2-beta/testsuite-maven-plugin-1.2-beta.pom
>> > > > > > [WARNING] Unable to get resource from repository codehaus (
>> > > > > > http://repository.codehaus.org )
>> > > > > > Downloading:
>> > > > > >
>> > > >
>> http://repo1.maven.org/maven2/org/apache/geronimo/plugins/
>> testsuite-maven-plugin/1.2-beta/testsuite-maven-plugin-1.2-beta.pom
>> > > > > > [WARNING] Unable to get resource from repository central
>> > > > > > ( http://repo1.maven.org/maven2 )
>> > > > > >
>> > > > > >
>> > > > > > --
>> > > > > > Sean Qiu
>> > > > >
>> > > >
>> > > >
>> > > >
>> > > > --
>> > > > Sean Qiu
>> > >
>> >
>> >
>> >
>> > --
>> > Sean Qiu
>>
>>
>>
>> --
>> Sean Qiu




--
Sean Qiu ------=_Part_24076_21610928.1170917605731--