dúvida com jenkins:falta de hsqldb

15 views
Skip to first unread message

Juliano Cesar

unread,
Sep 2, 2016, 10:32:37 AM9/2/16
to livro-devop...@googlegroups.com
galera, quando fui gerar a build da loja-virtual, usando o jenkins
com o maven, deu um erro de hsqldb. como faço para resolver???

Leandro Basilio

unread,
Sep 16, 2016, 12:12:11 AM9/16/16
to Livro "Devops na Prática"
Boa noite, qual o erro ?

Fabio Schiozer

unread,
Sep 21, 2016, 8:44:36 PM9/21/16
to Livro "Devops na Prática"
Se for o mesmo que o meu, o erro é:

[JENKINS] Recording test results
[INFO] [war:war {execution: default-war}]
[INFO] Packaging webapp
[INFO] Assembling webapp [site] in [/var/lib/jenkins/jobs/loja-virtual-devops/workspace/site/target/devopsnapratica]
[INFO] Processing war project
[INFO] Copying webapp resources [/var/lib/jenkins/jobs/loja-virtual-devops/workspace/site/src/main/webapp]
[INFO] Webapp assembled in [10625 msecs]
[INFO] Building war: /var/lib/jenkins/jobs/loja-virtual-devops/workspace/site/target/devopsnapratica.war
[INFO] WEB-INF/web.xml already added, skipping
[INFO] [hsqldb:start {execution: start-hsqldb}]
[INFO] HSQLDB server started on jdbc:hsqldb:hsql://localhost/broadleaf
[INFO] [cargo:start {execution: start-container}]
[INFO] [2.ContainerStartMojo] Resolved container artifact org.codehaus.cargo:cargo-core-container-jetty:jar:1.4.7 for container jetty8x
[INFO] You did not specify a container home nor any installer. CARGO will automatically download your container's binaries from [http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-distribution/8.1.14.v20131031/jetty-distribution-8.1.14.v20131031.tar.gz].
[INFO] [talledLocalContainer] Jetty 8.1.14.v20131031 starting...
[INFO] [stalledLocalDeployer] Deploying WAR by creating Jetty context XML file in [/var/lib/jenkins/jobs/loja-virtual-devops/workspace/site/target/cargo/configurations/jetty8x/contexts/site.xml]...
[INFO] [talledLocalContainer] 2016-09-16 21:05:17.346:INFO::Redirecting stderr/stdout to /var/lib/jenkins/jobs/loja-virtual-devops/workspace/site/target/cargo/configurations/jetty8x/logs/2016_09_16.stderrout.log
[INFO] [yer.DeployerWatchdog] Deployable [http://localhost:7070/cargocpc/index.html] failed to finish deploying within the timeout period [300000]. The Deployable state is thus unknown.
[WARNING] [talledLocalContainer] org.codehaus.cargo.container.ContainerException: Deployable [http://localhost:7070/cargocpc/index.html] failed to finish deploying within the timeout period [300000]. The Deployable state is thus unknown.
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Deployable [http://localhost:7070/cargocpc/index.html] failed to finish deploying within the timeout period [300000]. The Deployable state is thus unknown.
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.codehaus.cargo.container.ContainerException: Deployable [http://localhost:7070/cargocpc/index.html] failed to finish deploying within the timeout period [300000]. The Deployable state is thus unknown.
	at org.codehaus.cargo.container.spi.deployer.DeployerWatchdog.watch(DeployerWatchdog.java:111)
	at org.codehaus.cargo.container.spi.AbstractLocalContainer.waitForCompletion(AbstractLocalContainer.java:353)
	at org.codehaus.cargo.container.spi.AbstractLocalContainer.start(AbstractLocalContainer.java:231)
	at org.codehaus.cargo.maven2.ContainerStartMojo.executeLocalContainerAction(ContainerStartMojo.java:96)
	at org.codehaus.cargo.maven2.ContainerStartMojo.doExecute(ContainerStartMojo.java:63)
	at org.codehaus.cargo.maven2.AbstractCargoMojo.execute(AbstractCargoMojo.java:432)
	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
	at hudson.maven.agent.PluginManagerInterceptor.executeMojo(PluginManagerInterceptor.java:182)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
	at org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:65)
	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 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:606)
	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
	at hudson.maven.agent.Main.launch(Main.java:205)
	at hudson.maven.MavenBuilder.call(MavenBuilder.java:154)
	at hudson.maven.Maven2Builder.call(Maven2Builder.java:79)
	at hudson.maven.Maven2Builder.call(Maven2Builder.java:55)
	at hudson.remoting.UserRequest.perform(UserRequest.java:153)
	at hudson.remoting.UserRequest.perform(UserRequest.java:50)
	at hudson.remoting.Request$2.run(Request.java:332)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9 minutes 9 seconds
[INFO] Finished at: Fri Sep 16 21:11:44 UTC 2016
[INFO] Final Memory: 80M/214M
[INFO] ------------------------------------------------------------------------
[JENKINS] Archiving /var/lib/jenkins/jobs/loja-virtual-devops/workspace/admin/pom.xml to br.com.devopsnapratica/admin/1.0/admin-1.0.pom
[JENKINS] Archiving /var/lib/jenkins/jobs/loja-virtual-devops/workspace/admin/target/admin.war to br.com.devopsnapratica/admin/1.0/admin-1.0.war
[JENKINS] Archiving /var/lib/jenkins/jobs/loja-virtual-devops/workspace/admin/target/admin-sources.jar to br.com.devopsnapratica/admin/1.0/admin-1.0-sources.jar
[JENKINS] Archiving /var/lib/jenkins/jobs/loja-virtual-devops/workspace/site/pom.xml to br.com.devopsnapratica/site/1.0/site-1.0.pom
[JENKINS] Archiving /var/lib/jenkins/jobs/loja-virtual-devops/workspace/site/target/devopsnapratica.war to br.com.devopsnapratica/site/1.0/site-1.0.war

Em sexta-feira, 2 de setembro de 2016 11:32:37 UTC-3, Juliano Cesar escreveu:
Reply all
Reply to author
Forward
0 new messages