Build failed in Hudson: MoTeCH-Platform #968

4 views
Skip to first unread message

motec...@gmail.com

unread,
Jul 12, 2012, 6:16:01 AM7/12/12
to motec...@googlegroups.com
See <http://ci.motechproject.org/job/MoTeCH-Platform/968/>

------------------------------------------
[...truncated 6686 lines...]
INFO: Deploying web application directory <http://ci.motechproject.org/job/MoTeCH-Platform/ws/motech-deployment-tests/target/tomcat/webapps/host-manager>
Jul 12, 2012 3:45:41 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory <http://ci.motechproject.org/job/MoTeCH-Platform/ws/motech-deployment-tests/target/tomcat/webapps/manager>
Jul 12, 2012 3:45:41 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-9090"]
Jul 12, 2012 3:45:41 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 11470 ms
[INFO] Tomcat started
[INFO] [failsafe:integration-test {execution: integration-test}]
[INFO] Failsafe report directory: <http://ci.motechproject.org/job/MoTeCH-Platform/ws/motech-deployment-tests/target/failsafe-reports>

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.motechproject.deployment.DeploymentTestIT
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.109 sec
[HUDSON] Recording test results
Results :

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


[INFO] [t7:stop {execution: tomcat-stop}]
[INFO] Executing stop-mojo ...
[INFO] Stopping Bootstrap-instance ...
Jul 12, 2012 3:45:42 PM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["http-bio-9090"]
Jul 12, 2012 3:45:42 PM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Catalina
Jul 12, 2012 3:45:42 PM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["http-bio-9090"]
Jul 12, 2012 3:45:42 PM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-bio-9090"]
[INFO] Cleanup MBean-Server ...
[INFO] Bootstrap-instance stopped, MBean-Server cleaned up.
[INFO] [failsafe:verify {execution: verify}]
[INFO] Failsafe report directory: <http://ci.motechproject.org/job/MoTeCH-Platform/ws/motech-deployment-tests/target/failsafe-reports>
[INFO] [install:install {execution: default-install}]
[INFO] Installing <http://ci.motechproject.org/job/MoTeCH-Platform/ws/motech-deployment-tests/target/motech-deployment-tests-0.12-SNAPSHOT.jar> to /export/users/motech/.m2/repository/org/motechproject/motech-deployment-tests/0.12-SNAPSHOT/motech-deployment-tests-0.12-SNAPSHOT.jar
[INFO] [deploy:deploy {execution: default-deploy}]
[INFO] Retrieving previous build number from motech.nexus
Uploading: http://nexus.motechproject.org/content/repositories/snapshots/org/motechproject/motech-deployment-tests/0.12-SNAPSHOT/motech-deployment-tests-0.12-SNAPSHOT.jar
2K uploaded (motech-deployment-tests-0.12-SNAPSHOT.jar)
[INFO] Retrieving previous metadata from motech.nexus
[INFO] Uploading repository metadata for: 'artifact org.motechproject:motech-deployment-tests'
[INFO] Uploading project information for motech-deployment-tests 0.12-SNAPSHOT
[INFO] Retrieving previous metadata from motech.nexus
[INFO] Uploading repository metadata for: 'snapshot org.motechproject:motech-deployment-tests:0.12-SNAPSHOT'
[HUDSON] Archiving <http://ci.motechproject.org/job/MoTeCH-Platform/ws/motech-deployment-tests/target/motech-deployment-tests-0.12-SNAPSHOT.jar> to /var/lib/hudson/jobs/MoTeCH-Platform/modules/org.motechproject$motech-deployment-tests/builds/2012-07-12_15-29-38/archive/org.motechproject/motech-deployment-tests/0.12-SNAPSHOT/motech-deployment-tests-0.12-SNAPSHOT.jar
[INFO]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] ------------------------------------------------------------------------
[INFO] MoTeCH ................................................ SUCCESS [21.262s]
[INFO] MoTeCH Platform Common API ............................ SUCCESS [27.144s]
[INFO] MoTeCH Platform Scheduler ............................. SUCCESS [29.748s]
[INFO] MoTeCH Platform Server Startup ........................ SUCCESS [12.530s]
[INFO] MoTeCH Platform Server API ............................ SUCCESS [46.005s]
[INFO] MoTeCH Platform Server IVR API ........................ SUCCESS [19.698s]
[INFO] MoTeCH Platform Server ................................ SUCCESS [44.053s]
[INFO] MoTeCH Outbox API ..................................... SUCCESS [23.716s]
[INFO] MoTeCH Outbox ......................................... SUCCESS [18.302s]
[INFO] MoTeCH Scheduler ...................................... SUCCESS [35.462s]
[INFO] MoTeCH Appointments API ............................... SUCCESS [25.885s]
[INFO] MoTeCH Appointments ................................... SUCCESS [11.692s]
[INFO] MoTeCH Testing Utils .................................. SUCCESS [9.294s]
[INFO] MoTeCH Platform Decision Tree Common .................. SUCCESS [13.747s]
[INFO] MoTeCH Platform Decision Tree ......................... SUCCESS [21.552s]
[INFO] MoTeCH Pill Reminder API .............................. SUCCESS [27.245s]
[INFO] MoTeCH Pill Reminder .................................. SUCCESS [13.572s]
[INFO] MoTeCH CMS lite API ................................... SUCCESS [22.561s]
[INFO] MoTeCH Schedule Tracking API .......................... SUCCESS [1:00.983s]
[INFO] MoTeCH Message Campaign ............................... SUCCESS [35.325s]
[INFO] MoTeCH Mobile Forms API ............................... SUCCESS [26.750s]
[INFO] MoTeCH Alerts API ..................................... SUCCESS [24.264s]
[INFO] MoTeCH IVR Asterisk ................................... SUCCESS [13.545s]
[INFO] MoTeCH IVR KooKoo ..................................... SUCCESS [29.674s]
[INFO] MoTeCH IVR Voxeo ...................................... SUCCESS [19.340s]
[INFO] MoTeCH IVR Verboice ................................... SUCCESS [24.121s]
[INFO] MoTeCH Demo App ....................................... SUCCESS [12.475s]
[INFO] MoTeCH MRS API ........................................ SUCCESS [12.764s]
[INFO] MoTeCH OpenMRS API .................................... SUCCESS [59.140s]
[INFO] MoTeCH OpenMRS OMOD ................................... SUCCESS [17.036s]
[INFO] MoTeCH SMS API ........................................ SUCCESS [13.718s]
[INFO] MoTeCH SMS HTTP ....................................... SUCCESS [15.996s]
[INFO] MoTeCH SMS SMPP ....................................... SUCCESS [31.111s]
[INFO] MoTeCH Platform Common ................................ SUCCESS [12.417s]
[INFO] MoTeCH Base RPM package ............................... SUCCESS [8.291s]
[INFO] MoTeCH Rules API ...................................... SUCCESS [11.235s]
[INFO] MoTeCH Rules .......................................... SUCCESS [13.659s]
[INFO] MoTeCH Web Security ................................... SUCCESS [27.258s]
[INFO] MoTeCH Deployment Tests ............................... SUCCESS [26.974s]
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15 minutes 57 seconds
[INFO] Finished at: Thu Jul 12 15:45:51 IST 2012
[INFO] Final Memory: 161M/386M
[INFO] ------------------------------------------------------------------------
channel stopped
[INFO] Stopping Tomcat ...
[INFO] Tomcat stopped
[MoTeCH-Platform] $ /usr/local/apache-maven-2.2.1/bin/mvn -f <http://ci.motechproject.org/job/MoTeCH-Platform/ws/pom.xml> -e -B sonar:sonar -Dsonar.jdbc.driver=org.postgresql.Driver -Dsonar.jdbc.url=jdbc:postgresql://localhost:55432/sonar -Dsonar.host.url=http://sonar.motechproject.org
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] MoTeCH
[INFO] MoTeCH Platform Common API
[INFO] MoTeCH Platform Scheduler
[INFO] MoTeCH Platform Server Startup
[INFO] MoTeCH Platform Server API
[INFO] MoTeCH Platform Server IVR API
[INFO] MoTeCH Platform Server
[INFO] MoTeCH Outbox API
[INFO] MoTeCH Outbox
[INFO] MoTeCH Scheduler
[INFO] MoTeCH Appointments API
[INFO] MoTeCH Appointments
[INFO] MoTeCH Testing Utils
[INFO] MoTeCH Platform Decision Tree Common
[INFO] MoTeCH Platform Decision Tree
[INFO] MoTeCH Pill Reminder API
[INFO] MoTeCH Pill Reminder
[INFO] MoTeCH CMS lite API
[INFO] MoTeCH Schedule Tracking API
[INFO] MoTeCH Message Campaign
[INFO] MoTeCH Mobile Forms API
[INFO] MoTeCH Alerts API
[INFO] MoTeCH IVR Asterisk
[INFO] MoTeCH IVR KooKoo
[INFO] MoTeCH IVR Voxeo
[INFO] MoTeCH IVR Verboice
[INFO] MoTeCH Demo App
[INFO] MoTeCH MRS API
[INFO] MoTeCH OpenMRS API
[INFO] MoTeCH OpenMRS OMOD
[INFO] MoTeCH SMS API
[INFO] MoTeCH SMS HTTP
[INFO] MoTeCH SMS SMPP
[INFO] MoTeCH Platform Common
[INFO] MoTeCH Base RPM package
[INFO] MoTeCH Rules API
[INFO] MoTeCH Rules
[INFO] MoTeCH Web Security
[INFO] MoTeCH Deployment Tests
[INFO] Searching repository for plugin with prefix: 'sonar'.
[INFO] Ignoring available plugin update: 2.0 as it requires Maven version 3.0
[INFO] Ignoring available plugin update: 2.0-beta-2 as it requires Maven version 3.0
[INFO] Ignoring available plugin update: 2.0-beta-1 as it requires Maven version 3.0
[INFO] Ignoring available plugin update: 2.0-SNAPSHOT as it requires Maven version 3.0
[WARNING] POM for 'biz.aQute:bndlib:pom:1.15.0:runtime' is invalid.

