See 
<https://qa.nuxeo.org/hudson/job/sandbox_FT_nuxeo-gsa-connector-default/26/changes>

Changes:

[bdelbosc] GSA test script supporting JBoss

------------------------------------------
[...truncated 100 lines...]
+ newtemplates+=monitor
+ perl -p -i -e 's/^#?nuxeo.templates=.*$/nuxeo.templates=default,monitor/g' 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/bin/nuxeo.conf
+ set_key_value nuxeo.bind.address localhost
+ '[' -z 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/bin/nuxeo.conf
 ']'
+ '[' 2 '!=' 2 ']'
+ key=nuxeo.bind.address
+ value=localhost
++ grep -E '^#?nuxeo.bind.address=' 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/bin/nuxeo.conf
++ wc -l
+ has_key=1
+ '[' 1 = 0 ']'
+ perl -p -i -e 's/^#?nuxeo.bind.address=.*$/nuxeo.bind.address=localhost/g' 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/bin/nuxeo.conf
+ set_key_value mail.smtp.host merguez.in.nuxeo.com
+ '[' -z 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/bin/nuxeo.conf
 ']'
+ '[' 2 '!=' 2 ']'
+ key=mail.smtp.host
+ value=merguez.in.nuxeo.com
++ grep -E '^#?mail.smtp.host=' 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/bin/nuxeo.conf
++ wc -l
+ has_key=1
+ '[' 1 = 0 ']'
+ perl -p -i -e 's/^#?mail.smtp.host=.*$/mail.smtp.host=merguez.in.nuxeo.com/g' 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/bin/nuxeo.conf
+ set_key_value mail.smtp.port 2500
+ '[' -z 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/bin/nuxeo.conf
 ']'
+ '[' 2 '!=' 2 ']'
+ key=mail.smtp.port
+ value=2500
++ grep -E '^#?mail.smtp.port=' 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/bin/nuxeo.conf
++ wc -l
+ has_key=1
+ '[' 1 = 0 ']'
+ perl -p -i -e 's/^#?mail.smtp.port=.*$/mail.smtp.port=2500/g' 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/bin/nuxeo.conf
+ set_key_value mail.from sandbox_ft_nuxeo-gsa-connector-defa...@muradin
+ '[' -z 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/bin/nuxeo.conf
 ']'
+ '[' 2 '!=' 2 ']'
+ key=mail.from
+ value=sandbox_ft_nuxeo-gsa-connector-defa...@muradin
++ grep -E '^#?mail.from=' 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/bin/nuxeo.conf
++ wc -l
+ has_key=1
+ '[' 1 = 0 ']'
+ perl -p -i -e 
's/^#?mail.from=.*$/mail.from=sandbox_ft_nuxeo-gsa-connector-defa...@muradin/g' 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/bin/nuxeo.conf
+ cat
+ chmod u+x 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/bin/catalina.sh
 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/bin/digest.sh
 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/bin/nxdeploy.sh
 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/bin/run.sh
 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/bin/setclasspath.sh
 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/bin/shutdown.sh
 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/bin/startup.sh
 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/bin/tool-wrapper.sh
 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/bin/version.sh
 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/bin/jbossctl
 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/bin/nuxeoctl
 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/bin/openofficectl
+ '[' jboss = jboss ']'
+ set_jboss_log4j_level 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss 
INFO
+ 
JBOSS=/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss
+ shift
+ LEVEL=INFO
+ shift
+ sed -i '/<root>/,/root>/ s,<level value=.*$,<level value="INFO"/>,' 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/server/default/conf/jboss-log4j.xml
sed: can't read 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/server/default/conf/jboss-log4j.xml:
 No such file or directory
