Unit test on databases
by Julien Viet
I have resolved GTNPORTAL-696 : "Failure in GateIn unit tests on
different DB than hsqldb", here is the status.
The component tests have now an externalized JCR database
configuration, that is defined in a maven profile in the portal parent
pom, there are a few limitations:
- mysql5 profile has been added, the URL points to the virtualbox
running mysql configured on my machine with IP 10.37.129.4 . I think
it should be possible to make it more configurable of course. I'll let
the community contribute it :-)
- modules using IDM are using a separate hsqldb database
- it is not really possible to run the tests from an aggregator pom as
the database needs to be manually cleaned up (was automatic with
hsqldb as it's in target directory)
So it should be possible for Prabhat to run unit test of gatein on
different databases.
14 years, 10 months
portal.xml
by Wesley Hales
I have a JSF portlet (the admin/JMX demo) built using the JBoss Portlet Bridge and deployed to GateIn. What steps should I take if I wish to remove the default GateIn window decoration and mode buttons?
I read this and tried a few different things to no avail: http://docs.jboss.com/gatein/portal/3.0.0-Beta04/reference-guide/en-US/ht...
and I am just wondering if/how it is possible with a non-GateIn portlet. This is what I have tried and the docs don't go into detail about a third party portlet (afaik)
<portal-config>
<portal-name>classic</portal-name>
<locale>en</locale>
<access-permissions>Everyone</access-permissions>
<edit-permission>*:/platform/administrators</edit-permission>
<creator>root</creator>
<properties>
<entry key="sessionAlive">onDemand</entry>
</properties>
<portal-layout>
<application>
<instance-id>portal#classic:/web/bridgeadminPortlet</instance-id>
<show-info-bar>false</show-info-bar>
<show-application-state>true</show-application-state>
<show-application-mode>false</show-application-mode>
</application>
<page-body> </page-body>
</portal-layout>
</portal-config>
Thanks,
Wesley
14 years, 10 months
An exception while starting Tomcat
by Trong Tran
Hi,
In the last code of trunk, i have got the following exception while starting
Tomcat but it does not prevent at runtime :
*java.lang.ClassNotFoundException:
org.exoplatform.services.cache.impl.jboss.ExoCacheFactoryImpl*
* *
* at java.lang.ClassLoader.findClass(ClassLoader.java:437)*
* at java.lang.ClassLoader.loadClass(ClassLoader.java:315)*
* at java.lang.ClassLoader.loadClass(ClassLoader.java:250)*
* at
org.exoplatform.container.util.ContainerUtil.addComponents(ContainerUtil.java:153)
*
* at
org.exoplatform.container.ExoContainer.initContainer(ExoContainer.java:125)*
* at
org.exoplatform.container.RootContainer.createPortalContainer(RootContainer.java:331)
*
* at
org.exoplatform.container.RootContainer.registerPortalContainer(RootContainer.java:206)
*
the question is that the *org.exoplatform.services.cache.impl.jboss.**
ExoCacheFactoryImpl* is purpose of using for Tomcat ? If not, i guess we
could specify jboss profile for it
--
Tran The Trong
eXo Platform SAS
14 years, 10 months
Test suite logging
by Julien Viet
Hi,
I worked on improving the logging of the various unit tests of GateIn
(GTNPORTAL-778).
I wrote relevant information in that page: http://community.jboss.org/wiki/GateInTesting
I also put information about test profiles in that document (that was
sent in a mail earlier).
cheers
Julien
14 years, 10 months
New commiters on GateIn requests
by Dimitri BAELI
Hello,
We have 3 new persons ready to commit on GateIn for the testsuite part.
Hang Nguyen : hangnguyen : Portal QA Tester
Arthur Peltier : arthurpeltier : eXo QA Lead in VN
Philippe Aristote : paristote : eXo Release Team Manager
Thomas, can you allow them to commit ? They'll manage only the testsuite.
Thank you,
Dimitri BAELI
VP Quality - eXo Platform
14 years, 10 months
Re: [gatein-dev] Gatein Selenium tests comment (JBQA-3004, GTNPORTAL-509)
by Dimitri BAELI
Hello,
Today a new version of the Selenium Tests have been commited with some tooling to generate them from the html version (easier to record and maintain for such basic scripts).
They are now located in testsuite/selenium-snifftests
To perform the tests mvn install -Pselenium
The JUnit classes are generated in target/generated/test from the src/suite content.
Those tests have been tested on the GateIn beta5 and should ensure there is no major regression on the UI part.
3 tests are currently failing due to GTNPORTAL known issues, some instability (when running Selenium full speed) are under study.
We'll soon provide a documentation on how to record some new scripts (using Selenium IDE) and integrate then in the testsuite, the Portal Tester will be in charge for that.
Warning for Selenium on Snowleopard, FF crashes, and for the moment the fix is to patch and recompile selenium-rc and the selenium-maven-plugin (documented in the readme of testsuite/selenium-snifftests).
Dimitri
Le 21 janv. 2010 à 20:50, Dimitri BAELI a écrit :
>
>
> Début du message réexpédié :
>
>> De : Michal Vančo <mvanco(a)redhat.com>
>> Date : 20 janvier 2010 17:44:47 HNEC
>> À : gatein-dev(a)lists.jboss.org
>> Cc : dbaeli(a)gmail.com
>> Objet : Gatein Selenium tests comment (JBQA-3004, GTNPORTAL-509)
>>
>> Hi,
>>
>> I work on running ui tests for gatein from exo
>> (https://jira.jboss.org/jira/browse/JBQA-3004 ).
>>
>> I send some comments about selenium tests that I run on localhost (I
>> used the list of cases from
>> https://jira.jboss.org/jira/browse/GTNPORTAL-509 ).
>>
>> Selenium tests comments (tested on beta04 with Tomcat):
>>
>> * SNF_PRL_01 WC3 check for pages in public - OK
>> * SNF_PRL_02 Create new account - OK
>> * SNF_PRL_03 Change displaying language - OK
>> * SNF_PRL_04 Sign in/out - OK
>> * SNF_PRL_05 Remember my login - FAIL - remember me funcion doesn't work
>> * SNF_PRL_06 Users Management - FAIL - changes in profile editting
>> (mary) didn't reproduce to User Management page, but after Edit again -
>> edited values are displayed
>> * SNF_PRL_07 Groups Management - OK
>> * SNF_PRL_08 Memberships Management - OK
>> * SNF_PRL_09 Import application - OK
>> * SNF_PRL_10 Create/Edit/Delete category - OK
>> * SNF_PRL_11 Add application into category - FAIL - trying to set
>> permission on application which is not selected, I think that the
>> application should be add into "category test edit"
>> * SNF_PRL_12 Portlet - ISN'T PRESENT
>> * SNF_PRL_13 Add gadget(remote/create new) - FAIL - not correctly
>> started (Sign in->Dashboard...)
>> * SNF_PRL_14 Show or not Import Application icon - ISN'T PRESENT
>> * SNF_PRL_15 Link to pages - OK
>> * SNF_PRL_16 Expand All - ISN'T PRESENT
>> * SNF_PRL_17 Collapse All - ISN'T PRESENT
>> * SNF_PRL_18 Create new portal - OK
>> * SNF_PRL_19 Edit portal - OK
>> * SNF_PRL_20 Delete portal - FAIL -
>> waitForElementPresent //div[@class='CollapseIcon'], before this there is
>> twice clickAt "Platform", I think that there should be clickAt
>> "Platform" and then clickAt "Administrators" (or waitForElementPresent
>> "Platform", clickAt "Platform"), then there twice clickAt Save (should
>> be waitForElementPresent "Save", clickAt "Save"))
>> * SNF_PRL_21 Change using portal -OK
>> * SNF_PRL_22 Create/Edit page/Edit site layout for portal - OK
>> * SNF_PRL_23 Add Navigation - OK
>> * SNF_PRL_24 Edit navigation/Edit properties/Delete/ in Group Navigation
>> - OK
>> * SNF_PRL_25 Edit page of node - OK
>> * SNF_PRL_26 Move up/down a node - ISN'T PRESENT
>> * SNF_PRL_27 Create/Edit page/Edit site layout for group - (1,2) OK
>> * SNF_PRL_28 Add/drag-drop - OK
>> * SNF_PRL_29 Add/Edit?Delete tab - OK
>> * SNF_PRL_30 Create/Edit page/Edit site layout for user - OK
>> * SNF_PRL_31 Change language - OK
>> * SNF_PRL_32 Change skin - OK
>> * SNF_PRL_33 Setting account - OK (but has a wrong name -
>> LogoPortletAccSetting and code SNF_PRL_34)
>> * SNF_PRL_34 Change logo - INS'T PRESENT
>>
>> There is also SNF_PRL_35 under which the advanced page adding/editing -
>> OK
>>
>> I can also reproduce the result file from test cases if needed.
>>
>> Thanks a lot for for your replies.
>>
>> Regards
>> Michal
>>
>
> Dimitri BAELI
> VP Quality - eXo Platform
>
Dimitri BAELI
VP Quality - eXo Platform
14 years, 10 months
Re: [gatein-dev] [exo-portal] gatein-portal-trunk-ci - Build # 1001 - Still Failing !!!
by Arnaud Héritier
HUDSON is failing for java 1.5 incompatibility :
[ERROR] Undefined reference: java/lang/String.isEmpty()Z in
/mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/workspace/gatein/portal/trunk/testsuite/selenium-snifftests/target/classes/org/exoplatform/portal/selenium/SeleniumTestCaseGenerator.class
In selenium tests ???
Arnaud Héritier
Software Factory Manager
eXo platform - http://www.exoplatform.com
---
http://www.aheritier.net
On Thu, Feb 25, 2010 at 5:08 PM, <builder(a)exoplatform.org> wrote:
> *Job Name : *gatein-portal-trunk-ci
> *Job Status : *Still Failing
> *Build Number : *1001
> *SVN Revision : *1867
> *Changes since last success :*
>
> Changes for Build #991
> [hoang_to] GTNPORTAL-611: Edit inline from a page of group navigation shows layout of dashboard
>
>
> Changes for Build #992
> [liem_nguyen] GTNPORTAL-593 Don't update new membership in Select Permission form after create new membership
>
>
> Changes for Build #993
> [hoang_to] Fix error of missing Edit Page item in admin toolbar after aborting edit page
>
>
> Changes for Build #994
> [liem_nguyen] GTNPORTAL-703 When passwords aren't equals when we change it, Gatein return an "Info" Box
>
> [liem_nguyen] GTNPORTAL-700 saving a profile will not return you to the main user management page
>
>
> Changes for Build #995
> [julien_viet] - GTNPORTAL-502 : Remove println messages from java files
> - make a bit more type safe
>
>
> Changes for Build #996
> [julien_viet] let's be crazy and use a schema for gadget deployment
>
>
> Changes for Build #997
> [liem_nguyen] GTNPORTAL-592 Language of portal wrong when check in Edit layout
>
>
> Changes for Build #998
> [luc.texier(a)jboss.com] GTNPORTAL-719: Luc's review is finished, hand over to ScottM
>
>
> Changes for Build #999
> [mpodolin] GTNPORTAL-708: exo.conf.dir property changed from default $TOMCAT_HOME/bin to $TOMCAT_HOME/gatein/conf on tomcat
>
>
> Changes for Build #1000
> [thomas.heute(a)jboss.com] Seems to only hide the memory issue (Portal might still stale)
>
>
> Changes for Build #1001
> [thomas.heute(a)jboss.com] GTNPORTAL-595: Show invalid message when create group name already exists
> Typo (vi probably)
>
>
>
>
> *Failed tests*
>
> All tests passed
>
> *Logs (latest 250 lines)*
>
> [...truncated 6177 lines...]
> [HUDSON] Archiving /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/workspace/.repository/org/exoplatform/portal/exo.portal.packaging/3.0.0-CR02-SNAPSHOT/exo.portal.packaging-3.0.0-CR02-SNAPSHOT.pom to /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/modules/org.exoplatform.portal$exo.portal.packaging/builds/2010-02-25_15-55-43/archive/org.exoplatform.portal/exo.portal.packaging/3.0.0-CR02-SNAPSHOT/exo.portal.packaging-3.0.0-CR02-SNAPSHOT.pom
> [INFO] ------------------------------------------------------------------------
> [INFO] Building GateIn Portal Packaging Module
> [INFO] task-segment: [clean, deploy]
> [INFO] ------------------------------------------------------------------------
> [INFO] [clean:clean {execution: default-clean}]
> [INFO] Deleting file set: /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/workspace/gatein/portal/trunk/packaging/module/target (included: [**], excluded: [])
> [INFO] [enforcer:enforce {execution: enforce-plugin-versions}]
> [INFO] [enforcer:enforce {execution: enforce-java-version}]
> [INFO] [enforcer:enforce {execution: enforce-maven-version}]
> [INFO] [buildnumber:create {execution: default}]
> [INFO] Checking for local modifications: skipped.
> [INFO] Updating project files from SCM: skipped.
> [INFO] Executing: /bin/sh -c cd /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/workspace/gatein/portal/trunk/packaging/module && svn --non-interactive info
> [INFO] Working directory: /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/workspace/gatein/portal/trunk/packaging/module
> [INFO] Storing buildNumber: 1867 at timestamp: 1267114089002
> [INFO] [animal-sniffer:check {execution: check-java-compatibility}]
> [INFO] Checking unresolved references to org.jvnet.animal-sniffer:java1.5:1.0
> [INFO] [antrun:run {execution: compile}]
> [INFO] Executing tasks
> [copy] Warning: /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/workspace/gatein/portal/trunk/packaging/module/src/main/webapp/WEB-INF/classes not found.
> [INFO] Executed tasks
> [INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
> [INFO] [source:jar-no-fork {execution: attach-sources}]
> [INFO] [resources:copy-resources {execution: prepare}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 1 resource
> [INFO] [build-helper:attach-artifact {execution: attach-artifacts}]
> [INFO] [install:install {execution: default-install}]
> [INFO] Installing /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/workspace/gatein/portal/trunk/packaging/module/pom.xml to /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/workspace/.repository/org/exoplatform/portal/portal.packaging.module/3.0.0-CR02-SNAPSHOT/portal.packaging.module-3.0.0-CR02-SNAPSHOT.pom
> [INFO] Installing /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/workspace/gatein/portal/trunk/packaging/module/target/portal.packaging.module.js to /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/workspace/.repository/org/exoplatform/portal/portal.packaging.module/3.0.0-CR02-SNAPSHOT/portal.packaging.module-3.0.0-CR02-SNAPSHOT.js
> [INFO] [deploy:deploy {execution: default-deploy}]
> [INFO] Using alternate deployment repository repository.exoplatform.org::default::http://repository.exoplatform.org/co...
> [INFO] Retrieving previous build number from repository.exoplatform.org
> Uploading: http://repository.exoplatform.org/content/repositories/exo-jboss-snapshot...
> 3K <http://repository.exoplatform.org/content/repositories/exo-jboss-snapshot...> uploaded (portal.packaging.module-3.0.0-CR02-SNAPSHOT.pom)
> [INFO] Retrieving previous metadata from repository.exoplatform.org
> [INFO] Uploading repository metadata for: 'snapshot org.exoplatform.portal:portal.packaging.module:3.0.0-CR02-SNAPSHOT'
> [INFO] Retrieving previous metadata from repository.exoplatform.org
> [INFO] Uploading repository metadata for: 'artifact org.exoplatform.portal:portal.packaging.module'
> [INFO] Retrieving previous build number from repository.exoplatform.org
> Uploading: http://repository.exoplatform.org/content/repositories/exo-jboss-snapshot...
> 13K uploaded (portal.packaging.module-3.0.0-CR02-SNAPSHOT.js)
> [HUDSON] Archiving /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/workspace/gatein/portal/trunk/packaging/module/pom.xml to /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/modules/org.exoplatform.portal$portal.packaging.module/builds/2010-02-25_15-55-43/archive/org.exoplatform.portal/portal.packaging.module/3.0.0-CR02-SNAPSHOT/pom.xml
> [HUDSON] Archiving /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/workspace/.repository/org/exoplatform/portal/portal.packaging.module/3.0.0-CR02-SNAPSHOT/portal.packaging.module-3.0.0-CR02-SNAPSHOT.pom to /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/modules/org.exoplatform.portal$portal.packaging.module/builds/2010-02-25_15-55-43/archive/org.exoplatform.portal/portal.packaging.module/3.0.0-CR02-SNAPSHOT/portal.packaging.module-3.0.0-CR02-SNAPSHOT.pom
> [HUDSON] Archiving /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/workspace/gatein/portal/trunk/packaging/module/target/portal.packaging.module.js to /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/modules/org.exoplatform.portal$portal.packaging.module/builds/2010-02-25_15-55-43/archive/org.exoplatform.portal/portal.packaging.module/3.0.0-CR02-SNAPSHOT/portal.packaging.module.js
> [INFO] ------------------------------------------------------------------------
> [INFO] Building GateIn Portal Packaging Product
> [INFO] task-segment: [clean, deploy]
> [INFO] ------------------------------------------------------------------------
> [INFO] [clean:clean {execution: default-clean}]
> [INFO] Deleting file set: /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/workspace/gatein/portal/trunk/packaging/product/target (included: [**], excluded: [])
> [INFO] [enforcer:enforce {execution: enforce-plugin-versions}]
> [INFO] [enforcer:enforce {execution: enforce-java-version}]
> [INFO] [enforcer:enforce {execution: enforce-maven-version}]
> [INFO] [buildnumber:create {execution: default}]
> [INFO] Checking for local modifications: skipped.
> [INFO] Updating project files from SCM: skipped.
> [INFO] Executing: /bin/sh -c cd /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/workspace/gatein/portal/trunk/packaging/product && svn --non-interactive info
> [INFO] Working directory: /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/workspace/gatein/portal/trunk/packaging/product
> [INFO] Storing buildNumber: 1867 at timestamp: 1267114094891
> [INFO] [animal-sniffer:check {execution: check-java-compatibility}]
> [INFO] Checking unresolved references to org.jvnet.animal-sniffer:java1.5:1.0
> [INFO] [antrun:run {execution: compile}]
> [INFO] Executing tasks
> [copy] Warning: /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/workspace/gatein/portal/trunk/packaging/product/src/main/webapp/WEB-INF/classes not found.
> [INFO] Executed tasks
> [INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
> [INFO] [source:jar-no-fork {execution: attach-sources}]
> [INFO] [resources:copy-resources {execution: prepare}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 1 resource
> [INFO] [build-helper:attach-artifact {execution: attach-artifacts}]
> [INFO] [install:install {execution: default-install}]
> [INFO] Installing /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/workspace/gatein/portal/trunk/packaging/product/pom.xml to /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/workspace/.repository/org/exoplatform/portal/portal.packaging.product/3.0.0-CR02-SNAPSHOT/portal.packaging.product-3.0.0-CR02-SNAPSHOT.pom
> [INFO] Installing /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/workspace/gatein/portal/trunk/packaging/product/target/portal.packaging.product.js to /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/workspace/.repository/org/exoplatform/portal/portal.packaging.product/3.0.0-CR02-SNAPSHOT/portal.packaging.product-3.0.0-CR02-SNAPSHOT.js
> [INFO] [deploy:deploy {execution: default-deploy}]
> [INFO] Using alternate deployment repository repository.exoplatform.org::default::http://repository.exoplatform.org/co...
> [INFO] Retrieving previous build number from repository.exoplatform.org
> Uploading: http://repository.exoplatform.org/content/repositories/exo-jboss-snapshot...
> 3K <http://repository.exoplatform.org/content/repositories/exo-jboss-snapshot...> uploaded (portal.packaging.product-3.0.0-CR02-SNAPSHOT.pom)
> [INFO] Retrieving previous metadata from repository.exoplatform.org
> [INFO] Uploading repository metadata for: 'artifact org.exoplatform.portal:portal.packaging.product'
> [INFO] Retrieving previous metadata from repository.exoplatform.org
> [INFO] Uploading repository metadata for: 'snapshot org.exoplatform.portal:portal.packaging.product:3.0.0-CR02-SNAPSHOT'
> [INFO] Retrieving previous build number from repository.exoplatform.org
> Uploading: http://repository.exoplatform.org/content/repositories/exo-jboss-snapshot...
> 2K uploaded (portal.packaging.product-3.0.0-CR02-SNAPSHOT.js)
> [HUDSON] Archiving /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/workspace/gatein/portal/trunk/packaging/product/pom.xml to /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/modules/org.exoplatform.portal$portal.packaging.product/builds/2010-02-25_15-55-43/archive/org.exoplatform.portal/portal.packaging.product/3.0.0-CR02-SNAPSHOT/pom.xml
> [HUDSON] Archiving /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/workspace/.repository/org/exoplatform/portal/portal.packaging.product/3.0.0-CR02-SNAPSHOT/portal.packaging.product-3.0.0-CR02-SNAPSHOT.pom to /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/modules/org.exoplatform.portal$portal.packaging.product/builds/2010-02-25_15-55-43/archive/org.exoplatform.portal/portal.packaging.product/3.0.0-CR02-SNAPSHOT/portal.packaging.product-3.0.0-CR02-SNAPSHOT.pom
> [HUDSON] Archiving /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/workspace/gatein/portal/trunk/packaging/product/target/portal.packaging.product.js to /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/modules/org.exoplatform.portal$portal.packaging.product/builds/2010-02-25_15-55-43/archive/org.exoplatform.portal/portal.packaging.product/3.0.0-CR02-SNAPSHOT/portal.packaging.product.js
> [INFO] ------------------------------------------------------------------------
> [INFO] Building GateIn Portal Packaging Assemblies
> [INFO] task-segment: [clean, deploy]
> [INFO] ------------------------------------------------------------------------
> [INFO] [clean:clean {execution: default-clean}]
> [INFO] Deleting file set: /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/workspace/gatein/portal/trunk/packaging/pkg/target (included: [**], excluded: [])
> [INFO] [enforcer:enforce {execution: enforce-plugin-versions}]
> [INFO] [enforcer:enforce {execution: enforce-java-version}]
> [INFO] [enforcer:enforce {execution: enforce-maven-version}]
> [INFO] [buildnumber:create {execution: default}]
> [INFO] Checking for local modifications: skipped.
> [INFO] Updating project files from SCM: skipped.
> [INFO] Executing: /bin/sh -c cd /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/workspace/gatein/portal/trunk/packaging/pkg && svn --non-interactive info
> [INFO] Working directory: /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/workspace/gatein/portal/trunk/packaging/pkg
> [INFO] Storing buildNumber: 1867 at timestamp: 1267114101401
> [INFO] [dependency:unpack {execution: unpack-dependencies}]
> [INFO] Configured Artifact: org.gatein.tools:packager:?:zip
> [INFO] Unpacking /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/workspace/.repository/org/gatein/tools/packager/1.0.0-Beta08/packager-1.0.0-Beta08.zip to
> /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/workspace/gatein/portal/trunk/packaging/pkg/target/packager
> with includes null and excludes:null
> [INFO] [animal-sniffer:check {execution: check-java-compatibility}]
> [INFO] Checking unresolved references to org.jvnet.animal-sniffer:java1.5:1.0
> [INFO] [antrun:run {execution: compile}]
> [INFO] Executing tasks
> [copy] Warning: /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/workspace/gatein/portal/trunk/packaging/pkg/src/main/webapp/WEB-INF/classes not found.
> [INFO] Executed tasks
> [INFO] [dependency:copy-dependencies {execution: copy-dependencies}]
> [INFO] Copying core.packaging.module-2.3.0-CR2.js to /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/workspace/gatein/portal/trunk/packaging/pkg/target/packager-conf/core.packaging.module.js
> [INFO] Copying jcr.packaging.module-1.12.0-CR2.js to /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/workspace/gatein/portal/trunk/packaging/pkg/target/packager-conf/jcr.packaging.module.js
> [INFO] Copying kernel.packaging.module-2.2.0-CR2.js to /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/workspace/gatein/portal/trunk/packaging/pkg/target/packager-conf/kernel.packaging.module.js
> [INFO] Copying portal.packaging.module.js to /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/workspace/gatein/portal/trunk/packaging/pkg/target/packager-conf/portal.packaging.module.js
> [INFO] Copying portal.packaging.product.js to /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/workspace/gatein/portal/trunk/packaging/pkg/target/packager-conf/portal.packaging.product.js
> [INFO] Copying ws.packaging.module-2.1.0-CR2.js to /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/workspace/gatein/portal/trunk/packaging/pkg/target/packager-conf/ws.packaging.module.js
> [INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
> [INFO] [source:jar-no-fork {execution: attach-sources}]
> [INFO] [install:install {execution: default-install}]
> [INFO] Installing /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/workspace/gatein/portal/trunk/packaging/pkg/pom.xml to /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/workspace/.repository/org/exoplatform/portal/exo.portal.packaging.assembly/3.0.0-CR02-SNAPSHOT/exo.portal.packaging.assembly-3.0.0-CR02-SNAPSHOT.pom
> [INFO] [deploy:deploy {execution: default-deploy}]
> [INFO] Using alternate deployment repository repository.exoplatform.org::default::http://repository.exoplatform.org/co...
> [INFO] Retrieving previous build number from repository.exoplatform.org
> Uploading: http://repository.exoplatform.org/content/repositories/exo-jboss-snapshot...
> 26K <http://repository.exoplatform.org/content/repositories/exo-jboss-snapshot...> uploaded (exo.portal.packaging.assembly-3.0.0-CR02-SNAPSHOT.pom)
> [INFO] Retrieving previous metadata from repository.exoplatform.org
> [INFO] Uploading repository metadata for: 'snapshot org.exoplatform.portal:exo.portal.packaging.assembly:3.0.0-CR02-SNAPSHOT'
> [INFO] Retrieving previous metadata from repository.exoplatform.org
> [INFO] Uploading repository metadata for: 'artifact org.exoplatform.portal:exo.portal.packaging.assembly'
> [HUDSON] Archiving /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/workspace/gatein/portal/trunk/packaging/pkg/pom.xml to /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/modules/org.exoplatform.portal$exo.portal.packaging.assembly/builds/2010-02-25_15-55-43/archive/org.exoplatform.portal/exo.portal.packaging.assembly/3.0.0-CR02-SNAPSHOT/pom.xml
> [HUDSON] Archiving /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/workspace/.repository/org/exoplatform/portal/exo.portal.packaging.assembly/3.0.0-CR02-SNAPSHOT/exo.portal.packaging.assembly-3.0.0-CR02-SNAPSHOT.pom to /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/modules/org.exoplatform.portal$exo.portal.packaging.assembly/builds/2010-02-25_15-55-43/archive/org.exoplatform.portal/exo.portal.packaging.assembly/3.0.0-CR02-SNAPSHOT/exo.portal.packaging.assembly-3.0.0-CR02-SNAPSHOT.pom
> [INFO] ------------------------------------------------------------------------
> [INFO] Building GateIn Portal Tattletale reports
> [INFO] task-segment: [clean, deploy]
> [INFO] ------------------------------------------------------------------------
> [INFO] [clean:clean {execution: default-clean}]
> [INFO] [enforcer:enforce {execution: enforce-plugin-versions}]
> [INFO] [enforcer:enforce {execution: enforce-java-version}]
> [INFO] [enforcer:enforce {execution: enforce-maven-version}]
> [INFO] [buildnumber:create {execution: default}]
> [INFO] Checking for local modifications: skipped.
> [INFO] Updating project files from SCM: skipped.
> [INFO] Executing: /bin/sh -c cd /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/workspace/gatein/portal/trunk/packaging/reports && svn --non-interactive info
> [INFO] Working directory: /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/workspace/gatein/portal/trunk/packaging/reports
> [INFO] Storing buildNumber: 1867 at timestamp: 1267114105978
> [INFO] [animal-sniffer:check {execution: check-java-compatibility}]
> [INFO] Checking unresolved references to org.jvnet.animal-sniffer:java1.5:1.0
> [INFO] [antrun:run {execution: compile}]
> [INFO] Executing tasks
> [copy] Warning: /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/workspace/gatein/portal/trunk/packaging/reports/src/main/webapp/WEB-INF/classes not found.
> [INFO] Executed tasks
> [INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
> [INFO] [source:jar-no-fork {execution: attach-sources}]
> [INFO] [install:install {execution: default-install}]
> [INFO] Installing /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/workspace/gatein/portal/trunk/packaging/reports/pom.xml to /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/workspace/.repository/org/exoplatform/portal/exo.portal.packaging.reports/3.0.0-CR02-SNAPSHOT/exo.portal.packaging.reports-3.0.0-CR02-SNAPSHOT.pom
> [INFO] [deploy:deploy {execution: default-deploy}]
> [INFO] Using alternate deployment repository repository.exoplatform.org::default::http://repository.exoplatform.org/co...
> [INFO] Retrieving previous build number from repository.exoplatform.org
> Uploading: http://repository.exoplatform.org/content/repositories/exo-jboss-snapshot...
> 3K <http://repository.exoplatform.org/content/repositories/exo-jboss-snapshot...> uploaded (exo.portal.packaging.reports-3.0.0-CR02-SNAPSHOT.pom)
> [INFO] Retrieving previous metadata from repository.exoplatform.org
> [INFO] Uploading repository metadata for: 'artifact org.exoplatform.portal:exo.portal.packaging.reports'
> [INFO] Retrieving previous metadata from repository.exoplatform.org
> [INFO] Uploading repository metadata for: 'snapshot org.exoplatform.portal:exo.portal.packaging.reports:3.0.0-CR02-SNAPSHOT'
> [HUDSON] Archiving /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/workspace/gatein/portal/trunk/packaging/reports/pom.xml to /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/modules/org.exoplatform.portal$exo.portal.packaging.reports/builds/2010-02-25_15-55-43/archive/org.exoplatform.portal/exo.portal.packaging.reports/3.0.0-CR02-SNAPSHOT/pom.xml
> [HUDSON] Archiving /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/workspace/.repository/org/exoplatform/portal/exo.portal.packaging.reports/3.0.0-CR02-SNAPSHOT/exo.portal.packaging.reports-3.0.0-CR02-SNAPSHOT.pom to /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/modules/org.exoplatform.portal$exo.portal.packaging.reports/builds/2010-02-25_15-55-43/archive/org.exoplatform.portal/exo.portal.packaging.reports/3.0.0-CR02-SNAPSHOT/exo.portal.packaging.reports-3.0.0-CR02-SNAPSHOT.pom
> [INFO] ------------------------------------------------------------------------
> [INFO] Building TestSuite for GateIn
> [INFO] task-segment: [clean, deploy]
> [INFO] ------------------------------------------------------------------------
> [INFO] [clean:clean {execution: default-clean}]
> [INFO] [enforcer:enforce {execution: enforce-plugin-versions}]
> [INFO] [enforcer:enforce {execution: enforce-java-version}]
> [INFO] [enforcer:enforce {execution: enforce-maven-version}]
> [INFO] [buildnumber:create {execution: default}]
> [INFO] Checking for local modifications: skipped.
> [INFO] Updating project files from SCM: skipped.
> [INFO] Executing: /bin/sh -c cd /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/workspace/gatein/portal/trunk/testsuite && svn --non-interactive info
> [INFO] Working directory: /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/workspace/gatein/portal/trunk/testsuite
> [INFO] Storing buildNumber: 1867 at timestamp: 1267114111103
> [INFO] [animal-sniffer:check {execution: check-java-compatibility}]
> [INFO] Checking unresolved references to org.jvnet.animal-sniffer:java1.5:1.0
> [INFO] [antrun:run {execution: compile}]
> [INFO] Executing tasks
> [copy] Warning: /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/workspace/gatein/portal/trunk/testsuite/src/main/webapp/WEB-INF/classes not found.
> [INFO] Executed tasks
> [INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
> [INFO] [source:jar-no-fork {execution: attach-sources}]
> [INFO] [install:install {execution: default-install}]
> [INFO] Installing /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/workspace/gatein/portal/trunk/testsuite/pom.xml to /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/workspace/.repository/org/exoplatform/portal/exo.portal.testsuite/3.0.0-CR02-SNAPSHOT/exo.portal.testsuite-3.0.0-CR02-SNAPSHOT.pom
> [INFO] [deploy:deploy {execution: default-deploy}]
> [INFO] Using alternate deployment repository repository.exoplatform.org::default::http://repository.exoplatform.org/co...
> [INFO] Retrieving previous build number from repository.exoplatform.org
> Uploading: http://repository.exoplatform.org/content/repositories/exo-jboss-snapshot...
> 597b <http://repository.exoplatform.org/content/repositories/exo-jboss-snapshot...> uploaded (exo.portal.testsuite-3.0.0-CR02-SNAPSHOT.pom)
> [INFO] Retrieving previous metadata from repository.exoplatform.org
> [INFO] Uploading repository metadata for: 'snapshot org.exoplatform.portal:exo.portal.testsuite:3.0.0-CR02-SNAPSHOT'
> [INFO] Retrieving previous metadata from repository.exoplatform.org
> [INFO] Uploading repository metadata for: 'artifact org.exoplatform.portal:exo.portal.testsuite'
> [HUDSON] Archiving /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/workspace/gatein/portal/trunk/testsuite/pom.xml to /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/modules/org.exoplatform.portal$exo.portal.testsuite/builds/2010-02-25_15-55-43/archive/org.exoplatform.portal/exo.portal.testsuite/3.0.0-CR02-SNAPSHOT/pom.xml
> [HUDSON] Archiving /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/workspace/.repository/org/exoplatform/portal/exo.portal.testsuite/3.0.0-CR02-SNAPSHOT/exo.portal.testsuite-3.0.0-CR02-SNAPSHOT.pom to /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/modules/org.exoplatform.portal$exo.portal.testsuite/builds/2010-02-25_15-55-43/archive/org.exoplatform.portal/exo.portal.testsuite/3.0.0-CR02-SNAPSHOT/exo.portal.testsuite-3.0.0-CR02-SNAPSHOT.pom
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Selenium Sniff Test for GateIn
> [INFO] task-segment: [clean, deploy]
> [INFO] ------------------------------------------------------------------------
> [INFO] [clean:clean {execution: default-clean}]
> [INFO] Deleting file set: /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/workspace/gatein/portal/trunk/testsuite/selenium-snifftests/target (included: [**], excluded: [])
> [INFO] [enforcer:enforce {execution: enforce-plugin-versions}]
> [INFO] [enforcer:enforce {execution: enforce-java-version}]
> [INFO] [enforcer:enforce {execution: enforce-maven-version}]
> [INFO] [buildnumber:create {execution: default}]
> [INFO] Checking for local modifications: skipped.
> [INFO] Updating project files from SCM: skipped.
> [INFO] Executing: /bin/sh -c cd /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/workspace/gatein/portal/trunk/testsuite/selenium-snifftests && svn --non-interactive info
> [INFO] Working directory: /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/workspace/gatein/portal/trunk/testsuite/selenium-snifftests
> [INFO] Storing buildNumber: 1867 at timestamp: 1267114117025
> [INFO] [resources:resources {execution: default-resources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 0 resource
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] Compiling 1 source file to /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/workspace/gatein/portal/trunk/testsuite/selenium-snifftests/target/classes
> [INFO] [animal-sniffer:check {execution: check-java-compatibility}]
> [INFO] Checking unresolved references to org.jvnet.animal-sniffer:java1.5:1.0
> [ERROR] Undefined reference: java/lang/String.isEmpty()Z in /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/workspace/gatein/portal/trunk/testsuite/selenium-snifftests/target/classes/org/exoplatform/portal/selenium/SeleniumTestCaseGenerator.class
> [HUDSON] Archiving /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/workspace/gatein/portal/trunk/testsuite/selenium-snifftests/pom.xml to /mnt/home/hudson/hudson/jobs/gatein-portal-trunk-ci/modules/org.exoplatform.portal$exo.portal.selenium.snifftests/builds/2010-02-25_15-55-43/archive/org.exoplatform.portal/exo.portal.selenium.snifftests/3.0.0-CR02-SNAPSHOT/pom.xml
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Signature errors found. Verify them and put @IgnoreJRERequirement on them.
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 12 minutes 56 seconds
> [INFO] Finished at: Thu Feb 25 16:08:42 UTC 2010
> [INFO] Final Memory: 307M/455M
> [INFO] ------------------------------------------------------------------------
> channel stopped
> Email was triggered for: Failure
> Email was triggered for: Still Failing
> Trigger Failure was overridden by another trigger and will not send an email.
> Sending email for trigger: Still Failing
>
>
> *More details ...*
> Check console output at
> http://builder.exoplatform.org/hudson/job/gatein-portal-trunk-ci/1001/.
>
> --
> You received this message because you are subscribed to the Google
> Groups "exo-portal" group.
> To post to this group, send email to exo-portal(a)googlegroups.com
14 years, 10 months
GateIn logging
by Julien Viet
I have been improving a bit our logging structure in Tomcat to have a
single file containing all GateIn debug and above statement in a
single specific file.
You can find this file in tomcat/gatein/logs/, it is useful when
developing GateIn as you can read it via a "tail -f".
This is configured in tomcat/conf/logging.properties and is quite easy
to configure and it is also part of JDK logging, here is what was
addded:
org.exoplatform.level = FINE
org.exoplatform.handlers = 6gatein.org.apache.juli.FileHandler
org.gatein.level = FINE
org.gatein.handlers = 6gatein.org.apache.juli.FileHandler
Those lines say that all debug level will fo in the gatein file
handler which is configured:
6gatein.org.apache.juli.FileHandler.level = FINE
6gatein.org.apache.juli.FileHandler.directory = ${catalina.base}/
gatein/logs
6gatein.org.apache.juli.FileHandler.prefix = gatein
I also resolved that task GTNPORTAL-502 (Remove println messages from
java files) and removed the existing System.out.println in GateIn
codebase, except for the commented system out.
Here are the important facts to remember:
1/ it is EASY to reconfigure logging for your needs, just modify the
logging.properties file and create a new file or update the existing
one to filter what you don't want
2/ If you do need to uncomment an existing commented System.out, use
GateIn Logger instead and chose the appropriate level (usually DEBUG)
it is very important to do that carefully.
3/ if you need to add debugging info, do as explained in 2/
4/ if you don't like JDK logging you can easily switch to another
logging framework by removing the slf4j simple jar and putting the
appropriate binding for slf4j
happy loggin!
14 years, 10 months
jcr test expansion
by Prabhat Jha
Hi,
Now that automation of JCR DB compatibility is close to being done, I would like to expand testing to performance and clustering of JCR outside GateIn similar to how it was done for identity/picketlink. I had talked to Nicolas during F2F meeting a bit so this is continuation of that talk as well.
A. Performance Test
- Currently there is standalone perf test suite using japex. Of course, we are going to first run that in our environment but what kind of confidence this test suite gives you?
- What are the ways to expose JCR service? Nicolas had suggested that webdav would be the easiest. Given that most of performance test framework we have is towards http end points, what suggestions you have so that we can reuse the framework we have already?
- What about non web end points?
B. Clustering
-This partly depends on A and having web front end helps over here as well. But I am open to ideas.
Let's get the ball rolling.
Thanks,
Prabhat
14 years, 10 months