Its dependencies (if any) will NOT be available to the current build.
[INFO] ------------------------------------------------------------------------
[INFO] Building MoTeCH
[INFO] task-segment: [sonar:sonar] (aggregator-style)
[INFO] ------------------------------------------------------------------------
[INFO] [sonar:sonar {execution: default-cli}]
[INFO] Sonar host: http://sonar.motechproject.org
[INFO] Sonar version: 2.6
[INFO] Execute: org.codehaus.sonar:sonar-maven-plugin:2.6:sonar
[INFO] [sonar:sonar {execution: default-sonar}]
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Can not execute Sonar

Embedded error: PicoLifecycleException: method 'public void org.sonar.jpa.session.AbstractDatabaseConnector.start()', instance 'org.sonar.jpa.session.DriverDatabaseConnector@2c013bae, java.lang.RuntimeException: wrapper
FATAL: no pg_hba.conf entry for host "75.149.167.25", user "sonar", database "sonar", SSL off
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Can not execute Sonar
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:284)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Can not execute Sonar
at org.codehaus.mojo.sonar.Bootstraper.executeMojo(Bootstraper.java:103)
at org.codehaus.mojo.sonar.Bootstraper.start(Bootstraper.java:79)
at org.codehaus.mojo.sonar.SonarMojo.execute(SonarMojo.java:88)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
... 17 more
Caused by: org.picocontainer.PicoLifecycleException: PicoLifecycleException: method 'public void org.sonar.jpa.session.AbstractDatabaseConnector.start()', instance 'org.sonar.jpa.session.DriverDatabaseConnector@2c013bae, java.lang.RuntimeException: wrapper
at org.picocontainer.monitors.NullComponentMonitor.lifecycleInvocationFailed(NullComponentMonitor.java:77)
at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.monitorAndThrowReflectionLifecycleException(ReflectionLifecycleStrategy.java:132)
at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.invokeMethod(ReflectionLifecycleStrategy.java:115)
at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.start(ReflectionLifecycleStrategy.java:89)
at org.picocontainer.adapters.InstanceAdapter.start(InstanceAdapter.java:108)
at org.picocontainer.behaviors.AbstractBehavior.start(AbstractBehavior.java:169)
at org.picocontainer.behaviors.Stored$RealComponentLifecycle.start(Stored.java:132)
at org.picocontainer.behaviors.Stored.start(Stored.java:110)
at org.picocontainer.DefaultPicoContainer.potentiallyStartAdapter(DefaultPicoContainer.java:996)
at org.picocontainer.DefaultPicoContainer.startAdapters(DefaultPicoContainer.java:989)
at org.picocontainer.DefaultPicoContainer.start(DefaultPicoContainer.java:746)
at org.sonar.batch.Batch.execute(Batch.java:65)
at org.sonar.maven.SonarMojo.executeBatch(SonarMojo.java:151)
at org.sonar.maven.SonarMojo.execute(SonarMojo.java:142)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
at org.codehaus.mojo.sonar.Bootstraper.executeMojo(Bootstraper.java:98)
... 21 more
Caused by: java.lang.RuntimeException: wrapper
at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.monitorAndThrowReflectionLifecycleException(ReflectionLifecycleStrategy.java:130)
... 35 more
Caused by: org.sonar.jpa.session.DatabaseException: Cannot open connection to database: FATAL: no pg_hba.conf entry for host "75.149.167.25", user "sonar", database "sonar", SSL off
at org.sonar.jpa.session.AbstractDatabaseConnector.testConnection(AbstractDatabaseConnector.java:186)
at org.sonar.jpa.session.AbstractDatabaseConnector.start(AbstractDatabaseConnector.java:98)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.invokeMethod(ReflectionLifecycleStrategy.java:110)
... 34 more
Caused by: org.postgresql.util.PSQLException: FATAL: no pg_hba.conf entry for host "75.149.167.25", user "sonar", database "sonar", SSL off
at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:291)
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:108)
at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:66)
at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:125)
at org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Connection.java:30)
at org.postgresql.jdbc3.Jdbc3Connection.<init>(Jdbc3Connection.java:24)
at org.postgresql.Driver.makeConnection(Driver.java:393)
at org.postgresql.Driver.connect(Driver.java:267)
at org.sonar.jpa.session.DriverProxy.connect(DriverDatabaseConnector.java:132)
at java.sql.DriverManager.getConnection(DriverManager.java:579)
at java.sql.DriverManager.getConnection(DriverManager.java:221)
at org.sonar.jpa.session.DriverDatabaseConnector.getConnection(DriverDatabaseConnector.java:92)
at org.sonar.jpa.session.AbstractDatabaseConnector.testConnection(AbstractDatabaseConnector.java:182)
... 40 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15 seconds
[INFO] Finished at: Thu Jul 12 15:46:10 IST 2012
[INFO] Final Memory: 54M/130M
[INFO] ------------------------------------------------------------------------

Reply all
Reply to author
Forward
0 new messages