+ echo org.nuxeo.systemlog.token=dolog
+ mkdir -p 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/log
+ '[' jboss = tomcat ']'
+ '[' jboss = tomcat ']'
+ '[' '!' -z secret ']'
+ setup_postgresql_database
+ '[' 0 == 1 ']'
+ '[' -z secret ']'
+ DBNAME=qualiscope-ci-6
+ DBPORT=5432
+ DBUSER=qualiscope
+ DBHOST=localhost
+ find_postgresql_log
+ logs=("$PGSQL_LOG" "/var/log/pgsql" 
"/var/log/postgresql/postgresql-8.4-main.log" 
"/var/log/postgresql/postgresql-8.3-main.log")
+ (( i=0 ))
+ (( i<4 ))
+ '[' -f '' ']'
+ (( i++ ))
+ (( i<4 ))
+ '[' -f /var/log/pgsql ']'
+ (( i++ ))
+ (( i<4 ))
+ '[' -f /var/log/postgresql/postgresql-8.4-main.log ']'
+ (( i++ ))
+ (( i<4 ))
+ '[' -f /var/log/postgresql/postgresql-8.3-main.log ']'
+ PGSQL_LOG=/var/log/postgresql/postgresql-8.3-main.log
+ return
+ echo '### Initializing PostgreSQL DATABASE: qualiscope-ci-6'
### Initializing PostgreSQL DATABASE: qualiscope-ci-6
+ dropdb qualiscope-ci-6 -U qualiscope -h localhost -p 5432
+ '[' 0 '!=' 0 ']'
+ createdb qualiscope-ci-6 -U qualiscope -h localhost -p 5432
+ createlang plpgsql qualiscope-ci-6 -U qualiscope -h localhost -p 5432
createlang: language "plpgsql" is already installed in database 
"qualiscope-ci-6"
+ 
NUXEO_CONF=/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/bin/nuxeo.conf
+ activate_db_template postgresql
+ '[' -z 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/bin/nuxeo.conf
 ']'
+ db=postgresql
+ get_templates_list
+ '[' -z 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/bin/nuxeo.conf
 ']'
++ grep -E '^#?nuxeo.templates=' 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/bin/nuxeo.conf
++ tr , ' '
++ perl -p -e 's/^#?nuxeo.templates=//'
+ templates='default monitor'
+ newtemplates=
+ for t in '$templates'
+ '[' default = default ']'
+ t=postgresql
+ '[' '!' -z ']'
+ newtemplates+=postgresql
+ for t in '$templates'
+ '[' monitor = default ']'
+ '[' '!' -z postgresql ']'
+ newtemplates+=,
+ newtemplates+=monitor
+ perl -p -i -e 's/^#?nuxeo.templates=.*$/nuxeo.templates=postgresql,monitor/g' 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/bin/nuxeo.conf
+ set_key_value nuxeo.db.port 5432
+ '[' -z 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/bin/nuxeo.conf
 ']'
+ '[' 2 '!=' 2 ']'
+ key=nuxeo.db.port
+ value=5432
++ grep -E '^#?nuxeo.db.port=' 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/bin/nuxeo.conf
++ wc -l
+ has_key=1
+ '[' 1 = 0 ']'
+ perl -p -i -e 's/^#?nuxeo.db.port=.*$/nuxeo.db.port=5432/g' 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/bin/nuxeo.conf
+ set_key_value nuxeo.db.name qualiscope-ci-6
+ '[' -z 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/bin/nuxeo.conf
 ']'
+ '[' 2 '!=' 2 ']'
+ key=nuxeo.db.name
+ value=qualiscope-ci-6
++ grep -E '^#?nuxeo.db.name=' 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/bin/nuxeo.conf
++ wc -l
+ has_key=1
+ '[' 1 = 0 ']'
+ perl -p -i -e 's/^#?nuxeo.db.name=.*$/nuxeo.db.name=qualiscope-ci-6/g' 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/bin/nuxeo.conf
+ set_key_value nuxeo.db.user qualiscope
+ '[' -z 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/bin/nuxeo.conf
 ']'
+ '[' 2 '!=' 2 ']'
+ key=nuxeo.db.user
+ value=qualiscope
++ grep -E '^#?nuxeo.db.user=' 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/bin/nuxeo.conf
++ wc -l
+ has_key=1
+ '[' 1 = 0 ']'
+ perl -p -i -e 's/^#?nuxeo.db.user=.*$/nuxeo.db.user=qualiscope/g' 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/bin/nuxeo.conf
+ set_key_value nuxeo.db.password secret
+ '[' -z 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/bin/nuxeo.conf
 ']'
+ '[' 2 '!=' 2 ']'
+ key=nuxeo.db.password
+ value=secret
++ grep -E '^#?nuxeo.db.password=' 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/bin/nuxeo.conf
++ wc -l
+ has_key=1
+ '[' 1 = 0 ']'
+ perl -p -i -e 's/^#?nuxeo.db.password=.*$/nuxeo.db.password=secret/g' 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/bin/nuxeo.conf
+ set_key_value nuxeo.db.max-pool-size 40
+ '[' -z 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/bin/nuxeo.conf
 ']'
+ '[' 2 '!=' 2 ']'
+ key=nuxeo.db.max-pool-size
+ value=40
++ grep -E '^#?nuxeo.db.max-pool-size=' 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/bin/nuxeo.conf
++ wc -l
+ has_key=1
+ '[' 1 = 0 ']'
+ perl -p -i -e 's/^#?nuxeo.db.max-pool-size=.*$/nuxeo.db.max-pool-size=40/g' 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/bin/nuxeo.conf
+ set_key_value nuxeo.vcs.max-pool-size 40
+ '[' -z 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/bin/nuxeo.conf
 ']'
+ '[' 2 '!=' 2 ']'
+ key=nuxeo.vcs.max-pool-size
+ value=40
++ grep -E '^#?nuxeo.vcs.max-pool-size=' 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/bin/nuxeo.conf
++ wc -l
+ has_key=1
+ '[' 1 = 0 ']'
+ perl -p -i -e 's/^#?nuxeo.vcs.max-pool-size=.*$/nuxeo.vcs.max-pool-size=40/g' 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/bin/nuxeo.conf
+ cat
+ 
NXGSA=/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/nuxeo-gsa-connector
+ '[' '!' -d 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/nuxeo-gsa-connector
 ']'
+ cd 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/nuxeo-gsa-connector
+ hg pull
pulling from http://hg.nuxeo.org/sandbox/nuxeo-gsa-connector
searching for changes
adding changesets
adding manifests
adding file changes
added 1 changesets with 2 changes to 2 files
(run 'hg update' to get a working copy)
+ hg up -C
2 files updated, 0 files merged, 0 files removed, 0 files unresolved
+ '[' jboss = tomcat ']'
+ '[' jboss = jboss ']'
+ 
SERVER_BUNDLES=/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/server/default/deploy/nuxeo.ear/bundles/
+ 
SERVER_LIB=/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/server/default/deploy/nuxeo.ear/lib/
+ GSA_TPL=gsa_jboss
+ cd 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/nuxeo-gsa-connector
+ mvn clean package
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Nuxeo Google Search Appliance Connector
[INFO]    task-segment: [clean, package]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/nuxeo-gsa-connector/target
[INFO] [buildnumber:create {execution: default}]
[INFO] Storing buildNumber: 20110110-123505 at timestamp: 1294659305627
[INFO] [incremental-build:incremental-build {execution: default}]
[INFO] Verifying module descriptor ...
[INFO] Pom descriptor modification detected.
[INFO] Deleting 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/nuxeo-gsa-connector/target
[INFO] [nuxeo:eclipse-version {execution: eclipsize-version}]
[INFO] eclipseVersion:1.0.1.-SNAPSHOT
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 8 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 19 source files to 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/nuxeo-gsa-connector/target/classes
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 1 source file to 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/nuxeo-gsa-connector/target/test-classes
[INFO] [surefire:test {execution: default-test}]
[INFO] Surefire report directory: 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/nuxeo-gsa-connector/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.nuxeo.ecm.platform.gsa.connector.test.NuxeoGsaCheckpointTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.17 sec

Results :

Tests run: 2, Failures: 0, Errors: 0, Skipped: 0

[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar: 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/nuxeo-gsa-connector/target/nuxeo-gsa-connector-1.0.1-SNAPSHOT.jar
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] [buildnumber:create {execution: default}]
[INFO] Storing buildNumber: 20110110-123513 at timestamp: 1294659313776
[INFO] [incremental-build:incremental-build {execution: default}]
[INFO] Incremental build test already done. Skipping...
[INFO] [source:jar {execution: attach-sources}]
[INFO] Building jar: 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/nuxeo-gsa-connector/target/nuxeo-gsa-connector-1.0.1-SNAPSHOT-sources.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10 seconds
[INFO] Finished at: Mon Jan 10 12:35:14 CET 2011
[INFO] Final Memory: 117M/419M
[INFO] ------------------------------------------------------------------------
+ cp target/nuxeo-gsa-connector-1.0.1-SNAPSHOT.jar 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/server/default/deploy/nuxeo.ear/bundles/
cp: cannot create regular file 
`/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/server/default/deploy/nuxeo.ear/bundles/':
 No such file or directory
+ exit 1
Archiving artifacts

_______________________________________________
ECM-QA mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-qa

Reply via email to